@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #050505;
  --black-soft: #0b0c0d;
  --surface: #121314;
  --surface-raised: #191a1c;
  --paper: #eee9df;
  --paper-soft: #f6f3ec;
  --ink: #17191b;
  --white: #f8f7f3;
  --muted-light: #a8aaad;
  --muted-dark: #686b70;
  --line-dark: #2d2f32;
  --line-light: #d8d2c6;
  --gold: #e5c98e;
  --gold-strong: #d4a53a;
  --gold-dark: #765318;
  --shell: 1240px;
  --header-height: 92px;
  --shadow: 0 24px 80px rgb(0 0 0 / 20%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

html[lang="en"],
html[lang="de"] {
  hyphens: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.preview-banner {
  position: relative;
  z-index: 100;
  padding: 9px 20px;
  color: #171717;
  background: var(--gold-strong);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

body:has(.gallery-dialog[open]) {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  padding: 0;
  color: var(--black);
  background: var(--gold);
  white-space: nowrap;
}

.skip-link:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  padding: 12px 18px;
  white-space: normal;
}

@media (hover: hover) and (pointer: fine) {
  .skip-link:focus {
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    padding: 12px 18px;
    white-space: normal;
  }
}

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-dark);
  padding: 0 max(28px, calc((100vw - 1640px) / 2));
  color: var(--white);
  background: var(--black);
}

.brand-link {
  display: flex;
  align-items: center;
  width: 196px;
  overflow: hidden;
}

.brand-link img {
  width: 196px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.7vw, 29px);
  min-width: 0;
  padding-inline: 28px;
}

.desktop-nav a {
  position: relative;
  padding-block: 36px 32px;
  color: #d0d1d2;
  font: 600 14px/1 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: .035em;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 2px;
  scale: 0 1;
  background: var(--gold);
  content: "";
  transform-origin: right;
  transition: scale 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--gold);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  scale: 1;
  transform-origin: left;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.language-switcher {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.language-switcher a {
  color: #898c90;
  font: 600 12px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .08em;
}

.language-switcher a + a::before {
  margin-right: 7px;
  color: #4a4c4e;
  content: "/";
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  color: var(--gold);
}

.header-contact {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--gold-strong);
  padding: 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.header-contact:hover {
  color: var(--black);
  background: var(--gold);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 10px 0 10px 10px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-button > span:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 24px;
  height: 1px;
  background: currentcolor;
  content: "";
  transition: transform 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -7px;
}

.menu-lines::after {
  position: absolute;
  top: 7px;
}

.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 20;
  border-top: 1px solid var(--line-dark);
  padding: 20px max(24px, calc((100vw - var(--shell)) / 2)) 28px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.mobile-nav:not([hidden]) {
  display: grid;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
  color: #dedede;
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] {
  color: var(--gold);
}

.mobile-nav .mobile-contact {
  margin-top: 16px;
  border: 1px solid var(--gold-strong);
  padding: 14px;
  color: var(--gold);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold-strong);
  font: 600 13px/1.1 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  display: inline-grid;
  place-items: center;
  min-height: 50px;
  border: 1px solid transparent;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-gold {
  color: var(--black);
  background: var(--gold);
}

.button-gold:hover {
  background: #f2dcac;
}

.button-ghost {
  border-color: #77797c;
  color: var(--white);
  background: rgb(5 5 5 / 16%);
}

.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  transition: translate 160ms ease;
}

.text-link:hover span {
  translate: 3px -3px;
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 84%) 0%, rgb(0 0 0 / 55%) 48%, rgb(0 0 0 / 24%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 50%), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-height));
  padding-block: 96px 110px;
}

.hero-content h1,
.page-hero h1,
.category-hero h1 {
  max-width: 900px;
  margin: 18px 0 22px;
  font: 700 clamp(56px, 7.3vw, 96px)/.9 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: uppercase;
}

