/*
 * Zean irrigation. Native HTML/CSS/JS, preserved-content design refinement.
 * Process informed by unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
 * Direction: grounded, restrained, precise. Existing photography carries the color.
 * Shape rule: square content and photographs, 4px controls, 8px dialogs.
 * Layers: navigation 20, mobile dock 25, native dialogs in the browser top layer.
 */

:root {
  --green: #08743e;
  --green-dark: #064c2d;
  --green-light: #edf3ee;
  --ink: #23362c;
  --muted: #56645c;
  --meta: #637067;
  --line: #dce4dd;
  --paper: #f5f7f4;
  --white: #fff;
  --content: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  cursor: default;
}

input, select, textarea {
  min-width: 0;
  max-width: 100%;
}

button, input, select, textarea {
  border-radius: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  stroke-width: 1.5;
}

figure {
  margin: 0;
}

p {
  margin: 0 0 24px;
  color: var(--muted);
}

h1, h2, h3 {
  margin: 0 0 24px;
  font-weight: 500;
  line-height: 1.4;
}

h1 {
  font-size: clamp(32px, 3.6vw, 48px);
}

h2 {
  font-size: clamp(28px, 2.6vw, 40px);
}

h3 {
  font-size: 20px;
}

strong {
  font-weight: 600;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

::selection {
  background: #d4e8d9;
  color: var(--green-dark);
}

.container {
  width: min(var(--content), calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: 96px;
}

.section-muted {
  background: var(--paper);
}

.section-top-small {
  padding-top: 32px;
}

.section-note {
  display: block;
  color: var(--green);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > .text-link {
  flex-shrink: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.button-green {
  background: var(--green);
  color: var(--white);
}

.button-green:hover {
  background: var(--green-dark);
}

/* Preserve the original hero action class while giving it a quiet neutral surface. */

.button-orange {
  background: var(--white);
  color: var(--green-dark);
}

.button-orange:hover {
  background: #e6eee4;
}

.button-outline {
  background: transparent;
  border-color: #bbcdbf;
  color: var(--green);
}

.button-outline:hover {
  background: var(--green-light);
  border-color: var(--green);
}

.button-white {
  background: var(--green);
  color: var(--white);
}

.button-white:hover {
  background: var(--green-dark);
}

.button-ghost {
  border-color: #ffffff80;
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  background: #ffffff14;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  background: transparent;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.icon-button:hover {
  background: var(--green-light);
  color: var(--green);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  padding: 12px 24px;
  transform: translateY(-150%);
  z-index: 30;
  background: var(--white);
  color: var(--green);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.topbar {
  background: var(--paper);
  border-bottom: 1px solid #e9eee8;
  color: var(--muted);
  font-size: 12px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 32px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-icon {
  color: var(--green);
}

.brand-icon svg {
  width: 40px;
  height: 48px;
  stroke-width: 1.2;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-type strong {
  font-size: 32px;
  color: var(--green);
  letter-spacing: .12em;
}

.brand-type > span {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
}

#main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 24px;
}

#main-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  white-space: nowrap;
}

#main-nav > a::after {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  opacity: 0;
  content: "";
  transition: opacity 160ms var(--ease);
}

#main-nav > a:hover, #main-nav > a[aria-current] {
  color: var(--green);
}

#main-nav > a[aria-current]::after, #main-nav > a:hover::after {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--green-dark);
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  background: linear-gradient(90deg, #091810d1 0%, #091810a6 60%, #09181014 100%);
}

.hero-content {
  min-height: clamp(480px, calc(100svh - 200px), 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 72px 80px;
}

.hero-intro {
  color: #edf3e9;
  font-size: 16px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(44px, 4.4vw, 64px);
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-description {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.8;
  color: #edf3e9;
  margin-bottom: 0;
}

.hero .button-row {
  margin-top: 32px;
}

.hero :focus-visible {
  outline-color: var(--white);
}

.hero-bottom {
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-bottom .container {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  font-size: 15px;
  min-height: 88px;
  border-right: 1px solid var(--line);
  transition: color 160ms var(--ease);
}

.hero-bottom a:first-child {
  padding-left: 0;
}

.hero-bottom a:last-child {
  border: 0;
}

.hero-bottom a svg:first-child {
  color: var(--green);
}

.hero-bottom a svg:last-child {
  margin-left: auto;
}

.hero-bottom a:hover {
  color: var(--green);
}

.hero-bottom :focus-visible {
  outline-color: var(--green);
  outline-offset: -6px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.intro-grid > div, .intro-grid > img {
  min-width: 0;
}

.intro-grid > img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.intro-image > img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center;
}

.image-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.image-caption:hover {
  color: var(--green);
}

.intro-copy p {
  max-width: 600px;
}

.intro-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-block: 32px;
}

.intro-facts > div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.intro-facts strong {
  display: block;
  font-size: 36px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
}

.intro-facts strong span {
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}

.intro-facts > div > span {
  display: block;
  color: var(--meta);
  font-size: 13px;
  margin-top: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}

.product-image {
  display: block;
  aspect-ratio: 1.15;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 160ms var(--ease);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card:hover .product-image {
  border-color: #97b39e;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.product-category {
  display: block;
  color: var(--meta);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.product-info h3 a:hover {
  color: var(--green);
}

.product-info p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-info .text-link {
  margin-top: auto;
  font-size: 13px;
}

.factory-section {
  background: var(--paper);
  color: var(--ink);
}

.factory-section .section-note, .factory-section .text-link {
  color: var(--green);
}

.factory-section p {
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
}

.video-card {
  min-width: 0;
}

.video-preview {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(240px,24vw,352px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #19271e;
  overflow: hidden;
}

.video-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.video-preview.portrait > img {
  object-position: center 50%;
}

.video-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(transparent 40%,#102017e0);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fffffff0;
  color: var(--green-dark);
  transition: background-color 160ms var(--ease);
}

.play-button svg {
  margin-left: 2px;
}

.video-preview:hover .play-button {
  background: #dcebdc;
}

.video-length {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.video-card h3 {
  margin: 24px 0 8px;
}

.video-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}

.application-grid article {
  min-width: 0;
}

.application-grid img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.application-grid h3 {
  margin: 24px 0 12px;
}

.application-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.catalogue-callout {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.catalogue-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.catalogue-cover {
  display: block;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalogue-cover img {
  width: 100%;
}

.catalogue-inner p {
  max-width: 640px;
}

.contact-strip {
  padding-block: 48px;
  background: var(--green-light);
  color: var(--ink);
}

.contact-strip > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-strip span {
  color: var(--muted);
  font-size: 14px;
}

.contact-strip h2 {
  font-size: 28px;
  margin: 8px 0 0;
}

.contact-strip .button {
  flex-shrink: 0;
}

.site-footer {
  background: var(--paper);
  padding-top: 64px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr;
  gap: 48px;
}

.footer-grid h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  width: fit-content;
  min-height: 36px;
  color: var(--muted);
}

.footer-grid > div > a:hover {
  color: var(--green);
}

.footer-brand p {
  max-width: 256px;
  margin-top: 24px;
}

.footer-grid p {
  font-size: 14px;
}

.footer-grid .footer-phone {
  margin-block: 8px;
  color: var(--green);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-block: 24px;
  color: var(--meta);
  font-size: 12px;
}

.footer-bottom > span {
  margin-right: auto;
}

.mobile-dock {
  display: none;
}

.back-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 15;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms var(--ease);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top-marker {
  position: absolute;
  top: 600px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 280px;
  padding-block: 48px;
  background: var(--green-dark);
  color: var(--white);
}

.page-banner > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg,#0b1e15d1,#0b1e15a6);
}

.page-banner h1 {
  margin-bottom: 16px;
}

.page-banner p {
  max-width: 760px;
  margin-bottom: 0;
  color: #edf3e9;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  color: var(--meta);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.catalogue-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-filters button {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.product-filters button[aria-pressed=true] {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.product-search-label {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  border-bottom: 1px solid #a5b8aa;
  color: var(--meta);
}

.product-search-label input {
  width: 192px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  outline-offset: 0;
}

.filter-count {
  margin-block: 24px 32px;
  font-size: 13px;
}

.all-products {
  row-gap: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}

.gallery-item {
  min-width: 0;
}

.image-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.expand-image {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #fffffff0;
  color: var(--green-dark);
  font-size: 20px;
}

.gallery-item figcaption {
  padding-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.factory-gallery {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.factory-gallery .gallery-item:last-child {
  grid-column: 1/-1;
}

.factory-gallery .gallery-item:last-child img {
  aspect-ratio: 2.6;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-block: 24px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
}

.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--paper);
  margin-bottom: 48px;
}

.download-panel h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.download-panel p {
  font-size: 14px;
  margin-bottom: 0;
}

.download-panel .button {
  flex-shrink: 0;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  align-items: start;
  gap: 48px;
}

.catalogue-index {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
}

.catalogue-index h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.catalogue-index a {
  display: block;
  padding-block: 8px;
  color: var(--muted);
  font-size: 14px;
}

.catalogue-index a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalogue-spread {
  margin-bottom: 48px;
  scroll-margin-top: 112px;
}

.catalogue-spread h2 {
  font-size: 24px;
}

.catalogue-zoom {
  border: 1px solid var(--line);
  padding-bottom: 40px;
}

.catalogue-zoom img {
  width: 100%;
}

.catalogue-zoom > span {
  position: absolute;
  bottom: 12px;
  right: 24px;
  color: var(--green);
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-phone {
  display: block;
  margin-block: 24px;
  color: var(--green);
  font-size: clamp(28px,3vw,40px);
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.contact-tip {
  max-width: 432px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-tip h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.enquiry-form {
  padding: 40px;
  background: var(--paper);
}

.enquiry-form h2 {
  font-size: 28px;
}

.enquiry-form p {
  font-size: 14px;
}

.enquiry-form label {
  display: block;
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 500;
}

.enquiry-form input, .enquiry-form textarea, .enquiry-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #bdcec1;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

input::placeholder, textarea::placeholder {
  color: var(--meta);
  opacity: 1;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form > .button {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

#enquiry-output {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

#enquiry-summary {
  line-height: 1.8;
}

#enquiry-status {
  margin-top: 16px;
  color: var(--green);
}

.faq-container {
  max-width: 896px;
}

details {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}

summary {
  cursor: pointer;
  padding: 8px 24px 8px 0;
  font-size: 18px;
  font-weight: 500;
}

details p {
  margin: 16px 0 8px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
}

.product-detail h1 {
  font-size: 36px;
}

.product-detail-image {
  border: 1px solid var(--line);
}

.product-detail-image .image-preview {
  padding: 32px;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.detail-description {
  font-size: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums lining-nums;
}

.spec-table caption {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0 16px;
}

.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  background: var(--paper);
  font-weight: 400;
}

.spec-table td {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.spec-note {
  margin-top: 24px;
  font-size: 13px;
}

.related-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.sitemap-grid a {
  display: block;
  padding-block: 8px;
  color: var(--green);
}

dialog {
  max-height: calc(100dvh - 48px);
  padding: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

dialog::backdrop {
  background: #102218b8;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dialog-head h2 {
  font-size: 24px;
  margin: 0;
}

.dialog-head button {
  flex-shrink: 0;
}

.search-dialog {
  width: min(680px,calc(100% - 32px));
}

.search-dialog label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.search-dialog input {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid #bdcec1;
}

.search-count {
  margin: 24px 0 12px;
  font-size: 13px;
}

.search-results {
  list-style: none;
  max-height: 50dvh;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.search-results a {
  display: block;
  padding: 16px 8px;
  border-top: 1px solid var(--line);
}

.search-results a:hover {
  background: var(--paper);
}

.search-results strong {
  display: block;
  color: var(--green);
  font-weight: 500;
}

.search-results p {
  margin: 8px 0 0;
  font-size: 14px;
}

.media-dialog {
  width: min(1080px,calc(100% - 32px));
  padding: 24px;
}

#media-body {
  display: grid;
  place-items: center;
  background: var(--paper);
}

#media-body video {
  display: block;
  width: 100%;
  max-height: 72dvh;
  background: #19271e;
}

#media-body img {
  max-width: 100%;
  max-height: 75dvh;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1280px) {
  .container {
    width: calc(100% - 64px);
  }
  #main-nav {
    gap: 20px;
  }
  #main-nav > a {
    font-size: 14px;
  }
  .header-actions {
    gap: 4px;
  }
  .intro-grid {
    gap: 48px;
  }
  .catalogue-inner {
    gap: 64px;
  }
  .footer-grid {
    gap: 32px;
  }
  .contact-layout {
    gap: 64px;
  }
  .product-detail {
    gap: 48px;
  }
  html[lang=en] #main-nav {
    gap: 16px;
  }
  html[lang=en] #main-nav > a {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding-block: 80px;
  }
  .section-top-small {
    padding-top: 32px;
  }
  .topbar .container > span:nth-child(2) {
    display: none;
  }
  .header-inner {
    min-height: 80px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 112px);
    padding: 16px 32px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    overflow-y: auto;
  }
  #main-nav.is-open {
    display: grid;
    gap: 0;
  }
  #main-nav > a, html[lang=en] #main-nav > a {
    min-height: 48px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  #main-nav > a::after {
    display: none;
  }
  .hero-content {
    min-height: 480px;
    padding-block: 64px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-bottom a {
    padding: 24px;
    font-size: 14px;
  }
  .intro-grid {
    gap: 40px;
  }
  .intro-facts {
    gap: 24px;
  }
  .intro-facts strong {
    font-size: 32px;
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px 24px;
  }
  .product-image {
    aspect-ratio: 1.4;
  }
  .video-grid {
    gap: 32px;
  }
  .video-preview {
    height: 256px;
  }
  .application-grid {
    gap: 24px;
  }
  .application-grid h3 {
    font-size: 18px;
  }
  .catalogue-inner {
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px 64px;
  }
  .footer-brand p {
    max-width: 336px;
  }
  .catalogue-layout {
    grid-template-columns: 192px minmax(0,1fr);
    gap: 32px;
  }
  .catalogue-index {
    padding: 20px;
  }
  .contact-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
  }
  .enquiry-form {
    padding: 32px;
  }
  .product-detail {
    gap: 40px;
  }
  .product-detail h1 {
    font-size: 32px;
  }
  .product-detail .button {
    width: 100%;
  }
  .related-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 48px);
  }
  .section {
    padding-block: 64px;
  }
  .section-top-small {
    padding-top: 24px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-image > img {
    aspect-ratio: 1.5;
  }
  .intro-facts {
    max-width: 480px;
  }
  .application-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .application-grid img {
    aspect-ratio: 1.8;
  }
  .application-grid h3 {
    margin-top: 20px;
    font-size: 20px;
  }
  .catalogue-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .catalogue-cover {
    width: min(480px,100%);
    margin-inline: auto;
  }
  .contact-strip {
    padding-block: 40px;
  }
  .contact-strip h2 {
    font-size: 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .factory-gallery .gallery-item:last-child {
    grid-column: 1/-1;
  }
  .contact-layout, .product-detail {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .product-detail-image {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
  .product-detail-image img {
    max-height: 416px;
  }
  .product-detail .button {
    width: auto;
  }
  .catalogue-layout {
    display: block;
  }
  .catalogue-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 40px;
    padding: 24px;
  }
  .catalogue-index h2 {
    width: 100%;
    margin-bottom: 8px;
  }
  .catalogue-index a {
    padding-block: 8px;
  }
  .download-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 24px;
  }
  .related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 96px;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .topbar .container {
    justify-content: center;
    min-height: 32px;
    font-size: 11px;
  }
  .topbar a {
    display: none;
  }
  .header-inner {
    min-height: 72px;
    gap: 16px;
  }
  .brand-icon svg {
    width: 32px;
    height: 40px;
  }
  .brand-type strong {
    font-size: 28px;
  }
  .brand-type > span {
    font-size: 11px;
    margin-top: 4px;
  }
  .brand {
    gap: 8px;
  }
  .language-link {
    font-size: 13px;
    margin-right: 4px;
  }
  .language-link svg {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions .icon-button {
    width: 40px;
    height: 44px;
    padding: 8px;
  }
  .hero-content {
    min-height: 440px;
    padding-block: 48px 56px;
  }
  .hero-intro {
    margin-bottom: 16px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: clamp(32px,8vw,40px);
    line-height: 1.4;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.8;
  }
  .hero-shade {
    background: linear-gradient(90deg,#091810d1,#091810b8);
  }
  .hero .button-row {
    gap: 12px;
    margin-top: 28px;
  }
  .hero .button {
    padding-inline: 20px;
    font-size: 14px;
    gap: 16px;
  }
  .hero-bottom .container {
    width: 100%;
  }
  .hero-bottom a, .hero-bottom a:first-child {
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    font-size: 12px;
    text-align: center;
  }
  .hero-bottom a svg:last-child {
    display: none;
  }
  .section-note {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .text-link {
    margin-top: 16px;
  }
  h2 {
    font-size: 28px;
  }
  .intro-copy p {
    font-size: 15px;
  }
  .image-caption {
    padding-block: 16px;
    font-size: 13px;
  }
  .intro-facts {
    gap: 16px;
  }
  .intro-facts > div {
    padding-top: 16px;
  }
  .intro-facts strong {
    font-size: 32px;
  }
  .intro-facts > div > span {
    font-size: 12px;
  }
  .product-grid {
    gap: 32px 16px;
  }
  .product-image {
    padding: 16px;
    aspect-ratio: 1.1;
  }
  .product-info {
    padding-top: 16px;
  }
  .product-category {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .product-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .product-info p {
    font-size: 14px;
    line-height: 1.75;
  }
  .product-info .text-link {
    font-size: 13px;
    gap: 8px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .video-preview {
    height: auto;
    aspect-ratio: 16/10;
  }
  .video-card h3 {
    margin-top: 20px;
    font-size: 20px;
  }
  .video-card p {
    font-size: 14px;
  }
  .application-grid img {
    aspect-ratio: 1.5;
  }
  .application-grid p {
    font-size: 15px;
  }
  .catalogue-inner .button-row {
    gap: 12px;
  }
  .catalogue-inner .button {
    gap: 16px;
    padding-inline: 20px;
    font-size: 14px;
  }
  .contact-strip > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .contact-strip span {
    font-size: 13px;
  }
  .site-footer {
    padding-top: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand p {
    max-width: 100%;
    margin: 24px 0 0;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
    padding-top: 8px;
  }
  .footer-grid > div:last-child p {
    margin-bottom: 16px;
  }
  .footer-bottom {
    gap: 12px 24px;
    padding-block: 24px;
    font-size: 12px;
  }
  .footer-bottom > span {
    width: 100%;
  }
  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    min-height: 72px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  .mobile-dock a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding-block: 12px;
    color: var(--green);
    font-size: 12px;
  }
  .mobile-dock a:nth-child(2) {
    background: var(--green);
    color: var(--white);
  }
  .back-top {
    bottom: calc(88px + env(safe-area-inset-bottom));
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .page-banner {
    min-height: 224px;
    padding-block: 40px;
  }
  .page-banner h1 {
    font-size: 32px;
  }
  .page-banner p {
    font-size: 14px;
  }
  .breadcrumbs {
    gap: 8px;
    padding-block: 24px;
    font-size: 12px;
  }
  .catalogue-tools {
    gap: 24px;
  }
  .product-filters {
    gap: 8px;
  }
  .product-filters button {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 13px;
  }
  .product-search-label, .product-search-label input {
    width: 100%;
  }
  .filter-count {
    margin-block: 24px;
    font-size: 13px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .factory-gallery .gallery-item:last-child img {
    aspect-ratio: 1.4;
  }
  .download-panel {
    padding: 24px;
  }
  .download-panel h2 {
    font-size: 24px;
  }
  .download-panel p {
    font-size: 14px;
  }
  .catalogue-index a {
    font-size: 13px;
  }
  .catalogue-spread h2 {
    font-size: 24px;
  }
  .catalogue-spread {
    margin-bottom: 40px;
  }
  .contact-layout h2 {
    font-size: 28px;
  }
  .enquiry-form {
    padding: 24px;
  }
  .enquiry-form h2 {
    font-size: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-container summary {
    font-size: 17px;
  }
  .faq-container p {
    font-size: 15px;
  }
  .product-detail h1 {
    font-size: 32px;
  }
  .product-detail-image .image-preview {
    padding: 24px;
  }
  .spec-table {
    font-size: 14px;
  }
  .spec-table th, .spec-table td {
    padding: 12px;
  }
  .product-detail .button {
    width: 100%;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  dialog {
    padding: 24px;
    max-height: calc(100dvh - 32px);
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  .media-dialog {
    width: calc(100% - 24px);
    padding: 16px;
  }
  .media-dialog .dialog-head {
    gap: 12px;
    margin-bottom: 16px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 8px;
  }
  .brand-type strong {
    font-size: 24px;
  }
  .brand-type > span {
    font-size: 11px;
  }
  .header-actions .icon-button {
    width: 36px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .button {
    padding-inline: 16px;
    gap: 12px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    aspect-ratio: 1.5;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    animation: dialog-enter 200ms var(--ease);
  }
  @keyframes dialog-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  #main-nav.is-open {
    animation: dialog-enter 180ms var(--ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  body {
    padding-bottom: 0;
  }
  .topbar, .header-actions, .contact-strip, .site-footer, .mobile-dock, .back-top, .button-row, .video-preview, dialog {
    display: none !important;
  }
  .site-header {
    position: static;
  }
  .container {
    width: 100%;
  }
  .section {
    padding-block: 24px;
  }
  .page-banner {
    min-height: 128px;
    background: transparent;
    color: var(--ink);
  }
  .page-banner img, .page-banner::after {
    display: none;
  }
  .page-banner p {
    color: var(--muted);
  }
}
