:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #66717f;
  --paper: #f6f3ed;
  --panel: #ffffff;
  --line: #ddd8ce;
  --green: #145944;
  --green-2: #0d3f33;
  --gold: #b2753d;
  --stone: #30343a;
  --shadow: 0 18px 48px rgba(23, 26, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(246, 243, 237, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--green-2);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  color: #4a525c;
  border: 1px solid transparent;
  font-size: 14px;
}

.nav a:hover {
  color: var(--green-2);
  border-color: var(--line);
  background: #fff;
}

.nav a[aria-current="page"] {
  color: var(--green-2);
  border-color: var(--line);
  background: #fff;
}

.subpage-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 8px;
}

.subpage-hero h1 {
  max-width: 920px;
  color: var(--green-2);
  font-size: clamp(42px, 7vw, 82px);
}

.subpage-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: var(--green-2);
  border: 1px solid var(--line);
}

.contact-card a,
.contact-card strong {
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 860px);
  color: #fff;
  background: #0f1214;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 11, 12, 0.78), rgba(8, 11, 12, 0.5) 48%, rgba(8, 11, 12, 0.12));
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: inherit;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 78px 0 110px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7eadb;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 98px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.14;
}

h4 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.quick-stats {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin: -62px auto 0;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.subpage-hero + .quick-stats {
  margin-top: 22px;
}

.factory-capability {
  padding-top: 96px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-grid article {
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
}

.capability-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e5ded2;
}

.capability-card > div {
  padding: 24px;
}

.capability-grid span,
.case-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-grid h3 {
  margin: 14px 0 12px;
  font-size: 24px;
}

.capability-grid p,
.case-card p,
.factory-copy p,
.factory-copy li,
.inquiry-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.series-carousel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(380px, 0.82fr);
  height: clamp(430px, 64vh, 500px);
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.series-scene,
.series-product {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.series-scene {
  color: #fff;
  background: #111;
}

.series-scene img,
.series-product > img {
  width: 100%;
  min-width: 0;
  min-height: 0;
  transition: opacity 0.35s ease;
}

.series-scene img {
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.series-scene > div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.series-scene span,
.series-product-copy span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.series-scene span {
  color: #b7eadb;
}

.series-scene strong {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
}

.series-product {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #fff;
}

.series-product > img {
  height: clamp(185px, 30vh, 235px);
  padding: clamp(12px, 2vw, 22px);
  object-fit: contain;
  object-position: center;
  background: #f8f6f0;
}

.series-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.6vw, 26px);
}

.series-product-copy h3 {
  margin: 7px 0 8px;
  font-size: clamp(23px, 2.7vw, 30px);
  line-height: 1.1;
}

.series-product-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.series-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}

.series-meta div {
  padding: 9px 10px;
  background: #f6f3ed;
  border: 1px solid var(--line);
}

.series-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.series-meta dd {
  margin: 4px 0 0;
  color: var(--green-2);
  font-weight: 800;
  line-height: 1.35;
}

.series-product-copy a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-2);
  font-weight: 800;
}

.series-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.series-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--green);
  background: transparent;
  cursor: pointer;
}

.series-dots button[aria-pressed="true"] {
  background: var(--green);
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 22px;
}

.case-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: #3e4650;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.case-tabs button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  position: relative;
  min-width: 0;
  height: 487px;
  min-height: 487px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #111;
  cursor: zoom-in;
}

.case-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.case-card:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.case-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.case-card span {
  color: #b7eadb;
}

.case-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.case-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(340px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.factory-main {
  min-height: clamp(420px, 54vw, 620px);
  overflow: hidden;
  background: #111;
}

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

.factory-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
}

.factory-copy h3 {
  margin-bottom: 14px;
}

.factory-copy ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.production-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.production-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e5ded2;
}

.production-card div {
  padding: 20px;
}

.production-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.production-card h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 26px);
}

.production-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(340px, 1fr);
  gap: 20px;
  align-items: stretch;
  padding-bottom: 88px;
}

.inquiry-copy,
.inquiry-form {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
}

.inquiry-copy {
  color: #fff;
  background: var(--green-2);
}

.inquiry-copy .eyebrow {
  color: #b7eadb;
}

.inquiry-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.inquiry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.inquiry-points span {
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.inquiry-form label,
.inquiry-form label span {
  display: grid;
  gap: 8px;
}

.inquiry-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--green);
  background: #fff;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-2);
  font-weight: 800;
}

