@font-face {
  font-family: "Enkev Editorial";
  src: url("/assets/fonts/CormorantGaramond-Variable.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Enkev Sans";
  src: url("/assets/fonts/Manrope-Variable.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f1eee6;
  --paper-bright: #faf8f2;
  --paper-muted: #ded9cd;
  --forest: #12392f;
  --forest-deep: #0a2b24;
  --forest-soft: #285548;
  --ink: #17221e;
  --ink-soft: #4f5b56;
  --line: rgba(23, 34, 30, 0.22);
  --line-light: rgba(250, 248, 242, 0.28);
  --coir: #9f573b;
  --coir-deep: #743b29;
  --flax: #c8a76c;
  --moss: #687b59;
  --wool: #c9c6bc;
  --error: #9f2e2e;
  --success: #27724c;
  --warning: #9a6615;
  --display: "Enkev Editorial", "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "Enkev Sans", Inter, "Segoe UI", sans-serif;
  --header-height: 88px;
  --gutter: clamp(20px, 4vw, 64px);
  --content: 1440px;
  --reading: 70ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--paper);
  color: var(--ink);
}

html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open { overflow: hidden; }

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

::selection { color: var(--paper-bright); background: var(--coir-deep); }

:focus-visible {
  outline: 3px solid var(--flax);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper-bright);
  background: var(--forest-deep);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.shell { min-height: 100vh; }

.content-width {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.boot-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  gap: 32px;
  background: var(--forest);
  color: var(--paper-bright);
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.brand-lockup strong {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-lockup span {
  margin-top: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.brand-lockup--boot span { font-size: 0.72rem; }

.brand-logo {
  width: clamp(86px, 8vw, 126px);
  height: auto;
}

.boot-screen .brand-logo,
.menu-panel .brand-logo,
.site-header:not(.is-solid):not(.header--light) .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-lockup--boot .brand-logo { width: clamp(180px, 28vw, 360px); }

.loading-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: var(--line-light);
}

.loading-line::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  background: var(--paper-bright);
  animation: loading-sweep 1.2s var(--ease-out) infinite;
}

@keyframes loading-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: var(--paper-bright);
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.site-header.is-solid,
.site-header.header--light {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(241, 238, 230, 0.96);
}

.site-header__inner {
  width: min(100%, var(--content));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-header__nav,
.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-header__actions { justify-content: flex-end; }

.nav-link,
.text-button {
  position: relative;
  border: 0;
  padding: 7px 0;
  color: inherit;
  background: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  transition: right 220ms var(--ease-out);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { right: 0; }

.locale-select {
  min-width: 58px;
  border: 0;
  padding: 9px 22px 9px 4px;
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 50%, calc(100% - 5px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

.site-header:not(.is-solid):not(.header--light) .locale-select option { color: var(--ink); }

.menu-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button__icon,
.menu-button__icon::before,
.menu-button__icon::after {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.menu-button__icon { position: relative; }
.menu-button__icon::before,
.menu-button__icon::after { content: ""; position: absolute; left: 0; }
.menu-button__icon::before { top: -8px; }
.menu-button__icon::after { top: 8px; }
.menu-close-mark { font-size: 2.25rem; font-weight: 200; line-height: 1; }

.menu-panel {
  position: fixed;
  z-index: 60;
  inset: 0;
  overflow-y: auto;
  color: var(--paper-bright);
  background: var(--forest-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.menu-panel__top {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line-light);
}

.menu-panel__top .brand-lockup { justify-self: center; }
.menu-panel__top .menu-button { justify-self: end; }

.menu-panel__links {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 76px) var(--gutter) 42px;
}

.menu-panel__links a {
  display: grid;
  grid-template-columns: minmax(40px, 0.12fr) 1fr;
  align-items: center;
  padding: clamp(11px, 1.6vw, 22px) 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  text-decoration: none;
}

.menu-panel__links a span:first-child {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--wool);
}

.menu-panel__links a span:last-child {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  transition: transform 220ms var(--ease-out), color 220ms ease;
}

.menu-panel__links a:hover span:last-child { color: var(--flax); transform: translateX(12px); }

.menu-panel__footer {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 0 var(--gutter) 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(250, 248, 242, 0.72);
  font-size: 0.75rem;
}

.site-main { min-height: 70vh; }

.home-hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--forest-deep);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 19, 0.68) 0%, rgba(6, 24, 19, 0.2) 36%, rgba(6, 24, 19, 0.78) 100%);
}

.home-hero__media img,
.home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__media img {
  animation: hero-reveal 1.35s var(--ease-out) both;
}

.hero-film { background: var(--forest-deep); }

.hero-media-control {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(24px, 4vw, 52px);
  min-height: 46px;
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(250, 248, 242, 0.62);
  border-radius: 3px;
  padding: 10px 14px;
  color: var(--paper-bright);
  background: rgba(6, 24, 19, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.media-control-icon { position: relative; width: 14px; height: 14px; flex: 0 0 14px; }
.media-control-icon--pause::before,
.media-control-icon--pause::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 3px; background: currentColor; }
.media-control-icon--pause::before { left: 2px; }
.media-control-icon--pause::after { right: 2px; }
.media-control-icon--play::before { content: ""; position: absolute; top: 1px; left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }

@keyframes hero-reveal {
  from { transform: scale(1.06); filter: blur(8px); }
  to { transform: scale(1); filter: blur(0); }
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: clamp(38px, 7vh, 80px);
}

.hero-title,
.page-title,
.section-title,
.display-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-title {
  max-width: 11ch;
  white-space: pre-line;
  font-size: clamp(4rem, 8vw, 6rem);
}

[lang^="zh"] .hero-title,
[lang^="zh"] .page-title,
[lang^="zh"] .section-title {
  letter-spacing: 0;
}

[lang^="zh"] .hero-title {
  max-width: 12em;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.18;
}

[lang^="zh"] .page-title {
  max-width: 12em;
  font-size: clamp(2.75rem, 4.5vw, 3.75rem);
  line-height: 1.2;
}

[lang^="zh"] .section-title {
  max-width: 16em;
  font-size: clamp(2.5rem, 3.8vw, 3rem);
  line-height: 1.22;
}

.home-hero__footer {
  margin-top: clamp(42px, 9vh, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 480px);
  align-items: end;
  gap: 32px;
}

.home-hero__subtitle {
  margin: 0;
  max-width: 47ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 12px 20px;
  color: var(--ink);
  background: var(--paper-bright);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease-out);
}

.button:hover { transform: translateY(-2px); }
.button--dark { color: var(--paper-bright); background: var(--forest); }
.button--ghost { color: inherit; background: transparent; }
.button--wide { width: 100%; }
.button:disabled { opacity: 0.52; cursor: not-allowed; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after { content: "→"; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(5px); }

.section {
  position: relative;
  padding-block: clamp(76px, 11vw, 168px);
}

.section--paper { background: var(--paper); color: var(--ink); }
.section--bright { background: var(--paper-bright); color: var(--ink); }
.section--forest { background: var(--forest); color: var(--paper-bright); }
.section--coir { background: #eaded7; color: var(--coir-deep); }
.section--flush-top { padding-top: 0; }
.fallback-notice { padding-top: 18px; }

.section-title { max-width: 13ch; font-size: clamp(3rem, 7vw, 6rem); white-space: pre-line; }
.section-lead { max-width: var(--reading); margin: 28px 0 0; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.45; }
.body-copy { max-width: var(--reading); color: inherit; }
.body-copy p:first-child { margin-top: 0; }
.muted { color: var(--ink-soft); }
.section--forest .muted { color: rgba(250, 248, 242, 0.72); }

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.editorial-split--reverse .editorial-split__media { order: -1; }

.editorial-split__text { max-width: 680px; }
.editorial-split__text .text-link,
.editorial-split__text .button { margin-top: 28px; }

.editorial-split__media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--paper-muted);
}

.editorial-split__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.editorial-split__media--contain img { object-fit: contain; padding: clamp(18px, 4vw, 68px); }
.editorial-figure { margin: 0; }
.editorial-figure figcaption { padding: 12px 0 0; color: var(--ink-soft); font-size: 0.72rem; text-align: right; }

.home-industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(250, 248, 242, 0.72);
  list-style: none;
}

.home-industry-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.76rem;
  font-weight: 800;
}