html[lang="de"] .hero-content h1,
html[lang="de"] .page-hero h1,
html[lang="de"] .category-hero h1 {
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.hero-slogan {
  max-width: 780px;
  margin: 0;
  color: var(--gold);
  font: 600 clamp(20px, 2.3vw, 31px)/1.25 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: -.01em;
}

.hero-copy {
  max-width: 620px;
  margin: 20px 0 0;
  color: #c8c9cb;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.scroll-cue {
  position: absolute;
  right: max(32px, calc((100vw - var(--shell)) / 2));
  bottom: 28px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 72px;
  border: 1px solid rgb(255 255 255 / 35%);
}

.scroll-cue span {
  width: 1px;
  height: 24px;
  background: var(--gold);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: .35;
    transform: translateY(-8px);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .5fr);
  gap: 20px 80px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.feature-copy h2,
.contact-band h2,
.narrow-content h2 {
  margin: 0;
  font: 700 clamp(40px, 5.2vw, 72px)/.98 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-transform: uppercase;
}

.section-heading > p:last-child,
.feature-copy > p,
.contact-band p,
.narrow-content > p,
.category-body {
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.85;
  max-width: 72ch;
  text-wrap: pretty;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #f9f7f1;
}

.category-card > a {
  display: block;
}

.category-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.25;
  background: #292a2c;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
  transition: scale 520ms cubic-bezier(.2, .7, .2, 1), filter 300ms ease;
}

.category-card:hover .category-media img {
  scale: 1.035;
  filter: saturate(.9);
}

.category-copy {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 26px;
}

.product-number {
  color: var(--gold-dark);
  font: 600 13px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .12em;
}

.category-copy strong {
  font: 700 clamp(26px, 2.4vw, 38px)/1.05 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.category-copy > span:not(.category-index, .text-link) {
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.7;
}

.category-copy .text-link {
  align-self: end;
  margin-top: auto;
}

.dark-panel {
  color: var(--white);
  background: var(--black-soft);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
}

.split-feature-reverse {
  grid-template-columns: minmax(480px, 1.2fr) minmax(0, .8fr);
}

.feature-copy {
  display: grid;
  gap: 24px;
}

.dark-panel .feature-copy > p {
  color: var(--muted-light);
}

.dark-panel .text-link {
  color: var(--gold);
}

.feature-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.25;
  background: #202123;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media figcaption,
.factory-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgb(229 201 142 / 45%);
  padding: 7px 9px;
  color: var(--gold);
  background: rgb(5 5 5 / 76%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-band {
  padding-block: clamp(64px, 7vw, 98px);
  color: var(--white);
  background: var(--surface);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-band-inner > div {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.contact-band h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.contact-band p {
  max-width: 620px;
  color: var(--muted-light);
}

.page-hero {
  min-height: min(650px, calc(100svh - var(--header-height)));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: min(650px, calc(100svh - var(--header-height)));
  padding-block: 90px 72px;
}

.page-hero-content h1 {
  max-width: 1020px;
  margin-bottom: 20px;
  font-size: clamp(56px, 7vw, 96px);
}

html[lang="zh"] .page-hero.about-hero h1 {
  line-height: 1.16;
  letter-spacing: 0;
}

.page-hero-content > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #c5c6c8;
  font-size: 16px;
  line-height: 1.75;
}

.page-content-section {
  min-height: 420px;
}

.narrow-content {
  width: min(calc(100% - 64px), 880px);
}

.narrow-content h2 {
  margin-top: 56px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.narrow-content h2:first-child {
  margin-top: 0;
}

.narrow-content > p {
  margin-top: 24px;
  font-size: 17px;
}

.inline-cta {
  margin-top: 64px;
  border-top: 3px solid var(--gold-strong);
  padding: 34px 38px;
  background: var(--paper);
}

.inline-cta h2 {
  margin-top: 0;
}

.inline-cta p {
  color: var(--muted-dark);
  line-height: 1.8;
}

.inline-cta .button {
  margin-top: 18px;
}

.legal-document {
  display: grid;
  gap: 38px;
}

.legal-document .legal-lead,
.legal-section p,
.legal-effective-date {
  max-width: 72ch;
  margin: 0;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.85;
  text-wrap: pretty;
}

.cookie-notice-body {
  max-width: 72ch;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

.legal-section {
  display: grid;
  gap: 14px;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
  text-transform: none;
}

.legal-section h2 span {
  color: var(--gold-dark);
}

.legal-effective-date {
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
  color: var(--ink);
  font-weight: 700;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 44px;
  color: var(--ink);
  background: var(--line-light);
  font-style: normal;
}

.contact-details p {
  min-height: 60px;
  margin: 0;
  padding: 18px;
  background: var(--paper);
  overflow-wrap: anywhere;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
  border-top: 3px solid var(--gold-strong);
  padding: 34px;
  background: var(--paper);
}

.inquiry-form .form-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.inquiry-form .form-field:has(textarea),
.inquiry-form .form-field:has(input[type="file"]),
.inquiry-form .form-privacy,
.inquiry-form > .button,
.inquiry-form > .form-errors {
  grid-column: 1 / -1;
}

.inquiry-form label {
  font-size: 13px;
  font-weight: 700;
}

.inquiry-form input:not([type="checkbox"]),
.inquiry-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfc8bc;
  border-radius: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper-soft);
}

.inquiry-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.65;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 3px solid rgb(212 165 58 / 24%);
  border-color: var(--gold-dark);
}

.inquiry-form input[type="file"] {
  padding: 18px;
  background: var(--paper-soft);
}

.file-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.file-upload input[type="file"] {
  min-width: 0;
  max-width: 100%;
}

.file-upload-button,
.file-upload-status {
  display: none;
}

.file-upload.is-enhanced .file-upload-button {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid var(--gold-strong);
  border-radius: 0;
  padding: 10px 16px;
  color: var(--gold);
  background: var(--black-soft);
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.file-upload.is-enhanced .file-upload-button:hover {
  color: var(--black);
  background: var(--gold);
}

.file-upload.is-enhanced .file-upload-status {
  display: block;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.file-upload.is-enhanced input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  padding: 0;
  white-space: nowrap;
}

.file-upload.is-enhanced:focus-within .file-upload-button {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

.inquiry-form .errorlist {
  margin: 0;
  padding: 9px 11px;
  color: #8a2f2a;
  background: #fbe8e6;
  font-size: 12px;
  list-style: none;
}

.form-help,
.form-privacy {
  margin: 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.form-consent > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--gold-dark);
}

.form-errors,
.inquiry-success {
  margin: 28px 0;
  border-top: 3px solid #a23c37;
  padding: 22px 24px;
  color: #762d29;
  background: #fbe8e6;
}

.form-errors p,
.inquiry-success p { margin: 0; }

.inquiry-success {
  border-color: #43805d;
  color: #28563e;
  background: #e4f0e8;
}

.inquiry-success h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.factory-heading {
  grid-template-columns: minmax(0, .75fr) minmax(280px, .6fr);
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(260px, 28vw));
  gap: 16px;
}

.factory-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 64px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #36383b;
  background: #080808;
}

.quality-fixed-card {
  grid-template-rows: minmax(0, 1fr) 76px;
}

.factory-card-wide {
  grid-row: 1 / 3;
}

.factory-card > button {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #202123;
  cursor: zoom-in;
}

.factory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-fixed-card.factory-card-wide > .quality-report-stage {
  display: grid;
  place-items: start;
  overflow: auto;
  background: #fff;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold-dark) #e4e4e2;
  scrollbar-width: thin;
}

.quality-fixed-card.factory-card-wide > .quality-report-stage > img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  padding: 0;
  object-position: top center;
}

