/* ============================================================
   泰安冠诺 · Prototype v3
   Typography · Industrial craft · Motion (Emil-informed)
   ============================================================ */

/* Fonts loaded via <link> in HTML (not @import) to avoid render-block + swap jump.
   CJK: system fonts first — no web-font metric swap on Chinese text. */

:root {
  /* —— Color: industrial paper + carbon + crane amber —— */
  --ink: #0c0f14;
  --ink-soft: #1a2029;
  --steel: #5c6570;
  --steel-light: #8a939e;
  --paper: #f0eee8;
  --paper-2: #e5e2da;
  --surface: #f8f7f4;
  --white: #fdfcf9;
  --line: rgba(12, 15, 20, 0.09);
  --line-strong: rgba(12, 15, 20, 0.16);
  --amber: #c99412;
  --amber-hot: #dfab28;
  --amber-soft: rgba(201, 148, 18, 0.14);
  --amber-ink: #6a4c0a;

  /* —— Type: system CJK first (stable), Latin web fonts optional —— */
  --font-display: "Outfit", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", "Segoe UI Mono", ui-monospace, monospace;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.35rem, 2.2vw, 1.65rem);
  --text-2xl: clamp(1.65rem, 2.8vw, 2.15rem);
  --text-3xl: clamp(2rem, 4.2vw, 3.25rem);
  --text-4xl: clamp(2.35rem, 5.4vw, 4rem);

  /* Motion curves (Emil: strong ease-out, never ease-in for UI) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-ui: 220ms;
  --dur-enter: 560ms;
  --dur-reveal: 720ms;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 70px;
  --shadow: 0 28px 56px -24px rgba(12, 15, 20, 0.22);
  --shadow-soft: 0 10px 28px -14px rgba(12, 15, 20, 0.14);
  --shadow-amber: 0 12px 32px -12px rgba(201, 148, 18, 0.45);
}

/* EN: Latin-first body when language is English */
[data-lang="en"] {
  --font-body: "Outfit", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* Prevent FOUC when restoring EN from localStorage (see head script) */
html.i18n-pending body {
  visibility: hidden;
}

html.i18n-ready body,
html:not(.i18n-pending) body {
  visibility: visible;
}

[data-lang="en"] .hero h1,
[data-lang="en"] .page-banner h1,
[data-lang="en"] .section-head h2,
[data-lang="en"] .section-rule h2,
[data-lang="en"] .cta-band h2 {
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
}

/* ZH: CJK needs looser tracking + taller line-height */
[data-lang="zh"] .hero h1,
[data-lang="zh"] .page-banner h1,
[data-lang="zh"] .section-head h2,
[data-lang="zh"] .section-rule h2,
[data-lang="zh"] .cta-band h2,
[data-lang="zh"] .about-content h2,
[data-lang="zh"] .detail-info h1,
[data-lang="zh"] .bento-card h3,
[data-lang="zh"] .prod-body h3,
[data-lang="zh"] .feat-item h3 {
  letter-spacing: 0.01em;
  line-height: 1.28;
  font-weight: 700;
}

[data-lang="zh"] body {
  letter-spacing: 0.01em;
}

[data-lang="zh"] .hero-desc,
[data-lang="zh"] .section-head p,
[data-lang="zh"] .about-content p,
[data-lang="zh"] .prod-body p,
[data-lang="zh"] .bento-card p {
  line-height: 1.75;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: var(--text-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Reduce reflow when optional Latin fonts arrive */
  font-synthesis: none;
}

/* Stabilize heading size across fallback / web font */
h1, h2, h3, .logo-text strong {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  /* Hint browser to decode off main thread when supported via attr */
  background-color: var(--paper-2);
}

/* Soft placeholder while image paints (avoids white flash) */
.prod-thumb,
.hero-panel-img,
.bento-card.has-media .bento-bg,
.about-visual-frame,
.detail-main,
.page-banner.has-img .banner-bg {
  background: linear-gradient(135deg, var(--paper-2), var(--paper));
}



a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--amber-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

/* ========== Topbar ========== */
.topbar {
  background: var(--ink);
  color: rgba(253, 252, 249, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: 34px;
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

[data-lang="zh"] .topbar {
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

[data-lang="zh"] .topbar-left {
  letter-spacing: 0.02em;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(253, 252, 249, 0.16);
  padding: 2px;
}

.lang-switch button {
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: rgba(253, 252, 249, 0.48);
  transition: color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out),
    transform var(--dur-press) var(--ease-out);
}

.lang-switch button:active {
  transform: scale(0.97);
}

.lang-switch button.active {
  background: var(--amber);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .lang-switch button:hover:not(.active) {
    color: #fff;
  }
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(240, 238, 232, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  transition: height var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out),
    background var(--dur-ui) var(--ease-out);
}

.header.is-scrolled {
  height: 60px;
  background: rgba(240, 238, 232, 0.94);
  box-shadow: 0 8px 24px -16px rgba(12, 15, 20, 0.18);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: transform var(--dur-ui) var(--ease-out);
}

.logo:hover .logo-mark {
  transform: scale(1.04);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

[data-lang="zh"] .logo-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-text small {
  font-size: 11px;
  color: var(--steel);
  font-weight: 500;
  margin-top: 2px;
}

[data-lang="en"] .logo-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--dur-ui) var(--ease-out);
}

[data-lang="zh"] .nav a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}

.nav a.active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.active {
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--ink);
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========== Buttons & Links (unified action system) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform var(--dur-press) var(--ease-out), background var(--dur-ui) var(--ease-out),
    border-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out),
    box-shadow var(--dur-ui) var(--ease-out);
}

[data-lang="zh"] .btn {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.btn:active {
  transform: scale(0.97);
}

.btn .btn-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(12, 15, 20, 0.08);
  flex-shrink: 0;
  transition: transform var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out);
}

