/*
Theme Name: 中予重工
Theme URI: https://example.com/
Author: 中予重工
Description: 中予重工中文企业站主题,基于 6005 Industrial Drive Systems 模版改造。深钢灰底 + 琥珀强调色;产品由 WooCommerce 管理(纯目录,无价格无购物车);签名为带式输送机 35° 槽角与匀速移动的「业绩输送带」。
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: torqbind
Tags: business, industrial, manufacturing, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--steel-990: #060709;
	--steel-950: #0a0c0f;
	--steel-900: #0e1116;
	--steel-870: #12161c;
	--steel-840: #161b22;
	--steel-800: #1b212a;
	--steel-750: #222933;
	--steel-700: #2a323d;
	--steel-600: #39424f;
	--grey-500: #7a8491;
	--grey-400: #8b95a2;
	--grey-300: #aab3be;
	--grey-200: #ccd3db;
	--paper: #eef2f6;

	--amber: #f0a01e;
	--amber-soft: #ffbb52;
	--amber-deep: #b57209;
	--safety: #ffdc2e;
	--danger: #e2543c;
	--ok: #4fb477;

	--font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--wrap: 1240px;
	--wrap-narrow: 780px;
	--gutter: 28px;
	--radius: 4px;
	--radius-lg: 8px;

	--header-h: 78px;
	--rule: 1px solid rgba(255, 255, 255, 0.09);
	--rule-strong: 1px solid rgba(255, 255, 255, 0.16);
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.55);

	/* Signature: 35 degree troughing angle of a carrying idler set.
	   Every chamfer uses the same ratio (tan 35deg = 0.70). */
	--trough-x: 28px;
	--trough-y: 19.6px;
	--trough-x-sm: 20px;
	--trough-y-sm: 14px;
	--belt-speed: 110s;
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

html, body { overflow-x: clip; }

body {
	margin: 0;
	background: var(--steel-950);
	color: var(--grey-200);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.tbd-locked { overflow: hidden; }

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--paper);
	font-weight: 650;
	line-height: 1.14;
	letter-spacing: -0.018em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

hr { border: 0; border-top: var(--rule); margin: 2.4em 0; }

strong { color: var(--paper); font-weight: 650; }

::selection { background: var(--amber); color: #17110a; }

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

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

.tbd-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--amber);
	color: #17110a;
	padding: 12px 20px;
	font-weight: 700;
}
.tbd-skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.tbd-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.tbd-wrap--narrow { max-width: var(--wrap-narrow); }

.tbd-main { display: block; }

.tbd-section { padding: 96px 0; position: relative; }
.tbd-section + .tbd-section { border-top: var(--rule); }

.tbd-sechead { max-width: 760px; margin-bottom: 48px; }
.tbd-sechead--tight { margin-bottom: 30px; }
.tbd-sechead--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.tbd-eyebrow {
	margin: 0 0 14px;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amber);
}

.tbd-sectitle {
	font-size: clamp(28px, 3.4vw, 44px);
	margin: 0 0 16px;
}

.tbd-seclead {
	font-size: 17px;
	color: var(--grey-400);
	margin: 0;
	max-width: 68ch;
}

/* ==========================================================================
   4. Reveal animation - never hides anything unless JS opted in
   ========================================================================== */
html.tbd-anim .tbd-reveal {
	opacity: 0;
	/* Content arrives along the conveying direction, left to right. */
	transform: translate3d(-22px, 0, 0);
	transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 0.78, 0.3, 1);
	transition-delay: var(--tbd-delay, 0ms);
	will-change: opacity, transform;
}

html.tbd-anim .tbd-reveal.is-in,
html.tbd-reveal-all .tbd-reveal,
html.tbd-reduced .tbd-reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tbd-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   5. Buttons, chips and links
   ========================================================================== */
.tbd-btn,
button.tbd-btn,
a.tbd-btn,
.zc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--steel-750);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 650;
	letter-spacing: 0.02em;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.tbd-btn--primary,
button.tbd-btn--primary,
a.tbd-btn--primary,
.zc-btn-primary,
button.zc-btn-primary {
	background: var(--amber);
	border-color: var(--amber);
	color: #17110a;
}
.tbd-btn--primary:hover,
button.tbd-btn--primary:hover,
a.tbd-btn--primary:hover,
.zc-btn-primary:hover {
	background: var(--amber-soft);
	border-color: var(--amber-soft);
	color: #17110a;
	transform: translateY(-1px);
}

.tbd-btn--ghost,
button.tbd-btn--ghost,
a.tbd-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--paper);
}
.tbd-btn--ghost:hover,
button.tbd-btn--ghost:hover,
a.tbd-btn--ghost:hover {
	border-color: var(--amber);
	color: var(--amber);
}

.tbd-btn--outline,
button.tbd-btn--outline,
a.tbd-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.16);
	color: var(--grey-200);
}
.tbd-btn--outline:hover,
button.tbd-btn--outline:hover,
a.tbd-btn--outline:hover { border-color: var(--amber); color: var(--amber); }

.tbd-btn--sm,
button.tbd-btn--sm,
a.tbd-btn--sm { padding: 9px 16px; font-size: 13px; }

.tbd-btn--block,
button.tbd-btn--block,
a.tbd-btn--block { width: 100%; }

.tbd-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 650;
	color: var(--amber-soft);
}
.tbd-link::after {
	content: "";
	width: 16px; height: 1px;
	background: currentColor;
	transition: width 0.2s ease;
}
a.tbd-link:hover::after,
.tbd-unitcard:hover .tbd-link::after,
.tbd-postcard:hover .tbd-link::after { width: 26px; }

.tbd-chip,
button.tbd-chip,
a.tbd-chip {
	display: inline-block;
	padding: 8px 15px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: var(--steel-870);
	color: var(--grey-300);
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.tbd-chip:hover { border-color: var(--amber); color: var(--amber); }
.tbd-chip.is-active {
	background: var(--amber);
	border-color: var(--amber);
	color: #17110a;
	font-weight: 700;
}

/* ==========================================================================
   6. Header
   ========================================================================== */
.tbd-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	background: rgba(10, 12, 15, 0.92);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	transition: background 0.25s ease, border-color 0.25s ease;
}
.tbd-header.is-stuck {
	background: rgba(6, 7, 9, 0.98);
	border-bottom-color: rgba(255, 255, 255, 0.13);
}

.tbd-header__inner {
	/* Wider than the content column: brand + nav + switcher + CTA do not fit in
	   1240px once the labels are English or Russian. */
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 26px;
}

.tbd-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--paper);
	flex: 0 0 auto;
	min-width: 0;
	min-height: 40px;
}
.tbd-brand__mark { flex: 0 0 auto; }
.tbd-brand:hover { color: var(--paper); }
.tbd-brand__mark { color: var(--amber); display: block; }
.tbd-brand__mark svg { display: block; }
.tbd-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tbd-brand__name {
	font-size: 17px;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tbd-brand__line {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--grey-500);
}

.tbd-nav { margin-left: auto; }
.tbd-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tbd-nav__list li { position: relative; }
.tbd-nav__list > li > a {
	display: block;
	padding: 9px 9px;
	border-radius: var(--radius);
	color: var(--grey-300);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.tbd-nav__list > li > a:hover,
.tbd-nav__list > li.current-menu-item > a,
.tbd-nav__list > li.current_page_item > a {
	color: var(--paper);
	background: rgba(255, 255, 255, 0.06);
}

.tbd-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--steel-870);
	border: var(--rule-strong);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.tbd-nav__list li:hover > .sub-menu,
.tbd-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.tbd-nav__list .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 3px;
	color: var(--grey-300);
	font-size: 14px;
}
.tbd-nav__list .sub-menu a:hover { background: rgba(255, 255, 255, 0.07); color: var(--paper); }

.tbd-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
	margin-left: auto;
}

.tbd-header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.tbd-header__phonelabel {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-header__phonenum {
	font-size: 14px;
	font-weight: 700;
	color: var(--paper);
	font-family: var(--font-mono);
}
.tbd-header__phone:hover .tbd-header__phonenum { color: var(--amber); }

.tbd-burger {
	display: none;
	width: 42px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.tbd-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--paper);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.tbd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tbd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tbd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   7. Mobile drawer - deliberately a sibling of the header so no filter or
      transform on the header can trap its fixed positioning.
   ========================================================================== */
.tbd-drawer { position: fixed; inset: 0; z-index: 90; }
.tbd-drawer[hidden] { display: none; }

.tbd-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(4, 5, 7, 0.72);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.tbd-drawer.is-open .tbd-drawer__scrim { opacity: 1; }

.tbd-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: var(--steel-900);
	border-left: var(--rule-strong);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.tbd-drawer.is-open .tbd-drawer__panel { transform: none; }

.tbd-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.tbd-drawer__title {
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--paper);
}
.tbd-drawer__close {
	width: 38px; height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: transparent;
	color: var(--paper);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.tbd-drawer__close:hover { border-color: var(--amber); color: var(--amber); }

.tbd-drawer__list { list-style: none; margin: 0; padding: 0; }
.tbd-drawer__list li { border-bottom: var(--rule); }
.tbd-drawer__list a {
	display: block;
	padding: 14px 2px;
	color: var(--grey-200);
	font-size: 16px;
	font-weight: 600;
}
.tbd-drawer__list a:hover { color: var(--amber); }
.tbd-drawer__list .sub-menu { list-style: none; margin: 0 0 8px; padding-left: 14px; }
.tbd-drawer__list .sub-menu a { font-size: 14px; padding: 9px 2px; color: var(--grey-400); }

.tbd-drawer__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 13px;
}