.form-status.error {
  color: #a33b2f;
}

.quick-stats article {
  min-height: 122px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-stats article:last-child {
  border-right: 0;
}

.quick-stats strong {
  display: block;
  color: var(--green-2);
  font-size: 32px;
  line-height: 1;
}

.quick-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(260px, 0.52fr);
  gap: 42px;
  align-items: end;
}

.section-heading p:not(.eyebrow),
.value-grid p,
.series-hero p,
.sku-card p,
.application-card p,
.export-copy p,
.export-card li {
  color: var(--muted);
  line-height: 1.75;
}

.product-showcase {
  padding-top: 48px;
  scroll-margin-top: 76px;
}

.product-showcase .section-heading {
  margin-bottom: 16px;
}

.product-showcase .section-heading.split {
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.46fr);
  gap: 28px;
  align-items: center;
}

.product-showcase .eyebrow {
  margin-bottom: 8px;
}

.product-showcase h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.02;
}

.product-showcase .section-heading > p {
  font-size: 15px;
  line-height: 1.5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-grid article {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.value-grid span,
.series-hero span,
.sku-card span,
.project-card span,
.tile span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.value-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.product-system-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.product-system-stats article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-system-stats strong {
  display: block;
  color: var(--green-2);
  font-size: 30px;
  line-height: 1;
}

.product-system-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.category-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: #3f4650;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.category-tabs button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.product-system {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(520px, 1fr);
  gap: 18px;
  align-items: start;
}

.series-list {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
}

.series-list button {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.series-list button[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: inset 4px 0 0 var(--green);
}

.series-list img {
  width: 82px;
  height: 70px;
  object-fit: cover;
  background: #e5ded2;
}

.series-list strong,
.series-list em {
  display: block;
}

.series-list strong {
  font-size: 14px;
  line-height: 1.25;
}

.series-list em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.series-panel {
  min-width: 0;
}

.series-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) 1fr;
  gap: 0;
  margin-bottom: 16px;
  color: #fff;
  background: var(--green-2);
}

.series-hero > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.series-hero > div {
  padding: 30px;
}

.series-hero span {
  color: #b7eadb;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.series-hero h3 {
  margin: 16px 0 18px;
}

.series-hero p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.series-hero dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
}

.series-hero dl div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.series-hero dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.series-hero dd {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 800;
}

.sku-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sku-card {
  background: #fff;
  border: 1px solid var(--line);
}

.sku-card .sku-link {
  display: block;
  width: 100%;
}

.sku-card .sku-link > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e5ded2;
}

.thumbnail-spec-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 18px 14px 34px;
  color: #3f4650;
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.thumbnail-spec-list li::marker {
  color: var(--green);
}

.sku-card > div {
  padding: 18px;
}

.sku-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 64px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e5ded2;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.application-card {
  background: #fff;
  border: 1px solid var(--line);
}

.application-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.application-card div {
  padding: 18px;
}

.application-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.project-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  color: #fff;
  background: #111;
}

.project-card.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.project-card span {
  color: #b7eadb;
}

.project-card h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.export {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.export-copy,
.export-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
}

.export-copy {
  color: #fff;
  background: var(--stone);
}

.export-copy .eyebrow {
  color: #b7eadb;
}

.export-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.export-card {
  background: #fff;
}

.export-card h3 {
  margin-bottom: 16px;
  font-size: 26px;
}

.export-card ul {
  margin: 0;
  padding-left: 20px;
}

.export-card li + li {
  margin-top: 10px;
}

.product-listing-page {
  padding-bottom: 88px;
}

.product-list-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-filter-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.product-filter-heading strong {
  font-size: 18px;
}

.product-filter-heading span,
.product-filter-block > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-filter-block > span {
  display: block;
  margin-bottom: 10px;
}

.product-filter-group {
  display: grid;
  gap: 8px;
}

.product-filter-group button {
  display: flex;
  min-height: 44px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: #424851;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.product-filter-group button strong {
  font-size: 13px;
}

.product-filter-group button em {
  display: inline-flex;
  min-width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #f3efe7;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.product-filter-group button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.product-filter-group button[aria-pressed="true"] em {
  color: var(--green-2);
  background: #fff;
}