.btn .btn-ico svg {
  width: 14px;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-ico {
    transform: translateX(3px);
  }
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--amber-hot);
    box-shadow: var(--shadow-amber);
  }
}

.btn-primary .btn-ico {
  background: rgba(12, 15, 20, 0.12);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover {
    background: var(--ink-soft);
    box-shadow: var(--shadow-soft);
  }
}

.btn-ink .btn-ico {
  background: rgba(253, 252, 249, 0.1);
  color: var(--amber);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(253, 252, 249, 0.32);
  gap: 10px;
}

.btn-ghost .btn-ico {
  background: rgba(253, 252, 249, 0.1);
  color: var(--amber-hot);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    border-color: #fff;
    background: rgba(253, 252, 249, 0.08);
  }
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline .btn-ico {
  background: var(--surface);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    border-color: var(--ink);
    background: var(--white);
  }
  .btn-outline:hover .btn-ico {
    background: var(--ink);
    color: var(--amber);
  }
}

.btn-lg {
  padding: 15px 26px;
  min-height: 52px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 14px;
  min-height: 40px;
  font-size: 13px;
}

/* —— Text link with arrow (section "全部产品") —— */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 4px 8px 0;
  position: relative;
  transition: color var(--dur-ui) var(--ease-out), gap var(--dur-ui) var(--ease-out);
}

[data-lang="zh"] .link-more {
  letter-spacing: 0.06em;
}

[data-lang="en"] .link-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.link-more .link-more-ico {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out),
    transform var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}

.link-more .link-more-ico svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-ui) var(--ease-out);
}

.link-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: calc(100% - 42px);
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link-more:hover {
    color: var(--amber-ink);
    gap: 14px;
  }
  .link-more:hover .link-more-ico {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--amber);
    transform: translateX(2px);
  }
  .link-more:hover .link-more-ico svg {
    transform: translateX(1px);
  }
  .link-more:hover::after {
    transform: scaleX(1);
  }
}

.link-more:active .link-more-ico {
  transform: scale(0.96);
}

