/* ==========================================================================
   KPZ Matrix theme
   Light, white-dominant, amber from the logo as the single accent.
   Shape rule: buttons & inputs 8px, cards 14px, panels 18px, pills full.
   ========================================================================== */

/* ---------- Fonts (self-hosted Inter variable, OFL) ---------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	color-scheme: light;

	--ink: #14161b;
	--ink-2: #3d424d;
	--ink-3: #5f6572;
	--line: #e7e9ed;
	--line-2: #d6d9df;
	--soft: #f6f7f9;
	--white: #ffffff;

	--amber: #f59b12;
	--amber-hover: #e98d05;
	--amber-ink: #a2500a;
	--amber-50: #fff8ec;
	--amber-100: #feefd4;
	--amber-200: #fbdba6;

	--success: #1f7a4d;
	--danger: #b42318;

	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-btn: 8px;
	--r-card: 14px;
	--r-panel: 18px;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 8vw, 104px);
	--header-h: 72px;

	--shadow-sm: 0 1px 2px rgba(20, 22, 27, 0.05);
	--shadow-md: 0 1px 2px rgba(20, 22, 27, 0.04), 0 10px 28px -12px rgba(20, 22, 27, 0.14);
	--shadow-lg: 0 2px 4px rgba(20, 22, 27, 0.04), 0 24px 48px -20px rgba(20, 22, 27, 0.2);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	scrollbar-color: var(--line-2) transparent;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4 {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--amber-ink); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--amber-200); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
	outline: 2px solid var(--amber-ink);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--r-btn);
	font-weight: 600;
	transform: translateY(-160%);
	transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.site-main:focus { outline: none; }

/* ---------- Brand motif: small triangle (from the "A" in MATRIX) ---------- */
.tri {
	display: inline-block;
	flex: none;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 7px solid var(--amber);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: var(--r-btn);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
	-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 200ms var(--ease-out); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--amber); color: var(--ink); box-shadow: inset 0 -1px 0 rgba(20, 22, 27, 0.12); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ink { background: var(--ink); color: var(--white); }

@media (hover: hover) and (pointer: fine) {
	.btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
	.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }
	.btn-ink:hover { background: #262a33; color: var(--white); }
	.btn:hover .icon-arrow { transform: translateX(3px); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--amber-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--amber-200);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--amber); }
.text-link .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.text-link:hover .icon { transform: translateX(3px); }
}

/* ---------- Badge (single hero label) ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 6px 14px 6px 12px;
	background: var(--amber-50);
	border: 1px solid var(--amber-200);
	border-radius: 999px;
	color: var(--amber-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.lede {
	color: var(--ink-2);
	font-size: clamp(17px, 1rem + 0.3vw, 19px);
	line-height: 1.6;
	max-width: 62ch;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
}
.nav-open .site-header::before { background: var(--white); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 34px; width: auto; }
.footer-logo .logo-img { height: 32px; }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
	transition: color 160ms ease;
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 240ms var(--ease-out);
}
.nav-list a:hover { color: var(--ink); }
.nav-list .current-menu-item > a,
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list .current-menu-item > a::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* Language switcher */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--r-btn);
}
.lang-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 8px;
	border-radius: 6px;
	color: var(--ink-3);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.lang-item:hover { color: var(--ink); }
.lang-item.is-active {
	background: var(--white);
	color: var(--amber-ink);
	box-shadow: 0 1px 2px rgba(20, 22, 27, 0.1);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	border-radius: var(--r-btn);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}
.menu-toggle > span { display: inline-flex; }
.menu-toggle > .menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] > .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] > .menu-toggle-close { display: inline-flex; }
.menu-toggle > .screen-reader-text { display: block; }

