:root {
  --ink: #121820;
  --ink-soft: #202832;
  --steel: #7c8793;
  --muted: #66717c;
  --line: #d8dde1;
  --paper: #ffffff;
  --mist: #f2f4f5;
  --accent: #e3572d;
  --accent-dark: #bd3b19;
  --warning: #f0c466;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.legacy-anchor { display: block; height: 0; scroll-margin-top: 90px; }

.pilot-notice { min-height: 34px; padding: 8px max(24px, calc((100vw - var(--max)) / 2)); display: flex; gap: 16px; background: #0b1016; color: #dce2e7; font-size: 11px; }
.pilot-notice strong { color: var(--warning); }
.site-header { height: 78px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 22px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 17px; font-weight: 800; line-height: .8; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 18px; }
.main-nav { display: flex; align-items: center; gap: 31px; font-size: 13px; font-weight: 700; }
.main-nav a, .site-footer a { transition: color .2s ease; }
.main-nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-action { justify-self: end; display: inline-flex; align-items: center; gap: 15px; padding: 11px 14px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.language-switcher { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.language-option { min-width: 52px; padding: 8px 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.language-option + .language-option { border-left: 1px solid var(--line); }
.language-option:hover, .language-option.active { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

.home-hero { min-height: max(560px, calc(100vh - 160px)); max-height: 800px; position: relative; isolation: isolate; display: flex; align-items: center; padding: clamp(58px, 8vw, 110px) max(24px, calc((100vw - var(--max)) / 2)); overflow: hidden; color: #fff; background: var(--ink) url("public/images/ancheng-hardware-hero.png") center / cover no-repeat; }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(12, 17, 24, .42) 0%, rgba(12, 17, 24, .15) 43%, transparent 68%); }
.hero-content { width: min(600px, 48%); }
.hero-content h1 { max-width: 600px; margin: 0 0 24px; font-size: clamp(46px, 5.2vw, 78px); line-height: .98; letter-spacing: 0; }
.hero-content p { max-width: 540px; margin: 0 0 34px; color: #d7dde3; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 18px; border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.hero-index { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 30px; width: 165px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.5); }
.hero-index strong { display: block; font-size: 36px; line-height: 1; }
.hero-index span { display: block; margin-top: 8px; color: #ccd3da; font-size: 11px; line-height: 1.4; }

.scope-strip { min-height: 92px; padding: 22px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.scope-strip p { margin: 0; font-size: 13px; font-weight: 800; }
.scope-strip div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.scope-strip span { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.featured-section { display: grid; grid-template-columns: .84fr 1.16fr; min-height: 700px; }
.featured-copy { padding: clamp(75px, 9vw, 135px) max(32px, calc((100vw - var(--max)) / 2)); padding-right: clamp(45px, 7vw, 100px); background: var(--mist); }
.section-label { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.featured-copy h2, .section-heading h2, .catalogue-cta h2, .contact-section h2, .catalogue-hero h1 { margin: 0; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.03; letter-spacing: 0; }
.featured-copy > p:not(.section-label) { max-width: 470px; margin: 26px 0 32px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-links { display: grid; gap: 15px; }
.arrow-link { width: max-content; display: inline-flex; align-items: center; gap: 16px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.arrow-link:hover { color: var(--accent); }
.featured-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); background: var(--ink-soft); }
.featured-gallery figure { min-width: 0; margin: 0; display: flex; flex-direction: column; border-left: 1px solid #3d4650; }
.featured-gallery figure:nth-child(-n + 2) { border-bottom: 1px solid #3d4650; }
.featured-gallery figure > a { min-height: 0; flex: 1; display: flex; background: #eef0f1; }
.featured-gallery img { width: 100%; min-height: 0; object-fit: contain; padding: clamp(22px, 3vw, 42px); background: #eef0f1; transition: transform .2s ease; }
.featured-gallery a:hover img { transform: scale(1.025); }
.featured-gallery figcaption { min-height: 78px; padding: 15px 18px; color: #fff; font-size: 12px; font-weight: 700; }
.featured-gallery figcaption span { display: block; margin-bottom: 5px; color: #9ca7b2; font-size: 10px; }

.about-section { padding: clamp(78px, 9vw, 128px) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(50px, 9vw, 130px); background: #e8ecee; }
.about-intro h2 { max-width: 640px; margin: 0; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.03; letter-spacing: 0; }
.about-intro p:not(.section-label) { max-width: 570px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid div { min-height: 165px; padding: 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.62); }
.service-grid strong { display: block; font-size: 15px; line-height: 1.25; }
.service-grid span { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.category-section { padding: clamp(78px, 9vw, 128px) max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { margin-bottom: 48px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-heading h2 { max-width: 760px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-tile { min-width: 0; min-height: 400px; position: relative; display: grid; grid-template-rows: 36px 1fr auto; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .2s ease; }
.category-tile:hover { background: var(--mist); }
.category-tile img { width: 100%; height: 220px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.category-tile:hover img { transform: scale(1.035); }
.category-number { color: var(--muted); font-size: 10px; font-weight: 700; }
.category-copy { position: relative; padding-top: 18px; }
.category-copy h3 { margin: 0 36px 6px 0; font-size: 18px; line-height: 1.15; }
.category-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.category-arrow { position: absolute; right: 0; top: 17px; color: var(--accent); font-size: 20px; }
.category-tile.pending { background: #151c24; color: #fff; }
.category-tile.pending .category-number, .category-tile.pending .category-copy p { color: #aeb7c1; }
.pending-visual { display: grid; place-items: center; border: 1px dashed #56616c; color: #9da7b1; font-size: 14px; text-align: center; }

.catalogue-cta { padding: clamp(72px, 8vw, 112px) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 140px); background: #e8ecee; }
.catalogue-cta > div:last-child { padding-top: 36px; }
.catalogue-cta > div:last-child p { margin: 0 0 28px; color: var(--muted); line-height: 1.75; }

.contact-section { padding: clamp(78px, 9vw, 126px) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px, 10vw, 130px); background: var(--accent); color: #fff; }
.contact-section .section-label { color: var(--ink); }
.contact-section > div > p:last-child { max-width: 430px; margin: 28px 0 0; line-height: 1.7; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: grid; gap: 8px; font-size: 11px; font-weight: 700; }
.inquiry-form label.full, .form-help { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.62); border-radius: 0; outline: 0; background: rgba(255,255,255,.08); color: #fff; }
.inquiry-form select option { color: var(--ink); }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(255,255,255,.72); }
.form-help { margin: 0; font-size: 11px; opacity: .88; }
.form-help a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form .button { justify-self: start; }

.site-footer { padding: 48px max(24px, calc((100vw - var(--max)) / 2)) 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; background: var(--ink); color: #fff; }
.site-footer .brand small { color: #aab4bd; }
.site-footer p { margin: 0; align-self: center; color: #c5ccd2; font-size: 12px; }
.site-footer .footer-contact { display: grid; gap: 9px; align-content: center; font-size: 14px; line-height: 1.45; }
.site-footer .footer-contact p { margin: 0 0 7px; font-size: 13px; }
.footer-contact a { color: #dce2e7; }
.footer-contact a:hover { color: var(--warning); }
.site-footer div { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 12px; font-weight: 700; }
.site-footer > small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #36404a; color: #929da7; font-size: 10px; }

.catalogue-hero { padding: clamp(68px, 8vw, 112px) max(24px, calc((100vw - var(--max)) / 2)) 60px; background: var(--ink); color: #fff; }
.catalogue-hero p:not(.section-label) { max-width: 700px; margin: 24px 0 0; color: #bdc6ce; font-size: 16px; line-height: 1.7; }
.catalogue-toolbar { padding: 24px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); position: sticky; top: 78px; z-index: 10; background: rgba(255,255,255,.97); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-buttons button { padding: 8px 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-buttons button.active, .filter-buttons button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.result-count { white-space: nowrap; color: var(--muted); font-size: 12px; }
.catalogue-main { padding: 50px max(24px, calc((100vw - var(--max)) / 2)) 100px; }
.product-family { margin-bottom: 76px; scroll-margin-top: 150px; }
.family-heading { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 15px; }
.family-heading h2 { margin: 0; font-size: 30px; }
.family-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.family-link { display: inline-block; margin-top: 8px; color: var(--accent-dark); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.catalogue-card { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalogue-card:first-child, .catalogue-card:nth-child(2), .catalogue-card:nth-child(3), .catalogue-card:nth-child(4) { border-top: 1px solid var(--line); }
.catalogue-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 22px; background: #f4f5f5; mix-blend-mode: multiply; }
.catalogue-card-body { min-height: 190px; display: flex; flex-direction: column; padding: 18px; }
.catalogue-card .sku { color: var(--accent); font-size: 10px; font-weight: 800; }
.catalogue-card-meta { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.featured-label { padding: 3px 6px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; }
.catalogue-card.featured-product { box-shadow: inset 0 4px 0 var(--accent); }
.catalogue-card h3 { margin: 9px 0 10px; font-size: 17px; line-height: 1.2; }
.catalogue-card p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.catalogue-card a, .catalogue-card button { width: max-content; margin-top: auto; padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--accent-dark); cursor: pointer; font-size: 11px; font-weight: 800; }
.pending-family { padding: 35px; border: 1px dashed #9ba4ac; background: var(--mist); }
.pending-family h3 { margin: 0 0 10px; }
.pending-family p { max-width: 720px; margin: 0; color: var(--muted); }

/* Stable category and product routes */
.page-breadcrumb { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.page-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.family-hero, .detail-hero { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: center; gap: clamp(45px, 8vw, 110px); padding: clamp(48px, 7vw, 92px) 0 76px; }
.family-hero h1, .detail-intro h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: 0; }
.family-hero > div:first-child > p:not(.section-label), .detail-summary { max-width: 620px; margin: 24px 0 29px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.family-hero-image, .detail-visual { min-height: 470px; display: grid; place-items: center; padding: clamp(30px, 5vw, 66px); background: var(--mist); border-bottom: 8px solid var(--accent); }
.family-hero-image img, .detail-visual img { width: 100%; max-height: 390px; object-fit: contain; mix-blend-mode: multiply; }
.detail-visual { border-color: var(--ink-soft); }
.detail-tags { margin: 25px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tags span { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-section, .family-products, .compare-section { padding: clamp(68px, 8vw, 105px) max(24px, calc((100vw - var(--max)) / 2)); }
.detail-section-heading { margin-bottom: 38px; }
.detail-section-heading h2 { max-width: 780px; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: 0; }
.detail-section-heading > p:not(.section-label) { max-width: 730px; margin: 20px 0 0; color: var(--muted); line-height: 1.7; }
.detail-section-heading .arrow-link { margin-top: 22px; }
.application-band, .detail-specs { background: var(--mist); }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.application-grid div { min-height: 160px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.application-grid span { color: var(--accent); font-size: 11px; font-weight: 800; }
.application-grid p { margin: 28px 0 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.family-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.family-product-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.family-product-card > a { display: block; background: var(--mist); }
.family-product-card img { width: 100%; aspect-ratio: 1 / .82; padding: 28px; object-fit: contain; mix-blend-mode: multiply; }
.family-product-card > div { min-height: 250px; padding: 21px; display: flex; flex-direction: column; align-items: flex-start; }
.family-product-card .sku, .related-card .sku { color: var(--accent); font-size: 10px; font-weight: 800; }
.family-product-card h2 { margin: 10px 0 12px; font-size: 20px; line-height: 1.2; }
.family-product-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.family-product-card .text-link, .related-card .text-link { margin-top: auto; min-height: auto; padding-bottom: 3px; border: 0; border-bottom: 1px solid currentColor; color: var(--accent-dark); font-size: 11px; font-weight: 800; }
.compare-section { background: var(--ink); color: #fff; }
.compare-section .section-label { color: var(--warning); }
.compare-section .detail-section-heading > p:not(.section-label) { color: #bec7cf; }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 790px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 17px 15px; border: 1px solid #46505a; text-align: left; vertical-align: top; font-size: 13px; }
.compare-table thead th { color: #c3cbd2; font-size: 11px; text-transform: uppercase; }
.compare-table tbody th { color: var(--warning); }
.compare-table .text-link { color: #fff; }
.detail-spec-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 42px; align-items: start; }
.detail-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.detail-table th, .detail-table td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.detail-table th { width: 35%; background: #e7ebed; }
.confirm-panel { padding: 25px; border: 1px solid var(--line); background: var(--paper); }
.confirm-panel h2 { margin: 0 0 18px; font-size: 23px; line-height: 1.2; }
.confirm-panel ul { margin: 0; padding-left: 20px; }
.confirm-panel li { margin: 10px 0; color: var(--muted); font-size: 14px; }
.related-section { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related-image { display: block; background: var(--mist); }
.related-image img { width: 100%; aspect-ratio: 1 / .82; padding: 22px; object-fit: contain; mix-blend-mode: multiply; }
.related-card > div { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; }
.related-card h3 { margin: 8px 0 10px; font-size: 17px; line-height: 1.2; }
.related-card p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.project-related { margin-top: 30px; padding: 25px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--mist); border-left: 5px solid var(--accent); }
.project-related h3 { margin: 0; font-size: 24px; }
.project-related p:not(.section-label) { max-width: 710px; margin: 9px 0 0; color: var(--muted); }
.product-inquiry { padding: clamp(72px, 8vw, 110px) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); background: var(--accent); color: #fff; }
.product-inquiry .section-label { color: var(--ink); }
.product-inquiry h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.04; }
.product-inquiry > div > p:last-child { max-width: 440px; line-height: 1.7; }

/* Privacy notice */
.legal-hero { padding: clamp(68px, 8vw, 112px) max(24px, calc((100vw - var(--max)) / 2)) 58px; background: var(--ink); color: #fff; }
.legal-hero h1 { max-width: 800px; margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: 1.02; }
.legal-hero p:not(.section-label) { max-width: 720px; margin: 22px 0 0; color: #c8d0d7; line-height: 1.7; }
.legal-content { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 100px; }
.legal-content section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { margin: 0 0 14px; font-size: 25px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; }
.legal-content ul { margin: 0; padding-left: 20px; }
.legal-content a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .main-nav, .header-action { display: none; }
  .language-switcher { justify-self: end; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; border: 0; background: #fff; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); }
  .site-header.nav-open .main-nav { display: flex; position: absolute; top: 78px; left: 0; right: 0; padding: 26px max(24px, calc((100vw - var(--max)) / 2)); flex-direction: column; align-items: flex-start; background: #fff; border-bottom: 1px solid var(--line); }
  .home-hero { min-height: 720px; align-items: flex-start; background-position: 58% center; }
  .hero-content { width: 58%; }
  .featured-section { grid-template-columns: 1fr; }
  .featured-copy { padding-left: max(24px, calc((100vw - var(--max)) / 2)); }
  .featured-gallery { min-height: 540px; }
  .category-grid, .catalogue-grid { grid-template-columns: repeat(3, 1fr); }
  .catalogue-card:nth-child(4) { border-top: 0; }
  .family-product-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .pilot-notice { display: block; padding: 8px 20px; }
  .pilot-notice span { display: none; }
  .site-header { height: 68px; padding: 0 12px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .site-header .brand { gap: 7px; font-size: 15px; }
  .site-header .brand-symbol { width: 30px; height: 30px; font-size: 16px; }
  .site-header .menu-toggle { width: 36px; }
  .site-header .language-option { min-width: 0; padding: 7px 6px; font-size: 10px; }
  .site-header.nav-open .main-nav { top: 68px; padding: 24px 20px; }
  .home-hero { min-height: 660px; max-height: none; padding: 55px 22px 34px; align-items: flex-start; background-position: 65% center; }
  .home-hero::before { background: linear-gradient(180deg, rgba(11,16,22,.72) 0%, rgba(11,16,22,.44) 47%, rgba(11,16,22,.15) 78%); }
  .hero-content { width: 100%; }
  .hero-content h1 { max-width: 410px; font-size: 48px; }
  .hero-content p { max-width: 390px; font-size: 15px; }
  .hero-index { right: 22px; bottom: 22px; }
  .scope-strip { padding: 22px; display: block; }
  .scope-strip p { margin-bottom: 14px; }
  .scope-strip div { justify-content: flex-start; }
  .featured-copy { padding: 68px 22px; }
  .about-section { grid-template-columns: 1fr; padding-left: 22px; padding-right: 22px; gap: 45px; }
  .service-grid { grid-template-columns: 1fr; }
  .featured-gallery { min-height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .featured-gallery figure { border-bottom: 1px solid #3d4650; }
  .featured-gallery img { aspect-ratio: 1.2 / 1; }
  .category-section, .catalogue-main { padding-left: 22px; padding-right: 22px; }
  .section-heading { display: block; }
  .section-heading .arrow-link { margin-top: 25px; }
  .category-grid, .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { min-height: 320px; padding: 14px; }
  .category-tile img { height: 165px; }
  .category-copy h3 { font-size: 15px; }
  .catalogue-cta, .contact-section { grid-template-columns: 1fr; padding-left: 22px; padding-right: 22px; gap: 45px; }
  .catalogue-cta > div:last-child { padding-top: 0; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form label.full, .form-help { grid-column: auto; }
  .site-footer { padding-left: 22px; padding-right: 22px; grid-template-columns: 1fr; }
  .site-footer div { justify-content: flex-start; flex-wrap: wrap; }
  .site-footer > small { grid-column: auto; }
  .catalogue-hero { padding: 60px 22px 48px; }
  .catalogue-toolbar { top: 68px; padding: 16px 22px; display: block; }
  .result-count { display: block; margin-top: 12px; }
  .family-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .catalogue-card:first-child, .catalogue-card:nth-child(2), .catalogue-card:nth-child(3), .catalogue-card:nth-child(4) { border-top: 0; }
  .catalogue-card:first-child, .catalogue-card:nth-child(2) { border-top: 1px solid var(--line); }
  .catalogue-card-body { min-height: 205px; padding: 14px; }
  .catalogue-card h3 { font-size: 15px; }
  .page-breadcrumb { width: calc(100% - 44px); }
  .family-hero, .detail-hero { width: calc(100% - 44px); grid-template-columns: 1fr; gap: 36px; padding: 40px 0 58px; }
  .family-hero h1, .detail-intro h1 { font-size: 42px; }
  .family-hero-image, .detail-visual { min-height: 300px; padding: 28px; }
  .detail-section, .family-products, .compare-section { padding-left: 22px; padding-right: 22px; }
  .application-grid, .family-product-grid, .related-grid, .detail-spec-layout, .product-inquiry { grid-template-columns: 1fr; }
  .application-grid div { min-height: 130px; }
  .family-product-card > div { min-height: 220px; }
  .related-card > div { min-height: 180px; }
  .project-related { align-items: flex-start; flex-direction: column; }
  .product-inquiry { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 390px) {
  .hero-content h1 { font-size: 42px; }
  .button { width: 100%; }
  .category-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 365px; }
  .category-tile img { height: 220px; }
  .catalogue-card:first-child, .catalogue-card:nth-child(2) { border-top: 0; }
  .catalogue-card:first-child { border-top: 1px solid var(--line); }
}