/* ==========================================================================
   8. Hero
   ========================================================================== */
.tbd-hero {
	position: relative;
	min-height: min(92vh, 860px);
	padding: calc(var(--header-h) + 88px) 0 88px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--steel-990);
}

.tbd-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.tbd-hero__poster,
.tbd-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 50%;
	/* No recolouring: the painted idlers are real product colour. */
	filter: brightness(0.92);
}

.tbd-hero__video { z-index: 1; opacity: 0; transition: opacity 0.9s ease; }
.tbd-hero__media.has-video .tbd-hero__video { opacity: 1; }

.tbd-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(100deg, rgba(6, 7, 9, 0.92) 8%, rgba(6, 7, 9, 0.62) 42%, rgba(6, 7, 9, 0.08) 78%),
		linear-gradient(to top, rgba(10, 12, 15, 1) 2%, rgba(10, 12, 15, 0) 42%);
}

.tbd-hero__grid {
	position: absolute;
	inset: 0;
	z-index: 3;
	opacity: 0.28;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 68px 68px;
	mask-image: radial-gradient(circle at 22% 44%, rgba(0, 0, 0, 0.9), transparent 74%);
	-webkit-mask-image: radial-gradient(circle at 22% 44%, rgba(0, 0, 0, 0.9), transparent 74%);
}

.tbd-hero__inner { position: relative; z-index: 4; }

.tbd-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 7px 14px;
	border: 1px solid rgba(240, 160, 30, 0.4);
	border-radius: 999px;
	background: rgba(240, 160, 30, 0.08);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--amber-soft);
}

.tbd-hero__title {
	max-width: 12.5em;
	margin: 0 0 22px;
	font-size: clamp(34px, 5.4vw, 70px);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.tbd-hero__text {
	max-width: 60ch;
	margin: 0 0 34px;
	font-size: 17px;
	color: var(--grey-300);
}

.tbd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 54px; }

.tbd-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius);
	overflow: hidden;
	max-width: 900px;
}
.tbd-hero__stats > div { background: rgba(10, 12, 15, 0.82); padding: 18px 20px; min-width: 0; }
.tbd-hero__stats dt {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
	margin-bottom: 6px;
}
.tbd-hero__stats dd {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 20px;
	font-weight: 600;
	color: var(--paper);
	letter-spacing: -0.01em;
}
.tbd-hero__stats dd span { font-size: 13px; color: var(--amber); }

.tbd-hero__down {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 5;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	display: flex;
	justify-content: center;
	padding-top: 8px;
}
.tbd-hero__down span {
	width: 3px;
	height: 8px;
	border-radius: 2px;
	background: var(--amber);
	animation: tbd-drop 1.9s ease-in-out infinite;
}
@keyframes tbd-drop {
	0%, 100% { transform: translateY(0); opacity: 1; }
	60% { transform: translateY(14px); opacity: 0.15; }
}

/* ==========================================================================
   9. Drive family grid
   ========================================================================== */
.tbd-familygrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.tbd-familycard {
	display: block;
	min-width: 0;
	padding: 26px 24px 24px;
	background: linear-gradient(180deg, var(--steel-870), var(--steel-900));
	border: var(--rule);
	border-radius: var(--radius-lg);
	color: inherit;
	position: relative;
	overflow: hidden;
	transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.tbd-familycard::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--amber);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.28s ease;
}
a.tbd-familycard:hover {
	border-color: rgba(255, 255, 255, 0.2);
	color: inherit;
}
a.tbd-familycard:hover::before { transform: scaleY(1); }

.tbd-familycard__index {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--amber);
}
.tbd-familycard__name { margin: 8px 0 12px; font-size: 20px; }
.tbd-familycard__desc { margin: 0 0 18px; font-size: 14px; color: var(--grey-400); }

.tbd-familycard__specs {
	list-style: none;
	margin: 0;
	padding: 16px 0 0;
	border-top: var(--rule);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
}
.tbd-familycard__specs li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tbd-familycard__specs span {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-familycard__specs strong { font-family: var(--font-mono); font-size: 14px; color: var(--paper); }

/* ==========================================================================
   11. Form controls (shared by the calculator and the inquiry plugin)
   ========================================================================== */
.tbd-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tbd-field label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-400);
}
.tbd-field__input { position: relative; display: flex; align-items: stretch; }

.tbd-field input[type="number"],
.tbd-field input[type="text"],
.tbd-field select {
	width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: var(--steel-950);
	color: var(--paper);
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 1.3;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.18s ease, background 0.18s ease;
}
.tbd-field select {
	padding-right: 38px;
	background-image: linear-gradient(45deg, transparent 50%, var(--grey-400) 50%), linear-gradient(135deg, var(--grey-400) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	cursor: pointer;
}
.tbd-field input:focus,
.tbd-field select:focus {
	border-color: var(--amber);
	outline: none;
	background: var(--steel-900);
}

.tbd-field__unit {
	display: flex;
	align-items: center;
	padding: 0 14px;
	margin-left: -1px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 0;
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--steel-870);
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--amber);
	white-space: nowrap;
}
.tbd-field__input:has(.tbd-field__unit) input { border-radius: var(--radius) 0 0 var(--radius); }
.tbd-field--action { justify-content: flex-end; }

.tbd-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--amber-deep), var(--steel-700));
	outline: none;
	margin: 12px 0;
}
.tbd-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--amber);
	border: 3px solid var(--steel-950);
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(240, 160, 30, 0.5);
}
.tbd-range::-moz-range-thumb {
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--amber);
	border: 3px solid var(--steel-950);
	cursor: pointer;
}

/* ==========================================================================
   13. Tables
   ========================================================================== */
.tbd-tablewrap {
	overflow-x: auto;
	min-width: 0;
	border: var(--rule);
	border-radius: var(--radius);
	-webkit-overflow-scrolling: touch;
}

.tbd-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: var(--steel-950);
}
.tbd-table th, .tbd-table td {
	padding: 13px 16px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	vertical-align: middle;
	white-space: nowrap;
}
.tbd-table thead th {
	background: var(--steel-870);
	color: var(--grey-300);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 0;
}
.tbd-table tbody tr:hover { background: rgba(255, 255, 255, 0.028); }
.tbd-table tbody tr:last-child th,
.tbd-table tbody tr:last-child td { border-bottom: 0; }
.tbd-table td em { font-style: normal; font-size: 11px; color: var(--grey-500); }

.tbd-table--sf thead th { padding: 14px 16px; }
.tbd-table--sf th[scope="row"] { white-space: normal; min-width: 260px; }
.tbd-table--sf td { padding: 8px 10px; }
.tbd-table__strong { display: block; color: var(--paper); font-size: 14px; font-weight: 650; }
.tbd-table__note {
	display: block;
	font-family: var(--font-body);
	font-size: 11px;
	color: var(--grey-500);
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	white-space: normal;
	margin-top: 2px;
}

.tbd-sort,
button.tbd-sort {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
	white-space: nowrap;
}
.tbd-sort:hover { color: var(--amber); }
.tbd-sort em { font-style: normal; color: var(--grey-500); }
.tbd-sort__mark { width: 8px; height: 8px; opacity: 0.35; }
.tbd-sort__mark::after { content: "\2195"; font-size: 11px; }
.tbd-sort[data-dir] { color: var(--amber); }
.tbd-sort[data-dir] .tbd-sort__mark { opacity: 1; }
.tbd-sort[data-dir="asc"] .tbd-sort__mark::after { content: "\2191"; }
.tbd-sort[data-dir="desc"] .tbd-sort__mark::after { content: "\2193"; }

/* Specification matrix - sticky first column */
.tbd-matrix { min-width: 0; }
.tbd-matrix__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tbd-tablewrap--matrix { max-height: 640px; overflow-y: auto; }

.tbd-table--matrix th.tbd-table__sticky {
	position: sticky;
	left: 0;
	z-index: 2;
	background: var(--steel-870);
	min-width: 170px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	white-space: normal;
}
.tbd-table--matrix thead th.tbd-table__sticky { z-index: 3; }
.tbd-table--matrix thead th { position: sticky; top: 0; z-index: 1; }
.tbd-table--matrix tbody th.tbd-table__sticky a {
	font-family: var(--font-mono);
	font-size: 14px;
	color: var(--paper);
	font-weight: 650;
}
.tbd-table--matrix tbody th.tbd-table__sticky a:hover { color: var(--amber); }
.tbd-table--matrix tbody td { font-family: var(--font-mono); color: var(--grey-200); }
.tbd-table--matrix tbody tr:hover th.tbd-table__sticky { background: var(--steel-840); }

.tbd-matrix__foot {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--grey-500);
}

.tbd-table--spec th[scope="row"] {
	width: 42%;
	color: var(--grey-400);
	font-weight: 500;
	white-space: normal;
}
.tbd-table--spec td { font-family: var(--font-mono); color: var(--paper); white-space: normal; }

/* ==========================================================================
   15. Gear unit cards
   ========================================================================== */
.tbd-unitgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 20px;
}

.tbd-unitcard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--steel-900);
	border: var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.22s ease, transform 0.22s ease;
}
.tbd-unitcard:hover { border-color: rgba(255, 255, 255, 0.2); }

.tbd-unitcard__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--steel-950);
	overflow: hidden;
	border-bottom: var(--rule);
}
.tbd-unitcard__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}


