/*
Theme Name: SHENGSHI
Description: Hand-written theme for the SHENGSHI ball valve website. No page builder.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: shengshi
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0F2340;
	--ink-2: #3E4A5A;
	--muted: #5B6573;
	--line: #D5D9DD;
	--line-2: #E3E6E8;
	--field: #B9C0C7;
	--ground: #F4F5F2;
	--paper: #FFFFFF;
	--tile: #EEF0EE;
	--accent: #004292;      /* logo blue */
	--tint: #E6EEF7;
	--dark: #0F2340;
	--darker: #0A1A31;
	--on-dark: #C9D3DF;
	--on-dark-line: #5D7290;
	--ok: #1E6B3A;
	--err: #A3261B;
	--sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(56px, 7vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--ground);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; font-stretch: 108%; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.eyebrow--muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }

.btn {
	display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
	padding: 16px 24px; border-radius: 4px; border: 1px solid var(--ink); line-height: 1.2;
	font-family: inherit; cursor: pointer;
}
.btn--dark { background: var(--ink); color: #FFFFFF; }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--paper); }
.btn--sm { padding: 12px 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; color: var(--accent); text-decoration: none; padding: 8px 0; display: inline-block; }
.more:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: block; line-height: 0; }
.brand svg { height: 34px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
.menu-toggle { display: none; }

@media (max-width: 820px) {
	.js .menu-toggle {
		display: block; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
		background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; cursor: pointer;
	}
	.js .site-nav { display: none; }
	.site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav.is-open { display: flex; }
	.site-nav a:not(.btn) { border-top: 1px solid var(--line-2); padding: 14px 0; }
	.site-nav a:not(.btn):hover, .site-nav a[aria-current] { box-shadow: none; font-weight: 650; }
	.site-nav .btn { margin-top: 8px; text-align: center; }
	.brand svg { height: 28px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 48px; align-items: center;
	padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 80px);
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(38px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.025em; }
.hero__text .lead { max-width: 560px; }

.stage {
	margin: 0; border: 1px solid var(--line); border-radius: 6px; padding: 24px;
	background-color: #FAFBFA;
	background-image: linear-gradient(#E9ECEA 1px, transparent 1px), linear-gradient(90deg, #E9ECEA 1px, transparent 1px);
	background-size: 24px 24px;
	display: flex; flex-direction: column; gap: 12px;
}
.stage__cap { font-size: 12px; color: var(--muted); }
.stage__lead { display: block; background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; }
.stage__lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.stage__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stage__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--muted); font-size: 11px; }
.stage__item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; }
.stage__item:hover img, .stage__lead:hover { border-color: var(--ink); }