.home-industry-list li:not(:last-child)::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.material-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: end start;
  padding: clamp(18px, 3vw, 38px);
  color: var(--forest);
  background: linear-gradient(145deg, #d9d5ca, #ece8de);
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 0.95;
}

.page-hero {
  padding: calc(var(--header-height) + clamp(62px, 9vw, 130px)) var(--gutter) clamp(72px, 9vw, 130px);
  background: var(--paper);
}

.page-hero--forest { color: var(--paper-bright); background: var(--forest); }
.page-hero__inner { width: min(100%, var(--content)); margin-inline: auto; }
.page-title { max-width: 14ch; font-size: clamp(3.5rem, 8vw, 6rem); white-space: pre-line; }
.page-intro { max-width: 67ch; margin: 30px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.catalogue-intro:not(.catalogue-intro--active) { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); font-size: 1rem; }
.catalogue-intro__group { min-width: 0; }
.catalogue-intro__group h2 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1; }
.catalogue-intro__group p { margin: 0.75em 0 0; }

.materials-index { padding-block: 0 clamp(80px, 12vw, 170px); }

.catalogue-nav {
  position: relative;
  padding: 0 0 clamp(54px, 8vw, 100px);
  background: var(--paper);
}

.catalogue-nav__all,
.catalogue-group__parent,
.catalogue-group__children a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.catalogue-nav__all {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalogue-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.catalogue-group { min-width: 0; padding: 0 clamp(18px, 3vw, 42px) 24px; border-right: 1px solid var(--line); }
.catalogue-group:first-child { padding-left: 0; }
.catalogue-group:last-child { padding-right: 0; border-right: 0; }
.catalogue-group__parent { padding: clamp(22px, 3vw, 38px) 0 16px; font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 3.5rem); line-height: 1; }
.catalogue-group__parent strong,
.catalogue-nav__all strong,
.catalogue-group__children strong { font-family: var(--sans); font-size: 0.68rem; font-weight: 800; }
.catalogue-group__children { display: grid; }
.catalogue-group__children a { padding: 13px 0; color: var(--ink-soft); font-size: 0.78rem; }
.catalogue-group__children a:hover,
.catalogue-group__children a.is-active,
.catalogue-group__parent:hover,
.catalogue-group__parent.is-active,
.catalogue-nav__all:hover,
.catalogue-nav__all.is-active { color: var(--coir-deep); }
.catalogue-group__children a:hover { transform: translateX(8px); }

