/* KEWEI v2 / Drawing-sheet industrial.
   Steel-grey drawing paper, brand-blue ink, one red "live" signal taken from the logo's lightning.
   Motifs: sheet-metal chamfered corners, logo slash, ruler ticks, terminal strip, drawing title block.
   Rollback: point the <link> in index/products/about.html back to ./styles.css. */
:root {
  color-scheme: light;
  --paper: #eceff3; --sheet: #f8fafc; --wash: #e3e8ee;
  --ink: #0a1c33; --text: #1f3652; --muted: #4d6177;
  --blue: #0757bd; --blue-deep: #06306b; --navy: #061a38; --navy-2: #0b2a55;
  --cyan: #7ae5ff; --signal: #e63940;
  --rule: #c5cfda; --rule-strong: #8e9db0;
  --ease: cubic-bezier(.2,.7,.2,1);
  --num: "Bahnschrift","DIN Alternate","Roboto Condensed","Segoe UI",sans-serif;
  font-family: "Microsoft YaHei","PingFang SC","Noto Sans SC","Segoe UI",sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button,input,select { font: inherit; }
button { cursor: pointer; color: inherit; }
button,a,input,select,summary { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.28; font-weight: 700; color: var(--ink); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hero :focus-visible,.page-hero :focus-visible,#site-footer :focus-visible { outline-color: #b6f3ff; }
[hidden] { display: none !important; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 12px 20px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 12px; }
.noscript-note { padding: 32px; }
/* Shared motif: the logo's slash, a blue parallelogram with a red cap. */
.section-heading h2::before,.about-preview h2::before,.story-heading h2::before { content: ""; display: inline-block; width: 11px; height: .86em; margin-right: 18px; vertical-align: -.06em; background: linear-gradient(var(--signal) 0 30%, var(--blue) 30% 100%); transform: skewX(-18deg); }
.section-index { display: none; }
/* ---------- Header ---------- */
#site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
#site-header.scrolled { box-shadow: 0 10px 30px #0a1c3314; }
.navigation { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 196px; height: auto; }
#main-nav { display: flex; gap: 40px; margin-left: auto; margin-right: 36px; height: 100%; align-items: center; }
#main-nav a { position: relative; display: flex; height: 100%; align-items: center; font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; transition: color .2s; }
#main-nav a:hover,#main-nav a.active { color: var(--blue); }
#main-nav .mobile-contact-link { display: none; }
#main-nav a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
#main-nav a.active::after { background: linear-gradient(90deg,var(--signal) 0 26%,var(--blue) 26% 100%); }
#main-nav a:hover::after,#main-nav a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; align-items: center; gap: 6px; font-family: var(--num); font-size: 13px; letter-spacing: .06em; color: var(--muted); padding: 6px 10px; border: 1px solid var(--rule); transition: color .2s,border-color .2s; }
.language-switch:hover { color: var(--blue); border-color: var(--blue); }
.language-switch span { display: none; }
.nav-contact { display: flex; gap: 12px; align-items: center; background: var(--blue); color: #fff; padding: 11px 18px 11px 20px; font-size: 14px; font-weight: 600; white-space: nowrap; clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%); transition: background .3s; }
.nav-contact:hover { background: var(--blue-deep); }
.nav-contact .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.scroll-progress { position: absolute; bottom: -1px; width: 100%; height: 3px; background: linear-gradient(90deg,var(--signal) 0,var(--blue) 18%,var(--cyan)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
/* ---------- Buttons ---------- */
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; gap: 22px; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; border: 1px solid transparent; font-size: 15px; font-weight: 600; clip-path: polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%); transition: transform .3s var(--ease),background .3s,color .3s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #fff; color: var(--blue-deep); }
.button-light:hover { background: var(--cyan); }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: var(--blue-deep); }
.button-outline { background: transparent; border-color: var(--rule-strong); clip-path: none; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.quiet-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 15px; font-weight: 600; border: 0; background: transparent; padding: 0; transition: color .2s; }
.quiet-link:hover { color: var(--blue-deep); }
.quiet-link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.quiet-link:hover .icon { transform: translateX(4px); }
/* ---------- Hero: night-shift navy over the Minnan scene, blueprint grid on top ---------- */
.hero,.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.hero { min-height: 720px; }
.hero-world { position: absolute; inset: -22px; z-index: -3; pointer-events: none; transform: translate3d(var(--world-x,0px),var(--world-y,0px),0); }
.hero-world img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero::before,.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; }
/* Let the Minnan skyline show through, especially below the copy; keep a
   darker upper-left reading area instead of darkening the whole scene. */
.hero::before { background: linear-gradient(180deg,#061a382e 0%,#061a3800 68%),linear-gradient(98deg,#061a38b8 0%,#06306b99 36%,#0757bd47 66%,#0757bd0d 100%); }
.hero::after,.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#9fd8ff14 1px,transparent 1px),linear-gradient(90deg,#9fd8ff14 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,#000,#0000 85%); }
.page-hero::before { background: radial-gradient(ellipse at 85% 30%,#0b6fd8 0%,transparent 55%),linear-gradient(110deg,var(--navy) 0%,var(--navy-2) 60%,#0a4d9a 100%); }
.nebula { display: none; }
.electric-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-layout { display: grid; grid-template-columns: .92fr 1.18fr; align-items: center; gap: 24px; min-height: 640px; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-block: 72px; }
.hero-kicker { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .04em; display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.hero-kicker>span { width: 10px; height: 22px; background: linear-gradient(var(--signal) 0 30%,#fff 30% 100%); transform: skewX(-18deg); }
.hero .hero-kicker,.page-hero .hero-kicker { color: #bfe6ff; }
.hero h1 { width: fit-content; font-size: clamp(46px,5.4vw,82px); font-weight: 800; letter-spacing: -.035em; line-height: 1.16; white-space: nowrap; color: #fff; text-shadow: 0 4px 30px #02122c66; }
.hero h1 span { display: block; margin-top: 4px; color: var(--cyan); }
.hero h1::after { content: ""; display: block; width: 120px; height: 8px; margin-top: 30px; background: linear-gradient(90deg,var(--signal) 0 28%,#fff 28% 100%); transform: skewX(-28deg); }
.hero .quiet-link { color: #dff2ff; }
.hero .quiet-link:hover { color: #fff; }
.hero-description { font-size: 17px; line-height: 1.95; color: #d4e8fb; margin-top: 30px; max-width: 30em; }
.hero .hero-description { color: #e4f2ff; text-shadow: 0 1px 8px #061a3866; }
.hero-actions { display: flex; gap: 32px; align-items: center; margin-top: 42px; flex-wrap: wrap; }
/* Title-block strip along the foot of the hero, with ruler ticks. */
.hero-bottom { position: relative; min-height: 64px; display: flex; align-items: center; gap: 18px; padding-right: 140px; font-size: 14px; color: #cfe6fb; border-top: 1px solid #9fd8ff3d; }
.hero-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: repeating-linear-gradient(90deg,#9fd8ff66 0 1px,transparent 1px 16px); opacity: .7; }
.hero-bottom>span { position: relative; padding-left: 18px; }
.hero-bottom>span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--signal); }
.scroll-arrow { display: none; }
/* ---------- Equipment scene ---------- */
.control-scene { position: relative; height: 530px; min-width: 0; transform: translate3d(var(--scene-x,0px),var(--scene-y,0px),0); }
.scene-device { position: absolute; display: block; animation: equipment-float 7s ease-in-out infinite; }
.scene-device img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 20px #02122c70); transition: filter .35s,transform .35s var(--ease); }
.scene-device:hover,.scene-device:focus-visible { z-index: 6; }
.scene-device:hover img,.scene-device:focus-visible img { transform: translateY(-8px) scale(1.035); filter: drop-shadow(0 16px 16px #02122c80) drop-shadow(0 0 12px #7ae5ff66); }
.scene-tower { width: 29%; height: 79%; left: 29%; top: 1%; z-index: 2; animation-delay: -1.7s; }
.scene-small { width: 25%; height: 47%; right: 0; top: 19%; z-index: 1; animation-delay: -3.1s; }
.scene-console { width: 37%; height: 50%; left: 0; bottom: 9%; z-index: 4; animation-delay: -.4s; }
.scene-line { width: 68%; height: 48%; right: -3%; bottom: 5%; z-index: 3; animation-delay: -2.6s; }
@keyframes equipment-float { 0%,100% { transform: translate3d(0,3px,0); } 50% { transform: translate3d(0,-6px,0); } }
.device-caption { position: absolute; left: 50%; bottom: 6px; transform: translate(-50%,6px); white-space: nowrap; padding: 9px 14px; background: #fff; color: var(--blue-deep); border-left: 3px solid var(--signal); box-shadow: 0 10px 28px #02122c55; font-size: 13px; font-weight: 600; opacity: 0; transition: transform .25s,opacity .25s; pointer-events: none; }
.device-caption .icon { width: 14px; height: 14px; margin-left: 10px; }
.scene-device:hover .device-caption,.scene-device:focus-visible .device-caption { opacity: 1; transform: translate(-50%,0); }
.scene-platform { position: absolute; width: 112%; height: 26%; left: -6%; bottom: 2%; border-radius: 50%; background: radial-gradient(ellipse,#7ae5ff40,transparent 66%); border: 1px solid #7ae5ff55; transform: rotate(-8deg); }
.scene-platform::before,.scene-platform::after { content: ""; position: absolute; inset: 12%; border: 1px solid #b9f6ff40; border-radius: 50%; }
.scene-platform::after { inset: 28%; border-style: dashed; }
.scene-orbit,.scene-cross,.scene-label { display: none; }
.scene-scan { position: absolute; left: -3%; right: -3%; height: 60px; top: 8%; background: linear-gradient(transparent,#adf5ff14,#cffaff4d); border-bottom: 1px solid #c9faffaa; transform: skewY(-8deg); animation: equipment-scan 5.6s ease-in-out infinite; pointer-events: none; }
@keyframes equipment-scan { 0% { top: 7%; opacity: 0; } 15% { opacity: .9; } 75% { opacity: .6; } 100% { top: 80%; opacity: 0; } }
.motion-control { position: absolute; right: max(48px,calc((100% - 1280px)/2)); bottom: 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #bfe6ff55; background: #06306b66; color: #e8f6ff; padding: 7px 12px; font-size: 12px; z-index: 4; transition: background .2s,border-color .2s; }
.motion-control:hover { border-color: #dff2ff; background: var(--blue); }
.motion-control span { width: 14px; text-align: center; }
.field-paused .scroll-arrow,.field-paused .scene-device,.field-paused .scene-scan { animation-play-state: paused; }
/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-heading h2,.about-preview h2,.story-heading h2 { font-size: clamp(30px,3.2vw,46px); letter-spacing: -.025em; }
.section-heading p { color: var(--muted); margin-top: 14px; font-size: 16px; padding-left: 29px; }
/* Product centre: the three lines of business as a ruled index, not three equal cards. */
.capability-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 0; border: 1px solid var(--rule-strong); background: var(--sheet); }
.capability-card { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--rule-strong); transition: background .35s; }
.capability-card:last-child { border-right: 0; }
.capability-card:hover { background: #fff; }
.capability-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; font-family: var(--num); font-size: 15px; color: var(--muted); letter-spacing: .06em; pointer-events: none; }
.capability-top>span { background: var(--ink); color: #fff; padding: 2px 10px; }
.capability-top>.icon { width: 38px; height: 38px; padding: 9px; background: #fff; border: 1px solid var(--rule-strong); color: var(--blue); transition: background .3s,color .3s,transform .35s var(--ease); }
.capability-card:hover .capability-top>.icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.capability-image { height: 340px; background: radial-gradient(circle at 50% 60%,#fff 0,#dfe6ee 100%); border-bottom: 1px solid var(--rule); overflow: hidden; }
.capability-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 28px; transition: transform .7s var(--ease); }
.capability-card:hover img { transform: scale(1.05); }
.capability-card:first-child .capability-image img { padding: 12px; transform: scale(1.12); }
.capability-card:first-child:hover .capability-image img { transform: scale(1.17); }
.capability-card:last-child .capability-image img { padding: 44px; }
.capability-copy { padding: 28px 28px 34px; flex: 1; }
.capability-copy h3 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.capability-copy h3::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.capability-copy p { margin-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.85; }
.spotlight { position: relative; --pointer-x: 50%; --pointer-y: 50%; }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--pointer-x) var(--pointer-y),#0757bd14,transparent 70%); opacity: 0; z-index: 3; transition: opacity .3s; }
.spotlight.pointer-active::before { opacity: 1; }
/* Brand rail reads like a terminal strip: each brand sits in its own labelled slot. */
.brand-rail { margin-top: 36px; display: flex; align-items: stretch; border: 1px solid var(--rule-strong); background: var(--sheet); }
.brand-rail>span { display: flex; align-items: center; padding: 0 24px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; clip-path: polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%); padding-right: 36px; }
.brand-rail>div { display: flex; flex-wrap: wrap; flex: 1; }
.brand-rail a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 18px 22px; font-size: 18px; font-weight: 600; color: var(--text); border-left: 1px solid var(--rule); transition: background .2s,color .2s; }
.brand-rail a:first-child { border-left: 0; }
.brand-rail a:hover { background: var(--blue); color: #fff; }
/* About preview */
.about-preview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; padding-top: 0; padding-bottom: 88px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; left: -14px; top: 14px; right: 14px; bottom: -14px; border: 1px solid var(--blue); z-index: 0; }
.about-photo img { position: relative; z-index: 1; aspect-ratio: 1.4; object-fit: cover; width: 100%; }
.about-photo>span { position: absolute; z-index: 2; bottom: 0; left: 0; background: var(--ink); color: #fff; padding: 9px 18px 9px 16px; font-size: 13px; border-left: 4px solid var(--signal); }
.about-preview-copy h2 { line-height: 1.4; }
.about-preview-copy>p { color: var(--muted); margin: 20px 0; font-size: 16px; line-height: 1.95; }
.about-preview-copy>p.company-name { color: var(--ink); font-size: 19px; font-weight: 700; margin: 26px 0 0; }
/* Brochure */
.brochure-section { border-top: 1px solid var(--rule-strong); }
.brochure-layout { max-width: 1000px; margin-inline: auto; }
#brochure-reader { padding: 22px; background: var(--sheet); border: 1px solid var(--rule-strong); min-width: 0; box-shadow: 10px 10px 0 var(--wash); }
.book-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--text); font-size: 14px; }
.book-toolbar strong { font-weight: 600; }
.book-status-dot { display: none; }
.book-zoom { display: flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid var(--rule-strong); background: #fff; font-size: 13px; color: var(--blue); white-space: nowrap; transition: background .2s,color .2s; }
.book-zoom:hover { background: var(--blue); color: #fff; }
.book-zoom .icon { width: 16px; height: 16px; }
.book-stage { overflow: hidden; background: var(--wash); touch-action: pan-y; cursor: grab; border: 1px solid var(--rule); }
.book-stage.is-dragging { cursor: grabbing; }
.book-stage img { width: 100%; height: auto; aspect-ratio: auto 1874/1280; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.book-spine { display: none; }
.book-controls { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; font-family: var(--num); font-size: 15px; letter-spacing: .08em; color: var(--muted); }
.book-controls button { display: flex; gap: 8px; align-items: center; background: none; border: 0; color: var(--blue); font-family: "Microsoft YaHei",sans-serif; font-size: 14px; font-weight: 600; padding: 8px 0; }
.book-controls .icon { width: 18px; height: 18px; }
.reverse { transform: rotate(180deg); }
button:disabled { opacity: .3; cursor: default; }
.book-thumbnails { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 6px; }
.book-thumbnails button { position: relative; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--wash); opacity: .6; transition: opacity .2s,border-color .2s; }
.book-thumbnails button:hover,.book-thumbnails button[aria-pressed="true"] { opacity: 1; }
.book-thumbnails button[aria-pressed="true"] { border-color: var(--signal); }
.book-thumbnails img { width: 100%; height: auto; aspect-ratio: auto 1874/1280; object-fit: contain; }
.book-thumbnails span { position: absolute; bottom: 0; right: 0; background: var(--ink); color: #fff; font-family: var(--num); font-size: 10px; padding: 1px 5px; }
.book-keyboard-hint { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 36px; }
/* ---------- Product centre ---------- */
.page-hero-layout { min-height: 340px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 30px; }
.page-hero-layout>div:first-child { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(44px,5vw,72px); letter-spacing: -.03em; line-height: 1.2; color: #fff; }
.page-hero h1 span { color: var(--cyan); }
.page-hero h1::after { content: ""; display: block; width: 96px; height: 7px; margin-top: 24px; background: linear-gradient(90deg,var(--signal) 0 28%,#fff 28% 100%); transform: skewX(-28deg); }
.page-hero .hero-kicker { margin-bottom: 18px; }
.page-hero .hero-description { margin-top: 24px; font-size: 16px; color: #d4e8fb; }
.control-scene.scene-compact { height: 300px; margin-top: 18px; }
.page-hero .motion-control { bottom: 12px; right: 20px; }
.catalog-section { padding-top: 48px; padding-bottom: 110px; }
.catalog-controls { display: flex; align-items: stretch; justify-content: space-between; gap: 22px; }
.category-tabs { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--rule-strong); background: var(--sheet); }
.category-tabs button { display: flex; align-items: center; gap: 16px; background: transparent; border: 0; border-left: 1px solid var(--rule); padding: 14px 22px; color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s,background .25s; }
.category-tabs button:first-child { border-left: 0; }
.category-tabs button>span { display: flex; align-items: center; gap: 10px; }
.category-tabs small { font-family: var(--num); font-size: 12px; color: var(--muted); }
.category-tabs b { font-family: var(--num); font-size: 13px; font-weight: 600; min-width: 26px; text-align: center; padding: 1px 6px; background: var(--wash); color: var(--muted); }
.category-tabs button:hover { background: #fff; color: var(--blue); }
.category-tabs button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.category-tabs button[aria-pressed="true"] small { color: #bfe0ff; }
.category-tabs button[aria-pressed="true"] b { background: #ffffff26; color: #fff; }
#product-search { display: flex; align-items: center; min-height: 54px; flex: 1; max-width: 340px; min-width: 220px; border: 1px solid var(--rule-strong); background: #fff; transition: border-color .25s,box-shadow .25s; padding-left: 16px; }
#product-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #0757bd22; }
#product-search>.icon { width: 18px; height: 18px; color: var(--muted); }
#search-input { width: 100%; min-width: 0; padding: 12px; background: transparent; color: var(--ink); border: 0; font-size: 14px; outline: none; }
#search-input::placeholder { color: #667a90; }
#product-search button { align-self: stretch; padding: 0 14px; border: 0; background: transparent; color: var(--blue); }
#product-search button>.icon { width: 18px; height: 18px; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 24px 36px; min-height: 36px; }
#catalog-description { font-size: 14px; color: var(--muted); }
.catalog-tools { display: flex; gap: 18px; align-items: center; flex-shrink: 0; }
#brand-filter { background: #fff; color: var(--text); border: 1px solid var(--rule-strong); padding: 8px 30px 8px 12px; font-size: 14px; max-width: 170px; }
#result-count { font-family: var(--num); font-size: 14px; letter-spacing: .04em; color: var(--muted); min-width: 40px; }
#reset-filters { display: flex; align-items: center; gap: 5px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--blue); padding: 8px 0; }
#reset-filters .icon { width: 14px; height: 14px; }
.component-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.component-filters button { font-size: 14px; border: 1px solid var(--rule-strong); padding: 8px 16px; color: var(--text); background: transparent; transition: border-color .2s,color .2s,background .2s; }
.component-filters button:hover { color: var(--blue); border-color: var(--blue); }
.component-filters button[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.product-group+.product-group { margin-top: 72px; }
.product-group-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 26px; }
.product-group-title h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; }
.product-group-title h2 span { font-family: var(--num); font-size: 14px; font-weight: 600; color: #fff; background: var(--blue); padding: 2px 10px; letter-spacing: .06em; }
.product-group-title>span { font-family: var(--num); font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.product-group-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.product-card { padding: 0; display: flex; flex-direction: column; text-align: left; border: 1px solid var(--rule-strong); background: var(--sheet); min-width: 0; transition: transform .35s var(--ease),border-color .3s,box-shadow .35s; }
.product-card:hover { transform: translate(-3px,-3px); border-color: var(--blue); box-shadow: 6px 6px 0 var(--blue); }
.product-image { position: relative; height: 340px; background: radial-gradient(circle at 50% 62%,#fff 0,#dde4ec 100%); width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 30px 36px 16px; border-bottom: 1px solid var(--rule); }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.product-card:hover .product-image img { transform: translateY(-4px) scale(1.03); }
.product-no { position: absolute; top: 0; left: 0; z-index: 1; background: var(--ink); color: #fff; font-family: var(--num); font-size: 13px; letter-spacing: .06em; padding: 3px 12px; }
.product-brand { position: absolute; right: 14px; top: 12px; z-index: 1; color: var(--blue-deep); font-size: 13px; font-weight: 600; padding: 2px 10px; background: #ffffffcc; border: 1px solid var(--rule); }
.product-info { padding: 22px 24px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex: 1; width: 100%; }
.product-info h3 { font-size: 20px; }
.product-info p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.card-arrow { display: inline-flex; flex-shrink: 0; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); color: var(--blue); transition: background .3s,color .3s,border-color .3s,transform .3s; }
.card-arrow .icon { width: 18px; height: 18px; }
.product-card:hover .card-arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
.group-cabinets .product-image { height: 300px; }
.group-components .product-group-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.group-components .product-image { height: 220px; padding: 40px 22px 14px; }
.group-components .product-no { display: none; }
.group-components .product-brand { left: 0; top: 0; right: auto; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 12px; }
.group-components .product-info { padding: 18px 16px; gap: 10px; }
.group-components h3 { font-size: 16px; line-height: 1.5; }
.group-components .product-info p { font-size: 12px; }
.group-components .card-arrow { width: 32px; height: 32px; }
.group-components .card-arrow .icon { width: 15px; height: 15px; }
.application-label { position: absolute; bottom: 12px; right: 12px; color: var(--muted); font-size: 11px; }
.empty-state { text-align: center; border: 1px dashed var(--rule-strong); padding: 90px 24px; color: var(--muted); background: var(--sheet); }
.empty-state>.icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--blue); }
.empty-state h2 { font-size: 24px; color: var(--ink); margin-bottom: 12px; }
.empty-state p { font-size: 15px; }
.empty-state .button { margin-top: 26px; }
/* ---------- About ---------- */
.about-hero .shell { position: relative; min-height: 420px; padding-block: 80px; }
.about-hero h1 { position: relative; z-index: 1; }
.about-year { position: absolute; right: -6px; top: 36px; font-family: var(--num); font-size: 240px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #9fd8ff66; pointer-events: none; }
.company-story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9%; align-items: start; }
.story-heading { position: sticky; top: 124px; }
.story-heading h2 { line-height: 1.45; }
.story-heading>p { margin-top: 24px; color: var(--blue); font-size: 17px; font-weight: 600; padding-left: 29px; }
.story-copy p { font-size: 17px; line-height: 2.05; color: var(--text); max-width: 38em; }
.story-copy p+p { margin-top: 26px; }
.story-copy p:first-child { font-size: 21px; line-height: 1.8; color: var(--ink); font-weight: 500; padding-bottom: 26px; border-bottom: 1px solid var(--rule-strong); }
.story-gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; }
.story-gallery figure { position: relative; }
.story-gallery img { height: 380px; width: 100%; object-fit: cover; }
.story-gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 13px; padding: 10px 20px 10px 16px; border-left: 4px solid var(--signal); }
/* Service flow is a real sequence, so numbering and the connecting rail stay. */
.process-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 2px solid var(--ink); }
.process-step { position: relative; padding: 34px 24px 32px 0; }
.process-step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--signal); transform: skewX(-18deg); }
.process-step:not(:first-child)::before { background: var(--blue); }
.process-step>span { font-family: var(--num); font-size: 38px; font-weight: 700; line-height: 1; color: var(--rule-strong); display: block; margin-bottom: 20px; }
.process-step h3 { font-size: 22px; }
.process-step p { font-size: 15px; color: var(--muted); margin-top: 10px; }
.about-capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 48px; border: 1px solid var(--rule-strong); background: var(--sheet); }
.about-capabilities a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: 16px; font-weight: 600; color: var(--ink); border-left: 1px solid var(--rule); transition: background .25s,color .25s; }
.about-capabilities a:first-child { border-left: 0; }
.about-capabilities a:hover { background: var(--blue); color: #fff; }
/* ---------- Contact footer: navy, so the phone number is the brightest thing on the page ---------- */
#site-footer { position: relative; background: var(--navy); color: #d4e8fb; border-top: 6px solid var(--blue); }
#site-footer::before { content: ""; position: absolute; left: 0; top: -6px; width: 120px; height: 6px; background: var(--signal); }
#site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#9fd8ff0d 1px,transparent 1px),linear-gradient(90deg,#9fd8ff0d 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,#0000,#000); }
#site-footer>* { position: relative; z-index: 1; }
.contact-shell { display: grid; grid-template-columns: 1.15fr 1fr; gap: 9%; padding-block: 96px 72px; scroll-margin-top: 90px; }
.contact-intro h2 { font-size: clamp(34px,3.8vw,54px); line-height: 1.3; letter-spacing: -.02em; color: #fff; }
#site-footer .hero-kicker { color: #9cc6ec; margin-bottom: 22px; }
.contact-phone { display: inline-flex; align-items: center; gap: 24px; font-family: var(--num); font-size: clamp(38px,4.6vw,68px); line-height: 1.1; letter-spacing: .01em; font-weight: 700; margin-top: 32px; color: var(--cyan); white-space: nowrap; transition: color .25s; }
.contact-phone:hover { color: #fff; }
.contact-phone>.icon { width: 30px; height: 30px; transition: transform .3s var(--ease); }
.contact-phone:hover>.icon { transform: translate(4px,-4px); }
.contact-mobile { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.contact-mobile a { font-family: var(--num); font-size: 22px; letter-spacing: .03em; color: #fff; }
.contact-mobile span { font-size: 13px; color: #07295a; background: var(--cyan); padding: 2px 10px; font-weight: 600; }
.contact-mobile button { display: flex; background: none; border: 1px solid #9fd8ff55; padding: 9px; color: var(--cyan); transition: background .2s,color .2s; }
.contact-mobile button:hover { background: var(--cyan); color: var(--navy); }
.contact-mobile .icon { width: 17px; height: 17px; }
.contact-side { padding-top: 6px; }
.contact-location { padding-left: 18px; border-left: 3px solid var(--blue); }
.contact-location.secondary { border-left-color: #9fd8ff44; margin-top: 26px; }
.contact-location>span { font-size: 13px; color: #9cc6ec; }
.contact-location>p { font-size: 16px; line-height: 1.85; margin-top: 8px; color: #fff; max-width: 28em; }
.contact-location .quiet-link { font-size: 14px; color: var(--cyan); margin-top: 12px; }
.contact-location .quiet-link:hover { color: #fff; }
.contact-location .icon { width: 14px; height: 14px; }
.contact-location.secondary>p { font-size: 15px; color: #c3dcf3; }
.connection-links { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.connection-links>a,.connection-links>button { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; border: 1px solid #9fd8ff55; background: transparent; padding: 0 16px; color: #fff; transition: background .2s,color .2s,border-color .2s; }
.connection-links>a:hover,.connection-links>button:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.connection-links .icon { width: 17px; height: 17px; }
.connection-links .icon:last-child { width: 12px; height: 12px; }
.career-details { margin-top: 28px; color: #c3dcf3; font-size: 15px; }
.career-details h3 { font-size: 14px; font-weight: 600; color: #9cc6ec; }
.career-details>div { padding-top: 10px; }
.career-details a { display: inline-flex; align-items: center; gap: 6px; color: #fff; margin-right: 22px; margin-bottom: 8px; border-bottom: 1px solid #9fd8ff55; transition: color .2s,border-color .2s; }
.career-details a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.career-details .icon { width: 13px; height: 13px; }
.career-details p { font-size: 13px; color: #9cc6ec; }
.footer-bottom { border-top: 1px solid #9fd8ff2e; display: flex; align-items: center; gap: 28px; padding-block: 22px; color: #9cc6ec; font-size: 13px; }
.footer-bottom>span { margin-right: auto; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icon { width: 14px; height: 14px; }
.footer-registration { display: flex; justify-content: flex-start; padding-block: 0 26px; color: #9cc6ec; font-size: 13px; }
.footer-registration a { padding: 4px 0; overflow-wrap: anywhere; transition: color .2s; }
.footer-registration a:hover { color: #fff; }
/* ---------- Dialogs ---------- */
dialog { padding: 0; background: var(--sheet); color: var(--text); border: 1px solid var(--rule-strong); border-top: 4px solid var(--blue); border-radius: 0; box-shadow: 0 30px 100px #02122c99; max-height: 90svh; }
dialog::backdrop { background: #02122cc4; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--rule-strong); color: var(--blue); z-index: 3; transition: background .2s,color .2s; }
.dialog-close:hover { background: var(--blue); color: #fff; }
.dialog-close .icon { width: 18px; height: 18px; }
.product-dialog { width: min(1100px,calc(100% - 48px)); overflow: auto; }
#product-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.detail-image { background: radial-gradient(circle at 50% 55%,#fff,#d9e1ea); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 28px; color: var(--muted); min-width: 0; border-right: 1px solid var(--rule); }
.detail-image img { object-fit: contain; width: 100%; max-height: 480px; mix-blend-mode: multiply; }
.detail-image>p { font-size: 12px; line-height: 1.8; margin-top: 24px; }
.detail-content { padding: 56px 44px 46px; min-width: 0; }
.detail-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 48px; }
.detail-language-switch { font-family: var(--num); color: var(--blue); font-size: 12px; padding: 3px 9px; border: 1px solid var(--rule-strong); }
.detail-content .hero-kicker { font-size: 13px; margin-bottom: 20px; color: var(--muted); }
.detail-content h2 { font-size: 34px; letter-spacing: -.02em; }
.detail-model { display: inline-block; font-family: var(--num); font-size: 14px; color: var(--blue-deep); background: var(--wash); padding: 2px 10px; margin-top: 14px; letter-spacing: .03em; }
.detail-description { font-size: 15px; color: var(--text); line-height: 1.95; margin-top: 26px; }
.detail-content h3 { font-size: 14px; color: var(--ink); margin-top: 28px; }
.application-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.application-tags span { padding: 5px 12px; background: #fff; color: var(--blue-deep); font-size: 13px; border: 1px solid var(--rule-strong); }
.selection-note { border-top: 1px solid var(--rule); margin-top: 28px; }
.selection-note p { margin-top: 12px; font-size: 14px; color: var(--text); line-height: 1.9; }
.detail-content .fine-print { font-size: 12px; margin-top: 22px; }
.detail-content>.button { margin-top: 26px; }
.social-dialog { width: min(520px,calc(100% - 36px)); padding: 44px 36px 32px; }
.social-dialog .hero-kicker { margin-bottom: 12px; color: var(--muted); }
.social-dialog h2 { font-size: 28px; margin-bottom: 26px; }
.social-dialog>img { margin-inline: auto; }
.social-qr-image { max-height: 48svh; max-width: 100%; object-fit: contain; }
.social-profile-image { width: 100%; }
.social-dialog>p:not(.hero-kicker) { color: var(--text); font-size: 14px; line-height: 1.9; margin-top: 22px; }
.social-dialog-actions { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.social-dialog-actions .button { font-size: 14px; padding: 11px 20px; min-height: 46px; gap: 14px; }
.social-dialog-actions .quiet-link { font-size: 14px; }
.social-dialog #social-copy-status { color: var(--blue); margin-top: 12px; }
.book-dialog { width: min(1500px,calc(100% - 32px)); height: 90svh; display: none; flex-direction: column; }
.book-dialog[open] { display: flex; }
.book-dialog-toolbar { padding: 16px 22px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; }
.book-dialog-toolbar h2 { font-size: 16px; font-weight: 600; }
.book-dialog-toolbar>div { display: flex; align-items: center; gap: 14px; font-family: var(--num); font-size: 14px; color: var(--text); }
.book-dialog-toolbar button { border: 1px solid var(--rule-strong); background: #fff; padding: 5px 12px; min-height: 34px; font-size: 14px; transition: background .2s,color .2s; }
.book-dialog-toolbar button:hover:not(:disabled) { background: var(--blue); color: #fff; border-color: var(--blue); }
.book-dialog-toolbar button:last-child { display: flex; align-items: center; padding: 5px; }
.book-dialog-toolbar .icon { width: 19px; height: 19px; }
.book-zoom-scroll { overflow: auto; background: var(--wash); flex: 1; min-height: 0; }
#zoom-book-image { max-width: none; height: auto; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,12px); opacity: 0; pointer-events: none; background: var(--ink); border-left: 4px solid var(--signal); color: #fff; padding: 13px 22px; z-index: 100; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 14px 40px #02122c66; transition: opacity .25s,transform .25s; }
#toast.visible { opacity: 1; transform: translate(-50%,0); }
/* ---------- Motion ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease),transform .6s var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
html[data-language="en"] .hero h1 { font-size: clamp(40px,4.6vw,66px); white-space: normal; letter-spacing: -.035em; line-height: 1.1; max-width: 620px; }
html[data-language="en"] .hero h1 span { margin-top: 8px; }
html[data-language="en"] .page-hero h1 { font-size: clamp(38px,4.2vw,60px); }
html[data-language="en"] .category-tabs button { gap: 8px; font-size: 14px; padding-inline: 14px; }
html[data-language="en"] .category-tabs small { display: none; }
html[data-language="en"] .section-heading p,html[data-language="en"] .story-heading>p { padding-left: 29px; }
@media (min-width: 1600px) { .hero { min-height: 800px; } .hero-layout { min-height: 720px; } .control-scene { height: 600px; } .scene-compact { height: 345px; } }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  #main-nav { margin-right: 6px; gap: 26px; }
  .navigation { gap: 24px; }
  .nav-actions { gap: 16px; }
  .brand img { width: 176px; }
  .hero { min-height: 660px; }
  .hero-layout { min-height: 590px; }
  .hero h1 { font-size: 58px; }
  .control-scene { height: 440px; }
  .hero-bottom { padding-right: 150px; }
  .motion-control { right: 32px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-card:first-child { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .capability-card:first-child .capability-image { height: 300px; }
  .capability-image { height: 260px; }
  .catalog-controls { flex-wrap: wrap; }
  .category-tabs { flex: 1; }
  .category-tabs button { flex: 1; justify-content: center; }
  #product-search { max-width: none; flex-basis: 100%; }
  .group-components .product-group-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-image { height: 290px; }
  .control-scene.scene-compact { height: 285px; }
  .contact-shell { gap: 6%; }
  .about-year { font-size: 180px; top: 50px; }
  .brand-rail { flex-wrap: wrap; }
  .brand-rail>span { width: 100%; clip-path: none; padding: 12px 24px; }
  .brand-rail a { padding: 16px 20px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .navigation { height: 68px; gap: 14px; }
  .brand img { width: 160px; height: auto; }
  .nav-actions { gap: 12px; }
  .nav-contact { display: none; }
  .menu-toggle { display: flex; padding: 10px 0 10px 8px; }
  #main-nav { position: absolute; top: 68px; left: 0; right: 0; height: auto; margin: 0; display: none; padding: 8px 20px 20px; background: #fff; border-bottom: 3px solid var(--blue); box-shadow: 0 20px 40px #0a1c3326; flex-direction: column; gap: 0; align-items: stretch; }
  #main-nav.is-open { display: flex; }
  #main-nav .mobile-contact-link { display: flex; color: #fff; background: var(--blue); margin-top: 14px; justify-content: center; border-bottom: 0; }
  #main-nav a { padding: 16px 6px; height: auto; font-size: 16px; border-bottom: 1px solid var(--rule); }
  #main-nav a::after { display: none; }
  #main-nav a.active { color: var(--blue); }
  #main-nav .mobile-contact-link:hover { color: #fff; }
  .hero { min-height: auto; }
  .hero-layout { display: flex; flex-direction: column; min-height: auto; align-items: stretch; }
  .hero-copy { padding-block: 52px 8px; }
  .hero-kicker { font-size: 13px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(38px,10.6vw,56px); line-height: 1.22; }
  .hero h1::after { height: 6px; width: 84px; margin-top: 22px; }
  .hero-world img { object-position: 35% bottom; }
  .hero::before { background: linear-gradient(180deg,#061a38e0 0%,#06306bb3 43%,#0757bd47 100%); }
  .hero::after,.page-hero::after { background-size: 40px 40px; }
  .hero-description { font-size: 15px; margin-top: 22px; }
  .hero-actions { gap: 22px; margin-top: 30px; }
  .hero-actions .button { min-height: 52px; font-size: 15px; }
  .control-scene { height: 340px; margin-inline: auto; width: min(100%,480px); margin-top: 20px; }
  .scene-tower { width: 30%; left: 29%; height: 78%; }
  .scene-console { left: 0; width: 36%; bottom: 9%; }
  .hero-bottom { font-size: 13px; min-height: 60px; margin-top: 22px; padding-right: 110px; padding-block: 12px; }
  .motion-control { right: 20px; bottom: 16px; font-size: 11px; padding: 6px 9px; }
  .section { padding-block: 56px; }
  .section-heading { margin-bottom: 26px; gap: 18px; align-items: flex-start; }
  .section-heading h2,.about-preview h2,.story-heading h2 { font-size: 28px; }
  .section-heading h2::before,.about-preview h2::before,.story-heading h2::before { width: 9px; margin-right: 14px; }
  .section-heading .quiet-link { font-size: 14px; margin-top: 26px; white-space: nowrap; gap: 6px; }
  .section-heading p { font-size: 14px; margin-top: 12px; padding-left: 23px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card,.capability-card:first-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .capability-card:last-child { border-bottom: 0; }
  .capability-top { padding: 14px; }
  .capability-top>.icon { width: 34px; height: 34px; padding: 8px; }
  .capability-image,.capability-card:first-child .capability-image { height: 240px; }
  .capability-card:last-child .capability-image img { padding: 32px; }
  .capability-copy { padding: 22px 20px 26px; }
  .capability-copy h3 { font-size: 22px; }
  .capability-copy p { font-size: 14px; }
  .brand-rail a { padding: 14px 16px; font-size: 16px; flex: 1 1 33%; }
  .brand-rail a:nth-child(3n+2) { border-left: 1px solid var(--rule); }
  .brand-rail a:nth-child(3n+1) { border-left: 0; }
  .about-preview { display: flex; flex-direction: column; gap: 32px; padding-bottom: 52px; align-items: stretch; }
  .about-photo::before { left: -8px; top: 8px; right: 8px; bottom: -8px; }
  .about-photo img { aspect-ratio: 1.45; }
  .about-preview-copy>p { font-size: 15px; margin-block: 14px; }
  #brochure-reader { padding: 14px; box-shadow: 6px 6px 0 var(--wash); }
  .book-toolbar { font-size: 13px; gap: 8px; }
  .book-zoom { font-size: 12px; gap: 6px; }
  .book-thumbnails { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
  .book-keyboard-hint { font-size: 11px; }
  .fine-print { margin-top: 24px; font-size: 12px; }
  .page-hero-layout { min-height: 320px; grid-template-columns: 1.25fr .8fr; gap: 0; }
  .page-hero h1 { font-size: clamp(36px,9vw,48px); }
  .page-hero h1::after { width: 64px; height: 5px; margin-top: 18px; }
  .page-hero .hero-description { font-size: 13px; max-width: 255px; margin-top: 18px; }
  .page-hero .hero-kicker { font-size: 13px; }
  .control-scene.scene-compact { width: 130%; height: 240px; margin-left: -20%; margin-top: 15px; }
  .control-scene.scene-compact .device-caption { display: none; }
  .page-hero .motion-control { font-size: 11px; bottom: 10px; right: 18px; }
  .catalog-section { padding-top: 28px; padding-bottom: 70px; }
  .catalog-controls { gap: 14px; }
  .category-tabs { width: 100%; }
  .category-tabs button { font-size: 13px; padding: 12px 6px; gap: 6px; }
  .category-tabs button>span { gap: 5px; }
  .category-tabs small { display: none; }
  .category-tabs b { font-size: 11px; min-width: 22px; padding: 0 4px; }
  #product-search { min-height: 48px; }
  #search-input { font-size: 14px; }
  .catalog-meta { margin-block: 18px 26px; flex-wrap: wrap; gap: 12px; }
  #catalog-description { font-size: 13px; }
  .catalog-tools { gap: 16px; width: 100%; }
  #result-count { margin-left: auto; }
  #brand-filter { font-size: 13px; }
  .component-filters { gap: 6px; padding-bottom: 20px; }
  .component-filters button { font-size: 13px; padding: 7px 12px; }
  .product-group-title { padding-bottom: 12px; margin-bottom: 18px; }
  .product-group-title h2 { font-size: 20px; gap: 10px; }
  .product-group-title h2 span { font-size: 12px; }
  .product-group-grid { gap: 16px; }
  .product-group+.product-group { margin-top: 48px; }
  .product-card:hover { transform: none; box-shadow: 4px 4px 0 var(--blue); }
  .product-image { height: 225px; padding: 30px 14px 12px; }
  .product-info { padding: 16px 14px; gap: 8px; }
  .product-info h3 { font-size: 16px; line-height: 1.5; }
  .product-info p { font-size: 12px; margin-top: 6px; }
  .product-no { font-size: 11px; padding: 2px 9px; }
  .product-brand { top: 8px; right: 8px; font-size: 11px; }
  .card-arrow { width: 32px; height: 32px; }
  .card-arrow .icon { width: 15px; height: 15px; }
  .group-cabinets .product-image { height: 220px; }
  .group-components .product-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .group-components .product-image { height: 190px; padding: 36px 14px 14px; }
  .group-components .product-info { padding: 14px 12px; }
  .group-components h3 { font-size: 14px; line-height: 1.5; }
  .group-components .product-info p { font-size: 11px; }
  .group-components .card-arrow { width: 28px; height: 28px; }
  .group-components .product-brand { left: 0; top: 0; }
  .about-hero .shell { min-height: 350px; padding-block: 64px; }
  .about-hero h1 { font-size: clamp(34px,8.6vw,48px); }
  .about-year { top: 40px; right: 0; font-size: 116px; opacity: .7; }
  .company-story { display: block; }
  .story-heading { position: static; margin-bottom: 30px; }
  .story-heading>p { font-size: 15px; margin-top: 16px; padding-left: 23px; }
  .story-copy p { font-size: 15px; line-height: 2; }
  .story-copy p:first-child { font-size: 18px; padding-bottom: 20px; }
  .story-copy p+p { margin-top: 20px; }
  .story-gallery { gap: 14px; grid-template-columns: 1fr; }
  .story-gallery img { height: auto; aspect-ratio: 1.6; }
  .story-gallery figcaption { font-size: 12px; }
  .process-track { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .process-step { padding-block: 28px 20px; }
  .process-step>span { font-size: 30px; margin-bottom: 14px; }
  .process-step h3 { font-size: 19px; }
  .process-step p { font-size: 13px; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .about-capabilities { grid-template-columns: 1fr; margin-top: 36px; }
  .about-capabilities a { border-left: 0; border-top: 1px solid var(--rule); font-size: 15px; }
  .about-capabilities a:first-child { border-top: 0; }
  .contact-shell { grid-template-columns: 1fr; gap: 48px; padding-block: 60px 46px; }
  .contact-intro h2 { font-size: 36px; }
  .contact-phone { font-size: 40px; margin-top: 26px; gap: 16px; }
  .contact-phone>.icon { width: 24px; height: 24px; }
  .contact-mobile { margin-top: 20px; gap: 12px; flex-wrap: wrap; }
  .contact-side { padding-top: 0; }
  .contact-location>p { font-size: 15px; }
  .connection-links { gap: 10px; }
  .footer-bottom { gap: 14px 22px; padding-block: 20px; flex-wrap: wrap; font-size: 12px; }
  .footer-bottom>span { width: 100%; margin-right: 0; }
  .product-dialog { width: calc(100% - 24px); }
  #product-detail { grid-template-columns: 1fr; }
  .detail-image { padding: 40px 25px 28px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .detail-image img { height: 275px; }
  .detail-image>p { font-size: 11px; margin-top: 14px; }
  .detail-content { padding: 30px 24px; }
  .detail-content h2 { font-size: 28px; }
  .detail-description { font-size: 14px; margin-top: 22px; }
  .dialog-close { width: 40px; height: 40px; top: 10px; right: 10px; }
  .social-dialog { padding: 40px 24px 26px; }
  .social-dialog h2 { font-size: 24px; }
  .social-dialog-actions { flex-wrap: wrap; gap: 18px; }
  .book-dialog-toolbar { padding: 14px; flex-wrap: wrap; gap: 12px; }
  .book-dialog-toolbar h2 { font-size: 14px; }
  .book-dialog-toolbar>div { gap: 12px; width: 100%; }
  .book-dialog-toolbar button:last-child { margin-left: auto; }
  html[data-language="en"] .hero h1 { font-size: clamp(38px,9.4vw,56px); max-width: 600px; }
  html[data-language="en"] .page-hero h1 { font-size: clamp(28px,6.4vw,38px); }
  html[data-language="en"] .category-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-language="en"] .category-tabs button { min-width: 0; white-space: normal; justify-content: space-between; font-size: 13px; padding: 11px 12px; }
  html[data-language="en"] .category-tabs button:nth-child(2n+1) { border-left: 0; }
  html[data-language="en"] .category-tabs button:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .page-hero-layout { grid-template-columns: 1.4fr .65fr; min-height: 290px; }
  .page-hero h1 { font-size: 34px; }
  .control-scene.scene-compact { height: 205px; width: 175%; margin-left: -70%; }
  .page-hero .hero-description { max-width: 9.5em; font-size: 12px; }
  .product-group-grid { grid-template-columns: 1fr; }
  .product-image { height: 270px; }
  .group-cabinets .product-image { height: 255px; }
  .product-info h3 { font-size: 18px; }
  .group-components .product-image { height: 170px; }
  .group-components h3 { font-size: 13px; }
  .group-components .card-arrow { display: none; }
  .category-tabs button { gap: 4px; padding-inline: 4px; font-size: 12px; }
  .control-scene { height: 300px; }
  .capability-image,.capability-card:first-child .capability-image { height: 210px; }
  .contact-phone { font-size: 34px; gap: 14px; }
  .contact-phone .icon { width: 22px; height: 22px; }
  .brand-rail a { flex-basis: 50%; }
  .brand-rail a:nth-child(3n+2),.brand-rail a:nth-child(3n+1) { border-left: 1px solid var(--rule); }
  .brand-rail a:nth-child(2n+1) { border-left: 0; }
}
/* At very narrow widths use all four complete labels, not clipped tabs. */
@media (max-width: 360px) {
  .category-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); flex-basis: 100%; }
  .category-tabs button { min-width: 0; justify-content: space-between; padding: 12px 10px; gap: 8px; }
  .category-tabs button:nth-child(2n+1) { border-left: 0; }
  .category-tabs button:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .contact-phone { font-size: 32px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
.capability-top>span { display: none; }
.capability-top { justify-content: flex-end; }

