/* =========================================================
   Meike Stainless Steel Tableware — site styles
   ========================================================= */
:root {
  --ink: #0f1519;
  --ink-2: #1a232a;
  --body: #4b5763;
  --muted: #7c8894;
  --line: #e1e4e6;
  --line-strong: #cfd5d9;
  --paper: #f6f5f2;
  --paper-2: #eeece7;
  --white: #ffffff;
  --accent: #9a7a4d;
  --accent-2: #c3a578;
  --accent-soft: #f2ece1;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  --shadow-s: 0 2px 8px rgba(15, 21, 25, 0.05);
  --shadow-m: 0 16px 40px rgba(15, 21, 25, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.25; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }

/* language switch */
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------ top bar ------------------------------ */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.62); font-size: 12px; letter-spacing: 0.03em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar-right { display: inline-flex; gap: 24px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }

/* ------------------------------- header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 21, 25, 0.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  height: 48px; width: auto; flex: 0 0 auto;
  display: block; object-fit: contain;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 4px rgba(15, 21, 25, 0.16), 0 8px 18px rgba(15, 21, 25, 0.1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(15, 21, 25, 0.18), 0 12px 24px rgba(15, 21, 25, 0.14); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-name { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; white-space: nowrap; }
.brand-sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; white-space: nowrap; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--muted); font-size: 12px; letter-spacing: 0.04em;
  padding: 7px 11px; border-radius: 2px; transition: 0.25s var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }
.lang-sep { opacity: 0.4; }
html[data-lang="zh"] .lang-cn { color: var(--accent); font-weight: 700; }
html[data-lang="en"] .lang-en { color: var(--accent); font-weight: 700; }

.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 2px; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink); transition: 0.3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ------------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  transition: 0.28s var(--ease); cursor: pointer;
}
.btn .arrow { transition: transform 0.28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #85673d; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #243038; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-block { width: 100%; }

.link-quiet { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: 0.25s var(--ease); }
.link-quiet:hover { color: var(--accent); border-color: var(--accent); }
.link-quiet--light { color: #f0e7d8; border-color: rgba(255, 255, 255, 0.3); }
.link-quiet--light:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* -------------------------------- hero ------------------------------- */
.hero { position: relative; min-height: clamp(600px, 88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #10161b; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  transform: scale(-1.02, 1.02);
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 1.2s var(--ease);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-dots {
  position: absolute; z-index: 3;
  right: max(32px, calc((100% - var(--container)) / 2 + 32px));
  bottom: 20px; display: flex; gap: 6px;
}
.hero-dots button {
  width: 34px; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-dots button::after {
  content: ""; display: block; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-dots button:hover::after { background: rgba(255, 255, 255, 0.58); }
.hero-dots button.is-active::after { background: var(--accent-2); transform: scaleX(1.12); }
.hero-dots button:focus-visible { outline: 1px solid var(--accent-2); outline-offset: 2px; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9, 13, 17, 0.88) 0%, rgba(9, 13, 17, 0.62) 42%, rgba(9, 13, 17, 0.16) 78%, rgba(9, 13, 17, 0.04) 100%),
    linear-gradient(0deg, rgba(9, 13, 17, 0.72) 0%, rgba(9, 13, 17, 0) 45%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 56px; color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.76); margin-bottom: 26px; }
.hero-eyebrow .rule { width: 46px; height: 1px; background: var(--accent-2); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.6vw, 70px); line-height: 1.1; letter-spacing: -0.01em;
  color: #fff; max-width: 14em; margin-bottom: 24px;
}
.hero-sub { font-size: clamp(14px, 1.15vw, 16px); line-height: 1.85; color: rgba(255, 255, 255, 0.76); max-width: 40em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: #fff; line-height: 1.1; }
.stat-label { font-size: 11.5px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }

/* ------------------------------ sections ----------------------------- */
.sector { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sector--paper { background: var(--paper); }
.sector--tight { padding: clamp(48px, 5vw, 72px) 0; }
.sector--dark { background: var(--ink); }
.sector--dark .section-title, .sector--dark h3, .sector--dark h4 { color: #f4f1ec; }
.sector--dark .section-intro, .sector--dark .body-text, .sector--dark p { color: rgba(255, 255, 255, 0.66); }
.sector--dark .eyebrow { color: rgba(255, 255, 255, 0.55); }
.sector--dark .eyebrow-no { color: var(--accent-2); border-color: rgba(255, 255, 255, 0.25); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow-no { display: inline-grid; place-items: center; width: 30px; height: 20px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 10px; letter-spacing: 0.06em; color: var(--accent); }
.eyebrow--light { color: rgba(255, 255, 255, 0.55); }
.eyebrow--light .eyebrow-no { border-color: rgba(255, 255, 255, 0.25); color: var(--accent-2); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -0.01em; }
.section-title--light { color: #fff; }
.section-intro { margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--body); max-width: 46em; }
.body-text { font-size: 14.5px; line-height: 1.95; color: var(--body); margin-top: 14px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------- about ------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.about-visual { position: relative; }
.about-frame { position: relative; overflow: hidden; border-radius: 2px; }
.about-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(15, 21, 25, 0.06); }
.about-badge {
  position: absolute; left: -1px; bottom: -1px;
  background: var(--ink); color: #fff; padding: 16px 20px;
  display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px;
}
.badge-k { font-family: var(--serif); font-size: 20px; color: var(--accent-2); }
.badge-v { font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.badge-t { grid-column: 1 / -1; font-size: 10.5px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.about-copy .section-head { margin-bottom: 22px; }
.about-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0 30px; }
.about-bullets li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.tick { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 5px; position: relative; }
.tick::before { content: ""; position: absolute; left: 3px; top: 1px; width: 4px; height: 8px; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(42deg); }
.tick--light::before { border-color: var(--accent-2); }
.about-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(42px, 5vw, 68px); }
.fact { background: #fff; padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.fact-value { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.15; }
.fact-label { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

/* ------------------------------- products ---------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2);
  padding: 9px 18px; border-radius: 2px; font-size: 12.5px; letter-spacing: 0.03em;
  transition: 0.25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: 0.35s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.product-card.is-hidden { display: none; }
.product-media { position: relative; overflow: hidden; background: var(--paper-2); display: block; }
.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-flag { position: absolute; left: 12px; top: 12px; background: rgba(15, 21, 25, 0.85); color: #f4efe6; font-size: 10px; letter-spacing: 0.1em; padding: 5px 9px; backdrop-filter: blur(4px); }
.product-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); }
.product-code { font-weight: 600; color: var(--accent); letter-spacing: 0.1em; }
.product-name { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.35; }
.product-name a:hover { color: var(--accent); }
.product-summary { font-size: 13px; line-height: 1.8; color: var(--body); min-height: 3.6em; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 10.5px; letter-spacing: 0.03em; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 1px; background: var(--paper); }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.product-link .arrow { margin-left: auto; transition: transform 0.3s var(--ease); }
.product-link:hover { color: var(--accent); }
.product-link:hover .arrow { transform: translateX(4px); }
.grid-empty { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* ------------------------------- process ----------------------------- */
.process-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.step { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.step-no { display: block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-2); margin-bottom: 10px; }
.step-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.step-desc { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.58); }
.process-aside { position: sticky; top: 100px; }
.process-aside img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.process-note { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); padding: 24px; margin-top: 1px; }
.process-note h4 { font-size: 14px; margin-bottom: 8px; }
.process-note p { font-size: 12.5px; line-height: 1.8; margin-bottom: 14px; }

/* ----------------------------- applications -------------------------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 12px; }
.app-card { position: relative; overflow: hidden; background: var(--ink); }
.app-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.app-card:hover .app-media img { transform: scale(1.05); }
.app-body { position: absolute; inset: auto 0 0 0; padding: 26px 22px 22px; background: linear-gradient(0deg, rgba(9, 13, 17, 0.92), rgba(9, 13, 17, 0.62) 55%, rgba(9, 13, 17, 0)); color: #fff; }
.app-body h3 { color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.app-body p { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); }
.app-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 20px; }
.app-row { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.app-no { font-family: var(--serif); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); padding-top: 4px; }
.app-row h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.app-row p { font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* --------------------------------- news ------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: 0.35s var(--ease); }
.news-card:hover { box-shadow: var(--shadow-m); border-color: transparent; transform: translateY(-3px); }
.news-card--lead { grid-column: span 3; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.news-media { overflow: hidden; display: block; background: var(--paper-2); }
.news-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-card--lead .news-media img { aspect-ratio: 16 / 9; }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.news-card--lead .news-body { padding: 40px; justify-content: center; }
.news-card--lead .news-link { margin-top: 22px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); }
.news-date { color: var(--accent); font-weight: 600; }
.news-cat { padding-left: 12px; border-left: 1px solid var(--line); }
.news-title { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.4; }
.news-card--lead .news-title { font-size: clamp(22px, 2.4vw, 28px); }
.news-title a:hover { color: var(--accent); }
.news-excerpt { font-size: 13px; line-height: 1.8; color: var(--body); }
.news-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); margin-top: auto; padding-top: 8px; }
.news-link .arrow { transition: transform 0.3s var(--ease); }
.news-link:hover { color: var(--accent); }
.news-link:hover .arrow { transform: translateX(4px); }

/* ------------------------------- contact ----------------------------- */
.contact { background: var(--ink); color: rgba(255, 255, 255, 0.74); padding: clamp(64px, 8vw, 104px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 4vw, 64px); align-items: start; }
.contact-lead { margin-top: 20px; font-size: 14px; line-height: 1.95; color: rgba(255, 255, 255, 0.62); max-width: 34em; }
.contact-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 28px 0 32px; }
.contact-points li { display: flex; gap: 9px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.contact-details { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-details > div { display: grid; grid-template-columns: 82px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.contact-details dt { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); padding-top: 3px; }
.contact-details dd { font-size: 13.5px; color: rgba(255, 255, 255, 0.86); }
.contact-details a:hover { color: var(--accent-2); }

.contact-form-wrap { background: #fff; padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-m); }
.form-title { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 6px; }
.form-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.inquiry-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-label { font-size: 11.5px; letter-spacing: 0.05em; color: var(--ink-2); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); background: #fcfcfb; color: var(--ink);
  padding: 11px 13px; border-radius: 2px; outline: none; transition: 0.2s var(--ease);
  font-size: 13.5px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(154, 122, 77, 0.1); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0705e; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; padding: 0; border: 0; }
.form-status { font-size: 12.5px; min-height: 18px; color: var(--muted); }
.form-status.is-error { color: #b4523f; }
.form-status.is-ok { color: #3f7a58; }
.form-note { font-size: 11px; line-height: 1.7; color: var(--muted); }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* -------------------------------- footer ----------------------------- */
.site-footer { background: #0b1014; color: rgba(255, 255, 255, 0.55); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.brand-invert .brand-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 20px rgba(0, 0, 0, 0.4); }
.brand-invert .brand-name { color: #fff; }
.brand-invert .brand-sub { color: rgba(255, 255, 255, 0.45); max-width: 300px; }
.footer-desc { font-size: 12.5px; line-height: 1.85; margin-top: 18px; max-width: 32em; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-col li { margin-bottom: 9px; font-size: 12.5px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 12.5px; }
.footer-contact .label { color: rgba(255, 255, 255, 0.35); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 32px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 11.5px; }
.footer-meta { color: rgba(255, 255, 255, 0.32); }

/* ----------------------------- sub page hero ------------------------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 78px) 0 clamp(36px, 4vw, 52px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.45; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.22; max-width: 22em; }
.page-sub { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: var(--body); max-width: 46em; }

/* --------------------------- product detail -------------------------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.detail-media { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); }
.gal-view { position: relative; background: var(--paper); }
.gal-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.gal-thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; line-height: 0; transition: border-color 0.25s var(--ease); }
.gal-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; opacity: 0.6; transition: opacity 0.25s var(--ease); }
.gal-thumb:hover img { opacity: 0.9; }
.gal-thumb.is-active { border-color: var(--accent); }
.gal-thumb.is-active img { opacity: 1; }
.gal-thumb:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.detail-code { position: absolute; right: 0; bottom: 0; background: rgba(17, 22, 28, 0.84); color: #fff; font-size: 11px; letter-spacing: 0.12em; padding: 7px 13px; }
.detail-cat { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.detail-name { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-bottom: 14px; }
.detail-summary { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.spec-table { border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-size: 11.5px; letter-spacing: 0.05em; color: var(--muted); }
.spec-row dd { font-size: 13.5px; color: var(--ink); }
.rel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.rel-head h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rel-card { display: block; background: #fff; border: 1px solid var(--line); transition: 0.3s var(--ease); }
.rel-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.rel-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rel-code { display: block; padding: 14px 16px 0; font-size: 10px; letter-spacing: 0.1em; color: var(--accent); }
.rel-card h4 { padding: 4px 16px 18px; font-family: var(--serif); font-size: 16px; font-weight: 500; }

/* ------------------------- product detail shots ----------------------- */
.detail-shots { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; }
.shots-grid .shot { margin: 0; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.shots-grid .shot img { display: block; width: 100%; height: auto; }
.shots-grid .shot:only-child { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .shots-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* -------------------------------- news ------------------------------- */
.news-list { display: grid; gap: 0; }
.news-row { display: grid; grid-template-columns: 320px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news-row:first-child { padding-top: 0; }
.news-row-media { overflow: hidden; background: var(--paper-2); }
.news-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-row:hover img { transform: scale(1.04); }
.news-row-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 10px 0 8px; line-height: 1.4; }
.news-row-body h3 a:hover { color: var(--accent); }
.news-row-body p { font-size: 13.5px; line-height: 1.85; color: var(--body); max-width: 52em; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.article-meta { display: flex; gap: 12px; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; }
.article-lead { font-size: 17px; line-height: 1.85; color: var(--ink-2); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.article-p { font-size: 14.5px; line-height: 2; color: var(--body); margin-bottom: 16px; }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.article-aside h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.aside-news { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.aside-date { font-size: 10.5px; letter-spacing: 0.08em; color: var(--accent); }
.aside-title { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.aside-news:hover .aside-title { color: var(--accent); }
.aside-cta { background: var(--paper); padding: 22px; }
.aside-cta p { font-size: 12.5px; line-height: 1.8; color: var(--body); margin-bottom: 14px; }

/* -------------------------------- 404 --------------------------------- */
.notfound { min-height: 52vh; display: flex; align-items: center; }
.notfound .section-intro { max-width: 40em; }
.notfound .hero-actions { margin-top: 28px; }

/* ------------------------------ responsive --------------------------- */
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: rgba(255, 255, 255, 0.98); }
  .header-inner > .brand, .header-inner > .header-actions { position: relative; z-index: 95; }
  .nav {
    position: fixed; inset: 0; height: 100%; min-height: 100dvh;
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; flex-direction: column; justify-content: center; gap: 8px;
    padding: 80px 32px; z-index: 80; transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s var(--ease);
    box-shadow: var(--shadow-m);
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav-link { font-size: 18px; padding: 12px 0; width: 100%; text-align: center; }
  .nav-link::after { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .about-grid, .detail-grid, .contact-grid, .article-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .detail-media, .process-aside, .article-aside { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-aside { margin-top: 10px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  body { font-size: 14.5px; }
  .topbar-right .topbar-item:last-child { display: none; }
  .header-inner { height: 66px; }
  .brand-mark { height: 38px; width: auto; flex-basis: auto; border-radius: 8px; }
  .brand-name { font-size: 14px; }
  .brand-sub { display: none; }
  .hero { min-height: 88vh; }
  .hero-slide { background-position: 46% center; }
  .hero-dots { right: 20px; bottom: 14px; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(9, 13, 17, 0.72) 0%, rgba(9, 13, 17, 0.5) 52%, rgba(9, 13, 17, 0.12) 100%),
      linear-gradient(180deg, rgba(9, 13, 17, 0.5) 0%, rgba(9, 13, 17, 0.22) 46%, rgba(9, 13, 17, 0.82) 100%);
  }
  .hero-inner { padding-top: 72px; padding-bottom: 52px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 20px; margin-top: 36px; }
  .stat-label { font-size: 10.5px; }
  .about-bullets { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--lead { grid-column: span 1; grid-template-columns: 1fr; }
  .news-card--lead .news-body { padding: 22px; }
  .contact-points { grid-template-columns: 1fr; }
  .contact-details > div { grid-template-columns: 76px 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; }
  .news-row { grid-template-columns: 1fr; gap: 16px; }
  .rel-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .spec-row { grid-template-columns: 104px 1fr; gap: 12px; }
  .detail-actions .btn { width: 100%; }
  .section-title { font-size: clamp(26px, 6vw, 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ----------------------------- back to top --------------------------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 42px; height: 42px; border-radius: 2px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.92);
  color: var(--ink); font-size: 15px; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: 0.3s var(--ease); backdrop-filter: blur(6px);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* print */
@media print {
  .site-header, .topbar, .hero-actions, .contact-form-wrap, .site-footer { display: none !important; }
  body { color: #000; }
}