.catalogue-result-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.catalogue-result-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.catalogue-result-heading span { color: var(--ink-soft); font-size: 0.78rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-tile { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.product-tile:nth-child(3n) { border-right: 0; }
.product-tile__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-muted); }
.product-tile__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.product-tile:hover .product-tile__image img { transform: scale(1.035); }
.product-tile__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 40px); }
.product-tile__category,
.product-detail-category { color: var(--coir-deep); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; }
.product-tile h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 400; line-height: 0.96; }
.product-tile p { margin: 16px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.product-tile .text-link { margin-top: auto; padding-top: 28px; }

.material-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(260px, 0.85fr) minmax(260px, 1fr) auto;
  gap: clamp(20px, 3vw, 54px);
  align-items: center;
  min-height: 260px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.material-row:last-child { border-bottom: 1px solid var(--line); }
.material-row__image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-muted); }
.material-row__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.material-row:hover .material-row__image img { transform: scale(1.04); }
.material-row h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 4.8rem); font-weight: 400; line-height: 0.96; }
.material-row p { margin: 0; max-width: 45ch; color: var(--ink-soft); }
.material-row__arrow { font-size: 1.8rem; }

.material-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 88svh;
  padding-top: var(--header-height);
  background: var(--paper);
}

.material-detail-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 130px) var(--gutter);
}

.material-detail-hero__text h1 { margin: 24px 0; font-family: var(--display); font-size: clamp(3.8rem, 8vw, 6rem); font-weight: 400; line-height: 0.88; letter-spacing: -0.03em; }
[lang^="zh"] .material-detail-hero__text h1 { max-width: 14em; font-size: clamp(2.75rem, 4.5vw, 3.75rem); line-height: 1.2; letter-spacing: 0; }
.material-detail-hero__text p { max-width: 52ch; }
.product-detail-category { margin-top: 38px; }
.product-long-copy { max-width: var(--reading); }
.product-long-copy p { margin: 1em 0 0; }
.product-long-copy p:first-child { margin-top: 0; }
.product-inquiry-link { width: max-content; margin-top: 30px; }
.material-detail-hero__media { min-height: 640px; overflow: hidden; background: var(--wool); }
.material-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 9vw, 150px);
}

.feature-columns h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 400; line-height: 1; }
.feature-columns--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.feature-list li { padding: 18px 0; border-bottom: 1px solid currentColor; }

.about-text-section { max-width: 980px; }
.about-text-section .section-title { max-width: 18ch; }
[lang^="zh"] .about-text-section .section-title { max-width: 18em; }
.about-text-section .product-long-copy { margin-top: 34px; }