.tbd-unitcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; }
.tbd-unitcard__family {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--amber);
}
.tbd-unitcard__title { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.tbd-unitcard__title a { color: var(--paper); }
.tbd-unitcard__title a:hover { color: var(--amber); }
.tbd-unitcard__excerpt { margin: 0; font-size: 14px; color: var(--grey-400); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 3; }

/* Specification strip: the brochure's material / specification / surface block,
   printed on the card in place of a prose summary so a grid of rollers can be
   compared line by line. */
.tbd-specstrip {
	margin: 6px 0 0;
	padding: 14px 0 0;
	border-top: var(--rule);
	display: grid;
	gap: 8px;
	min-width: 0;
}
.tbd-specstrip__row {
	display: grid;
	grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	min-width: 0;
}
.tbd-specstrip dt {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--grey-500);
	/* Labels wrap between words only: "SPECIFICATIONS" broke as
	   "SPECIFICATIO / NS" when anywhere-breaking was allowed. */
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}
.tbd-specstrip dd {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--grey-200);
	min-width: 0;
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 2;
}
.tbd-specstrip__row--moq { margin-top: 2px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.11); }
.tbd-specstrip__row--moq dd { font-family: var(--font-mono); color: var(--paper); -webkit-line-clamp: 1; }

.tbd-unitcard__actions {
	margin-top: auto;
	padding-top: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* ==========================================================================
   16. Process, industries, journal
   ========================================================================== */
.tbd-process {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: start;
}
.tbd-process__media {
	position: relative;
	min-width: 0;
	display: grid;
	gap: 16px;
}
.tbd-process__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	border: var(--rule);
	filter: saturate(0.85) contrast(1.05);
}
.tbd-process__stat {
	position: absolute;
	right: -14px;
	bottom: -18px;
	max-width: 230px;
	padding: 18px 20px;
	background: var(--amber);
	color: #17110a;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.tbd-process__stat strong { display: block; font-family: var(--font-mono); font-size: 24px; line-height: 1; color: #17110a; }
.tbd-process__stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; font-weight: 600; }

.tbd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tbd-steps__item {
	position: relative;
	padding: 22px 0 22px 62px;
	border-bottom: var(--rule);
	min-width: 0;
}
.tbd-steps__item:last-child { border-bottom: 0; }
.tbd-steps__num {
	position: absolute;
	left: 0;
	top: 22px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--amber);
	border: 1px solid rgba(240, 160, 30, 0.4);
	border-radius: var(--radius);
	padding: 4px 8px;
}
.tbd-steps__item h3 { margin: 0 0 8px; font-size: 17px; }
.tbd-steps__item p { margin: 0; font-size: 14px; color: var(--grey-400); }

.tbd-industries {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.tbd-industry__media {
	display: block;
	position: relative;
	margin: -26px -24px 20px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--steel-950);
}
.tbd-industry__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(10, 13, 17, 0.12) 0%, rgba(10, 13, 17, 0) 38%, rgba(15, 19, 25, 0.72) 82%, var(--steel-900) 100%);
	pointer-events: none;
}
.tbd-industry__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	/* The brochure photos were shot over years in very different light; this
	   pulls the bright ones down so the six tiles read as one set. */
	filter: saturate(0.82) brightness(0.9) contrast(1.06);
	transition: transform 0.5s cubic-bezier(0.22, 0.78, 0.3, 1);
}
.tbd-industry:hover .tbd-industry__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
	.tbd-industry__media img { transition: none; }
	.tbd-industry:hover .tbd-industry__media img { transform: none; }
}

.tbd-industry {
	background: var(--steel-900);
	padding: 26px 24px;
	min-width: 0;
	transition: background 0.2s ease;
}
.tbd-industry:hover { background: var(--steel-840); }
.tbd-industry__name { margin: 0 0 10px; font-size: 17px; }
.tbd-industry__text { margin: 0 0 16px; font-size: 14px; color: var(--grey-400); }
.tbd-industry__frames { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.tbd-industry__frames span {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-industry__frames strong { font-family: var(--font-mono); font-size: 13px; color: var(--amber-soft); }

.tbd-postgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.tbd-postcard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: var(--rule);
	border-radius: var(--radius-lg);
	background: var(--steel-900);
	overflow: hidden;
	transition: border-color 0.22s ease, transform 0.22s ease;
}
.tbd-postcard:hover { border-color: rgba(255, 255, 255, 0.2); }
.tbd-postcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-950); }
.tbd-postcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.tbd-postcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.tbd-postcard__date {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amber);
}
.tbd-postcard__title { margin: 0; font-size: 20px; }
.tbd-postcard__title a { color: var(--paper); }
.tbd-postcard__title a:hover { color: var(--amber); }
.tbd-postcard__excerpt { margin: 0 0 auto; font-size: 14px; color: var(--grey-400); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 3; }

/* ==========================================================================
   17. CTA + inquiry plugin overrides
   ========================================================================== */
.tbd-section--cta {
	background:
		radial-gradient(ellipse at 15% 0%, rgba(240, 160, 30, 0.09), transparent 58%),
		var(--steel-900);
}

.tbd-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 48px;
	align-items: start;
}
.tbd-cta--slim { gap: 40px; }
.tbd-cta__copy { min-width: 0; }
.tbd-cta__form { min-width: 0; }

.tbd-cta__list { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; gap: 10px; }
.tbd-cta__list li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	color: var(--grey-300);
}
.tbd-cta__list li::before {
	content: "";
	position: absolute;
	left: 0; top: 9px;
	width: 10px; height: 2px;
	background: var(--amber);
}
.tbd-cta__contact {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.tbd-cta__contact span { color: var(--grey-600); }

/* The plugin stylesheet is a declared dependency of this file, so these
   rules always win without needing !important. */
.zc-inquiry-block {
	padding: 30px;
	border: var(--rule);
	border-radius: var(--radius-lg);
	background: var(--steel-950);
	max-width: none;
	margin: 0;
}
.zc-inquiry-block__intro { margin-bottom: 22px; }
.zc-inquiry-block__intro h2 {
	font-size: 24px;
	color: var(--paper);
	margin: 0 0 8px;
	letter-spacing: -0.015em;
}
.zc-inquiry-block__intro p { font-size: 14px; color: var(--grey-400); margin: 0; }

.zc-inquiry-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zc-inquiry-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.zc-inquiry-field:last-of-type { grid-column: 1 / -1; }
.zc-inquiry-field label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-400);
	margin: 0;
}
.zc-required { color: var(--amber); margin-left: 3px; }

.zc-inquiry-field input,
.zc-inquiry-field textarea,
.zc-inquiry-field select {
	width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: var(--steel-900);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.18s ease;
}
.zc-inquiry-field textarea { min-height: 130px; resize: vertical; }
.zc-inquiry-field input::placeholder,
.zc-inquiry-field textarea::placeholder { color: var(--grey-500); }
.zc-inquiry-field input:focus,
.zc-inquiry-field textarea:focus { border-color: var(--amber); outline: none; }

.zc-inquiry-form > .zc-btn,
.zc-inquiry-form button[type="submit"] { margin-top: 20px; width: 100%; }

.zc-file-input {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	background: var(--steel-900);
	position: relative;
}
.zc-file-input__button {
	padding: 7px 13px;
	background: var(--steel-700);
	border-radius: 3px;
	font-size: 13px;
	color: var(--paper);
	white-space: nowrap;
}
.zc-file-input__name { font-size: 13px; color: var(--grey-500); overflow: hidden; text-overflow: ellipsis; }

.zc-inquiry-notice {
	padding: 12px 16px;
	border-radius: var(--radius);
	font-size: 14px;
	margin-bottom: 16px;
}
.zc-inquiry-notice.is-error { background: rgba(226, 84, 60, 0.12); border: 1px solid rgba(226, 84, 60, 0.4); color: #f6b8ac; }
.zc-inquiry-notice.is-success { background: rgba(79, 180, 119, 0.12); border: 1px solid rgba(79, 180, 119, 0.4); color: #a9e2c1; }

.zc-modal__dialog {
	background: var(--steel-900);
	border: var(--rule-strong);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	color: var(--grey-200);
}
.zc-modal__backdrop { background: rgba(4, 5, 7, 0.78); }
.zc-modal__close {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	color: var(--paper);
	cursor: pointer;
}
.zc-modal__close:hover { border-color: var(--amber); color: var(--amber); }
.zc-modal .zc-inquiry-block { border: 0; background: transparent; padding: 26px; }

.zc-inquiry-toast__inner {
	background: var(--steel-800);
	border: 1px solid rgba(240, 160, 30, 0.4);
	color: var(--paper);
	border-radius: var(--radius);
}

/* ==========================================================================
   18. Page furniture: heads, prose, archive, 404, search
   ========================================================================== */
.tbd-pagehead {
	padding: calc(var(--header-h) + 78px) 0 54px;
	background:
		radial-gradient(ellipse at 12% 10%, rgba(240, 160, 30, 0.1), transparent 55%),
		var(--steel-900);
	border-bottom: var(--rule);
}
.tbd-pagehead__title { font-size: clamp(32px, 5vw, 56px); margin: 0 0 18px; max-width: 20ch; }
.tbd-pagehead__lead { font-size: 17px; color: var(--grey-400); margin: 0; max-width: 70ch; }
.tbd-pagehead__search { margin-top: 26px; max-width: 520px; }
.tbd-pagehead--article .tbd-pagehead__title { max-width: 24ch; }

.tbd-pagemedia { margin-top: -34px; margin-bottom: 0; position: relative; z-index: 2; }
.tbd-pagemedia__img {
	width: 100%;
	border-radius: var(--radius-lg);
	border: var(--rule);
	box-shadow: var(--shadow);
}

.tbd-prose { font-size: 17px; color: var(--grey-300); }
.tbd-prose h2 { font-size: 24px; margin: 2em 0 0.6em; }
.tbd-prose h3 { font-size: 20px; margin: 1.8em 0 0.5em; }
.tbd-prose h2:first-child, .tbd-prose h3:first-child { margin-top: 0; }
.tbd-prose ul, .tbd-prose ol { padding-left: 1.3em; }
.tbd-prose li { margin-bottom: 0.5em; }
.tbd-prose li::marker { color: var(--amber); }
.tbd-prose blockquote {
	margin: 1.8em 0;
	padding: 18px 24px;
	border-left: 3px solid var(--amber);
	background: var(--steel-900);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--grey-200);
	font-size: 17px;
}
.tbd-prose blockquote p:last-child { margin-bottom: 0; }
.tbd-prose code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	background: var(--steel-870);
	border: var(--rule);
	border-radius: 3px;
	padding: 2px 6px;
	color: var(--amber-soft);
}
.tbd-prose pre {
	background: var(--steel-950);
	border: var(--rule);
	border-radius: var(--radius);
	padding: 18px;
	overflow-x: auto;
}
.tbd-prose pre code { background: none; border: 0; padding: 0; }
.tbd-prose img { border-radius: var(--radius); margin: 1.6em 0; }
.tbd-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14px; }
.tbd-prose th, .tbd-prose td { padding: 11px 14px; border-bottom: var(--rule); text-align: left; }
.tbd-prose th { color: var(--paper); font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; }
.tbd-prose a { text-decoration: underline; text-underline-offset: 3px; }

