/* ==========================================================================
   MAZELU V6 — Light Mineral Gallery
   ~80% alabaster / mineral white · ~15% brushed graphite · ~5% mineral celadon
   No orange / yellow, no navy, no purple, no 1px black cages, no scroll pinning.
   ========================================================================== */

:root {
  --bg: #F6F7F6;
  --surface: #FFFFFF;
  --pedestal: #EEF1F0;
  --mist: #E7F0EE;
  --ink: #16191D;
  --ink-2: #464D53;
  --ink-3: #737B80;
  --line: rgba(22, 25, 29, 0.08);
  --line-2: rgba(22, 25, 29, 0.14);
  --graphite: #16191D;
  --graphite-2: #1F2428;
  --accent: #1B5E55;
  --accent-hover: #154A43;
  --accent-soft: #5FA897;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(22, 25, 29, 0.04), 0 12px 32px -18px rgba(22, 25, 29, 0.18);
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* 4-step type scale (plus display h1/h2 clamps) */
  --fs-h3: 20px;
  --fs-body: 15.5px;
  --fs-sm: 13.5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
.tabular { font-variant-numeric: tabular-nums; }
.ph { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent-light { background: #fff; color: var(--graphite); }
.btn-accent-light:hover { background: var(--mist); }

/* -------------------- Header -------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(246, 247, 246, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 247, 246, 0.9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.12em; font-size: 15px; }
.brand-mark { width: 30px; height: 30px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: color 160ms, background-color 160ms;
}
.main-nav a:hover, .main-nav a.is-current { color: var(--ink); background: rgba(22, 25, 29, 0.05); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-wrap { position: relative; }
.lang-select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line-2); background: transparent;
  height: 38px; padding: 0 30px 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2316191D' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; position: relative; border-radius: 10px; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease), top 240ms var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.nav-open .menu-btn span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-open .menu-btn span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative; min-height: min(92vh, 860px); padding-top: var(--header-h);
  display: flex; align-items: center; overflow: hidden; background: #E9EDEB;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(240, 243, 241, 0.92) 0%, rgba(240, 243, 241, 0.72) 34%, rgba(240, 243, 241, 0) 58%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.03em; }
html[lang="zh"] .hero h1 { line-height: 1.18; letter-spacing: -0.01em; }
.lead { margin-top: 22px; font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, 0.6); }

/* -------------------- Section scaffolding -------------------- */
.section { padding: 128px 0; }
.section-tight { padding: 32px 0 128px; }
.section-alt { background: var(--surface); }
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }
html[lang="zh"] .section-head h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; letter-spacing: 0; }
.section-sub { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 680px; }
.fine-note { margin-top: 24px; font-size: var(--fs-sm); color: var(--ink-3); max-width: 760px; }

/* -------------------- Tabs -------------------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.tab:hover { border-color: var(--ink-3); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-count { font-style: normal; font-size: 12px; font-weight: 600; opacity: 0.55; }

/* -------------------- Product grid -------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
  animation: cardIn 520ms var(--ease) both;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(22,25,29,0.04), 0 28px 48px -28px rgba(22,25,29,0.28); }
.product-media { aspect-ratio: 4 / 3; background: var(--pedestal); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.product-code { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); }
.product-body h3 { font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.01em; }
.product-body p { font-size: var(--fs-body); color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-link {
  margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding-left: 0; text-align: left;
}
.product-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.product-link svg { transition: transform 240ms var(--ease); }
.product-card:hover .product-link svg { transform: translateX(3px); }
.product-card.is-wide { grid-column: span 2; flex-direction: row; }
.product-card.is-wide .product-media { flex: 1.35; aspect-ratio: auto; min-height: 100%; }
.product-card.is-wide .product-body { flex: 1; justify-content: center; padding: 36px; }
.product-card.is-wide h3 { font-size: 24px; }
.product-card.is-wide p { -webkit-line-clamp: 4; font-size: 15.5px; }
.product-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* -------------------- Applications -------------------- */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.app-card { display: flex; flex-direction: column; }
.app-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--pedestal); }
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.app-card:hover .app-media img { transform: scale(1.03); }
.app-tag { margin-top: 22px; font-size: var(--fs-sm); font-weight: 500; color: var(--accent); }
.app-card h3 { margin-top: 8px; font-size: var(--fs-h3); line-height: 1.35; }
.app-card p { margin-top: 10px; font-size: var(--fs-body); color: var(--ink-2); max-width: 560px; }