/* on dark backgrounds */
.link-more.on-dark {
  color: rgba(253, 252, 249, 0.85);
}

.link-more.on-dark .link-more-ico {
  background: transparent;
  border-color: rgba(253, 252, 249, 0.28);
  color: var(--amber-hot);
}

.link-more.on-dark::after {
  background: var(--amber);
}

@media (hover: hover) and (pointer: fine) {
  .link-more.on-dark:hover {
    color: #fff;
  }
  .link-more.on-dark:hover .link-more-ico {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
  }
}

/* —— Product card action button (查看 / View) —— */
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 4px 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out),
    color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out),
    transform var(--dur-press) var(--ease-out);
}

[data-lang="zh"] .btn-action {
  letter-spacing: 0.06em;
}

[data-lang="en"] .btn-action {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.btn-action .btn-action-ico {
  width: 28px;
  height: 28px;
  margin-left: 10px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out),
    transform var(--dur-ui) var(--ease-out);
}

.btn-action .btn-action-ico svg {
  width: 13px;
  height: 13px;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-action:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-soft);
  }
  .btn-action:hover .btn-action-ico {
    background: var(--amber);
    color: var(--ink);
  }
  .btn-action:hover .btn-action-ico svg {
    transform: translateX(2px);
  }
}

.btn-action:active {
  transform: scale(0.97);
}

/* amber filled action for primary card CTA */
.btn-action.solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-action.solid .btn-action-ico {
  background: var(--amber);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-action.solid:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
  }
  .btn-action.solid:hover .btn-action-ico {
    background: var(--ink);
    color: var(--amber);
  }
}

/* ghost action on photo cards */
.btn-action.ghost-light {
  background: rgba(253, 252, 249, 0.1);
  border-color: rgba(253, 252, 249, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-action.ghost-light .btn-action-ico {
  background: var(--amber);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-action.ghost-light:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
  }
  .btn-action.ghost-light:hover .btn-action-ico {
    background: var(--ink);
    color: var(--amber);
  }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  transition: transform var(--dur-press) var(--ease-out);
}

.menu-toggle:active {
  transform: scale(0.97);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(90dvh, 820px);
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fixed scale — no zoom-on-load (was causing perceived size jump) */
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(12, 15, 20, 0.93) 0%, rgba(12, 15, 20, 0.78) 40%, rgba(12, 15, 20, 0.32) 68%, rgba(12, 15, 20, 0.55) 100%),
    linear-gradient(to top, rgba(12, 15, 20, 0.7), transparent 42%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: end;
  padding-block: 76px 60px;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

/* Hero staggered entrance — opacity + Y only (no blur: blur looks like size jump) */
.hero-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out-soft), transform 0.55s var(--ease-out-soft);
  will-change: opacity, transform;
}

.hero.is-ready .hero-anim {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* If JS fails, content still visible after a beat */
@supports (animation: none) {
  .hero:not(.is-ready) .hero-anim {
    animation: heroFallback 0.01s 1.2s forwards;
  }
}

@keyframes heroFallback {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero.is-ready .hero-anim.d1 {
  transition-delay: 0.08s;
}
.hero.is-ready .hero-anim.d2 {
  transition-delay: 0.16s;
}
.hero.is-ready .hero-anim.d3 {
  transition-delay: 0.26s;
}
.hero.is-ready .hero-anim.d4 {
  transition-delay: 0.36s;
}
.hero.is-ready .hero-anim.d5 {
  transition-delay: 0.48s;
}
.hero.is-ready .hero-anim.d6 {
  transition-delay: 0.58s;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-hot);
  margin-bottom: 22px;
  font-weight: 500;
}

[data-lang="zh"] .hero-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  max-width: 12em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-hot);
  position: relative;
}

.hero-desc {
  font-size: var(--text-md);
  color: rgba(253, 252, 249, 0.72);
  max-width: 36em;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(253, 252, 249, 0.12);
  padding-top: 24px;
  max-width: 500px;
  gap: 0;
}