.quality-window-stage {
  min-height: 0;
  overflow: hidden;
}

.quality-window-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.quality-window-stage .product-carousel-control {
  width: 36px;
  height: 48px;
}

.quality-window-stage .product-image-counter {
  bottom: 12px;
  left: 12px;
}

.quality-fixed-card figcaption {
  position: static;
  display: grid;
  grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0 18px;
  color: var(--white);
  background: #080808;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.quality-fixed-card figcaption strong {
  font-weight: 600;
}

.quality-fixed-card figcaption span {
  color: var(--gold);
  font-size: 10px;
  white-space: nowrap;
}

.quality-card-thumbnails {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-color: var(--gold-dark) #252628;
  scrollbar-width: thin;
}

.quality-card-thumbnail {
  flex: 0 0 56px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #4a4c4f;
  padding: 0;
  background: #252628;
  cursor: pointer;
}

.quality-card-thumbnail:hover,
.quality-card-thumbnail[aria-current="true"] {
  border-color: var(--gold);
}

.quality-card-thumbnail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.quality-card-thumbnail img {
  width: 100%;
  height: 100%;
  padding: 2px;
  background: #202123;
  object-fit: contain;
}

.quality-gallery-summary {
  margin: 16px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  text-align: right;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(82px, 10vw, 140px);
  color: var(--white);
  background: var(--black);
}