.tbd-taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; }
.tbd-taglist a {
	display: inline-block;
	padding: 6px 13px;
	border: var(--rule);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--grey-300);
}
.tbd-taglist a:hover { border-color: var(--amber); color: var(--amber); }

.tbd-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: var(--rule);
}
.tbd-postnav__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: var(--rule);
	border-radius: var(--radius);
	background: var(--steel-900);
	min-width: 0;
}
.tbd-postnav__item:hover { border-color: var(--amber); }
.tbd-postnav__item--next { text-align: right; }
.tbd-postnav__item span {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-postnav__item strong { font-size: 14px; color: var(--paper); }

.tbd-famnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.tbd-empty { text-align: center; padding: 60px 20px; }
.tbd-empty h2 { font-size: 24px; }
.tbd-empty p { color: var(--grey-400); max-width: 52ch; margin: 0 auto 24px; }
.tbd-empty__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.tbd-searchform { display: flex; gap: 10px; }
.tbd-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: var(--steel-950);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}
.tbd-searchform__input:focus { border-color: var(--amber); outline: none; }
.tbd-searchform__submit { flex: 0 0 auto; }

.tbd-results { display: grid; gap: 2px; }
.tbd-result { padding: 24px 0; border-bottom: var(--rule); min-width: 0; }
.tbd-result__type {
	margin: 0 0 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amber);
}
.tbd-result__title { margin: 0 0 8px; font-size: 20px; }
.tbd-result__title a { color: var(--paper); }
.tbd-result__title a:hover { color: var(--amber); }
.tbd-result__excerpt { margin: 0; font-size: 14px; color: var(--grey-400); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2; }

.tbd-404 { text-align: center; padding: calc(var(--header-h) + 60px) 0 40px; }
.tbd-404__title { font-size: clamp(28px, 5vw, 46px); margin: 0 0 16px; }
.tbd-404__text { color: var(--grey-400); max-width: 54ch; margin: 0 auto 30px; }
.tbd-404__search { max-width: 480px; margin: 0 auto 26px; }
.tbd-404__links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: var(--rule);
	border-radius: var(--radius);
	background: var(--steel-900);
	color: var(--grey-300);
	font-family: var(--font-mono);
	font-size: 13px;
}
.page-numbers:hover { border-color: var(--amber); color: var(--amber); }
.page-numbers.current { background: var(--amber); border-color: var(--amber); color: #17110a; font-weight: 700; }

/* ==========================================================================
   19. Gear unit data sheet
   ========================================================================== */
.tbd-unithero {
	padding: calc(var(--header-h) + 66px) 0 62px;
	background:
		radial-gradient(ellipse at 78% 18%, rgba(240, 160, 30, 0.13), transparent 56%),
		linear-gradient(180deg, var(--steel-900), var(--steel-950));
	border-bottom: var(--rule);
}
.tbd-unithero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 48px;
	align-items: center;
}
.tbd-unithero__copy, .tbd-unithero__media { min-width: 0; }

.tbd-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--grey-500);
}
.tbd-crumbs a { color: var(--grey-400); }
.tbd-crumbs a:hover { color: var(--amber); }

.tbd-unithero__family {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--amber);
}
.tbd-unithero__code {
	margin: 0 0 16px;
	font-size: clamp(30px, 4.2vw, 52px);
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.tbd-unithero__lead { margin: 0 0 28px; font-size: 17px; color: var(--grey-400); max-width: 60ch; }

.tbd-unithero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 28px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius);
	overflow: hidden;
}
.tbd-unithero__stats > div { background: var(--steel-950); padding: 16px 18px; min-width: 0; }
.tbd-unithero__stats dt {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
	margin-bottom: 5px;
}
.tbd-unithero__stats dd { margin: 0; font-family: var(--font-mono); font-size: 17px; color: var(--paper); }
.tbd-unithero__stats dd span { font-size: 13px; color: var(--amber); }

.tbd-unithero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tbd-unithero__img {
	width: 100%;
	border-radius: var(--radius-lg);
	border: var(--rule);
	box-shadow: var(--shadow);
}
.tbd-unithero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.tbd-unithero__tags a {
	display: inline-block;
	padding: 5px 12px;
	border: var(--rule);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--grey-400);
}
.tbd-unithero__tags a:hover { border-color: var(--amber); color: var(--amber); }

.tbd-unitlayout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}
.tbd-unitlayout__main, .tbd-unitlayout__aside { min-width: 0; }

.tbd-unitblock { margin-top: 44px; min-width: 0; }
.tbd-unitblock__title {
	font-size: 20px;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: var(--rule);
}

.tbd-ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tbd-ticklist li {
	position: relative;
	padding-left: 28px;
	font-size: 14px;
	color: var(--grey-300);
}
.tbd-ticklist li::before {
	content: "";
	position: absolute;
	left: 0; top: 8px;
	width: 12px; height: 2px;
	background: var(--amber);
}

.tbd-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tbd-pills li {
	padding: 8px 15px;
	border: var(--rule);
	border-radius: 999px;
	background: var(--steel-900);
	font-size: 13px;
	color: var(--grey-300);
}

.tbd-unitdiagram {
	padding: 20px;
	border: var(--rule);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 30% 25%, rgba(240, 160, 30, 0.07), transparent 62%),
		var(--steel-950);
}
.tbd-unitdiagram__note { margin: 14px 0 0; font-size: 14px; color: var(--grey-500); }

.tbd-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }

.tbd-quotecard, .tbd-quickspec {
	padding: 24px;
	border: var(--rule);
	border-radius: var(--radius-lg);
	background: var(--steel-900);
}
.tbd-quotecard {
	border-color: rgba(240, 160, 30, 0.28);
	background: linear-gradient(180deg, rgba(240, 160, 30, 0.07), var(--steel-900));
}
.tbd-quotecard__title {
	margin: 0 0 12px;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amber);
	font-weight: 600;
}
.tbd-quotecard p { font-size: 14px; color: var(--grey-400); margin: 0 0 18px; }
.tbd-quotecard__contact {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 5px;
	font-family: var(--font-mono);
	font-size: 13px;
}

.tbd-speclist { margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, 0.07); }
.tbd-speclist__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	background: var(--steel-900);
	min-width: 0;
}
.tbd-speclist dt {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-speclist dd { margin: 0; font-family: var(--font-mono); font-size: 14px; color: var(--paper); text-align: right; }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.tbd-footer {
	background: var(--steel-990);
	border-top: var(--rule-strong);
	padding: 64px 0 30px;
}
.tbd-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: var(--rule);
}
.tbd-footer__col { min-width: 0; }
.tbd-footer__brand {
	display: block;
	margin-bottom: 14px;
	font-size: 20px;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--paper);
}
.tbd-footer__blurb { font-size: 14px; color: var(--grey-500); margin: 0 0 18px; max-width: 46ch; }
.tbd-footer__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tbd-footer__badges li {
	padding: 5px 11px;
	border: var(--rule);
	border-radius: 3px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--grey-500);
}
.tbd-footer__title {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--amber);
	font-weight: 600;
}
.tbd-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tbd-footer__list a, .tbd-footer__list span { font-size: 14px; color: var(--grey-400); }
.tbd-footer__list a:hover { color: var(--amber); }
.tbd-footer__list--contact { font-family: var(--font-mono); font-size: 13px; }

.tbd-footer__bottom {
	padding-top: 26px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--grey-500);
}
.tbd-footer__bottom p { margin: 0; }
.tbd-footer__note { color: var(--steel-600); }

/* ==========================================================================
   21. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.tbd-nav__list > li > a { padding: 9px 10px; font-size: 14px; }
	.tbd-header__phone { display: none; }
	.tbd-unitlayout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}

@media (max-width: 1024px) {
	:root { --gutter: 22px; }
	.tbd-section { padding: 72px 0; }
	.tbd-process { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.tbd-process__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbd-process__stat { right: 16px; bottom: -14px; }
	.tbd-cta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tbd-unitlayout { grid-template-columns: minmax(0, 1fr); }
	.tbd-sticky { position: static; }
	.tbd-unithero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tbd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

/* The horizontal nav gives way to the burger as soon as its labels stop fitting,
   and that width depends on the language: Russian labels are the widest, Chinese
   the narrowest. <html lang> is already per-language, so the breakpoint can be too. */