.hero-meta div {
  padding-right: 16px;
}

.hero-meta div:not(:last-child) {
  border-right: 1px solid rgba(253, 252, 249, 0.1);
  margin-right: 16px;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-meta span {
  font-size: 12px;
  color: rgba(253, 252, 249, 0.45);
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

[data-lang="en"] .hero-meta span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  justify-self: end;
  width: min(100%, 370px);
  background: rgba(253, 252, 249, 0.05);
  border: 1px solid rgba(253, 252, 249, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 8px;
  transition: transform var(--dur-enter) var(--ease-out), box-shadow var(--dur-enter) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.45);
  }
}

.hero-panel-inner {
  border: 1px solid rgba(253, 252, 249, 0.1);
  background: rgba(12, 15, 20, 0.4);
  padding: 16px;
}

.hero-panel-img {
  aspect-ratio: 16/11;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}

.hero-panel-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero-panel:hover .hero-panel-img img {
    transform: scale(1.06);
  }
}

.hero-panel-img .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
}

[data-lang="en"] .hero-panel-img .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero-panel h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-panel p {
  font-size: 13px;
  color: rgba(253, 252, 249, 0.55);
  line-height: 1.5;
}

/* ========== Marquee strip ========== */
.marquee-wrap {
  background: var(--ink);
  border-top: 1px solid rgba(253, 252, 249, 0.08);
  border-bottom: 1px solid rgba(253, 252, 249, 0.08);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 36s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 252, 249, 0.45);
  white-space: nowrap;
  font-weight: 500;
}

[data-lang="zh"] .marquee-track span {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--amber);
  opacity: 0.7;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ========== Sections ========== */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-tight {
  padding: clamp(40px, 6vw, 64px) 0;
}

.section-head {
  max-width: 34em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--steel);
  font-size: var(--text-md);
  max-width: 36em;
}

.section-head.center p {
  margin-inline: auto;
}

.section-rule {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.section-rule h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
}

.section-rule a {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  transition: color var(--dur-ui) var(--ease-out), gap var(--dur-ui) var(--ease-out);
}

[data-lang="en"] .section-rule a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .section-rule a:hover {
    color: var(--ink);
    gap: 12px;
  }
}

/* ========== Bento ========== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-enter) var(--ease-out), box-shadow var(--dur-enter) var(--ease-out),
    border-color var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
  }
}

.bento-card.span-7 {
  grid-column: span 7;
}
.bento-card.span-5 {
  grid-column: span 5;
}
.bento-card.span-4 {
  grid-column: span 4;
}
.bento-card.span-8 {
  grid-column: span 8;
}

.bento-card.has-media {
  min-height: 320px;
  color: var(--white);
  border-color: transparent;
}

.bento-card.has-media .bento-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bento-card.has-media .bento-bg img {
  width: 100%;
  height: 100%;
  transition: transform 1s var(--ease-out);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.has-media:hover .bento-bg img {
    transform: scale(1.06);
  }
}

.bento-card.has-media .bento-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 20, 0.9) 0%, rgba(12, 15, 20, 0.28) 55%, rgba(12, 15, 20, 0.12) 100%);
  transition: background var(--dur-enter) var(--ease-out);
}

.bento-card .bento-body {
  position: relative;
  z-index: 1;
  padding: 26px;
  margin-top: auto;
}

.bento-card .mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

.bento-card.has-media .mono-label {
  color: var(--amber-hot);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
  max-width: 32em;
}

.bento-card.has-media p {
  color: rgba(253, 252, 249, 0.68);
}

/* card arrow — refined fill-circle CTA */
.bento-card .arrow {
  margin-top: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out),
    transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}

.bento-card .arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scale(0);
  transition: transform 0.35s var(--ease-out);
  z-index: 0;
}

.bento-card .arrow svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-ui) var(--ease-out);
}

.bento-card.has-media .arrow {
  border-color: rgba(253, 252, 249, 0.28);
  color: var(--white);
  background: rgba(12, 15, 20, 0.28);
  backdrop-filter: blur(6px);
}