@media (max-width: 1140px) {
	.header-inner { gap: 16px; justify-content: space-between; }
	.menu-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 28px;
		padding: 16px var(--gutter) 40px;
		background: var(--white);
		border-top: 1px solid var(--line);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s;
	}
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list li { border-bottom: 1px solid var(--line); }
	.nav-list a { display: block; padding: 18px 0; font-size: 20px; font-weight: 600; color: var(--ink); }
	.nav-list a::after { display: none; }
	.nav-list .current-menu-item > a,
	.nav-list a[aria-current="page"] { color: var(--amber-ink); }
	.nav-extras { display: flex; flex-direction: column; gap: 16px; }
	.lang-switch--menu { align-self: flex-start; }
	.lang-switch--menu .lang-item { min-width: 48px; height: 36px; font-size: 14px; }
}
@media (max-width: 600px) {
	.admin-bar .primary-nav { top: var(--header-h); }
}
@media (max-width: 720px) {
	.header-cta,
	.lang-switch--header { display: none; }
	.logo-img { height: 30px; }
}

/* ---------- Soft amber glow (hero / page headers) ---------- */
.glow {
	position: absolute;
	z-index: 0;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(245, 155, 18, 0.16), rgba(245, 155, 18, 0));
	pointer-events: none;
}
.glow--a { top: -300px; left: -180px; }
.glow--b { top: -260px; right: -220px; width: 460px; height: 460px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 7vw, 88px) 0 0;
	isolation: isolate;
}
.hero-grid {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 1000px; }
.hero-title {
	margin-bottom: 22px;
	font-size: clamp(38px, 1.2rem + 4vw, 60px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.hero-title-2 { color: var(--ink); }
.hero-title-2::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.14em;
	border-left: 0.14em solid transparent;
	border-right: 0.14em solid transparent;
	border-bottom: 0.24em solid var(--amber);
	vertical-align: baseline;
}
.hero .lede { margin: 0 auto 32px; max-width: 58ch; }
.hero .btn-row { justify-content: center; }

.hero-map {
	position: relative;
	width: 100%;
	max-width: 1080px;
	margin: clamp(40px, 6vw, 64px) 0 0;
	padding: clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px) 0;
	background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
	border: 1px solid var(--line);
	border-bottom: 0;
	border-radius: var(--r-panel) var(--r-panel) 0 0;
	box-shadow: var(--shadow-lg);
}
.region-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 18px 4px 22px;
	border-top: 1px solid var(--line);
	text-align: left;
}
.region-list-title { color: var(--ink); font-size: 14px; font-weight: 600; }
.region-list ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.region-list li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* World map */
.world-map { display: block; width: 100%; height: auto; overflow: visible; }
.world-land { fill: #d9dde4; }
.map-pin-dot { fill: var(--amber); stroke: var(--white); stroke-width: 2; }
.map-pin-ring {
	fill: var(--amber);
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	animation: pinPulse 2.6s var(--ease-out) infinite;
	animation-delay: calc(var(--i, 0) * 0.45s);
}
@keyframes pinPulse {
	0% { transform: scale(1); opacity: 0.45; }
	75% { transform: scale(3.2); opacity: 0; }
	100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Made for strip + network line ---------- */
.made-for {
	position: relative;
	background: var(--soft);
	border-top: 1px solid var(--line);
	padding: 8px 0 40px;
}
.net { display: block; width: 100%; max-width: 1080px; margin: 0 auto; height: auto; }
.net-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.n { fill: #c3c8d1; transform-box: fill-box; transform-origin: center; animation: netFloat 5s ease-in-out infinite; }
.n:nth-child(3n) { animation-delay: -1.6s; }
.n:nth-child(3n + 1) { animation-delay: -3.2s; }
.n--hub { fill: var(--amber); }
.net-pulse {
	fill: none;
	stroke: var(--amber);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 60 1400;
	stroke-dashoffset: 0;
	opacity: 0.85;
	animation: netPulse 5.5s linear infinite;
}
@keyframes netFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes netPulse { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -1400; } }

.made-for-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 28px;
	margin-top: 8px;
}
.made-for-label { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.made-for-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.made-for-list li {
	padding: 8px 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight-top { padding-top: clamp(40px, 5vw, 64px); }
.section + .section--soft,
.section--soft + .section { border-top: 0; }

.section-title {
	max-width: 22ch;
	margin: 0 auto clamp(36px, 5vw, 56px);
	font-size: clamp(30px, 1rem + 2.2vw, 44px);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: center;
}
.section-title--left { margin-left: 0; text-align: left; }
.section-title--sm { max-width: none; margin-bottom: 24px; font-size: clamp(22px, 1rem + 0.8vw, 28px); }

.section-more { margin-top: 36px; text-align: center; }

/* ---------- Bento (home platform) ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-areas:
		"wo wo maint maint"
		"wo wo assets fault"
		"field supplier proc reports";
	gap: 16px;
}
.cell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-sm);
	transition: border-color 200ms ease, box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.cell--sm:hover { border-color: var(--amber-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
}
.cell h3 { font-size: 18px; letter-spacing: -0.01em; }
.cell p { color: var(--ink-3); font-size: 15px; line-height: 1.55; }
.cell-head { display: flex; align-items: center; gap: 14px; }
.cell-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	margin-bottom: 6px;
	border-radius: 10px;
	background: var(--amber-50);
	color: var(--amber-ink);
}
.cell-head .cell-icon { margin-bottom: 0; }

.cell--wo { grid-area: wo; padding: 32px; background: linear-gradient(160deg, var(--amber-50) 0%, var(--white) 62%); border-color: var(--amber-200); }
.cell--wo h3 { font-size: 24px; }
.cell--wo > p { font-size: 16px; color: var(--ink-2); max-width: 44ch; }
.cell--wo .cell-icon { background: var(--amber); color: var(--ink); }
.cell--maint { grid-area: maint; background: var(--ink); border-color: var(--ink); }
.cell--maint h3 { color: var(--white); font-size: 22px; }
.cell--maint > p { color: #b9bec8; }
.cell--maint .cell-icon { background: rgba(245, 155, 18, 0.16); color: var(--amber); }
.cell--assets { grid-area: assets; }
.cell--fault { grid-area: fault; }
.cell--field { grid-area: field; }
.cell--supplier { grid-area: supplier; }
.cell--proc { grid-area: proc; }
.cell--reports { grid-area: reports; }

/* Work order lifecycle */
.lifecycle {
	margin-top: auto;
	padding: 22px 22px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
}
.lifecycle-label { margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.lifecycle-steps { position: relative; display: flex; flex-direction: column; }
.lifecycle-steps::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 11px;
	width: 2px;
	background: var(--line);
}
.step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; padding: 9px 0; }
.step-mark {
	position: relative;
	z-index: 1;
	display: inline-flex;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--line-2);
	transition: background-color 300ms ease, border-color 300ms ease, transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.step-mark::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-1px) rotate(-45deg) scale(0.6);
	opacity: 0;
	transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.step-text { display: flex; flex-direction: column; gap: 1px; }
.step-name { color: var(--ink-2); font-size: 15px; font-weight: 600; line-height: 1.5; transition: color 300ms ease; }
.step-note { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.step.is-done .step-mark { background: var(--amber-100); border-color: var(--amber); }
.step.is-done .step-mark::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.step.is-current .step-mark { background: var(--amber); border-color: var(--amber); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(245, 155, 18, 0.18); }
.step.is-current .step-name { color: var(--ink); }
.step.is-current .step-note { color: var(--ink-2); }

/* Maintenance close-out chips */
.closeout-label { margin-top: 12px; color: var(--white) !important; font-size: 14px !important; font-weight: 600; }
.closeout { display: flex; flex-wrap: wrap; gap: 8px; }
.closeout li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px 7px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: #e7e9ee;
	font-size: 14px;
	font-weight: 500;
}
.closeout .icon { color: var(--amber); }

/* ---------- Why ---------- */
.why-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-head .section-title { margin-bottom: 0; max-width: 14ch; }
.why-list { display: flex; flex-direction: column; }
.why-item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 20px;
	padding: 32px 0;
	border-top: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--amber-50);
	color: var(--amber-ink);
}
.why-item h3 { margin: 4px 0 8px; font-size: 22px; }
.why-item p { font-size: 16.5px; line-height: 1.65; max-width: 56ch; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--amber);
	padding: clamp(56px, 7vw, 88px) 0;
}
.cta-band::before {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -140px;
	width: 0;
	height: 0;
	border-left: 220px solid transparent;
	border-right: 220px solid transparent;
	border-bottom: 380px solid rgba(255, 255, 255, 0.16);
	pointer-events: none;
}
.cta-inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}
.cta-copy h2 { margin-bottom: 10px; color: var(--ink); font-size: clamp(28px, 1rem + 1.8vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.cta-copy p { color: #3a2a12; font-size: 17px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--soft);
	border-top: 1px solid var(--line);
	padding-top: clamp(48px, 6vw, 72px);
	color: var(--ink-3);
	font-size: 15px;
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 48px;
}
.footer-brand p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer-title {
	margin-bottom: 16px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-3); transition: color 160ms ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	padding-bottom: 24px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.footer-bottom .lang-switch { background: var(--white); }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
}
.page-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.page-hero h1 {
	max-width: 20ch;
	margin-bottom: 18px;
	font-size: clamp(34px, 1rem + 3vw, 54px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}
.page-hero .lede { margin: 0 auto; }
.page-hero--split { padding-bottom: var(--section); }
.page-hero--split .glow--a { left: -220px; }

/* ---------- Panels, meters, stats, table ---------- */
.panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
	padding: clamp(20px, 3vw, 36px);
	box-shadow: var(--shadow-sm);
}
.panel-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
}
.panel-head h2 { font-size: 22px; }
.panel-meta { color: var(--ink-3); font-size: 14px; }