@media (max-width: 1500px) {
	html[lang^="ru"] .tbd-nav { display: none; }
	html[lang^="ru"] .tbd-burger { display: flex; }
}

@media (max-width: 1300px) {
	/* Below this the quote CTA no longer fits beside the nav; the floating rail
	   keeps the same action on screen. */
	.tbd-header__actions .tbd-btn--sm { display: none; }
}

@media (max-width: 1240px) {
	.tbd-nav { display: none; }
	.tbd-burger { display: flex; }
}

@media (max-width: 900px) {
	.tbd-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbd-postnav { grid-template-columns: minmax(0, 1fr); }
	.tbd-postnav__item--next { text-align: left; }
}

@media (max-width: 768px) {
	:root { --header-h: 66px; --gutter: 18px; }
	body { font-size: 16px; }
	.tbd-section { padding: 56px 0; }
	.tbd-hero { min-height: 0; padding: calc(var(--header-h) + 56px) 0 56px; }
	.tbd-hero__title { max-width: none; }
	.tbd-hero__text { font-size: 16px; }
	.tbd-hero__actions { margin-bottom: 36px; }
	.tbd-hero__actions .tbd-btn { flex: 1 1 auto; }
	.tbd-hero__down { display: none; }
	.tbd-sechead { margin-bottom: 32px; }
	.zc-inquiry-form__grid { grid-template-columns: minmax(0, 1fr); }
	.zc-inquiry-block { padding: 22px; }
	.tbd-unitgrid, .tbd-postgrid, .tbd-familygrid { grid-template-columns: minmax(0, 1fr); }
	.tbd-pagehead { padding: calc(var(--header-h) + 46px) 0 38px; }
	.tbd-pagemedia { margin-top: -20px; }
	.tbd-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tbd-process__stat { position: static; max-width: none; margin-top: 14px; }
	.tbd-steps__item { padding-left: 0; padding-top: 46px; }
	.tbd-steps__num { top: 16px; }
	.tbd-table--sf th[scope="row"] { min-width: 200px; }
	.tbd-tablewrap--matrix { max-height: 480px; }
}

@media (max-width: 380px) {
	/* No room for brand text beside the switcher and the menu button. */
	.tbd-brand__text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

@media (max-width: 760px) {
	/* The brand wraps to two small lines so the language switcher and the menu
	   button always stay inside the viewport, in every language (RU is widest). */
	.tbd-header__inner { gap: 12px; }
	.tbd-brand { gap: 9px; max-width: 168px; }
	.tbd-brand__name { font-size: 12px; letter-spacing: 0.02em; white-space: normal; overflow: visible; line-height: 1.15; }
	.tbd-brand__mark svg { width: 30px; height: auto; }
	.tbd-header__actions { gap: 10px; }
}

@media (max-width: 460px) {
	.tbd-hero__stats { grid-template-columns: minmax(0, 1fr); }
	.tbd-unithero__stats { grid-template-columns: minmax(0, 1fr); }
	.tbd-brand__line { display: none; }

	.tbd-familycard__specs { grid-template-columns: minmax(0, 1fr); }
}

@media print {
	.tbd-header, .tbd-drawer, .tbd-footer, .tbd-section--cta, .zc-modal { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ==========================================================================
   30. 中予重工 additions
   ========================================================================== */

/* ---- Specification tables and the OEM band ------------------------------ */

/* "Customizable" is the offer stated as a specification. It carries the same
   35deg trough cut as the media frames rather than a separate OEM badge, so
   the customisation promise reads as part of the spec, not an advert.

   The mark is applied to the cell itself: the translation plugin replaces the
   cell's inner HTML, so a wrapper <span> inside it survives only in English. */
.tbd-specstrip dd.is-custom,
.tbd-spectable__table td.is-custom {
	color: var(--amber-soft);
	font-weight: 500;
}
.tbd-specstrip dd.is-custom::before,
.tbd-spectable__table td.is-custom::before {
	content: "";
	display: inline-block;
	vertical-align: 0.14em;
	width: 14px;
	height: 10px;
	margin-right: 8px;
	background: rgba(240, 160, 30, 0.85);
	/* tan 35deg = 0.70: the same trough the idler sets form. */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 7px));
}

.tbd-unithero__moq {
	margin: 0 0 24px;
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	padding: 10px 16px;
	border: var(--rule);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
}
.tbd-unithero__moq span {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
}
.tbd-unithero__moq strong { font-family: var(--font-mono); font-size: 16px; color: var(--paper); }

.tbd-keypoints {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}
.tbd-keypoints li {
	position: relative;
	padding: 14px 16px 14px 34px;
	background: var(--steel-900);
	border: var(--rule);
	border-radius: var(--radius);
	font-size: 14px;
	line-height: 1.5;
	color: var(--grey-200);
}
.tbd-keypoints li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 20px;
	width: 10px;
	height: 3px;
	background: var(--amber);
}

.tbd-spectable { margin: 44px 0 0; }
.tbd-spectable__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.3;
}
.tbd-spectable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbd-spectable__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}
.tbd-spectable__table--wide { min-width: 640px; }
.tbd-spectable__table th,
.tbd-spectable__table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: var(--rule);
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.tbd-spectable__table thead th {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-500);
	border-bottom: var(--rule-strong);
	white-space: nowrap;
}
.tbd-spectable__table tbody th {
	width: 30%;
	font-weight: 500;
	color: var(--grey-300);
	background: rgba(255, 255, 255, 0.02);
}
.tbd-spectable__table td { color: var(--grey-200); }
.tbd-spectable__table--wide td:last-child { color: var(--grey-400); font-size: 13.5px; }
.tbd-spectable__note { margin: 14px 0 0; font-size: 13px; color: var(--grey-500); }

/* On the product page the band is its own full-width section, so it is not
   squeezed into the article column with the sticky quote card's empty space
   beside it. */
.tbd-section--oem { padding-top: 0; }

.tbd-oem {
	margin: 52px 0 0;
	padding: 34px;
	background: var(--steel-900);
	border: var(--rule);
	border-radius: var(--radius-lg);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--trough-y)), calc(100% - var(--trough-x)) 100%, var(--trough-x) 100%, 0 calc(100% - var(--trough-y)));
}
.tbd-oem__title { margin: 12px 0 0; font-size: 26px; line-height: 1.28; max-width: 30ch; }
.tbd-oem__text { margin: 16px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--grey-400); max-width: 68ch; }
.tbd-oem__levers {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 22px;
}
.tbd-oem__lever { padding-top: 16px; border-top: 2px solid var(--amber); }
.tbd-oem__lever-label {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amber);
}
.tbd-oem__lever p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--grey-400); }
.tbd-oem__actions { margin: 30px 0 0; }

/* ---- Product gallery video slide ---------------------------------------- */
.tbd-videoslide { position: relative; background: #000; }
.tbd-videoslide__player { display: block; width: 100%; height: auto; }
.tbd-videoslide__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--steel-950);
	background-size: cover;
	background-position: center;
}
.tbd-videoslide__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tbd-videoslide__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
}
.tbd-videoslide__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 17px 0 17px 28px;
	border-color: transparent transparent transparent var(--paper);
}
.tbd-videoslide__play:hover { background: rgba(0, 0, 0, 0.2); }
.tbd-videoslide__play:hover::after { border-left-color: var(--amber); }

@media (max-width: 720px) {
	.tbd-oem { padding: 26px 20px; }
	.tbd-oem__title { font-size: 21px; }
	.tbd-spectable__table th,
	.tbd-spectable__table td { padding: 11px 12px; }
	.tbd-spectable__table tbody th { width: 38%; }
}

/* ---- Signature: 35 degree trough ---------------------------------------- */
/* Section labels carry a troughed-idler mark: flat centre roller, 35deg wings. */
.tbd-eyebrow::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 6px;
	margin-right: 10px;
	vertical-align: 0.12em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpolyline points='0.8,0.8 5,3.74 13,3.74 17.2,0.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpolyline points='0.8,0.8 5,3.74 13,3.74 17.2,0.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Media frames: bottom corners cut at 35deg, like a belt carried in the trough. */
.tbd-trough {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--trough-y)), calc(100% - var(--trough-x)) 100%, var(--trough-x) 100%, 0 calc(100% - var(--trough-y)));
}
.tbd-trough--sm {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--trough-y-sm)), calc(100% - var(--trough-x-sm)) 100%, var(--trough-x-sm) 100%, 0 calc(100% - var(--trough-y-sm)));
}

/* Product cards: flat belt at rest, troughs on hover - the transition zone
   where a flat belt leaves the pulley and settles into the idler set. */
.tbd-unitcard__media {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%);
	transition: clip-path 0.42s cubic-bezier(0.3, 0.6, 0.25, 1);
}
.tbd-unitcard:hover .tbd-unitcard__media,
.tbd-unitcard:focus-within .tbd-unitcard__media {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--trough-y)), calc(100% - var(--trough-x)) 100%, var(--trough-x) 100%, 0 calc(100% - var(--trough-y)));
}
.tbd-unitcard__img { transition: none; }