.category-hero > .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 5 5 / 96%), rgb(5 5 5 / 72%));
}

.category-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  gap: 48px;
  align-items: end;
}

.category-hero h1 {
  margin-bottom: 0;
}

.category-hero-inner > p {
  margin: 0 0 6px;
  color: #c2c4c7;
  font-size: 16px;
  line-height: 1.8;
}

.product-list-section {
  background: var(--paper);
}

.category-body {
  max-width: 760px;
  margin-bottom: 48px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #ccc5b8;
  background: var(--paper-soft);
}

.product-gallery-stage {
  position: relative;
  background: #262729;
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.55;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #262729;
  cursor: zoom-in;
}

.product-image-button img,
.product-image-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-button img {
  transition: scale 500ms cubic-bezier(.2, .7, .2, 1);
}

.product-image-button:hover img {
  scale: 1.03;
}

.product-image-static {
  overflow: hidden;
  aspect-ratio: 1.55;
  background: #262729;
}

.product-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 58px;
  border: 1px solid rgb(255 255 255 / 34%);
  color: var(--white);
  background: rgb(5 5 5 / 72%);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  translate: 0 -50%;
}

.product-carousel-control:hover,
.product-carousel-control:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.product-carousel-previous { left: 12px; }
.product-carousel-next { right: 12px; }

.product-image-counter {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 34%);
  padding: 8px 10px;
  color: var(--white);
  background: rgb(5 5 5 / 72%);
  font: 600 11px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .08em;
  pointer-events: none;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #171819;
  scrollbar-color: var(--gold-dark) #252628;
  scrollbar-width: thin;
}

.product-thumbnail {
  flex: 0 0 68px;
  overflow: hidden;
  aspect-ratio: 1.35;
  border: 1px solid transparent;
  padding: 0;
  background: #252628;
  cursor: zoom-in;
}

.product-thumbnail[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgb(255 255 255 / 45%);
  padding: 8px 10px;
  background: rgb(5 5 5 / 72%);
  font-size: 10px;
  font-weight: 700;
}

.product-copy {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 30px;
}

.product-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-copy h2 {
  margin: 18px 0 12px;
  font: 700 clamp(28px, 3vw, 42px)/1 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.product-copy > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.75;
}

.product-copy h3 {
  margin: 28px 0 12px;
  color: var(--gold-dark);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.parameter-list {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.parameter-list > div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 1.2fr;
  gap: 18px;
  border-bottom: 1px solid var(--line-light);
  padding: 12px 0;
}

.parameter-list dt,
.parameter-list dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.parameter-list dt {
  color: var(--muted-dark);
}

.parameter-list dd {
  font-weight: 600;
  text-align: right;
}

.gallery-dialog {
  width: min(1384px, calc(100vw - 56px));
  max-width: none;
  height: min(952px, calc(100svh - 48px));
  max-height: none;
  border: 1px solid #3d3f42;
  padding: 0;
  color: var(--white);
  background: var(--black-soft);
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgb(0 0 0 / 86%);
}

.gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) minmax(72px, auto);
  align-items: center;
  height: 64px;
  border-bottom: 1px solid var(--line-dark);
}

.gallery-counter {
  padding-left: 20px;
  color: var(--gold);
  font: 600 13px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .1em;
}

.gallery-title {
  overflow: hidden;
  padding-inline: 16px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-toolbar button,
.gallery-controls > button {
  border: 0;
  padding: 0 20px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.gallery-controls > button {
  font-size: 28px;
}

.gallery-stage {
  height: calc(100% - 180px);
  overflow: auto;
  padding: 24px;
  background: #111315;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold-dark) #222;
  scrollbar-width: thin;
}

.gallery-stage img {
  width: min(1120px, 100%);
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
}

.gallery-dialog[data-quality-gallery-dialog].is-document-gallery {
  width: 100vw;
  height: 100svh;
  margin: 0;
  border: 0;
}

.gallery-dialog[data-quality-gallery-dialog].is-document-gallery .gallery-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(8px, 1.5vw, 20px);
  background: #e7e7e5;
}

.gallery-dialog[data-quality-gallery-dialog].is-document-gallery .gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 220px);
  margin: 0;
}

.gallery-dialog[data-quality-gallery-dialog].is-long-document-gallery {
  width: 100vw;
  height: 100svh;
}