.bento-card.has-media .arrow::before {
  background: var(--amber);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .arrow {
    border-color: var(--ink);
    color: var(--amber);
    transform: translateX(3px);
    box-shadow: 0 8px 16px -8px rgba(12, 15, 20, 0.35);
  }
  .bento-card:hover .arrow::before {
    transform: scale(1);
  }
  .bento-card:hover .arrow svg {
    transform: translateX(2px);
  }
  .bento-card.has-media:hover .arrow {
    border-color: var(--amber);
    color: var(--ink);
  }
}

.bento-card.has-media .bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.bento-card.has-media .bento-foot .arrow {
  margin-top: 0;
}

.bento-card.plain {
  background: var(--surface);
}

.bento-card.plain .bento-body {
  padding: 30px 26px;
}

/* —— Illustration cards (borrowed: ref product tiles + industrial blueprint) —— */
.bento-card.illus {
  min-height: 340px;
  background: var(--white);
  padding: 0;
  display: grid !important;
  grid-template-rows: 1fr auto;
  flex-direction: unset;
  isolation: isolate;
}

.bento-card.illus .arrow {
  margin-top: 0;
  flex-shrink: 0;
}

.bento-card.illus .illus-stage {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #1a2029 0%, #0c0f14 55%, #151a22 100%);
  display: grid;
  place-items: center;
}

/* blueprint grid */
.bento-card.illus .illus-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 163, 23, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 163, 23, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* corner crosshairs — industrial registration marks */
.bento-card.illus .illus-stage::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(253, 252, 249, 0.08);
  pointer-events: none;
}

.bento-card.illus .cross {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 2;
  opacity: 0.55;
}

.bento-card.illus .cross::before,
.bento-card.illus .cross::after {
  content: "";
  position: absolute;
  background: var(--amber);
}

.bento-card.illus .cross::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 0;
}

.bento-card.illus .cross::after {
  width: 1px;
  height: 12px;
  left: 50%;
  top: 0;
}

.bento-card.illus .cross.tl { top: 10px; left: 10px; }
.bento-card.illus .cross.tr { top: 10px; right: 10px; }
.bento-card.illus .cross.bl { bottom: 10px; left: 10px; }
.bento-card.illus .cross.br { bottom: 10px; right: 10px; }

.bento-card.illus .illus-svg {
  position: relative;
  z-index: 1;
  width: min(78%, 200px);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.7s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.illus:hover .illus-svg {
    transform: translateY(-6px) scale(1.04);
  }
}

/* animated stroke draw on hover */
.bento-card.illus .draw {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  transition: stroke-dashoffset 0.9s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.illus:hover .draw {
    stroke-dashoffset: 0;
  }
}

.bento-card.illus .glow-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 148, 18, 0.28), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
  opacity: 0.7;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.illus:hover .glow-orb {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 1;
  }
}

.bento-card.illus .wm-num {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(253, 252, 249, 0.06);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  transition: color var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.illus:hover .wm-num {
    color: rgba(201, 148, 18, 0.14);
  }
}

.bento-card.illus .bento-body {
  padding: 20px 22px 22px;
  margin-top: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
}

/* accent bar under title — ref site p.desc:after pattern */
.bento-card.illus .title-bar {
  width: 28px;
  height: 2px;
  background: var(--amber);
  margin: 0 0 12px;
  transition: width var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.illus:hover .title-bar {
    width: 48px;
  }
}

.bento-card.illus h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.bento-card.illus p {
  font-size: 13.5px;
  margin-bottom: 0;
}

.bento-card.illus .illus-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.bento-card.illus .spec-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 9px;
}

