/*
Theme Name: Able Engineers
Theme URI: https://herbalextractionplantmachinery.com/
Author: Able Engineers Pvt. Ltd.
Description: Custom theme for a herbal extraction plant machinery manufacturer. Dark / light mode, glass effect on / off, equipment catalogue with categories, per-equipment photo + YouTube galleries and 3D product viewer (upload your own .glb models). Settings: Appearance → Customize → Able theme settings.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: able
*/

/* ---------- Tokens (edit these to re-skin the whole site) ---------- */
:root {
	--accent: #ec3013;
	--accent-600: color-mix(in srgb, var(--accent) 86%, #000);
	--accent-700: color-mix(in srgb, var(--accent) 70%, #000);
	--accent-300: color-mix(in srgb, var(--accent) 52%, #fff);
	--font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: var(--font-body);
	--fs: 16px; --hw: 700; --hs: 1; --hero-s: 1; --ls: -.03em; --label-case: uppercase;
	--rs: 1; --pill: 999px; --shs: 1; --gb: 22px; --go: 1; --shade: 1; --spd: 1; --rd: 32px; --rb: 6px; --lift: 8px; --t-story: 1s; --sp: 1; --wa: #25d366;

	--page: #f3f2f2;
	--fg: #201e1d;
	--muted: color-mix(in srgb, var(--fg) 68%, transparent);
	--card: #fbfafa;
	--surface: #e7e5e4;
	--line: color-mix(in srgb, var(--fg) 9%, transparent);
	--ink: #fbfaf9;
	--on-ink: #201e1d;
	--on-accent: #ffffff;
	--accent-text: var(--accent-700);
	--glass: linear-gradient(135deg, color-mix(in srgb, #ffffff calc(58% * var(--go)), transparent), color-mix(in srgb, #ffffff calc(30% * var(--go)), transparent));
	--glass-line: color-mix(in srgb, #ffffff 75%, transparent);
	--glass-shine: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 -1px 0 rgb(0 0 0 / .04);
	--glass-fx: blur(var(--gb)) saturate(180%);

	--sh-sm: 0 2px 10px -4px rgb(0 0 0 / calc(.12 * var(--shs)));
	--sh-md: 0 18px 40px -22px rgb(0 0 0 / calc(.3 * var(--shs)));
	--sh-lg: 0 40px 90px -40px rgb(0 0 0 / calc(.45 * var(--shs)));
	--sh-accent: 0 16px 40px -14px color-mix(in srgb, var(--accent) calc(85% * min(1, var(--shs))), transparent);

	--r-sm: calc(14px * var(--rs)); --r-md: calc(22px * var(--rs)); --r-lg: calc(30px * var(--rs)); --r-xl: calc(44px * var(--rs));
	--ease: cubic-bezier(.65, 0, .35, 1);
	--ease-out: cubic-bezier(.2, .8, .2, 1);
	--edge: clamp(16px, 4vw, 48px);

	color-scheme: light;
}
html[data-theme="dark"] {
	--page: #131211;
	--fg: #efedec;
	--card: #1e1c1b;
	--surface: #2a2726;
	--ink: #1c1a19;
	--on-ink: #f3f2f2;
	--accent-text: var(--accent-300);
	--glass: linear-gradient(135deg, color-mix(in srgb, #ffffff calc(14% * var(--go)), transparent), color-mix(in srgb, #ffffff calc(4% * var(--go)), transparent));
	--glass-line: color-mix(in srgb, #ffffff 20%, transparent);
	--glass-shine: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 -1px 0 rgb(0 0 0 / .2);
	--sh-md: 0 18px 40px -22px rgb(0 0 0 / calc(.75 * var(--shs)));
	--sh-lg: 0 40px 90px -40px rgb(0 0 0 / calc(.9 * var(--shs)));
	color-scheme: dark;
}
html[data-glass="off"] { --glass-fx: none; --glass: var(--card); --glass-line: var(--line); --glass-shine: 0 0 0 transparent; }

/* ---------- Base ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--fg); font: 400 var(--fs)/1.6 var(--font-body); text-wrap: pretty; overflow-x: hidden; transition: background .4s, color .4s; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--fg); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--hw); letter-spacing: var(--ls); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: calc(6px * var(--rs)); }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; padding: 10px 16px; border-radius: var(--pill); background: var(--accent); color: #fff; }
.skip:focus { left: 8px; }
.ic { flex-shrink: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge); }
.section { padding-top: calc(clamp(64px, 8vw, 120px) * var(--sp)); padding-bottom: 0; }
.section:last-child { padding-bottom: calc(clamp(64px, 8vw, 120px) * var(--sp)); }
main > .section:last-of-type, main > .band-wrap:last-child { margin-bottom: calc(clamp(64px, 8vw, 120px) * var(--sp)); }
.section-tight { padding-top: clamp(32px, 4vw, 56px); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.mt { margin-top: 22px; }
.empty { padding: 40px; border-radius: var(--r-lg); background: var(--card); border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; }

.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--glass-fx); -webkit-backdrop-filter: var(--glass-fx); box-shadow: var(--sh-md), var(--glass-shine); transition: background .4s, border-color .4s, box-shadow .4s; }

.kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: var(--pill); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: var(--label-case); white-space: nowrap; }
.kicker-glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--glass-fx); -webkit-backdrop-filter: var(--glass-fx); color: inherit; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.kicker-sm { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: var(--label-case); color: var(--accent-text); margin-bottom: 8px; }
.big-num { display: block; font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--pill); border: 0; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease-out), background .3s, box-shadow .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-accent); }
.btn-primary:hover { background: var(--accent-600); color: var(--on-accent); }
.btn-primary:has(.btn-dot) { padding: 7px 7px 7px 22px; }
.btn-dot { width: 34px; height: 34px; border-radius: var(--pill); background: var(--on-accent); color: var(--accent); display: grid; place-items: center; transition: transform .35s var(--ease-out); }
.btn:hover .btn-dot { transform: translateX(3px); }
.btn-ink { background: var(--fg); color: var(--page); }
.btn-ink:hover { color: var(--page); }
.btn-ink:has(.btn-dot) { padding: 7px 7px 7px 22px; }
.btn-ink .btn-dot { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 20%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg); }
.btn-glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--glass-fx); -webkit-backdrop-filter: var(--glass-fx); color: inherit; }
.btn-glass:hover { color: inherit; }
.btn-sm { font-size: 14px; }
.btn-sm.btn-primary:has(.btn-dot) { padding: 5px 5px 5px 18px; }
.btn-sm .btn-dot { width: 30px; height: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.link-arrow .ic { transition: transform .3s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(4px); }
.icon-btn { width: 48px; height: 48px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-sm); transition: background .3s, color .3s; }
.icon-btn:hover { background: var(--accent); color: #fff; }
.round-arrow { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--pill); background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 10px 16px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
a.pill:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--edge); pointer-events: none; transition: top .4s var(--ease); }
.site-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; color: var(--on-ink); }
.is-scrolled .brand, .no-hero .brand { color: var(--fg); }
.brand:hover { color: inherit; }
.brand-logo { max-height: 46px; width: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: calc(14px * var(--rs)); background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: var(--sh-accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; opacity: .75; }
.nav-pill { position: relative; border-radius: var(--pill); padding: 6px; justify-self: center; }
.nav-pill .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-pill .menu > li { position: relative; }
.nav-pill .menu > li.has-mega { position: static; }
.nav-pill .menu > li > a { display: block; padding: 11px 18px; border-radius: var(--pill); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s; }
.nav-pill .menu > li > a:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); }
.nav-pill .menu > li.current-menu-item > a, .nav-pill .menu > li.current-menu-ancestor > a, .nav-pill .menu > li.current_page_item > a { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.nav-pill .sub-menu, .mega { position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top center; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s; border-radius: var(--r-lg); }
.nav-pill .sub-menu { list-style: none; margin: 0; padding: 8px; min-width: 240px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--glass-fx); -webkit-backdrop-filter: var(--glass-fx); box-shadow: var(--sh-lg); }
.nav-pill .sub-menu a { display: block; padding: 10px 14px; border-radius: calc(12px * var(--rs)); font-size: 14.5px; }
.nav-pill .sub-menu a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.nav-pill li:hover > .sub-menu, .nav-pill li:focus-within > .sub-menu, .nav-pill li:hover > .mega, .nav-pill li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.nav-pill .menu > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega { width: min(1120px, 94vw); padding: 24px; box-shadow: var(--sh-lg); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.mega-head { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--accent-text); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); }
.mega ul a:hover { color: var(--accent); }
.mega-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: var(--pill); background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
.mega-all:hover { color: #fff; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.mode-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--pill); box-shadow: var(--sh-sm); }
.mode-switch button { width: 38px; height: 38px; border-radius: var(--pill); border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--fg); transition: background .3s, color .3s; }
.mode-switch button:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
html[data-glass="on"] [data-glass-toggle] { background: var(--accent); color: #fff; }
html[data-theme="dark"] .when-light, html:not([data-theme="dark"]) .when-dark { display: none; }
.when-dark, .when-light { display: grid; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--pill); place-items: center; cursor: pointer; color: var(--fg); }
.menu-btn .when-open { display: none; }
.menu-open .menu-btn .when-open { display: grid; }
.menu-open .menu-btn .when-closed { display: none; }
.mobile-menu { position: fixed; z-index: 99; inset: 10px; top: 76px; border-radius: var(--r-xl); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.98); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s; }
html[data-glass="on"] .mobile-menu { background: color-mix(in srgb, var(--page) 82%, transparent); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu .menu > li > a { display: block; padding: 14px 8px; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu .mega, .mobile-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; translate: none; width: auto; padding: 8px 8px 14px; box-shadow: none; background: none; border: 0; backdrop-filter: none; }
.mobile-menu .mega-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.mobile-menu .mega ul { display: none; }
.mobile-menu .sub-menu { list-style: none; }
.mobile-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 1180px) {
	.nav-pill .menu > li > a { padding: 10px 13px; font-size: 14px; }
	.brand-text small { display: none; }
}
@media (max-width: 1023px) {
	.site-header { grid-template-columns: 1fr auto; }
	.nav-pill, .hide-sm { display: none; }
	.menu-btn { display: grid; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); border-radius: 0 0 var(--r-xl) var(--r-xl); isolation: isolate; }
.hero-home { min-height: max(100svh, 720px); display: flex; flex-direction: column; justify-content: center; padding: 120px 0 36px; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(40% 50% at 18% 80%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(35% 45% at 70% 30%, color-mix(in srgb, var(--fg) 10%, transparent), transparent 70%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom calc(18s * var(--spd)) var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; opacity: var(--shade); background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 94%, transparent) 15%, color-mix(in srgb, var(--ink) 55%, transparent) 60%, color-mix(in srgb, var(--ink) 30%, transparent)); }
.shade-up { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 96%, transparent) 10%, color-mix(in srgb, var(--ink) 55%, transparent) 60%, color-mix(in srgb, var(--ink) 78%, transparent)); }
.hero-glow, .story-glow, .band-glow { position: absolute; z-index: -1; right: -12%; top: -25%; width: 60vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); filter: blur(40px); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-8%, 10%) scale(1.1); } }
.hero-inner { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.page-hero:not(.has-model) .hero-inner { grid-template-columns: minmax(0, 1fr); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 760px; animation: rise 1s var(--ease-out) both .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero h1, .page-hero h1 { font-size: calc(clamp(40px, 5.6vw, 88px) * var(--hero-s)); line-height: .98; letter-spacing: -.04em; }
h1.display { font-size: calc(clamp(44px, 6.4vw, 104px) * var(--hero-s)); line-height: .95; }
.lead { font-size: clamp(16.5px, 1.4vw, 20px); line-height: 1.55; max-width: 56ch; color: color-mix(in srgb, var(--on-ink) 84%, transparent); }
.hero-model { height: clamp(320px, 52vh, 600px); position: relative; animation: rise 1.2s var(--ease-out) both .3s; }
.page-hero { padding: 150px 0 72px; min-height: 520px; display: flex; align-items: flex-end; }
.hero-lg { min-height: max(88vh, 680px); }
.hero-bottom { flex-direction: column; justify-content: flex-end; align-items: stretch; padding-bottom: 36px; }
.page-hero .hero-model { height: clamp(280px, 42vh, 460px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; opacity: .78; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: inherit; }
.stats { width: 100%; margin-top: 44px; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; color: inherit; animation: rise 1s var(--ease-out) both .5s; }
.stat { padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--glass-line); }
.stat strong { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: 13.5px; font-weight: 600; opacity: .78; }
@media (max-width: 899px) {
	.hero-inner { grid-template-columns: minmax(0, 1fr); }
	.hero-model { height: 300px; order: -1; margin-top: -10px; }
	.hero-home { padding-top: 96px; }
	.page-hero { padding-top: 120px; min-height: 0; }
	.stat + .stat { border-left: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(odd) { border-right: 1px solid var(--glass-line); }
	.stat:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
}

/* ---------- Placeholder for missing photos ---------- */
.ph { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; padding: 16px; text-align: center; background: radial-gradient(120% 90% at 30% 10%, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head.row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.sec-head.row > div { display: flex; flex-direction: column; gap: 14px; }
.sec-head h2, .section h2 { font-size: calc(clamp(30px, 3.8vw, 56px) * var(--hs)); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(var(--rd)); filter: blur(var(--rb)); transition: opacity calc(.9s * var(--spd)) var(--ease-out), transform calc(.9s * var(--spd)) var(--ease-out), filter calc(.9s * var(--spd)) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms * var(--spd)); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Home: split cards ---------- */
.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.split-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); transition: transform .6s var(--ease-out), box-shadow .6s; isolation: isolate; }
.split-card:hover { transform: translateY(calc(-1 * var(--lift))); box-shadow: var(--sh-lg); color: inherit; }
.split-ink { background: var(--ink); color: var(--on-ink); }
.split-ink:hover { color: var(--on-ink); }
.split-model { position: absolute; inset: 0 0 38% 0; z-index: -1; }
.split-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.split-body h3 { font-size: clamp(28px, 2.8vw, 42px); }
.split-body p { max-width: 46ch; opacity: .85; }
.split-body .btn { margin-top: 8px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); transition: transform .5s var(--ease-out), box-shadow .5s; }
.cat-card:hover { transform: translateY(calc(-1 * var(--lift))); box-shadow: var(--sh-lg); color: inherit; }
.cat-media { aspect-ratio: 16/10; margin: 8px 8px 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.cat-media img, .p-card-media img, .g-card img, .m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cat-card:hover img, .p-card:hover img, .g-card:hover img, .m-item:hover img { transform: scale(1.06); }
.cat-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.cat-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.cat-top .num { color: var(--accent-text); }
.cat-top .count { color: var(--muted); }
.cat-body h3 { font-size: 22px; }
.cat-body p { color: var(--muted); font-size: 14.5px; }
.cat-body ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-body li { font-size: 12.5px; padding: 5px 10px; border-radius: var(--pill); background: color-mix(in srgb, var(--fg) 6%, transparent); }

/* ---------- Process ---------- */
.section-band { margin-top: calc(clamp(64px, 8vw, 120px) * var(--sp)); padding: calc(clamp(56px, 7vw, 100px) * var(--sp)) 0; background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; counter-reset: s; }
.process a { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--on-ink) 5%, transparent); border: 1px solid color-mix(in srgb, var(--on-ink) 10%, transparent); color: inherit; transition: background .4s, transform .4s var(--ease-out); }
.process a:hover { background: var(--accent); color: #fff; transform: translateY(-6px); }
.process .num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent); transition: color .4s; }
.process a:hover .num { color: #fff; }
.process h3 { font-size: 19px; }
.process p { font-size: 14.5px; opacity: .8; flex: 1; }
.process .link-arrow { font-size: 13.5px; }

/* ---------- Product cards / grids ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.p-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); transition: transform .5s var(--ease-out), box-shadow .5s; }
.p-card:hover { transform: translateY(calc(-1 * var(--lift))); box-shadow: var(--sh-lg); color: inherit; }
.p-card:hover .round-arrow { transform: rotate(-45deg); }
.p-card-media { aspect-ratio: 4/3; margin: 8px 8px 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.p-card-body { padding: 16px 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-card-body h3 { font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.p-card-body p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 30px; margin: 0 -4px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
.scroll-btns { display: flex; gap: 8px; }

/* ---------- About strip ---------- */
.about-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.about-strip > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lead-sm { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }

/* ---------- Equipment catalogue ---------- */
.chip-bar { position: sticky; top: 84px; z-index: 50; display: flex; gap: 6px; width: max-content; max-width: calc(100% - 2 * var(--edge)); margin: -28px auto 0; padding: 6px; border-radius: var(--pill); overflow-x: auto; scrollbar-width: none; }
.chip-bar::-webkit-scrollbar { display: none; }
.chip { padding: 10px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s; }
.chip:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); }
.chip.is-on { background: var(--accent); color: #fff; }
.cat-section { scroll-margin-top: 150px; }
.cat-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 32px; align-items: start; margin-bottom: 28px; }
.cat-head-text { display: flex; flex-direction: column; gap: 12px; }
.cat-head-text p { max-width: 70ch; color: var(--muted); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .ic { color: var(--accent); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; }
.two-col > div { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 760px) { .cat-head { grid-template-columns: 1fr; } .chip-bar { top: 76px; } }

/* ---------- Tables ---------- */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border-radius: var(--r-md); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 42%; font-weight: 600; background: color-mix(in srgb, var(--fg) 3%, transparent); }

/* ---------- Product story (one scroll = one section) ---------- */
.story { position: relative; }
.story-panel { position: relative; overflow: hidden; }
.story-inner { position: relative; height: 100%; }
.story .crumbs { position: absolute; top: 96px; left: var(--edge); z-index: 3; color: var(--fg); }
.stage-card { position: absolute; inset: 0; border-radius: calc(36px * var(--rs)); overflow: hidden; background: radial-gradient(110% 90% at 50% 20%, var(--card), var(--surface)); border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.stage-photo, .stage-model { position: absolute; inset: 0; transition: opacity .5s var(--ease); }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.story[data-view="model"] .stage-photo, .story[data-view="photo"] .stage-model { opacity: 0; pointer-events: none; }
.stage-tabs { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; gap: 4px; padding: 5px; border-radius: var(--pill); }
.stage-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); border: 0; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .35s, color .35s; }
.story[data-view="model"] [data-stage-view="model"], .story[data-view="photo"] [data-stage-view="photo"] { background: var(--accent); color: #fff; }
.chapter { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ch-title-lg { font-size: calc(clamp(34px, 4.4vw, 64px) * var(--hs)); line-height: 1.02; letter-spacing: -.03em; }
.ch-title { font-size: calc(clamp(30px, 3.4vw, 50px) * var(--hs)); line-height: 1.02; letter-spacing: -.03em; }
.ch-text { font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.6; color: color-mix(in srgb, var(--fg) 80%, transparent); max-width: 60ch; }
.ch-extra { display: flex; flex-direction: column; gap: 16px; }
.quick, .feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick > div { padding: 13px 16px; border-radius: calc(18px * var(--rs)); background: var(--card); border: 1px solid var(--line); }
.quick span { display: block; font-size: 12px; color: var(--muted); }
.quick strong { display: block; font-size: 14.5px; margin-top: 3px; }
.feat-grid > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: calc(20px * var(--rs)); background: var(--card); border: 1px solid var(--line); }
.feat-grid strong { font-size: 14.5px; line-height: 1.4; }
.tick { width: 28px; height: 28px; flex-shrink: 0; border-radius: calc(10px * var(--rs)); background: var(--accent); color: #fff; display: grid; place-items: center; }
.story-dots { position: absolute; right: clamp(8px, 1.4vw, 20px); top: 50%; transform: translateY(-50%); z-index: 4; display: none; flex-direction: column; gap: 10px; }
.story-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--pill); cursor: pointer; background: color-mix(in srgb, var(--fg) 25%, transparent); transition: height var(--t-story) var(--ease), background .4s; }
.story-dots button.is-on { height: 34px; background: var(--accent); }
.story-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 4; display: none; padding: 8px 14px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: opacity .6s; }
.story.is-last .story-hint { opacity: 0; }

/* Mobile / tablet portrait: stacked, normal scroll */
.story-inner { padding-top: 130px; }
.stage { position: relative; height: 46vh; min-height: 300px; }
.chapter { padding: 36px 0 8px; }
@media (min-width: 900px) and (min-height: 560px) {
	.story { height: calc(var(--chapters) * 100vh); }
	.story-panel { position: sticky; top: 0; height: 100vh; }
	.story-glow { left: -15%; right: auto; }
	.story-inner { padding-top: 0; }
	.stage { position: absolute; z-index: 2; left: var(--edge); top: 136px; bottom: 40px; height: auto; width: calc(50% - var(--edge) - 24px); transition: transform var(--t-story) var(--ease); will-change: transform; }
	.story[data-side="right"] .stage { transform: translateX(calc(100% + 48px)); }
	.chapter { position: absolute; top: 136px; bottom: 40px; width: calc(50% - var(--edge) - 24px); padding: 0; pointer-events: none; }
	.chapter[data-side="left"] { left: calc(50% + 24px); }
	.chapter[data-side="right"] { left: var(--edge); }
	.chapter.is-active { pointer-events: auto; }
	.chapter > * { opacity: 0; transform: translateY(48px); filter: blur(10px); transition: opacity var(--t-story) var(--ease), transform var(--t-story) var(--ease), filter var(--t-story) var(--ease); }
	.chapter.is-past > * { transform: translateY(-48px); }
	.chapter.is-active > * { opacity: 1; transform: none; filter: none; }
	.chapter > :nth-child(2) { transition-delay: 60ms; }
	.chapter > :nth-child(3) { transition-delay: 120ms; }
	.chapter > :nth-child(4) { transition-delay: 180ms; }
	.story-dots, .story-hint { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .stage, .chapter > * { transition-duration: .01s !important; } }

/* ---------- Media / gallery ---------- */
.seg { display: flex; gap: 4px; padding: 6px; border-radius: var(--pill); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.seg button { padding: 11px 20px; border-radius: var(--pill); border: 0; background: transparent; font-weight: 600; font-size: 14.5px; white-space: nowrap; cursor: pointer; transition: background .35s, color .35s, box-shadow .35s; }
.seg button[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: var(--sh-md); }
[data-panel] { animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.m-item { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); cursor: zoom-in; }
.m-0 { grid-column: span 2; grid-row: span 2; }
.m-3 { grid-row: span 2; }
.m-5 { grid-column: span 2; }
@media (max-width: 560px) { .m-0, .m-5 { grid-column: span 1; } .m-0 { grid-row: span 1; } .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-lg); }
.video button, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; }
.video button { cursor: pointer; background: center/cover no-repeat var(--surface); display: grid; place-items: center; }
.play { width: 76px; height: 76px; border-radius: var(--pill); background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-accent); transition: transform .4s var(--ease-out); }
.video button:hover .play { transform: scale(1.1); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.g-card { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); }
.g-card .ph { position: absolute; inset: 0; }
.g-card-info { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; border-radius: calc(18px * var(--rs)); display: flex; flex-direction: column; gap: 2px; }
.g-card-info span { font-size: 13px; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease-out); }
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager a:hover { transform: translateY(-4px); }
.pager span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: color-mix(in srgb, #0b0a0a 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-width: min(92vw, 1600px); max-height: 82vh; width: auto; border-radius: var(--r-md); box-shadow: var(--sh-lg); transition: opacity .3s, transform .4s var(--ease-out); }
.lb.is-swap img { opacity: 0; transform: scale(.97); }
.lb-cap { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .85; text-align: center; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: var(--pill); border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about-who { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 6vw, 110px); }
.side-label { flex: 0 1 240px; display: flex; flex-direction: column; gap: 14px; }
.about-who-main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 28px; }
.statement { font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.statement-sm { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.4; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 40px; color: color-mix(in srgb, var(--fg) 80%, transparent); line-height: 1.7; }
.quote-card { margin: 0; position: relative; overflow: hidden; padding: 28px 32px 28px 38px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); font-size: 17px; line-height: 1.65; }
.quote-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.cap { position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); }
.cap .ph { position: absolute; inset: 0; }
.cap-info { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px; border-radius: calc(20px * var(--rs)); }
.cap-info span { display: block; font-size: 12px; font-weight: 600; color: var(--accent-text); }
.cap-info strong { display: block; font-size: 19px; }
.values { display: flex; flex-wrap: wrap; gap: 14px; }
.value { flex: 1 1 220px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); transition: flex-grow .7s var(--ease), background .5s, color .5s; }
.value p { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.3; }
.value:hover { flex-grow: 1.9; background: var(--accent); color: #fff; }
.value:hover .big-num { color: #fff; }
.band-wrap { padding: calc(clamp(64px, 8vw, 120px) * var(--sp)) clamp(8px, 1.4vw, 20px) 0; }
.band { position: relative; overflow: hidden; isolation: isolate; max-width: 1420px; margin: 0 auto; border-radius: var(--r-xl); background: var(--ink); color: var(--on-ink); border: 1px solid var(--line); padding: clamp(44px, 6vw, 96px) clamp(20px, 5vw, 80px); }
.band-glow { left: -10%; right: auto; top: auto; bottom: -45%; width: 55%; }
.band-inner { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 80px); }
.kicker.on-band { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent-text); }
.vision { margin-top: 18px; font-size: clamp(22px, 2.7vw, 40px); font-weight: 600; line-height: 1.24; letter-spacing: -.02em; max-width: 36ch; }
.mission { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 80px); }
.mission > div { flex: 0 1 300px; display: flex; flex-direction: column; gap: 14px; }
.mission h2 { font-size: clamp(28px, 3vw, 44px); }
.mission ol { flex: 1 1 500px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mission li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 20px 14px 14px; border-radius: calc(22px * var(--rs)); background: color-mix(in srgb, var(--on-ink) 5%, transparent); border: 1px solid color-mix(in srgb, var(--on-ink) 10%, transparent); font-size: 16.5px; transition: background .4s, translate .4s var(--ease-out); }
.mission li:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); translate: 6px 0; }
.sq { width: 52px; height: 52px; border-radius: calc(16px * var(--rs)); background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.policy { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 6vw, 100px); align-items: flex-start; }
.policy-side { flex: 1 1 340px; position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.iso-badge { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 0 0 10px color-mix(in srgb, var(--accent) 12%, transparent); }
.iso-badge strong { display: block; font-size: 30px; line-height: 1; }
.iso-badge small { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; color: var(--accent-text); }
.timeline { flex: 1.3 1 480px; list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: flex; flex-direction: column; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: calc(2px * var(--rs)); background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.timeline li { position: relative; padding: 24px 26px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.timeline p { line-height: 1.65; color: color-mix(in srgb, var(--fg) 85%, transparent); }
@media (max-width: 760px) { .policy-side { position: static; } }

/* ---------- Turnkey line ---------- */
.line { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.line-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.line-step.flip .line-model { order: 2; }
.line-model { min-height: 380px; background: radial-gradient(110% 90% at 50% 20%, var(--card), var(--surface)); position: relative; }
.line-text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; align-items: flex-start; }
.line-text h3 { font-size: clamp(26px, 2.6vw, 38px); }
.line-text p { color: var(--muted); font-size: 16.5px; }
@media (max-width: 760px) { .line-step { grid-template-columns: 1fr; } .line-step.flip .line-model { order: 0; } .line-model { min-height: 280px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; scroll-margin-top: 100px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease-out); }
a.info-card:hover { transform: translateX(6px); color: inherit; }
.info-card span:not(.sq) { display: block; font-size: 13px; color: var(--muted); }
.info-card strong { display: block; font-size: 16.5px; margin-top: 2px; line-height: 1.45; }
.info-card small { display: block; margin-top: 6px; color: var(--muted); }
.form-card { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-lg); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.form-card h2 { font-size: clamp(26px, 2.6vw, 38px); }
.f-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.f-grid .full { grid-column: 1 / -1; }
.f-grid input, .f-grid select, .f-grid textarea { width: 100%; padding: 14px 16px; border-radius: calc(16px * var(--rs)); border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); background: var(--page); color: var(--fg); font: 400 15.5px var(--font-body); transition: border-color .3s, box-shadow .3s; }
.f-grid input:focus, .f-grid select:focus, .f-grid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.notice { width: 100%; display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: calc(16px * var(--rs)); font-weight: 600; }
.notice.ok { background: color-mix(in srgb, #2e9d4f 16%, transparent); }
.notice.err { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 21/9; min-height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- Content from the WordPress editor ---------- */
.prose { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.4em; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose .wp-block-image img { border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 22px 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.prose blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-button__link { border-radius: var(--pill); background: var(--accent); color: #fff; text-decoration: none; padding: 14px 24px; font-weight: 600; }
.prose .alignwide { max-width: 1200px; margin-left: 50%; transform: translateX(-50%); width: 92vw; }
.prose .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.pagination .current { background: var(--accent); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { margin: calc(clamp(64px, 8vw, 120px) * var(--sp)) clamp(8px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px); border-radius: var(--r-xl); background: var(--ink); color: var(--on-ink); padding: clamp(40px, 5vw, 72px) 0 24px; border: 1px solid var(--line); }
main > .section:last-child + .site-footer { margin-top: 0; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: inherit; }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid color-mix(in srgb, var(--on-ink) 14%, transparent); }
.foot-cta h2 { font-size: clamp(30px, 4vw, 60px); max-width: 18ch; }
.foot-cta .btn-ghost { color: var(--on-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-ink) 25%, transparent); }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: clamp(32px, 4vw, 56px) 0; }
.foot-grid h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.foot-brand p { font-size: 14.5px; opacity: .78; max-width: 36ch; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-top: 4px; color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 14%, transparent); font-size: 13px; opacity: .72; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: var(--pill); background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -12px rgb(37 211 102 / .7); transition: transform .4s var(--ease-out); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.single-able_product .wa-float { bottom: 72px; }

/* ---------- Responsive helpers ---------- */
@media (max-width: 899px) {
	.split-cards { grid-template-columns: 1fr; }
	.split-card { min-height: 480px; }
	.about-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.btn { padding: 13px 18px; font-size: 14.5px; }
	.quick, .feat-grid { grid-template-columns: 1fr; }
	.pager { grid-template-columns: 1fr; }
	.pager a:last-child { text-align: left; align-items: flex-start; }
}

/* ---------- Design option switches ---------- */
.home-sections { display: flex; flex-direction: column; }
.hero-inner.no-model { grid-template-columns: minmax(0, 1fr); }
.hero-h-tall .hero-home { min-height: max(80svh, 640px); }
.hero-h-medium .hero-home { min-height: 0; padding-top: 150px; padding-bottom: 36px; }
.no-glow .hero-glow, .no-glow .story-glow, .no-glow .band-glow { display: none; }
.no-zoom .hero-bg img { animation: none; }
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
@media (min-width: 1024px) {
	.hdr-left .site-header { grid-template-columns: auto 1fr auto; }
	.hdr-left .nav-pill { justify-self: start; }
	.hdr-right .site-header { grid-template-columns: auto 1fr auto; }
	.hdr-right .nav-pill { justify-self: end; }
}
.section-full { padding-top: 0; }
.prose-full { max-width: none; }
.prose-full > *:not(.alignfull):not(.alignwide) { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--edge); padding-right: var(--edge); }
.prose-full > * + * { margin-top: calc(clamp(40px, 5vw, 72px) * var(--sp)); }
.prose-wide { max-width: none; }
.prose .alignfull { border-radius: 0; }

/* ---------- Section blocks ---------- */
.able-content > :not(.able-sec):not(.chip-bar):not(.alignfull) { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--edge); padding-right: var(--edge); }
.able-content > :not(.able-sec):not(.chip-bar) { margin-top: calc(clamp(32px, 4vw, 56px) * var(--sp)); }
.able-content > .able-sec:last-child.section { padding-bottom: 0; }
.able-content .section-band { margin-top: calc(clamp(64px, 8vw, 120px) * var(--sp)); }
.split-photo { position: absolute; inset: 0; z-index: -1; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 92%, transparent) 30%, transparent); }
.text-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.text-image.flip .ti-media { order: 2; }
.ti-media { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--sh-lg); aspect-ratio: 4/3; position: relative; }
.ti-media img, .ti-media .ph { width: 100%; height: 100%; object-fit: cover; }
.ti-model { position: absolute; inset: 0; background: radial-gradient(110% 90% at 50% 20%, var(--card), var(--surface)); }
.ti-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ti-text p { color: var(--muted); font-size: 17px; }
.ticks-col { flex-direction: column; gap: 10px; }
.model-block { margin: 0; }
.model-box { position: relative; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(110% 90% at 50% 20%, var(--card), var(--surface)); border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.model-block figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl); background: var(--accent); color: #fff; box-shadow: var(--sh-accent); transition: transform .5s var(--ease-out); }
.cta-band:hover { color: #fff; transform: translateY(-4px); }
.cta-band h2 { font-size: calc(clamp(28px, 3.4vw, 48px) * var(--hs)); max-width: 22ch; color: #fff; }
.cta-band p { margin-top: 10px; opacity: .9; max-width: 56ch; }
.btn-light { background: #fff; color: #201e1d; padding: 7px 7px 7px 22px; }
.btn-light .btn-dot { background: var(--accent); color: #fff; }
@media (max-width: 760px) { .text-image { grid-template-columns: 1fr; } .text-image.flip .ti-media { order: 0; } }

.card-row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.card-row .p-card-media { position: relative; }
@media (max-width: 899px) { .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-row { grid-template-columns: 1fr; } }
.masonry.grid-even { grid-auto-rows: auto; }
.masonry.grid-even .m-item { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
.step-photo { display: block; aspect-ratio: 16/10; margin: -8px -8px 6px; border-radius: var(--r-md); overflow: hidden; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