/* ---------- Facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fact { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.fact__big { font-size: 28px; font-weight: 650; font-stretch: 108%; color: var(--ink); }

/* ---------- Sections ---------- */
.block { padding-top: var(--section); }
.block--tight { padding-top: clamp(48px, 6vw, 96px); }
.block--last { padding-bottom: var(--section); }
.block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.block__title { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.block__title--wide { max-width: 720px; margin-bottom: 40px; }
.block__title h2, .h2-gap, .construct h2, .inquiry h2, .about h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.block__aside { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 420px; }
.h2-gap { margin: 12px 0 32px; }
.h-small { font-size: 22px; margin-bottom: 20px; }

/* Product family cards */
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 10; background: var(--tile); display: flex; align-items: center; justify-content: center; padding: 16px; gap: 0; }
.card__media img { mix-blend-mode: multiply; object-fit: contain; height: 100%; min-width: 0; }
.card__media--row img { flex: 1 1 0; width: 33%; }
.card__media--one img { width: 100%; }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.card__head h3 { font-size: 26px; font-stretch: 106%; }
.card__head h3 a { text-decoration: none; }
.card__head h3 a:hover { color: var(--accent); }
.card__series { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.card__series li { border-bottom: 1px solid var(--line-2); }
.card__series a { display: block; padding: 12px 0; text-decoration: none; font-size: 15px; }
.card__series a::after { content: ' →'; color: var(--muted); }
.card__series a:hover { color: var(--accent); }
.card .more { margin-top: auto; }

.kv { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); }
.kv--stack { grid-template-columns: 1fr; gap: 4px; margin-top: 24px; }
.kv--stack dd { font-family: inherit; margin-bottom: 12px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 2px solid var(--ink); }
.steps li { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.steps h3 { font-size: 22px; font-stretch: 100%; }
.steps p { line-height: 1.6; color: var(--ink-2); }

/* Audience panels */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.panel h3 { font-size: 28px; line-height: 1.2; font-stretch: 106%; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 14px 0; border-top: 1px solid var(--line-2); }

/* Manufacturing */
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.photos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--tile); }
.photos figcaption { font-size: 14px; color: var(--ink-2); }
.split { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.split h3 { font-size: 18px; font-stretch: 100%; margin-bottom: 12px; }
.split p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose .small { font-size: 14px; line-height: 1.6; }
.prose--page { max-width: 760px; }

/* Contact band */
.band { background: var(--dark); color: #FFFFFF; }
.band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.band__text { display: flex; flex-direction: column; gap: 16px; }
.band h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.band p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.band__links { display: flex; flex-direction: column; gap: 12px; }
.band__links a {
	border: 1px solid var(--on-dark-line); color: #FFFFFF; text-decoration: none; padding: 17px 24px; border-radius: 4px;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; overflow-wrap: anywhere;
}
.band__links a:hover { border-color: #FFFFFF; }
.band__links .band__main { background: #FFFFFF; color: var(--ink); font-weight: 650; font-size: 17px; border-color: #FFFFFF; }
.band__links .band__main:hover { background: var(--tint); }

/* Footer */
.site-foot { background: var(--darker); color: var(--on-dark); font-size: 14px; }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-foot__brand { display: flex; flex-direction: column; gap: 12px; }
.site-foot__brand p { line-height: 1.6; }
.brand--light svg { height: 28px; }
.site-foot__col { display: flex; flex-direction: column; gap: 10px; }
.site-foot__col h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 4px; }
.site-foot a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: #FFFFFF; }
.site-foot__base { border-top: 1px solid #1E3150; padding-top: 20px; padding-bottom: 28px; }

/* ---------- Page heads & breadcrumbs ---------- */
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); }
.pagehead .wrap { padding-top: 24px; padding-bottom: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: 14px; }
.pagehead h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.pagehead .lead { max-width: 640px; }
.pagehead .lead a { color: var(--accent); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Series page ---------- */
.product { background: var(--paper); border-bottom: 1px solid var(--line); }
.product > .wrap { padding-top: 24px; padding-bottom: clamp(40px, 5vw, 72px); }
.product__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 48px; align-items: start; }
.gallery__main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product__info { display: flex; flex-direction: column; gap: 24px; }
.product__titles { display: flex; flex-direction: column; gap: 10px; }
.product__titles h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--tint); }
.specs { margin: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); font-size: 15px; }
.specs dt, .specs dd { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { color: var(--muted); padding-right: 12px; }
.specs dd { margin: 0; font-family: var(--mono); }

.subnav { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.subnav__in { display: flex; gap: 0 28px; font-size: 15px; overflow-x: auto; white-space: nowrap; }
.subnav a { color: var(--ink-2); text-decoration: none; padding: 16px 0; }
.subnav a:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.product ~ .block[id] { scroll-margin-top: 64px; }

.construct { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: start; }
.drawing { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.drawing img { width: 100%; }
.construct__text { display: flex; flex-direction: column; gap: 20px; }
.construct h2 { font-size: clamp(28px, 3vw, 40px); }
.table-scroll { overflow-x: auto; }
.parts { width: 100%; border-collapse: collapse; font-size: 15px; }
.parts th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 500; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); }
.parts td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }

.files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.file { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.file h3 { font-size: 18px; font-stretch: 100%; }
.file p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.file p a { color: var(--accent); }
.file .more { margin-top: auto; }

.supply { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 2px solid var(--ink); }
.supply > div { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.supply h3 { font-size: 18px; font-stretch: 100%; }
.supply p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.related__item { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: flex; gap: 16px; align-items: center; }
.related__item:hover { border-color: var(--ink); }
.related__img { width: 72px; height: 72px; flex: none; border-radius: 4px; background: var(--tile); }
.related__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.related__text { display: flex; flex-direction: column; gap: 4px; }
.related__text strong { font-weight: 650; font-size: 17px; }
.related__text span { font-size: 14px; color: var(--muted); }

/* Family page */
.range { display: flex; flex-direction: column; gap: 16px; }
.range__item { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); overflow: hidden; }
.range__img { background: var(--tile); display: flex; align-items: center; justify-content: center; padding: 16px; min-height: 260px; }
.range__img img { mix-blend-mode: multiply; max-height: 300px; width: auto; object-fit: contain; }
.range__body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.range__body h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.range__body h2 a { text-decoration: none; }
.range__body h2 a:hover { color: var(--accent); }
.range__body > p { color: var(--ink-2); line-height: 1.55; }
.range .kv { grid-template-columns: 140px minmax(0, 1fr); }

/* ---------- Inquiry ---------- */
.inquiry { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: start; }
.inquiry__text { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 820px) { .inquiry--form-first .inq-wrap { order: -1; } }
.inquiry h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.inquiry h2.h-small { font-size: 22px; margin: 0; }
.inquiry__text > p { line-height: 1.6; color: var(--ink-2); }
.inquiry__links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.inquiry__links a { padding: 6px 0; overflow-wrap: anywhere; }

.inq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 20px; font-size: 14px; }
.inq label { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.inq__full { grid-column: 1 / -1; }
.inq input, .inq textarea {
	font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--field); border-radius: 4px;
	color: var(--ink); background: #FFFFFF; width: 100%;
}
.inq input:focus, .inq textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.inq input.is-prefilled { background: var(--ground); }
.inq input[type="file"] { border-style: dashed; font-size: 15px; color: var(--ink-2); }
.inq textarea { resize: vertical; }
.inq__hint { font-size: 13px; color: var(--muted); }
.inq__req { font-size: 12px; color: var(--muted); }
.inq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq__submit { grid-column: 1 / -1; justify-self: start; }

.notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: 4px; font-size: 15px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.notice--ok { background: #E8F3EC; color: var(--ok); }
.notice--err { background: #FBEAE8; color: var(--err); }

/* ---------- Guides ---------- */
.wrap--text { max-width: 860px; }
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.article-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.article-card:hover { border-color: var(--ink); }
.article-card__link { display: flex; flex-direction: column; gap: 12px; padding: 24px; text-decoration: none; height: 100%; }
.article-card h2 { font-size: 22px; line-height: 1.2; font-stretch: 104%; }
.article-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.article-card .more { margin-top: auto; }
.pager .nav-links { display: flex; gap: 12px; margin-top: 32px; font-family: var(--mono); }
.pager .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; background: var(--paper); }
.pager .current { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

.entry { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--ink); margin-top: 1.8em; letter-spacing: -0.01em; }
.entry h3 { font-size: 20px; color: var(--ink); margin-top: 1.5em; font-stretch: 100%; }
.entry a { color: var(--accent); }
.entry strong { color: var(--ink); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: 0.4em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.entry th { text-align: left; color: var(--muted); font-weight: 500; font-size: 13px; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.entry td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; min-width: 120px; }
.entry .note { background: var(--paper); border-left: 3px solid var(--accent); padding: 16px 20px; font-size: 16px; }
.entry-series { margin-top: 56px; }
.entry-cta { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.entry-cta h2 { font-size: 22px; }
.entry-cta p { color: var(--ink-2); margin-top: 6px; }

/* ---------- About & FAQ ---------- */
.tbc { font-family: var(--mono); font-size: 0.85em; background: #FFF4D6; color: #7A5300; padding: 2px 6px; border-radius: 3px; }
.facts-list { margin: 0; display: grid; grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); border-top: 2px solid var(--ink); font-size: 15px; align-self: start; }
.facts-list dt, .facts-list dd { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.facts-list dt { color: var(--muted); padding-right: 12px; }
.facts-list dd { margin: 0; }
.construct__text .lead { font-size: 17px; }
.construct__text > p:not(.eyebrow):not(.lead) { line-height: 1.6; color: var(--ink-2); }
.drawing--cert img { max-height: 520px; width: auto; margin: 0 auto; border: 1px solid var(--line-2); }

.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 650; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq__item[open] summary::after { content: '–'; }
.faq__answer { padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }
.faq__answer p + p { margin-top: 0.8em; }
.faq__answer a { color: var(--accent); }

/* ---------- Applications ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips a { font-size: 14px; text-decoration: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--ground); }
.chips a:hover { border-color: var(--ink); }
.apps { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.app { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 48px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.app__head { display: flex; flex-direction: column; gap: 10px; }
.app__head h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.015em; }
.app__head p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.app__body { display: flex; flex-direction: column; gap: 10px; }
.app__body h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.app__body > p { line-height: 1.6; color: var(--ink-2); }
.ticks--compact li { padding: 10px 0; font-size: 15px; }
.app__series { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.app__series a { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; }
.app__series a:hover { border-color: var(--ink); }
.app__series .related__img { width: 44px; height: 44px; }
.link { color: var(--accent); }
@media (max-width: 1100px) and (min-width: 821px) { .site-nav { gap: 4px 16px; font-size: 14px; } }