[data-lang="zh"] .bento-card.illus .spec-chip {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.icon-box {
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .icon-box {
    transform: scale(1.05);
  }
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

/* —— Section dual title (ref: h2.tit + p.desc + accent bar) —— */
.sec-dual {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
}

.sec-dual .en-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.sec-dual h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  display: inline-block;
  position: relative;
  padding: 0 28px;
  background: var(--paper);
  z-index: 1;
}

.sec-dual .line-wrap {
  position: relative;
  margin-top: -18px;
  margin-bottom: 18px;
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}

.sec-dual .accent {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--amber);
  margin: 14px auto 0;
}

.sec-dual p {
  color: var(--steel);
  font-size: var(--text-md);
  max-width: 36em;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* dark features as capability tiles (ref: a_home 4-col) */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(253, 252, 249, 0.1);
  border: 1px solid rgba(253, 252, 249, 0.1);
}

.cap-tile {
  background: rgba(12, 15, 20, 0.55);
  padding: 36px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .cap-tile:hover {
    background: rgba(201, 148, 18, 0.12);
  }
}

.cap-tile .cap-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--amber);
  display: grid;
  place-items: center;
}

.cap-tile .cap-ico svg {
  width: 48px;
  height: 48px;
}

.cap-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cap-tile .cap-line {
  width: 28px;
  height: 1px;
  background: var(--amber);
  margin: 0 auto 12px;
  transition: width var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .cap-tile:hover .cap-line {
    width: 44px;
  }
}

.cap-tile p {
  font-size: 13px;
  color: rgba(253, 252, 249, 0.5);
  line-height: 1.6;
  max-width: 22em;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Product grid ========== */
.prod-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
}

.filter-btn {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  position: relative;
  transition: color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out),
    transform var(--dur-press) var(--ease-out);
}

.filters .filter-btn:last-child {
  border-right: none;
}

[data-lang="en"] .filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

[data-lang="zh"] .filter-btn {
  letter-spacing: 0.06em;
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.active {
  background: var(--ink);
  color: var(--amber);
}

.filter-btn.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--amber);
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:hover:not(.active) {
    background: var(--surface);
    color: var(--ink);
  }
}

@media (max-width: 768px) {
  .filters {
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
  }
  .filter-btn {
    border: 1px solid var(--line);
    background: var(--white);
  }
  .filter-btn.active {
    border-color: var(--ink);
  }
  .filter-btn.active::after {
    display: none;
  }
}

.prod-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  font-variant-numeric: tabular-nums;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-enter) var(--ease-out), box-shadow var(--dur-enter) var(--ease-out),
    opacity var(--dur-ui) var(--ease-out);
}

.prod-card.is-hiding {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .prod-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
  }
}

.prod-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .prod-card:hover .prod-thumb img {
    transform: scale(1.06);
  }
}

.prod-thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
}

[data-lang="en"] .prod-thumb .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.prod-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.prod-body .cat-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-ink);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

[data-lang="en"] .prod-body .cat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.prod-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.prod-body p {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.prod-foot .spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

/* product card: whole foot feels interactive on hover */
@media (hover: hover) and (pointer: fine) {
  .prod-card:hover .btn-action:not(.solid) {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .prod-card:hover .btn-action:not(.solid) .btn-action-ico {
    background: var(--amber);
    color: var(--ink);
  }
  .prod-card:hover .btn-action:not(.solid) .btn-action-ico svg {
    transform: translateX(2px);
  }
}

/* media card hover: show stronger CTA */
.bento-card.has-media .bento-body .arrow {
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card.has-media:hover .bento-body .arrow {
    opacity: 1;
  }
}

/* ========== Features ========== */
.features {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(201, 148, 18, 0.1), transparent 65%);
  pointer-events: none;
}

.features .section-head h2 {
  color: var(--white);
}

.features .section-head p {
  color: rgba(253, 252, 249, 0.52);
}

.feat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(253, 252, 249, 0.1);
  position: relative;
}

.feat-item {
  padding: 32px 28px 32px 0;
  border-right: 1px solid rgba(253, 252, 249, 0.1);
  padding-right: 28px;
  margin-right: 28px;
  transition: transform var(--dur-ui) var(--ease-out);
}