.ops-map .world-map { margin: 0 auto 28px; max-width: 980px; }

.meter-list { display: flex; flex-direction: column; gap: 22px; }
.meter-list--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 56px; }
.meter-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.meter-label { color: var(--ink); font-size: 15px; font-weight: 600; }
.meter-value { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-bar { display: block; height: 6px; border-radius: 999px; background: #eff0f3; overflow: hidden; }
.meter-fill {
	display: block;
	width: var(--w, 0%);
	height: 100%;
	border-radius: inherit;
	background: var(--amber);
	transform-origin: left;
}
.js .meter-fill { transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
.js .is-visible .meter-fill,
.js .meter-fill.is-visible { transform: scaleX(1); }
.meter:nth-child(2) .meter-fill { transition-delay: 80ms; }
.meter:nth-child(3) .meter-fill { transition-delay: 160ms; }
.meter:nth-child(4) .meter-fill { transition-delay: 240ms; }

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.stat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}
.stat-label { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.stat-value { color: var(--ink); font-size: clamp(28px, 1rem + 1.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }

.table-wrap { padding: 4px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.op-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.op-table th,
.op-table td { padding: 16px 24px; text-align: left; vertical-align: middle; }
.op-table thead th { color: var(--ink-3); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
.op-table tbody tr + tr th,
.op-table tbody tr + tr td { border-top: 1px solid var(--line); }
.op-table tbody tr { transition: background-color 160ms ease; }
.op-table tbody tr:hover { background: #fbfbfc; }
.op-no { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-date { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

.pill {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.pill--high { background: #fdecea; color: #a21c12; }
.pill--med { background: var(--amber-100); color: #8a4308; }
.pill--low { background: #eef0f3; color: var(--ink-2); }

.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { color: #1d5bbf; }
.status--progress { color: #8a4308; }
.status--done { color: var(--success); }
.status--cancel { color: var(--ink-3); }

/* ---------- Platform page ---------- */
.modules {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.modules-index { position: sticky; top: calc(var(--header-h) + 32px); }
.modules-index ol { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.modules-index a {
	display: block;
	margin-left: -2px;
	padding: 8px 0 8px 16px;
	border-left: 2px solid transparent;
	color: var(--ink-3);
	font-size: 15px;
	font-weight: 500;
	transition: color 160ms ease, border-color 160ms ease;
}
.modules-index a:hover { color: var(--ink); }
.modules-index a.is-active { color: var(--ink); border-left-color: var(--amber); }

.modules-list { display: flex; flex-direction: column; }
.module {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 24px;
	padding: 36px 0;
	border-top: 1px solid var(--line);
}
.module:first-child { padding-top: 0; border-top: 0; }
.module-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--amber-50);
	color: var(--amber-ink);
}
.module h2 { margin: 2px 0 8px; font-size: clamp(22px, 1rem + 0.7vw, 26px); }
.module-lede { margin-bottom: 18px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }

.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.ticks .icon { margin-top: 2px; color: var(--amber-ink); }
.ticks--lg li { font-size: 16.5px; gap: 12px; grid-template-columns: 22px minmax(0, 1fr); }

.lang-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 24px;
	padding: clamp(24px, 3vw, 36px);
	background: var(--ink);
	border-radius: var(--r-panel);
	color: #c7cbd3;
}
.lang-callout h2 { margin-bottom: 8px; color: var(--white); font-size: 22px; }
.lang-callout p { max-width: 56ch; }
.lang-chips { display: flex; gap: 8px; }
.lang-chips li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--r-btn);
	color: var(--white);
	font-weight: 600;
	letter-spacing: 0.02em;
}
.lang-chips li:first-child { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ---------- About ---------- */
.about-regions {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(24px, 5vw, 64px);
	align-items: center;
}
.region-stack { display: flex; flex-direction: column; }
.region-stack li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
}
.region-stack li:last-child { border-bottom: 1px solid var(--line); }
.region-stack--compact li { padding: 11px 0; font-size: 16px; }
.about-map { padding: clamp(16px, 2.5vw, 28px); }

.principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.principle { padding: 36px 32px 40px; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { padding-right: 0; }
.principle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 12px;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--amber-ink);
}
.principle h3 { margin-bottom: 10px; font-size: 20px; }
.principle p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }

/* ---------- Pricing & contact (split heroes) ---------- */
.pricing-grid,
.contact-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.pricing-copy h1,
.contact-copy h1 { max-width: 16ch; text-align: left; }
.pricing-copy .lede,
.contact-copy .lede { margin: 0 0 32px; }
.pricing-card { margin-top: 8px; }
.pricing-card h2 { margin-bottom: 22px; font-size: 20px; }
.contact-regions { max-width: 360px; }
.contact-regions-title { margin-bottom: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }
.contact-extra { margin-top: 32px; }

.section--pricing-mods { padding-top: 0; }
.module-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.module-chips a {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 16px 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	color: var(--ink);
	font-weight: 600;
	transition: border-color 200ms ease, box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.module-chips .cell-icon { margin: 0; width: 40px; height: 40px; }
@media (hover: hover) and (pointer: fine) {
	.module-chips a:hover { border-color: var(--amber-200); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
}
@media (max-width: 1024px) { .module-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .module-chips { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Form ---------- */
.demo-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.field-hint { color: var(--ink-3); font-weight: 400; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid var(--line-2);
	border-radius: var(--r-btn);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	appearance: none;
	-webkit-appearance: none;
}
.field select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6572' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--amber-ink);
	box-shadow: 0 0 0 4px rgba(245, 155, 18, 0.2);
}
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 6px; }
.form-note { color: var(--ink-3); font-size: 14px; }
.form-error {
	padding: 12px 14px;
	border: 1px solid #f3c1bc;
	border-radius: var(--r-btn);
	background: #fdf1f0;
	color: var(--danger);
	font-size: 15px;
	font-weight: 500;
}
.form-success { display: flex; gap: 16px; align-items: flex-start; padding: 8px 0; }
.form-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--amber);
	color: var(--ink);
}
.form-success-title { color: var(--ink); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.form-success-text { color: var(--ink-2); }

/* ---------- Blog / prose ---------- */
.prose { max-width: 72ch; margin: 0 auto; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 28px; }
.prose h3 { margin-top: 1.6em; font-size: 22px; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--amber-200); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--amber); color: var(--ink); font-size: 19px; }
.prose img { border-radius: var(--r-card); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.prose code { padding: 2px 6px; background: var(--soft); border-radius: 6px; font-size: 0.9em; }
.prose pre { overflow-x: auto; padding: 18px; background: var(--ink); color: #e7e9ee; border-radius: var(--r-card); }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .alignwide { max-width: min(1100px, 92vw); margin-left: 50%; transform: translateX(-50%); }
.prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.prose .alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.prose .wp-block-button__link { display: inline-flex; padding: 12px 22px; border-radius: var(--r-btn); background: var(--amber); color: var(--ink); font-weight: 600; text-decoration: none; }

.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.post-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.post-card-title { font-size: 22px; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--amber-ink); }
.post-card-excerpt { color: var(--ink-3); }
.post-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 12px; }
.post-hero-media { margin: 0 0 32px; }
.post-hero-media img { border-radius: var(--r-panel); }
.empty-state { color: var(--ink-3); text-align: center; padding: 48px 0; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--ink); font-weight: 600; }
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.post-navigation { max-width: 72ch; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.post-navigation a { color: var(--ink); font-weight: 600; }
.nav-dir { display: block; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.comments-area { max-width: 72ch; margin: 48px auto 0; }

.page-hero--404 .big-404 {
	margin-bottom: 8px;
	color: var(--amber-100);
	font-size: clamp(96px, 20vw, 180px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	-webkit-text-stroke: 2px var(--amber-200);
}

/* ---------- Reveal motion (only when JS is running) ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
	transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
	.map-pin-ring,
	.n,
	.net-pulse { animation: none; }
	.net-pulse { display: none; }
	.js .meter-fill { transition: none; transform: none; }
	.btn:active { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"wo wo"
			"maint maint"
			"assets fault"
			"field supplier"
			"proc reports";
	}
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.modules { grid-template-columns: minmax(0, 1fr); }
	.modules-index { display: none; }
}

@media (max-width: 860px) {
	.why-grid,
	.about-regions,
	.pricing-grid,
	.contact-grid { grid-template-columns: minmax(0, 1fr); }
	.why-head { position: static; }
	.why-head .section-title { max-width: 20ch; }
	.principles { grid-template-columns: minmax(0, 1fr); }
	.principle { padding: 28px 0; }
	.principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
	.meter-list--2col { grid-template-columns: minmax(0, 1fr); }
	.post-list { grid-template-columns: minmax(0, 1fr); }
	.region-list { justify-content: flex-start; }
}

@media (max-width: 640px) {
	.bento {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "wo" "maint" "assets" "fault" "field" "supplier" "proc" "reports";
	}
	.cell,
	.cell--wo { padding: 22px; }
	.lifecycle { padding: 18px 14px 16px; }
	.hero .btn-row .btn { flex: 1 1 100%; }
	.hero-map { border-radius: var(--r-card) var(--r-card) 0 0; }
	.map-pin-dot { r: 9px; stroke-width: 2.5; }
	.map-pin-ring { r: 9px; }
	.region-list ul { gap: 8px 16px; }
	.field-row { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.why-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; }
	.module { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.cta-inner .btn { width: 100%; }
	.stat { padding: 18px; }
	.made-for-row { flex-direction: column; gap: 12px; }
	.made-for-list li { font-size: 14px; padding: 7px 14px; }
	.footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}