.product-results-panel {
  min-width: 0;
}

.product-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-list-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-list-toolbar a {
  color: var(--green-2);
  font-weight: 800;
}

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

.product-list-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.product-list-card:hover {
  border-color: rgba(24, 98, 72, 0.45);
}

.product-list-image {
  display: block;
  overflow: hidden;
}

.product-list-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e5ded2;
  transition: transform 0.35s ease;
}

.product-list-card:hover .product-list-image img {
  transform: scale(1.035);
}

.product-list-card .thumbnail-spec-list {
  padding-right: 16px;
  padding-left: 32px;
}

.product-list-copy {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-card-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--green-2);
  background: #eef5ef;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-tags span + span {
  color: #7b6128;
  background: #f7f0dc;
}

.product-list-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.product-list-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-spec-list {
  display: grid;
  margin: 2px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #3f4650;
  font-size: 13px;
  line-height: 1.45;
}

.product-spec-list li {
  display: flex;
  min-height: 34px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.product-spec-list span {
  color: var(--muted);
}

.product-spec-list strong {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.product-list-link,
.product-sample-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--green);
  font-size: 13px;
  font-weight: 800;
}

.product-list-link {
  color: #fff;
  background: var(--green);
}

.product-sample-link {
  color: var(--green-2);
  background: #fff;
}

.product-list-empty {
  margin: 44px 0 0;
  padding: 24px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.gallery-section {
  padding-bottom: 72px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #eee9df;
  border: 1px solid var(--line);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.search span {
  color: var(--muted);
  font-size: 14px;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filters button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: #424851;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.filters button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 16px;
}

.tile {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e5ded2;
}

.tile figcaption {
  padding: 10px;
}

.tile strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tile span {
  display: inline-block;
  margin-top: 6px;
}

.empty {
  margin: 56px 0;
  color: var(--muted);
  text-align: center;
}

.lightbox {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #050505;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #111;
}

.lightbox-meta a {
  color: #b7eadb;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.6fr) minmax(220px, 0.45fr);
  gap: 28px;
  align-items: start;
  padding: 38px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: #eee9df;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer nav,
.site-footer > div:last-child {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--green-2);
  font-weight: 800;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  margin-bottom: 0;
}

footer:not(.site-footer) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: #eee9df;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .value-grid,
  .application-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-system,
  .product-list-layout,
  .export,
  .contact-panel,
  .factory-layout,
  .inquiry-section,
  .series-carousel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .series-list {
    position: static;
  }

  .series-carousel {
    height: auto;
  }

  .series-scene {
    min-height: 420px;
  }

  .production-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-main {
    grid-row: auto;
    min-height: 380px;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-filter-panel {
    position: static;
  }

  .product-filter-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar,
  .section-heading.split,
  .toolbar,
  .product-filter-panel,
  .product-list-toolbar {
    display: block;
  }

  .nav {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(8, 11, 12, 0.88), rgba(8, 11, 12, 0.24));
  }

  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-stats article:nth-child(2) {
    border-right: 0;
  }

  .quick-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-top: 66px;
  }

  .product-showcase {
    padding-top: 56px;
  }

  .section-heading.split > p {
    margin-top: 12px;
  }

  .filters {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .product-filter-panel > div + div,
  .product-list-toolbar a {
    margin-top: 12px;
  }

  .product-filter-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-list-toolbar a {
    display: inline-block;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 650px;
  }

  .hero-copy {
    justify-content: flex-end;
    padding-bottom: 84px;
  }

  .quick-stats,
  .value-grid,
  .capability-grid,
  .case-grid,
  .production-grid,
  .form-grid,
  .series-meta,
  .product-system-stats,
  .sku-grid,
  .series-hero,
  .application-grid,
  .project-board,
  .product-list-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .quick-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats article:last-child {
    border-bottom: 0;
  }

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

  .product-card-actions {
    display: grid;
  }

  .project-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .series-carousel {
    min-height: auto;
  }

  .series-scene {
    min-height: 340px;
  }

  .series-product {
    grid-template-rows: auto auto;
  }

  .series-product > img {
    height: 230px;
  }

  .series-dots {
    right: 14px;
    bottom: 12px;
  }

  .lightbox-meta {
    display: block;
  }

  .lightbox-meta a {
    display: inline-block;
    margin-top: 8px;
  }
}