/* ---- Belt of contract records (业绩输送带) ------------------------------- */
.tbd-belt {
	position: relative;
	padding: 26px 0 30px;
	background: var(--steel-990);
	border-top: var(--rule);
	border-bottom: var(--rule);
	overflow: hidden;
}
.tbd-belt__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.tbd-belt__head .tbd-eyebrow { margin: 0; }
.tbd-belt__head a { font-size: 14px; }
.tbd-belt__rows { display: grid; gap: 10px; }
.tbd-belt__row {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.tbd-belt__track {
	display: flex;
	width: max-content;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	/* Constant belt speed, one direction: material travels left to right. */
	animation: tbd-belt var(--belt-speed) linear infinite;
}
.tbd-belt__row--b .tbd-belt__track { animation-duration: calc(var(--belt-speed) * 1.25); }
.tbd-belt:hover .tbd-belt__track,
.tbd-belt:active .tbd-belt__track,
.tbd-belt:focus-within .tbd-belt__track { animation-play-state: paused; }
@keyframes tbd-belt {
	from { transform: translate3d(-50%, 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}
.tbd-belt__item {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	column-gap: 14px;
	row-gap: 2px;
	padding: 12px 20px 13px;
	background: var(--steel-870);
	border: var(--rule);
	border-radius: var(--radius);
	white-space: nowrap;
}
.tbd-belt__client { grid-column: 1 / -1; color: var(--paper); font-size: 14px; font-weight: 600; }
.tbd-belt__spec { font-family: var(--font-mono); font-size: 13px; color: var(--grey-400); }
.tbd-belt__year { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--amber); justify-self: end; }
.tbd-belt__note { margin: 16px 0 0; font-size: 13px; color: var(--grey-500); }

html.tbd-reduced .tbd-belt__track { animation: none; }
html.tbd-reduced .tbd-belt__row,
.tbd-belt__row.is-static {
	overflow-x: auto;
	-webkit-mask-image: none;
	mask-image: none;
	scrollbar-width: thin;
}
@media (prefers-reduced-motion: reduce) {
	.tbd-belt__track { animation: none !important; }
	.tbd-belt__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.tbd-belt__track [aria-hidden="true"] { display: none; }
}

/* ---- Stats strip (no cards, big numerals over hairlines) ---------------- */
.tbd-figures {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: var(--rule-strong);
}
.tbd-figures > div { padding: 22px 22px 6px 0; min-width: 0; border-right: var(--rule); }
.tbd-figures > div + div { padding-left: 22px; }
.tbd-figures > div:last-child { border-right: 0; }
.tbd-figures dt { font-size: 13px; color: var(--grey-500); margin-bottom: 8px; }
.tbd-figures dd { margin: 0; font-family: var(--font-mono); font-size: clamp(24px, 2.5vw, 36px); white-space: nowrap; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.tbd-figures dd span { font-family: var(--font-body); font-size: 14px; color: var(--amber); margin-left: 4px; }

/* ---- Photo strip / gallery (projects, factory, shipping) ---------------- */
.tbd-gallery {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 14px;
}
.tbd-gallery__item { margin: 0; min-width: 0; grid-column: span 4; }
.tbd-gallery__item--wide { grid-column: span 8; }
.tbd-gallery__item--half { grid-column: span 6; }
.tbd-gallery__item--full { grid-column: 1 / -1; }
.tbd-gallery__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-900); }
.tbd-gallery__item--wide .tbd-gallery__media { aspect-ratio: 8 / 3; }  /* same height as a 4:3 neighbour */
.tbd-gallery__item--full .tbd-gallery__media { aspect-ratio: 16 / 9; }
.tbd-gallery__media img { width: 100%; height: 100%; object-fit: cover; }
.tbd-gallery__cap { margin-top: 10px; font-size: 14px; color: var(--grey-400); }
.tbd-gallery__cap strong { display: block; color: var(--paper); font-size: 14px; font-weight: 600; }
.tbd-gallery__cap--solo { color: var(--paper); font-weight: 600; }

/* ---- Paper section: record tables -------------------------------------- */
.tbd-section--paper { background: var(--paper); color: #26303b; }
.tbd-section--paper .tbd-sectitle,
.tbd-section--paper h2, .tbd-section--paper h3 { color: #0e1116; }
.tbd-section--paper .tbd-eyebrow { color: #9a5d00; }
.tbd-section--paper .tbd-seclead { color: #4a5563; }
.tbd-records { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbd-records th, .tbd-records td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(14, 17, 22, 0.12); vertical-align: top; }
.tbd-records thead th { font-size: 13px; letter-spacing: 0.06em; color: #5b6572; font-weight: 600; border-bottom: 2px solid #0e1116; white-space: nowrap; }
.tbd-records td:first-child { color: #0e1116; font-weight: 600; }
.tbd-records td.tbd-records__mono { font-family: var(--font-mono); font-size: 14px; }
.tbd-records tbody tr:hover { background: rgba(14, 17, 22, 0.04); }
.tbd-records__wrap { overflow-x: auto; border-top: 1px solid rgba(14, 17, 22, 0.12); }
.tbd-records__foot { margin-top: 16px; font-size: 13px; color: #5b6572; }

/* ---- Two-column story blocks (about / factory) ------------------------- */
.tbd-story {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}
.tbd-story--flip .tbd-story__media { order: 2; }
.tbd-story__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tbd-story__body p { color: var(--grey-300); }
.tbd-story__body .tbd-sectitle { margin-bottom: 20px; }

.tbd-quote {
	margin: 0;
	padding: 34px 0 0;
	border-top: var(--rule-strong);
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.55;
	color: var(--paper);
	max-width: 46em;
}
.tbd-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; color: var(--grey-500); }

.tbd-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.09);
	border: var(--rule);
}
.tbd-values > div { background: var(--steel-950); padding: 24px 22px; }
.tbd-values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbd-values h3 { margin: 0 0 8px; font-size: 17px; }
.tbd-values p { margin: 0; font-size: 14px; color: var(--grey-400); }

.tbd-markets { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--grey-300); }
.tbd-markets li::after { content: "/"; margin-left: 22px; color: var(--steel-600); }
.tbd-markets li:last-child::after { content: none; }

.tbd-names { columns: 4 180px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.tbd-names--2 { columns: 2; }
.tbd-story--top { align-items: start; }
.tbd-story--top .tbd-story__media { position: sticky; top: calc(var(--header-h) + 24px); }
.tbd-names li { break-inside: avoid; padding: 9px 0; border-bottom: var(--rule); font-size: 14px; color: var(--grey-300); }

/* ---- Chips: sub level --------------------------------------------------- */
.tbd-famnav--sub { margin-top: -18px; }
.tbd-chip--sub { font-size: 13px; padding-block: 6px; }

/* ---- Pagination --------------------------------------------------------- */
.navigation.pagination { margin-top: 44px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.navigation.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: var(--rule-strong); border-radius: var(--radius);
	color: var(--grey-200); font-family: var(--font-mono); font-size: 14px;
}
.navigation.pagination .page-numbers.current { background: var(--amber); border-color: var(--amber); color: #17110a; }
.navigation.pagination a.page-numbers:hover { border-color: var(--amber); color: var(--amber); }

/* ---- WooCommerce product gallery ---------------------------------------- */
.tbd-unithero__media .woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.tbd-unithero__media .woocommerce-product-gallery__wrapper { margin: 0; }
.tbd-unithero__media .woocommerce-product-gallery__image { background: var(--steel-900); }
.tbd-unithero__media .woocommerce-product-gallery__image a { display: block; }
.tbd-unithero__media .woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tbd-unithero__media .flex-viewport {
	border: var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.tbd-unithero__media .woocommerce-product-gallery__trigger {
	position: absolute; top: 14px; right: 14px; z-index: 5;
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(10, 12, 15, 0.78); border: var(--rule-strong);
	font-size: 0; color: transparent;
	display: flex; align-items: center; justify-content: center;
}
.tbd-unithero__media .woocommerce-product-gallery__trigger::before {
	content: ""; width: 14px; height: 14px; border: 2px solid var(--paper); border-radius: 50%; margin: -4px 0 0 -4px;
}
.tbd-unithero__media .woocommerce-product-gallery__trigger::after {
	content: ""; position: absolute; width: 2px; height: 8px; background: var(--paper); transform: translate(6px, 6px) rotate(-45deg);
}
.tbd-unithero__media .flex-control-thumbs {
	list-style: none; margin: 12px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.tbd-unithero__media .flex-control-thumbs li { margin: 0; }
.tbd-unithero__media .flex-control-thumbs img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: pointer;
	border: 1px solid transparent; border-radius: var(--radius); opacity: 0.55;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}
.tbd-unithero__media .flex-control-thumbs img:hover { opacity: 0.9; }
.tbd-unithero__media .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--amber); }
.tbd-unithero__media .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.tbd-unithero__media .flex-direction-nav a {
	position: absolute; top: calc(50% - 44px); z-index: 4;
	width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(10, 12, 15, 0.78); border: var(--rule-strong);
	font-size: 0; color: transparent;
}
.tbd-unithero__media .flex-direction-nav a::before {
	content: ""; width: 10px; height: 10px;
	border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
}
.tbd-unithero__media .flex-direction-nav .flex-prev { left: 12px; }
.tbd-unithero__media .flex-direction-nav .flex-prev::before { transform: translateX(2px) rotate(45deg); }
.tbd-unithero__media .flex-direction-nav .flex-next { right: 12px; }
.tbd-unithero__media .flex-direction-nav .flex-next::before { transform: translateX(-2px) rotate(-135deg); }
.tbd-unithero__media .flex-direction-nav a:hover,
.tbd-unithero__media .flex-direction-nav a:focus-visible { border-color: var(--amber); }
.tbd-unithero__media .flex-direction-nav .flex-disabled { opacity: 0.35; pointer-events: none; }
.tbd-unithero__lead p { margin: 0 0 0.6em; }

/* Product description content */
.tbd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14px; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.tbd-prose th, .tbd-prose td { padding: 10px 12px; border-bottom: var(--rule); text-align: left; white-space: nowrap; }
.tbd-prose thead th { color: var(--grey-400); font-size: 13px; font-weight: 600; border-bottom: var(--rule-strong); }
.tbd-prose td { color: var(--grey-200); font-family: var(--font-mono); font-size: 14px; }
.tbd-prose td:first-child { color: var(--paper); }
.tbd-prose figure { margin: 0 0 1.6em; }
.tbd-prose figure img { width: 100%; height: auto; }

/* ---- Floating contact rail --------------------------------------------- */
.tbd-rail {
	position: fixed;
	top: 50%;
	z-index: 60;
	transform: translateY(-50%);
}
.tbd-rail--right { right: 14px; }
.tbd-rail--left { left: 14px; }
.tbd-rail__list {
	list-style: none; margin: 0; padding: 4px;
	display: flex; flex-direction: column; gap: 4px;
	background: rgba(14, 17, 22, 0.94);
	border: var(--rule-strong);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.tbd-rail__item { position: relative; margin: 0; }
.tbd-rail__btn,
button.tbd-rail__btn {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	width: 58px; height: 58px; padding: 0;
	border: 0; border-radius: var(--radius);
	background: transparent;
	color: var(--grey-200);
	font: inherit; font-size: 11px; line-height: 1.1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.tbd-rail__btn:hover,
.tbd-rail__btn:focus-visible { background: var(--steel-750); color: var(--amber-soft); }
.tbd-rail__btn--inquiry { background: var(--amber); color: #17110a; font-weight: 700; font-size: 13px; }
.tbd-rail__btn--inquiry:hover { background: var(--amber-soft); color: #17110a; }
.tbd-rail__btn--inquiry::before {
	content: ""; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z'/%3E%3Cpath d='M14 3v5h5M8.5 12.5h7M8.5 16h5'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z'/%3E%3Cpath d='M14 3v5h5M8.5 12.5h7M8.5 16h5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tbd-rail__tip {
	position: absolute; top: 50%; right: calc(100% + 12px);
	transform: translate(6px, -50%);
	padding: 8px 12px; white-space: nowrap;
	background: var(--paper); color: #0e1116; border-radius: var(--radius);
	font-family: var(--font-mono); font-size: 13px;
	opacity: 0; pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.tbd-rail--left .tbd-rail__tip { right: auto; left: calc(100% + 12px); transform: translate(-6px, -50%); }
.tbd-rail__btn:hover .tbd-rail__tip,
.tbd-rail__btn:focus-visible .tbd-rail__tip { opacity: 1; transform: translate(0, -50%); }

/* ---- Dialog (QR) ---------------------------------------------------------- */
.tbd-dialog { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tbd-dialog[hidden] { display: none; }
.tbd-dialog__scrim { position: absolute; inset: 0; background: rgba(4, 5, 7, 0.72); }
.tbd-dialog__panel {
	position: relative; width: min(360px, 100%);
	padding: 30px 28px 26px; text-align: center;
	background: var(--steel-870); border: var(--rule-strong); border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.tbd-dialog__close {
	position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
	border: 0; background: transparent; color: var(--grey-300); font-size: 24px; line-height: 1; cursor: pointer;
}
.tbd-dialog__close:hover { color: var(--amber); }
.tbd-dialog__title { margin: 0 0 18px; font-size: 20px; }
.tbd-dialog__qr { width: 220px; height: 220px; margin: 0 auto 14px; object-fit: contain; background: #fff; padding: 10px; border-radius: var(--radius); }
.tbd-dialog__text { margin: 0 0 6px; font-size: 14px; color: var(--grey-200); }
.tbd-dialog__note { margin: 0; font-size: 13px; color: var(--grey-500); }

/* ---- Footer contact icons ---------------------------------------------- */
.tbd-footer__list--contact li > a,
.tbd-footer__list--contact li > span,
.tbd-footer__qrbtn {
	display: inline-flex; align-items: flex-start; gap: 10px; min-height: 30px;
}
.tbd-footer__list--contact .tbd-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--amber); }
.tbd-footer__qrbtn {
	padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 14px; color: var(--grey-400); text-align: left;
}
.tbd-footer__qrbtn:hover { color: var(--amber); }
.tbd-footer__policy { display: contents; }
.tbd-footer__policylist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tbd-footer__policylist a { color: var(--grey-500); }

/* ---- Industries: 6 items, 3 per row, no ghost cells --------------------- */
.tbd-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tbd-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tbd-industries { grid-template-columns: minmax(0, 1fr); } }

/* ---- Language switcher -------------------------------------------------- */
.tbd-lang { display: flex; align-items: center; border: var(--rule-strong); border-radius: var(--radius); }
.tbd-lang__item {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 32px; padding: 0 8px;
	font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
	color: var(--grey-300);
}
.tbd-lang__item + .tbd-lang__item { border-left: var(--rule-strong); }
.tbd-lang__item:hover { color: var(--amber-soft); }
.tbd-lang__item.is-current { color: #17110a; background: var(--amber); }
.tbd-lang--drawer { margin: 20px 0 0; align-self: flex-start; width: max-content; }
.tbd-lang--drawer .tbd-lang__item { height: 44px; min-width: 56px; font-size: 13px; }
@media (max-width: 1180px) {
	.tbd-lang--header .tbd-lang__item { height: 40px; min-width: 42px; padding: 0 8px; font-size: 12px; }
}
@media (max-width: 640px) {
	/* Two frames side by side leave each about 175px wide on a phone - too small
	   to read the workshop. One column, shallower crop. */
	.tbd-process__media { grid-template-columns: minmax(0, 1fr); }
	.tbd-process__img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
	.tbd-lang--header .tbd-lang__item { height: 40px; min-width: 38px; padding: 0 7px; font-size: 11px; }
}

/* ---- Contact page -------------------------------------------------------- */
.tbd-contactlist { margin: 28px 0 0; display: grid; gap: 0; border-top: var(--rule); }
.tbd-contactlist > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: var(--rule); }
.tbd-contactlist dt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey-500); }
.tbd-contactlist dt .tbd-icon { width: 18px; height: 18px; color: var(--amber); }
.tbd-contactlist dd { margin: 0; font-size: 16px; color: var(--paper); overflow-wrap: anywhere; }
.tbd-contactlist dd a { color: var(--paper); font-family: var(--font-mono); }
.tbd-contactlist dd a:hover { color: var(--amber); }
.tbd-contactqr { margin: 28px 0 0; display: inline-flex; flex-direction: column; gap: 10px; }
.tbd-contactqr img { width: 160px; height: 160px; object-fit: contain; background: #fff; padding: 8px; border-radius: var(--radius); }
.tbd-contactqr figcaption { font-size: 13px; color: var(--grey-500); }

.tbd-gallery__media--contain { background: #fff; }
.tbd-gallery__media--contain img { object-fit: contain; padding: 10px; }
.tbd-section--paper .tbd-gallery__cap { color: #4a5563; }
.tbd-section--paper .tbd-gallery__cap--solo { color: #17212e; }
.tbd-section--paper .tbd-gallery__cap strong { color: #0e1116; }
.tbd-section--speech { background: var(--steel-990); }

/* ---- Responsive for additions ------------------------------------------- */
@media (max-width: 1024px) {
	.tbd-values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbd-story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tbd-story--flip .tbd-story__media { order: 0; }
	.tbd-gallery__item, .tbd-gallery__item--wide { grid-column: span 6; }
	.tbd-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbd-figures > div:nth-child(2) { border-right: 0; }
	.tbd-figures > div:nth-child(3) { padding-left: 0; }
	.tbd-figures > div:nth-child(n+3) { border-top: var(--rule); }
}

@media (max-width: 768px) {
	.tbd-contactlist > div { grid-template-columns: 96px minmax(0, 1fr); }
	:root { --trough-x: 20px; --trough-y: 14px; --belt-speed: 140s; }
	.tbd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tbd-gallery__item, .tbd-gallery__item--half { grid-column: span 1; }
	.tbd-gallery__item--wide, .tbd-gallery__item--full { grid-column: 1 / -1; }
	.tbd-gallery__item--wide .tbd-gallery__media { aspect-ratio: 16 / 9; }
	.tbd-values--3 { grid-template-columns: minmax(0, 1fr); }
	.tbd-gallery__cap { font-size: 13px; }
	.tbd-belt__row--b { display: none; }
	.tbd-belt__item { padding: 10px 14px 11px; }
	.tbd-belt__client { font-size: 14px; }

	/* Rail becomes a bottom bar on phones; body gets matching clearance. */
	.tbd-rail { display: none; }
	.tbd-rail.tbd-rail--mobile {
		display: block;
		top: auto; bottom: 0; left: 0; right: 0;
		transform: none;
		padding-bottom: env(safe-area-inset-bottom, 0);
		background: rgba(14, 17, 22, 0.97);
		border-top: var(--rule-strong);
	}
	.tbd-rail--mobile .tbd-rail__list {
		flex-direction: row; justify-content: space-around;
		padding: 4px 6px; background: none; border: 0; box-shadow: none; border-radius: 0;
	}
	.tbd-rail--mobile .tbd-rail__item { flex: 1 1 0; }
	.tbd-rail--mobile .tbd-rail__btn { width: 100%; height: 54px; }
	.tbd-rail--mobile .tbd-rail__item--top { display: none; }
	.tbd-rail__tip { display: none; }
	body:has(.tbd-rail--mobile) { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

	/* Footer: brand spans the row, link menus sit in two columns, 44px taps. */
	.tbd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
	.tbd-footer__col--brand, .tbd-footer__col--contact { grid-column: 1 / -1; }
	.tbd-footer__list a, .tbd-footer__qrbtn { display: inline-flex; align-items: center; min-height: 44px; }
	.tbd-footer__list { gap: 0; }
	.tbd-footer__policylist a { display: inline-flex; align-items: center; min-height: 44px; }
	.tbd-footer__list--contact li > a,
	.tbd-footer__list--contact li > span,
	.tbd-footer__list--contact .tbd-footer__qrbtn { min-height: 44px; align-items: center; }

	.tbd-names { columns: 2; }
	.tbd-unithero__media .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ==========================================================================
   31. Motion: conveying-direction choreography (tier B: IO + CSS only)
   Motif: material arrives on a belt, left to right, at constant speed.
   ========================================================================== */
/* Children of a revealed block arrive one after another along the belt. */
html.tbd-anim .tbd-reveal :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link) {
	opacity: 0;
	transform: translate3d(-16px, 0, 0);
	transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.78, 0.3, 1);
	transition-delay: calc(var(--tbd-delay, 0ms) + 120ms);
}
html.tbd-anim .tbd-reveal :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link):nth-child(2) { transition-delay: calc(var(--tbd-delay, 0ms) + 200ms); }
html.tbd-anim .tbd-reveal :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link):nth-child(3) { transition-delay: calc(var(--tbd-delay, 0ms) + 280ms); }
html.tbd-anim .tbd-reveal :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link):nth-child(n+4) { transition-delay: calc(var(--tbd-delay, 0ms) + 360ms); }

/* Section titles are wiped in from the left edge - the belt carrying the line. */
html.tbd-anim .tbd-reveal h2 {
	opacity: 1;
	transform: none;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.8s cubic-bezier(0.3, 0.6, 0.25, 1);
	transition-delay: calc(var(--tbd-delay, 0ms) + 80ms);
}
html.tbd-anim .tbd-reveal.is-in h2,
html.tbd-reveal-all .tbd-reveal h2 { clip-path: inset(0 -2% 0 0); }

/* Photos are uncovered left to right, like a belt carrying them into view. */
html.tbd-anim .tbd-reveal img:not(.tbd-trough) {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.95s cubic-bezier(0.3, 0.6, 0.25, 1);
	transition-delay: var(--tbd-delay, 0ms);
}
html.tbd-anim .tbd-reveal img.tbd-trough {
	opacity: 0;
	transform: translate3d(-24px, 0, 0);
	transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 0.78, 0.3, 1);
}

html.tbd-anim .tbd-reveal.is-in :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link),
html.tbd-reveal-all .tbd-reveal :is(h2, h3, p, li, dt, dd, figcaption, .tbd-link) { opacity: 1; transform: none; }
html.tbd-anim .tbd-reveal.is-in img:not(.tbd-trough),
html.tbd-reveal-all .tbd-reveal img:not(.tbd-trough) { clip-path: inset(0 0 0 0); }
html.tbd-anim .tbd-reveal.is-in img.tbd-trough,
html.tbd-reveal-all .tbd-reveal img.tbd-trough { opacity: 1; transform: none; }

/* Entrance sequence (<= 1.4s): the line starts - photo settles, copy arrives in order. */
@keyframes tbd-arrive { from { opacity: 0; transform: translate3d(-22px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes tbd-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
html.tbd-anim .tbd-hero__poster { animation: tbd-settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
html.tbd-anim .tbd-hero__inner > * { animation: tbd-arrive 0.7s cubic-bezier(0.22, 0.78, 0.3, 1) both; }
html.tbd-anim .tbd-hero__inner > :nth-child(1) { animation-delay: 0.1s; }
html.tbd-anim .tbd-hero__inner > :nth-child(2) { animation-delay: 0.22s; }
html.tbd-anim .tbd-hero__inner > :nth-child(3) { animation-delay: 0.36s; }
html.tbd-anim .tbd-hero__inner > :nth-child(4) { animation-delay: 0.5s; }
html.tbd-anim .tbd-hero__inner > :nth-child(5) { animation-delay: 0.64s; }
html.tbd-anim .tbd-pagehead .tbd-wrap > * { animation: tbd-arrive 0.6s cubic-bezier(0.22, 0.78, 0.3, 1) both; }
html.tbd-anim .tbd-pagehead .tbd-wrap > :nth-child(2) { animation-delay: 0.08s; }
html.tbd-anim .tbd-pagehead .tbd-wrap > :nth-child(3) { animation-delay: 0.16s; }
html.tbd-anim .tbd-pagehead .tbd-wrap > :nth-child(n+4) { animation-delay: 0.24s; }

/* No cross-document view transition: it holds the outgoing page on screen
   while the next one loads, so a language switch reads as "nothing happened"
   for the length of the server response. Entrance animation covers arrival. */

/* Narrow statement band */
.tbd-statement { padding: 88px 0; background: var(--steel-990); }
.tbd-statement__text { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 44px); line-height: 1.35; color: var(--paper); font-weight: 650; }
.tbd-statement__by { margin: 0; font-size: 14px; color: var(--grey-500); }

@media (prefers-reduced-motion: reduce) {
	.tbd-reveal *, .tbd-hero__poster, .tbd-hero__inner > *, .tbd-pagehead .tbd-wrap > * { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.tbd-reveal img.tbd-trough { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--trough-y)), calc(100% - var(--trough-x)) 100%, var(--trough-x) 100%, 0 calc(100% - var(--trough-y))) !important; }
}

/* ---- Footer newsletter (Mail Consult Notifier form) ----------------------- */
.tbd-footer__news {
	display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
	margin-top: 44px; padding: 26px 0; border-top: var(--rule); border-bottom: var(--rule);
}
.tbd-footer__newstitle { margin: 0 0 6px; font-size: 17px; color: var(--paper); }
.tbd-footer__newstext { margin: 0; font-size: 14px; color: var(--grey-500); }
.tbd-footer__news .mcn-subscribe-form { margin: 0; }
.tbd-footer__news .mcn-subscribe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; }
.tbd-footer__news .mcn-subscribe-grid input {
	width: 100%; height: 44px; padding: 0 12px; min-width: 0;
	background: var(--steel-900); border: var(--rule-strong); border-radius: var(--radius);
	color: var(--paper); font: inherit; font-size: 14px;
}
.tbd-footer__news .mcn-subscribe-grid input:focus { outline: none; border-color: var(--amber); }
.tbd-footer__news .mcn-subscribe-grid button {
	height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius);
	background: var(--amber); color: #17110a; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.tbd-footer__news .mcn-subscribe-grid button:hover { background: var(--amber-soft); }
.tbd-footer__news .mcn-subscribe-hp { position: absolute; left: -9999px; }
.tbd-footer__news .mcn-subscribe-message { margin: 10px 0 0; font-size: 13px; color: var(--grey-300); }
@media (max-width: 900px) {
	.tbd-footer__news { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tbd-footer__news .mcn-subscribe-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tbd-footer__news .mcn-subscribe-grid input[type="email"] { grid-column: 1 / -1; }
	.tbd-footer__news .mcn-subscribe-grid button { grid-column: 1 / -1; }
}

/* ---- Touch targets on phones -------------------------------------------- */
/* Text links that are real actions need a finger-sized hit area; the visual
   size stays the same, the padding does the work. */
@media (max-width: 768px) {
	.tbd-crumbs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; margin-left: -6px; }
	.tbd-contactlist dd a,
	a[href^="tel:"]:not(.tbd-btn):not(.tbd-rail__item):not(.tbd-header__phone),
	a[href^="mailto:"]:not(.tbd-btn):not(.tbd-rail__item) { display: inline-flex; align-items: center; min-height: 44px; }
	.tbd-belt__head a { min-height: 40px; display: inline-flex; align-items: center; }
	/* inline-block + padding rather than inline-flex: these titles wrap to two
	   lines and flex centring collapses the second line's box. 27px line box
	   + 2x7px = 41px. */
	.tbd-unitcard__title a,
	.tbd-postcard__title a { display: inline-block; padding: 7px 0; }
	.tbd-unitcard__actions .tbd-link,
	.tbd-postcard .tbd-link { min-height: 40px; display: inline-flex; align-items: center; }
	.tbd-chip,
	.tbd-btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
	.tbd-footer a:not(.tbd-btn):not(.tbd-lang__item) { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---- Contact dialogs (phone / email / WhatsApp) ------------------------- */
.tbd-dialog__panel--contact { text-align: center; max-width: 380px; }
.tbd-dialog__value {
	margin: 6px 0 20px;
	font-family: var(--font-mono);
	font-size: clamp(20px, 3.4vw, 26px);
	letter-spacing: 0.02em;
	color: var(--paper);
	word-break: break-word;
	user-select: all;
}
.tbd-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tbd-dialog__actions .tbd-btn { min-width: 132px; }
.tbd-dialog__actions .tbd-btn.is-copied { border-color: var(--amber); color: var(--amber); }
.tbd-dialog__panel--contact .tbd-dialog__note { margin-top: 16px; }

/* ---- Uploaded logo ------------------------------------------------------ */
.tbd-brand__mark--img { display: block; width: 38px; height: 38px; }
.tbd-brand__mark--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 760px) {
	.tbd-brand__mark--img { width: 30px; height: 30px; }
}
.tbd-footer__brandmark img { max-width: 40px; height: auto; }