.codev { margin-top: 96px; }
.codev h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 32px; }
.codev-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.codev-steps li { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--pedestal); position: relative; }
.codev-steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 2px; background: var(--accent); }
.codev-steps h4 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.codev-steps p { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.6; }

.disclosure-list { margin-top: 72px; border-top: 1px solid var(--line); }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; font-size: 17px; font-weight: 500; cursor: pointer;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary i, .faq-item summary i {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--pedestal); position: relative;
  transition: background-color 200ms, transform 300ms var(--ease);
}
.disclosure summary i::before, .disclosure summary i::after,
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.disclosure summary i::after, .faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 300ms var(--ease); }
details[open] > summary i { background: var(--mist); }
details[open] > summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.disclosure-body { padding: 0 0 32px; }
.disclosure-body .fine-note { margin: 0 0 20px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); background: var(--bg); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.data-table th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--ink-3); padding: 16px 20px; letter-spacing: 0.02em; }
.data-table td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.55; }
.data-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* -------------------- Sizing -------------------- */
.sizing-card {
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface);
  border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-soft);
}
.sizing-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; padding: 48px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.control {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg);
  transition: border-color 160ms, background-color 160ms, box-shadow 160ms;
}
.control:hover { border-color: var(--ink-3); }
.control:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(27, 94, 85, 0.12); }
select.control {
  appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316191D' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea.control { resize: vertical; min-height: 132px; line-height: 1.55; }

.readout {
  background: var(--graphite); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 14px;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(95, 168, 151, 0.14), transparent 65%);
}
.readout-label { font-size: 13px; color: #9AA5A1; }
.readout-figure { font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); margin-top: 8px; }
.readout-value { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.readout-note { font-size: 14px; color: #B9C1C3; line-height: 1.6; }
.readout .btn { align-self: flex-start; margin-top: 6px; }
.readout-disclaimer { font-size: 12.5px; color: #7E888B; }

/* -------------------- Manufacturing -------------------- */
.fact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: -16px 0 56px; }
.fact-row > div { padding-top: 18px; border-top: 1px solid var(--line-2); min-width: 0; }
.fact-row dt { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.fact-row dd { margin-top: 6px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-3); }
.cinema { position: relative; border-radius: 32px; overflow: hidden; background: var(--pedestal); aspect-ratio: 16 / 9; }
.cinema video { width: 100%; height: 100%; object-fit: cover; }
.cinema-bar {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 12px 12px 20px; border-radius: 999px; background: rgba(246, 247, 246, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13.5px; color: var(--ink-2);
}
.cinema-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cinema-btn { flex: none; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; }

.proc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.proc-card .proc-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pedestal); }
.proc-card img { width: 100%; height: 100%; object-fit: cover; }
.proc-card h3 { margin-top: 16px; font-size: var(--fs-h3); line-height: 1.4; }
.proc-card p { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-top: 112px; }
.faq h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 16.5px; font-weight: 500; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 48px 24px 0; font-size: var(--fs-body); color: var(--ink-2); }