.gallery-dialog[data-quality-gallery-dialog].is-long-document-gallery .gallery-stage {
  place-items: start center;
  overflow: auto;
}

.gallery-dialog[data-quality-gallery-dialog].is-long-document-gallery .gallery-stage img {
  width: min(100%, 1200px);
  height: auto;
  max-height: none;
}

.gallery-dialog[data-quality-gallery-dialog] {
  width: 100vw;
  height: 100svh;
  margin: 0;
  border: 0;
}

.gallery-dialog[data-quality-gallery-dialog] .gallery-stage {
  background: #e7e7e5;
}

.gallery-dialog[data-quality-gallery-dialog] .gallery-stage img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 116px;
  border-top: 1px solid var(--line-dark);
}

.gallery-thumbnails {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-color: var(--gold-dark) #222;
  scrollbar-width: thin;
}

.gallery-thumbnails button {
  flex: 0 0 94px;
  border: 1px solid transparent;
  padding: 0;
  background: #222;
  cursor: pointer;
}

.gallery-thumbnails button[aria-current="true"] {
  border-color: var(--gold);
}

.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  padding: 4px;
  background: #242526;
  object-fit: contain;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 80px;
  align-items: end;
  border-top: 1px solid var(--line-dark);
  padding: 58px max(32px, calc((100vw - var(--shell)) / 2)) 34px;
  color: #b8babd;
  background: var(--black);
}

.footer-brand img {
  width: 190px;
}

.footer-brand-name {
  display: block;
  margin-top: 14px;
  color: var(--white);
  font: 600 14px/1.2 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: .08em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 20px;
  font-size: 12px;
}