.feat-item:last-child {
  border-right: none;
  margin-right: 0;
}

@media (hover: hover) and (pointer: fine) {
  .feat-item:hover {
    transform: translateY(-3px);
  }
}

.feat-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}

.feat-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-item p {
  font-size: 14px;
  color: rgba(253, 252, 249, 0.52);
  line-height: 1.65;
}

/* ========== About split ========== */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.about-visual-frame {
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.about-visual-frame img {
  width: 100%;
  aspect-ratio: 5/4;
  filter: contrast(1.04) saturate(0.94);
  transition: transform 1s var(--ease-out);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .about-visual:hover .about-visual-frame img {
    transform: scale(1.03);
  }
}

.about-stat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  margin-top: -1px;
}

.about-stat-bar div {
  background: var(--white);
  padding: 20px 22px;
}

.about-stat-bar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.about-stat-bar span {
  font-size: 12px;
  color: var(--steel);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

[data-lang="en"] .about-stat-bar span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--steel);
  margin-bottom: 14px;
  font-size: var(--text-md);
  max-width: 36em;
}

.about-list {
  margin: 24px 0 30px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.about-list li svg {
  width: 18px;
  height: 18px;
  color: var(--amber-ink);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ========== CTA ========== */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(64px, 9vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 48%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(201, 148, 18, 0.16), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 12px;
  max-width: 12em;
}

.cta-band p {
  color: rgba(253, 252, 249, 0.55);
  font-size: var(--text-md);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== Page banner ========== */
.page-banner {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner.has-img .banner-bg {
  position: absolute;
  inset: 0;
}

.page-banner.has-img .banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(0.25);
  transform: scale(1.04);
}

.page-banner.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(12, 15, 20, 0.94), rgba(12, 15, 20, 0.68));
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: rgba(253, 252, 249, 0.42);
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-weight: 500;
}

[data-lang="en"] .breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color var(--dur-ui) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--amber);
}

/* back link under product detail */
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  margin-top: 4px;
  transition: color var(--dur-ui) var(--ease-out), gap var(--dur-ui) var(--ease-out);
}

[data-lang="en"] .link-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.link-back svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link-back:hover {
    color: var(--ink);
    gap: 12px;
  }
  .link-back:hover svg {
    transform: translateX(-3px);
  }
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(253, 252, 249, 0.58);
  max-width: 36em;
  font-size: var(--text-md);
}