/* -------------------- RFQ -------------------- */
.rfq-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 72px 64px;
  background: var(--mist); border-radius: 32px;
}
.rfq-panel > *, .faq > *, .sizing-card > * { min-width: 0; }
.rfq-info h2, .contact-list dd, .section-head h2 { overflow-wrap: anywhere; }
html[lang="zh"] .section-head h2, html[lang="zh"] .rfq-info h2 { overflow-wrap: normal; word-break: normal; }
.rfq-info h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
.rfq-info .section-sub { font-size: 16px; }
.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-list dt { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.contact-list dd { margin-top: 4px; font-size: 15px; color: var(--ink); }
.contact-list a { border-bottom: 1px solid rgba(22,25,29,0.2); }
.contact-list a:hover { border-color: var(--ink); }
.rfq-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--surface); padding: 36px; border-radius: 24px; align-content: start; }
.rfq-form .control { background: var(--bg); }
.rfq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-error { min-height: 0; font-size: 14px; color: #8C2F2F; }
.form-error:not(:empty) { margin-bottom: 12px; }
.form-status { font-size: 14px; color: var(--accent); margin-top: 10px; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--graphite); color: #C7CDCF; padding: 72px 0 32px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { font-weight: 700; letter-spacing: 0.16em; color: #fff; margin-bottom: 12px; }
.footer-muted { color: #868F92; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); color: #6F787C; font-size: 12.5px; }

/* -------------------- Drawer -------------------- */
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(22, 25, 29, 0.32); opacity: 0; transition: opacity 320ms var(--ease); }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(620px, 100vw);
  background: var(--surface); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 420ms var(--ease);
  box-shadow: -24px 0 64px -24px rgba(22, 25, 29, 0.25);
}
.drawer.is-open { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.drawer-code { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; }
.drawer-close { border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; }
.drawer-close:hover { border-color: var(--ink); }
.drawer-scroll { flex: 1; overflow-y: auto; padding: 28px 28px 32px; overscroll-behavior: contain; }
.drawer h2 { font-size: 26px; line-height: 1.3; }
.drawer-summary { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.drawer-media { margin-top: 24px; }
.drawer-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--pedestal); }
.seg { display: inline-flex; padding: 4px; margin-top: 14px; border-radius: 999px; background: var(--pedestal); }
.seg-btn { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.seg-btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,25,29,0.12); }
.drawer-cap { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.drawer-h { margin: 32px 0 12px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.spec-list > div { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--fs-body); }
.spec-list dt { color: var(--ink-3); }
.spec-list dd { color: var(--ink); }
.drawer-blocks p { font-size: var(--fs-body); color: var(--ink-2); line-height: 1.65; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 28px; border-top: 1px solid var(--line); background: var(--surface); }

/* -------------------- Reveal (progressive enhancement) -------------------- */
html.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
html.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card.is-wide { grid-column: span 2; }
  .codev-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .rfq-panel { grid-template-columns: 1fr; gap: 40px; padding: 56px 40px; }
  .sizing-card { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(246, 247, 246, 0.98); padding: 8px 20px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a:hover { background: none; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .header-tools { margin-left: auto; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 88px 0; }
  .section-tight { padding: 16px 0 88px; }
  .section-head { margin-bottom: 36px; }
  .section-sub { font-size: 16px; }
  .hero { min-height: auto; display: block; background: var(--bg); }
  .hero-media { position: relative; inset: auto; height: 300px; }
  .hero-media img { object-position: 82% 62%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(246,247,246,0) 60%, rgba(246,247,246,1) 100%); }
  .hero-inner { padding-top: 8px; padding-bottom: 64px; }
  .hero h1 { font-size: 32px; }
  .fact-row { gap: 14px; margin: -8px 0 36px; }
  .fact-row dt { font-size: 22px; }
  .fact-row dd { font-size: 12.5px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .product-grid, .product-grid.cols-2 { grid-template-columns: 1fr; gap: 20px; }
  .product-card.is-wide { grid-column: auto; flex-direction: column; }
  .product-card.is-wide .product-media { aspect-ratio: 4 / 3; }
  .product-card.is-wide .product-body { padding: 22px 24px 24px; }
  .product-card.is-wide h3 { font-size: 18.5px; }
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .codev-steps { grid-template-columns: 1fr; gap: 20px; }
  .sizing-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .readout { padding: 32px 22px; }
  .cinema { border-radius: 20px; aspect-ratio: 4 / 3; }
  .cinema-bar { left: 10px; right: 10px; bottom: 10px; padding: 8px 8px 8px 14px; font-size: 12px; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proc-card h3 { font-size: 15.5px; }
  .proc-card p { display: none; }
  .faq { margin-top: 80px; }
  .faq-item p { padding-right: 0; }
  .rfq-panel { padding: 40px 22px; border-radius: 24px; }
  .rfq-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .drawer-scroll { padding: 22px 20px 28px; }
  .drawer-top, .drawer-actions { padding-left: 20px; padding-right: 20px; }
  .drawer-actions .btn { flex: 1 1 100%; }
  .spec-list > div { grid-template-columns: 1fr; gap: 2px; }
  .brand span { display: none; }
}
.grid-foot { margin-top: 32px; display: flex; justify-content: center; }