.footer-cookie-settings {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-links a:hover,
.footer-cookie-settings:hover {
  color: var(--gold);
}

.cookie-consent {
  position: fixed;
  right: max(20px, calc((100vw - var(--shell)) / 2));
  bottom: 20px;
  left: max(20px, calc((100vw - var(--shell)) / 2));
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, auto);
  gap: 28px;
  align-items: center;
  border-top: 2px solid var(--gold-strong);
  padding: 24px;
  color: var(--white);
  background: var(--black-soft);
  box-shadow: 0 20px 70px rgb(0 0 0 / 42%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.cookie-consent-copy h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font: 600 27px/1.1 "Barlow Condensed", "Noto Sans SC", sans-serif;
  letter-spacing: .02em;
  text-transform: none;
}

.cookie-consent-copy p {
  max-width: 72ch;
  margin: 0;
  color: #c4c6c8;
  font-size: 14px;
  line-height: 1.7;
}

.cookie-consent-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cookie-consent-actions button {
  min-height: 52px;
  border: 1px solid var(--gold);
  padding: 10px 16px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 160ms ease, background-color 160ms ease;
}

.cookie-consent-actions button:hover {
  color: var(--black);
  background: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

@media (max-width: 1439px) {
  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 28px;
  }

  .header-actions {
    grid-column: 3;
  }
}

@media (min-width: 821px) {
  html[lang="en"] .hero-content h1,
  html[lang="en"] .page-hero h1,
  html[lang="en"] .category-hero h1,
  html[lang="de"] .hero-content h1,
  html[lang="de"] .page-hero h1,
  html[lang="de"] .category-hero h1 {
    line-height: 1.06;
    letter-spacing: -.02em;
  }

  html[lang="en"] .section-heading h2,
  html[lang="en"] .feature-copy h2,
  html[lang="en"] .contact-band h2,
  html[lang="en"] .narrow-content h2,
  html[lang="en"] .product-copy h2,
  html[lang="de"] .section-heading h2,
  html[lang="de"] .feature-copy h2,
  html[lang="de"] .contact-band h2,
  html[lang="de"] .narrow-content h2,
  html[lang="de"] .product-copy h2 {
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  html[lang="zh"] .home-hero .hero-content h1 {
    line-height: 1.08;
    letter-spacing: -.02em;
  }

  .split-feature {
    height: clamp(380px, 43vw, 570px);
    align-items: stretch;
  }

  .split-feature .feature-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .split-feature .feature-copy {
    min-height: 0;
    max-height: 100%;
    align-content: start;
    overflow-y: auto;
    padding: 12px 14px 12px 0;
    overscroll-behavior: contain;
    scrollbar-color: var(--gold-dark) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  html[lang="en"] .about-feature .feature-copy h2,
  html[lang="de"] .about-feature .feature-copy h2 {
    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.08;
  }

  html[lang="en"] .about-feature .feature-copy > p,
  html[lang="de"] .about-feature .feature-copy > p {
    font-size: 16px;
    line-height: 1.875;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    padding-inline: 28px;
  }

  .brand-link,
  .brand-link img {
    width: 180px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    grid-column: 3;
  }

  .split-feature,
  .split-feature-reverse {
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
  }
}

@media (max-width: 820px) {
  .shell,
  .narrow-content {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header {
    padding-inline: 20px;
  }

  .language-switcher a {
    font-size: 11px;
  }

  .hero-content h1,
  .page-hero h1,
  .category-hero h1 {
    font-size: clamp(44px, 11vw, 60px);
    line-height: 1.05;
    letter-spacing: -.02em;
  }

  html[lang="zh"] .hero-content h1,
  html[lang="zh"] .page-hero h1,
  html[lang="zh"] .category-hero h1 {
    line-height: 1.08;
    letter-spacing: 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact-band h2,
  .narrow-content h2 {
    line-height: 1.06;
    letter-spacing: -.02em;
  }

  html[lang="zh"] .section-heading h2,
  html[lang="zh"] .feature-copy h2,
  html[lang="zh"] .contact-band h2,
  html[lang="zh"] .narrow-content h2 {
    line-height: 1.1;
    letter-spacing: 0;
  }

  .section-heading,
  .category-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-media {
    aspect-ratio: 1.55;
  }

  .category-copy {
    min-height: 220px;
  }

  .split-feature,
  .split-feature-reverse {
    grid-template-columns: 1fr;
    height: auto;
  }

  .split-feature .feature-copy {
    max-height: none;
    overflow: visible;
    padding: 0;
    scrollbar-gutter: auto;
  }

  .split-feature-reverse .feature-media {
    order: 2;
  }

  .contact-band-inner {
    align-items: start;
    flex-direction: column;
  }

  .factory-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(280px, 65vw));
  }

  .factory-card-wide {
    grid-row: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-inline: 20px;
  }

  .footer-links {
    justify-content: start;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 74px;
  }

  .brand-link,
  .brand-link img {
    width: 144px;
  }

  .header-actions {
    gap: 12px;
  }

  .language-switcher {
    gap: 4px;
  }

  .language-switcher a + a::before {
    margin-right: 4px;
  }

  .menu-button > span:first-child {
    display: none;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 20px 16px;
    max-height: calc(100vh - 24px);
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr;
  }

  .hero-content {
    justify-content: end;
    padding-block: 90px 72px;
  }

  .hero-slogan {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact-band h2,
  .narrow-content h2 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.1;
    letter-spacing: -.01em;
  }

  html[lang="zh"] .section-heading h2,
  html[lang="zh"] .feature-copy h2,
  html[lang="zh"] .contact-band h2,
  html[lang="zh"] .narrow-content h2 {
    line-height: 1.14;
    letter-spacing: 0;
  }

  .category-copy {
    padding: 22px;
  }

  .feature-media {
    aspect-ratio: .95;
  }

  .page-hero-content {
    padding-block: 78px 56px;
  }

  .product-copy {
    padding: 22px 20px 26px;
  }

  .product-heading {
    align-items: start;
    flex-direction: column;
  }

  .parameter-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .parameter-list dd {
    text-align: left;
  }

  .gallery-dialog {
    width: 100vw;
    height: 100svh;
    margin: 0;
  }

  .gallery-toolbar {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
  }

  .gallery-title {
    padding-inline: 6px;
    font-size: 12px;
  }

  .gallery-stage {
    padding: 12px;
  }

  .gallery-controls {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .gallery-thumbnails {
    display: flex;
    padding-inline: 6px;
  }

  .gallery-toolbar button,
  .gallery-controls > button {
    padding-inline: 10px;
  }

  .product-carousel-control {
    width: 38px;
    height: 50px;
  }

  .quality-fixed-card {
    grid-template-rows: minmax(0, 1fr) 112px;
  }

  .quality-fixed-card figcaption {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 58px;
    gap: 4px 12px;
    padding: 8px 12px 6px;
  }

  .quality-card-thumbnails {
    grid-column: 1 / -1;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .inquiry-form .form-field {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