/* ========== Shared pages ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  transition: box-shadow var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .info-card:hover {
    box-shadow: var(--shadow-soft);
  }
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-rows {
  display: grid;
  gap: 16px;
}

.info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 14px;
}

.info-row dt {
  font-size: 12px;
  color: var(--steel);
  font-weight: 500;
  padding-top: 2px;
}

[data-lang="en"] .info-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-row dd {
  font-weight: 600;
  line-height: 1.5;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  padding-bottom: 28px;
  position: relative;
}

.timeline-item:not(:last-child) .tl-dot::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.tl-dot {
  width: 20px;
  height: 20px;
  border: 2px solid var(--amber);
  background: var(--amber-soft);
  position: relative;
}

.tl-content span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber-ink);
  text-transform: uppercase;
  font-weight: 500;
}

.tl-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 6px 0 6px;
}

.tl-content p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
  }
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item .ci-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.55;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-card > p {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 26px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-group label .req {
  color: #b91c1c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out),
    background var(--dur-ui) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.form-group textarea {
  min-height: 124px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--steel-light);
  margin-top: 14px;
  line-height: 1.5;
}

[data-lang="en"] .form-note {
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ========== Detail ========== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-gallery {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.detail-main {
  aspect-ratio: 4/3;
  background: var(--paper-2);
  overflow: hidden;
}

.detail-main img {
  width: 100%;
  height: 100%;
  transition: opacity var(--dur-ui) var(--ease-out), transform 0.6s var(--ease-out);
}

.detail-main img.is-switching {
  opacity: 0.4;
  transform: scale(1.02);
}

.detail-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.detail-thumbs button {
  width: 72px;
  height: 54px;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.65;
  padding: 0;
  transition: opacity var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out),
    transform var(--dur-press) var(--ease-out);
}

.detail-thumbs button:active {
  transform: scale(0.97);
}

.detail-thumbs button img {
  width: 100%;
  height: 100%;
}

.detail-thumbs button.active,
.detail-thumbs button:hover {
  border-color: var(--amber);
  opacity: 1;
}

.detail-info .cat-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-ink);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

[data-lang="en"] .detail-info .cat-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 12px;
}

.detail-info .lead {
  color: var(--steel);
  margin-bottom: 26px;
  font-size: var(--text-md);
  line-height: 1.7;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
  font-size: 14px;
}

.spec-table tr {
  border-bottom: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 14px 0;
  text-align: left;
}

.spec-table th {
  width: 36%;
  font-size: 12px;
  color: var(--steel);
  font-weight: 500;
}

[data-lang="en"] .spec-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table td {
  font-weight: 600;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.detail-tabs {
  margin-top: 52px;
  background: var(--white);
  border: 1px solid var(--line);
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
}

.tab-nav button {
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out);
}

.tab-nav button.active {
  color: var(--ink);
  border-bottom-color: var(--amber);
  background: var(--white);
}

.tab-panel {
  display: none;
  padding: 30px;
  color: var(--steel);
  line-height: 1.75;
}

.tab-panel.active {
  display: block;
  animation: tabIn 280ms var(--ease-out);
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tab-panel h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.tab-panel ul {
  margin: 12px 0;
  padding-left: 18px;
}

.tab-panel ul li {
  list-style: disc;
  margin-bottom: 6px;
}

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: rgba(253, 252, 249, 0.58);
  padding-top: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(253, 252, 249, 0.1);
}

.footer-brand .logo-mark {
  margin-bottom: 16px;
}

.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 28em;
}

.footer h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}

[data-lang="en"] .footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  font-size: 14px;
  transition: color var(--dur-ui) var(--ease-out), padding-left var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--amber);
    padding-left: 4px;
  }
}

.footer-contact li {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(253, 252, 249, 0.32);
}

[data-lang="en"] .footer-bottom {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ========== Proto / toast / mobile ========== */
.proto-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(253, 252, 249, 0.1);
  box-shadow: var(--shadow);
}

.proto-badge i {
  width: 7px;
  height: 7px;
  background: var(--amber);
  display: block;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
  z-index: 1000;
  border-left: 3px solid var(--amber);
  max-width: min(90vw, 420px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(34px + var(--nav-h));
  background: var(--paper);
  z-index: 90;
  padding: 20px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: flex;
  animation: menuIn 320ms var(--ease-drawer);
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-nav a {
  padding: 16px 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 20px;
}

/* ========== Reveal system ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out-soft), transform 0.6s var(--ease-out-soft);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* image clip reveal variant */
.reveal-clip {
  clip-path: inset(8% 0 8% 0);
  opacity: 0;
  transition: clip-path 0.9s var(--ease-out-soft), opacity 0.7s var(--ease-out);
}

.reveal-clip.in {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px 40px;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .hero h1 {
    max-width: none;
  }

  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8 {
    grid-column: span 6;
  }

  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-row {
    grid-template-columns: 1fr 1fr;
  }

  .feat-item {
    border-right: none;
    margin-right: 0;
    border-bottom: 1px solid rgba(253, 252, 249, 0.1);
    padding: 24px 16px 24px 0;
  }

  .about-split,
  .about-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .topbar-left span:nth-child(2) {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8 {
    grid-column: span 1;
  }

  .prod-grid,
  .feat-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta div:nth-child(3) {
    grid-column: span 2;
    border-right: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(253, 252, 249, 0.12);
  }

  .hero {
    min-height: auto;
  }

  .section-rule {
    flex-direction: column;
    align-items: flex-start;
  }
}