.factory-explorer { border-top: 1px solid var(--ink); }
.factory-tools { display: grid; grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(160px, 0.72fr)) auto; align-items: end; gap: 22px; padding: 20px 0 28px; }
.factory-search { display: block; border-bottom: 1px solid var(--ink); }
.factory-search input,
.factory-filter select { width: 100%; min-width: 0; min-height: 46px; border: 0; border-radius: 0; color: var(--ink); background: transparent; font: inherit; }
.factory-search input { padding: 10px 2px; }
.factory-search input::placeholder { color: color-mix(in srgb, var(--ink) 64%, var(--paper)); opacity: 1; }
.factory-filter { min-width: 0; display: grid; gap: 5px; border-bottom: 1px solid var(--line); }
.factory-filter span { color: var(--ink-soft); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.factory-filter select { padding: 8px 24px 8px 0; cursor: pointer; }
.factory-clear,
.factory-map-meta button,
.factory-map-error button,
.factory-map-empty button { width: max-content; border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; color: var(--forest); background: transparent; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.factory-map-section { margin-bottom: clamp(52px, 7vw, 92px); }
.factory-map-meta { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.factory-map-meta p { margin: 0; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.factory-map-frame { position: relative; height: clamp(480px, 51vw, 520px); overflow: hidden; border-bottom: 1px solid var(--ink); background: #d5d7d2; }
.factory-map { width: 100%; height: 100%; z-index: 0; }
.factory-map .leaflet-tile { filter: grayscale(1) contrast(0.86) brightness(1.08); }
.factory-map .leaflet-factory-basemap-pane svg { max-width: none; }
.factory-map-loading,
.factory-map-empty { position: absolute; z-index: 450; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; color: var(--forest); background: rgba(239, 235, 225, 0.88); text-align: center; }
.factory-map-loading[hidden],
.factory-map-empty[hidden],
.factory-map-error[hidden] { display: none; }
.factory-map-empty p { margin: 0; font-family: var(--display); font-size: 1.65rem; }
.factory-map-error { position: absolute; z-index: 500; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; color: var(--paper-bright); background: var(--error); font-size: 0.86rem; }
.factory-map-error button { flex: 0 0 auto; color: var(--paper-bright); }
.factory-map-error.is-fallback { color: var(--forest); background: rgba(250, 249, 244, 0.95); border: 1px solid var(--line); }
.factory-map-error.is-fallback button { color: var(--forest); }
.factory-marker-icon,
.factory-cluster-icon { display: grid !important; place-items: center; border: 1px solid var(--paper-bright); border-radius: 50%; color: var(--paper-bright); background: var(--forest-deep); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28); }
.factory-marker-icon span { width: 6px; height: 6px; border-radius: 50%; background: var(--paper-bright); }
.factory-cluster-icon { background: #111; font-weight: 800; }
.factory-cluster-icon span { line-height: 1; }
.factory-marker-icon:focus,
.factory-cluster-icon:focus { outline: 3px solid var(--forest); outline-offset: 3px; }
.factory-map.leaflet-container { color: var(--ink); font-family: var(--sans); background: #dce4e1; }
.factory-map .leaflet-control-zoom,
.factory-map .leaflet-control-attribution,
.factory-map .leaflet-popup-content-wrapper,
.factory-map .leaflet-popup-tip { border-radius: 0; box-shadow: 0 3px 18px rgba(0, 0, 0, 0.16); }
.factory-map .leaflet-control-zoom { border: 0; }
.factory-map .leaflet-control-zoom a { width: 44px; height: 44px; color: var(--forest); border-color: var(--line); line-height: 44px; }
.factory-map .leaflet-control-attribution { color: var(--ink-soft); background: rgba(255, 255, 255, 0.92); font-size: 10px; }
.factory-map .leaflet-popup-content { margin: 18px; }
.factory-map .leaflet-popup-close-button { color: var(--ink); font-size: 21px; }
.factory-popup { max-height: min(300px, 50svh); overflow-y: auto; }
.factory-popup__kind { margin: 0 24px 7px 0; color: var(--coir-deep); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; }
.factory-popup h3 { margin: 0 22px 8px 0; font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.05; }
.factory-popup__place,
.factory-popup__address { margin: 0 0 8px; line-height: 1.45; }
.factory-popup__precision { margin: 10px 0; color: var(--ink-soft); font-size: 0.75rem; }
.factory-popup__links { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.factory-popup__links a { border-bottom: 1px solid currentColor; color: var(--forest); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.factory-locations { border-top: 1px solid var(--ink); }
.factory-locations__heading { min-height: 92px; display: flex; align-items: baseline; justify-content: space-between; gap: 26px; padding: 22px 0; }
.factory-locations__heading h2 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 400; }
.factory-locations__heading p { max-width: 40ch; margin: 0; color: var(--ink-soft); font-size: 0.8rem; }
.factory-location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.factory-location { min-width: 0; padding: 26px clamp(18px, 2.5vw, 38px) 46px; border-top: 1px solid var(--line); border-inline-end: 1px solid var(--line); overflow-wrap: anywhere; }
.factory-location:nth-child(3n) { border-inline-end: 0; }
.factory-location[hidden] { display: none; }
.factory-location.is-selected { background: var(--paper-muted); }
.factory-location__figure { margin: 0 0 22px; }
.factory-location__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-muted); }
.factory-location__figure figcaption,
.enkev-relation__figure figcaption { padding-top: 9px; color: var(--ink-soft); font-size: 0.7rem; line-height: 1.45; text-align: end; }
.factory-location__kind { margin: 0 0 22px; color: var(--coir-deep); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.factory-location h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.04; }
.factory-location h2 button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: start; cursor: pointer; }
.factory-location h2 button:hover,
.factory-location h2 button[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.factory-location__place { display: flex; align-items: baseline; gap: 10px; margin: 0 0 22px; color: var(--ink-soft); }
.factory-location__place span { color: var(--forest); font-size: 0.68rem; font-weight: 800; }
.factory-location__description { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.62; }
.factory-location__description p { margin: 0 0 1em; }
.factory-location address { margin-top: 24px; color: var(--ink-soft); font-size: 0.84rem; font-style: normal; line-height: 1.55; }
.factory-location__precision { margin: 18px 0 0; color: var(--ink-soft); font-size: 0.74rem; }

.form-shell { max-width: 900px; }
.field { display: grid; gap: 8px; }
.field label,
.fieldset-label { font-size: 0.78rem; font-weight: 800; }
.field input,
.field textarea,
.field select,
.code-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--paper-bright);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder,
.code-input::placeholder { color: #6b746f; opacity: 1; }
.field input:focus,
.field textarea:focus,
.field select:focus,
.code-input:focus { border-color: var(--forest); outline: 3px solid rgba(200, 167, 108, 0.5); outline-offset: 1px; }
.field-error { color: var(--error); font-size: 0.84rem; }

.trace-hero { padding-block: calc(var(--header-height) + clamp(38px, 5vw, 72px)) clamp(32px, 4vw, 54px); padding-inline: 0; }
.trace-hero .page-hero__inner { width: min(100%, 860px); padding-inline: var(--gutter); }
.trace-hero .page-title { font-size: clamp(2.8rem, 6vw, 5rem); }
.trace-hero .page-intro { margin-top: 18px; font-size: clamp(1rem, 1.35vw, 1.2rem); }
[lang^="zh"] .trace-hero .page-title { max-width: 14em; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.2; }
.trace-section { padding-block: clamp(42px, 6vw, 82px); }
.trace-layout { max-width: 860px; margin-inline: auto; }
.trace-form { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.trace-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 18px; }
.trace-input-row .code-input { min-width: 0; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; }
.trace-input-row .button { min-width: 148px; white-space: nowrap; }
.trace-demo-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }
.trace-demo-actions .text-button { white-space: nowrap; }
.trace-layout .async-state { min-height: 96px; margin-top: 30px; }

.async-state,
.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  text-align: center;
}

.result-panel { margin-top: 34px; border-top: 1px solid var(--line); }
.result-status { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.result-status strong { font-family: var(--display); font-size: clamp(1.55rem, 2.6vw, 2.4rem); font-weight: 400; }
[lang^="zh"] .result-status strong { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.status-badge { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.status-badge--verified { color: var(--success); }
.status-badge--not_yet_valid,
.status-badge--expired,
.status-badge--suspended { color: var(--warning); }
.status-badge--revoked,
.status-badge--not_found { color: var(--error); }
.status-badge--demo { color: var(--forest-soft); }
.result-list { margin: 0; }
.result-list > div { display: grid; grid-template-columns: minmax(120px, 0.35fr) 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.result-list dt { color: var(--ink-soft); font-size: 0.76rem; font-weight: 700; }
.result-list dd { margin: 0; }
.trace-not-found-copy { max-width: 62ch; margin: 24px 0 0; color: var(--ink-soft); }
.trace-result-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 18px 0 0; color: var(--ink-soft); font-size: 0.76rem; }
.trace-result-meta span { font-weight: 700; }
.result-panel--not-found > .text-button { margin-top: 24px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 10vw, 160px);
}

.contact-details { margin-top: 42px; display: grid; gap: 18px; }
.contact-details div { border-top: 1px solid currentColor; padding-top: 14px; }
.contact-details dt { font-size: 0.72rem; font-weight: 800; opacity: 0.72; }
.contact-details dd { margin: 3px 0 0; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-form .field--wide,
.contact-form .consent-field,
.contact-form .form-actions,
.contact-form .form-message { grid-column: 1 / -1; }

.consent-field { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.88rem; }
.consent-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { min-height: 28px; margin: 0; }
.form-message--success { color: var(--success); }
.form-message--error { color: var(--error); }

.enkev-relation {
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.enkev-relation__logo { max-width: 330px; padding: 34px; background: var(--paper-bright); }
.enkev-relation__logo img { width: 100%; }
.enkev-relation__figure { min-width: 0; margin: 0; }
.enkev-relation__media { min-width: 0; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-muted); }
.enkev-relation__media img { width: 100%; height: 100%; object-fit: cover; }
.china-factory-photo { object-position: center top; }
.china-factory-name { margin: 24px 0 12px; font-size: 0.82rem; font-weight: 800; }

.privacy-content { max-width: 920px; }
.privacy-section { padding: 30px 0; border-top: 1px solid var(--line); }
.privacy-section h2 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 400; }
.privacy-section p { margin: 0; max-width: var(--reading); }

.site-footer { color: var(--paper-bright); background: var(--forest-deep); }
.site-footer__inner { padding-block: clamp(52px, 8vw, 110px) 28px; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.site-footer__statement { margin: 0; max-width: 10ch; font-family: var(--display); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 400; line-height: 0.95; }
[lang^="zh"] .site-footer__statement { max-width: 12em; white-space: pre-line; font-size: clamp(2.75rem, 4.5vw, 3.75rem); line-height: 1.2; letter-spacing: 0; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; }
.site-footer__nav a { color: inherit; text-decoration: none; }
.site-footer__bottom { margin-top: clamp(60px, 10vw, 130px); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-light); color: rgba(250, 248, 242, 0.68); font-size: 0.72rem; }

.error-page { min-height: 80svh; display: grid; place-items: center; padding: calc(var(--header-height) + 50px) var(--gutter) 60px; text-align: center; }
.error-page h1 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 8vw, 6rem); font-weight: 400; }
.error-page .button { margin-top: 24px; }

/* Administration */
.admin-body { background: #eceae4; }
.admin-shell { min-height: 100vh; color: var(--ink); }
.admin-topbar { position: sticky; z-index: 30; top: 0; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(250, 248, 242, 0.96); }
.admin-topbar .brand-lockup { align-items: flex-start; }
.admin-topbar__actions { display: flex; align-items: center; gap: 12px; }
.admin-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.admin-sidebar { position: sticky; top: 72px; align-self: start; min-height: calc(100vh - 72px); padding: 24px 14px; border-right: 1px solid var(--line); background: var(--paper-bright); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button { border: 0; border-radius: 4px; padding: 11px 13px; color: var(--ink); background: transparent; text-align: left; font-size: 0.86rem; font-weight: 700; cursor: pointer; }
.admin-nav button:hover,
.admin-nav button[aria-current="page"] { color: var(--paper-bright); background: var(--forest); }
.admin-main { min-width: 0; padding: clamp(22px, 4vw, 56px); }
.admin-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.admin-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 400; line-height: 1; }
.admin-panel { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 6px; background: var(--paper-bright); }
.admin-panel + .admin-panel { margin-top: 18px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-stat { min-height: 132px; padding: 20px; border: 1px solid var(--line); background: var(--paper-bright); }
.admin-stat strong { display: block; font-family: var(--display); font-size: 3rem; font-weight: 400; line-height: 1; }
.admin-stat span { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 0.78rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.admin-table th,
.admin-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--ink-soft); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-actions button { border: 1px solid var(--line); border-radius: 3px; padding: 7px 10px; background: transparent; font-size: 0.74rem; cursor: pointer; }
.admin-actions button:hover { border-color: var(--forest); background: var(--paper-muted); }
.admin-actions .danger { color: var(--error); }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-form .field--full,
.admin-form .locale-editor,
.admin-form .admin-form__actions { grid-column: 1 / -1; }
.about-admin-locales { display: grid; gap: 34px; }
.about-locale-editor { padding-top: 26px; border-top: 1px solid var(--line); }
.about-locale-editor:first-child { padding-top: 0; border-top: 0; }
.about-locale-editor > h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
.about-locale-editor__intro { margin-bottom: 22px; }
.about-sections { display: grid; gap: 14px; margin-bottom: 16px; }
.about-section-editor { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 4px; }
.about-section-editor legend { padding: 0 8px; font-size: 0.78rem; font-weight: 800; }
.about-section-editor textarea { min-height: 150px; }
.locale-editor { padding-top: 18px; border-top: 1px solid var(--line); }
.locale-editor h3 { margin: 0 0 14px; font-size: 0.9rem; }
.locale-editor__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.locale-editor__language { min-width: 0; display: grid; gap: 12px; }
.locale-editor__language h4 { margin: 0; font-family: var(--display); font-size: 1.8rem; font-weight: 400; }
.locale-editor textarea { min-height: 110px; }
.admin-login { min-height: 100svh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr); background: var(--forest); }
.admin-login__visual { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.admin-login__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.74; }
.admin-login__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5, 30, 23, 0.2), rgba(5, 30, 23, 0.72)); }
.admin-login__statement { position: absolute; z-index: 1; left: var(--gutter); bottom: var(--gutter); max-width: 9ch; margin: 0; color: var(--paper-bright); font-family: var(--display); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 400; line-height: 0.9; }
.admin-login__form { min-width: 0; display: grid; align-content: center; gap: clamp(14px, 2.6dvh, 26px); padding: clamp(20px, 4dvh, 48px) clamp(24px, 4vw, 64px); color: var(--ink); background: var(--paper); }
.admin-login__form h1 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 3.2vw, 3.4rem); font-weight: 400; line-height: 1.15; }
.admin-login__form .muted { margin: 12px 0 0; font-size: 0.9rem; }
.admin-login__fields { display: grid; gap: 14px; }
.admin-login__fields .form-message:empty { display: none; }
.admin-login__fields input { min-height: 46px; padding: 10px 12px; }
.dialog-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7, 25, 20, 0.72); }
.dialog { width: min(100%, 900px); max-height: calc(100svh - 40px); overflow-y: auto; border-radius: 6px; padding: clamp(22px, 4vw, 44px); background: var(--paper-bright); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28); }
.dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.dialog__header h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 400; line-height: 1; }
.icon-button { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.4rem; cursor: pointer; }
.generated-code { margin: 20px 0; padding: 20px; border: 1px solid var(--success); background: #e7f1e9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; text-align: center; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .site-header__nav .nav-link:nth-child(n + 3) { display: none; }
  .material-row { grid-template-columns: minmax(110px, 0.4fr) minmax(240px, 0.8fr) 1fr; }
  .material-row__arrow { display: none; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locale-editor__grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-tile:nth-child(3n) { border-right: 1px solid var(--line); }
  .product-tile:nth-child(2n) { border-right: 0; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; }
  .site-header__nav { display: none; }
  .site-header__actions .nav-link { display: none; }
  .home-hero__footer { grid-template-columns: 1fr; }
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split--reverse .editorial-split__media { order: initial; }
  .editorial-split__media { min-height: 460px; }
  .factory-tools { grid-template-columns: 1fr 1fr; }
  .factory-search { grid-column: 1 / -1; }
  .factory-clear { justify-self: start; }
  .factory-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-location:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .factory-location:nth-child(2n) { border-inline-end: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; min-height: auto; overflow-x: auto; padding: 8px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { display: flex; width: max-content; }
  .admin-login { grid-template-columns: 0.8fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .brand-lockup strong { font-size: 1.6rem; }
  .site-header__inner { gap: 12px; }
  .site-header__actions { gap: 4px; }
  .menu-panel__top { grid-template-columns: 1fr auto; }
  .menu-panel__top > :first-child { display: none; }
  .menu-panel__top .brand-lockup { justify-self: start; }
  .menu-panel__links a { grid-template-columns: 32px 1fr; }
  .menu-panel__links a span:last-child { font-size: clamp(2.2rem, 12vw, 4.3rem); }
  .menu-panel__footer { flex-direction: column; }
  .home-hero { min-height: 720px; }
  .home-hero__content { padding-bottom: 100px; }
  .home-hero__media img,
  .home-hero__media video { object-position: 58% center; }
  .hero-media-control { right: 20px; bottom: 20px; }
  .hero-title { font-size: clamp(3.8rem, 18vw, 5.5rem); }
  [lang^="zh"] .hero-title { width: 100%; font-size: clamp(2.25rem, 10vw, 2.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 78px; }
  .section-title { font-size: clamp(3rem, 15vw, 5rem); }
  [lang^="zh"] .section-title { font-size: clamp(1.75rem, 8vw, 2.125rem); }
  .editorial-split__media { min-height: 340px; }
  .page-title { font-size: clamp(3.3rem, 16vw, 5rem); }
  [lang^="zh"] .page-title,
  [lang^="zh"] .material-detail-hero__text h1,
  [lang^="zh"] .site-footer__statement { font-size: clamp(2.125rem, 9vw, 2.375rem); }
  .catalogue-intro:not(.catalogue-intro--active) { grid-template-columns: 1fr; }
  .material-row { grid-template-columns: 100px 1fr; min-height: 190px; gap: 18px; }
  .material-row p { grid-column: 1 / -1; padding-bottom: 12px; }
  .material-row h2 { font-size: clamp(2rem, 10vw, 3.4rem); }
  .catalogue-groups { grid-template-columns: 1fr; }
  .catalogue-group,
  .catalogue-group:first-child,
  .catalogue-group:last-child { padding: 0; border-right: 0; }
  .catalogue-group__parent { font-size: clamp(2rem, 10vw, 3.3rem); }
  .catalogue-result-heading { align-items: flex-end; }
  .product-grid { grid-template-columns: 1fr; }
  .product-tile,
  .product-tile:nth-child(2n),
  .product-tile:nth-child(3n) { border-right: 0; }
  .material-detail-hero { grid-template-columns: 1fr; padding-top: var(--header-height); }
  .material-detail-hero__media { order: -1; min-height: 52svh; }
  .feature-columns { grid-template-columns: 1fr; }
  .factory-tools { grid-template-columns: 1fr; gap: 18px; }
  .factory-search { grid-column: auto; }
  .factory-map-section { margin-inline: calc(var(--gutter) * -1); }
  .factory-map-meta { padding-inline: var(--gutter); }
  .factory-map-frame { height: 340px; }
  .factory-map-error { inset-inline: 10px; bottom: 10px; align-items: flex-start; }
  .factory-locations__heading { display: grid; gap: 8px; }
  .factory-location-grid { grid-template-columns: 1fr; }
  .factory-location,
  .factory-location:nth-child(2n),
  .factory-location:nth-child(3n) { padding-inline: 0; border-inline-end: 0; }
  .trace-input-row { grid-template-columns: 1fr; }
  .trace-input-row .button { width: 100%; }
  .trace-demo-actions { align-items: flex-start; flex-direction: column; }
  .result-list > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-form { grid-template-columns: 1fr; }
  .enkev-relation { grid-template-columns: 1fr; }
  .site-footer__nav { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .admin-topbar { padding-inline: 14px; }
  .admin-topbar__actions .text-button { display: none; }
  .admin-main { padding: 22px 14px 44px; }
  .admin-heading { flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-form .field,
  .admin-form .field--full,
  .admin-form .locale-editor,
  .admin-form .admin-form__actions { grid-column: 1; }
  .admin-login { grid-template-columns: 1fr; }
  .admin-login__visual { display: none; }
  .admin-login__form { padding-inline: 24px; }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .admin-table td { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; border: 0; }
  .admin-table td::before { content: attr(data-label); color: var(--ink-soft); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
}

@media (max-height: 600px) {
  .admin-login__form { gap: 12px; padding-block: 16px; }
  .admin-login__form h1 { font-size: 2rem; }
  .admin-login__form .muted { margin-top: 8px; font-size: 0.85rem; }
  .admin-login__fields { gap: 10px; }
  .admin-login__fields .field { gap: 4px; }
  .admin-login__fields input { min-height: 40px; padding-block: 6px; }
  .admin-login__fields .button { min-height: 42px; padding-block: 10px; }
}

@media (max-height: 480px) {
  .admin-login__form { gap: 8px; padding-block: 12px; }
  .admin-login__form h1 { font-size: 1.75rem; }
  .admin-login__form .muted { margin-top: 6px; font-size: 0.8rem; }
  .admin-login__fields { gap: 8px; }
  .admin-login__fields input { min-height: 36px; padding-block: 4px; }
  .admin-login__fields .button { min-height: 38px; padding-block: 8px; }
}

@media (max-width: 430px) {
  .locale-select { min-width: 50px; padding-left: 0; }
  .brand-logo { width: 86px; }
  .brand-lockup span { font-size: 0.48rem; }
  .hero-title { font-size: clamp(3.45rem, 17vw, 4.5rem); }
  .home-hero__footer { margin-top: 36px; }
  .material-row { grid-template-columns: 82px 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
}

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

@media (forced-colors: active) {
  .home-hero__media::after,
  .button,
  .factory-map .leaflet-control-zoom { border: 1px solid ButtonText; }
}
