:root {
  --ink: #1f1e1b;
  --muted: #6d6b63;
  --line: #dfd8ca;
  --stone: #f8f7f2;
  --warm: #eee6d7;
  --accent: #1f1e1b;
  --accent-deep: #1f1e1b;
  --detail: #1f1e1b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 30, 27, 0.12);
  --radius: 8px;
  --content-width: 1080px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

/* Product directory and catalog mini-site */
body[data-page="products"] {
  --content-width: 1240px;
  background: #f3efe6;
}

.nav-products {
  position: relative;
}

.nav-products-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-products-toggle {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-products-toggle span {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-products.is-open .nav-products-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.products-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: 268px;
  display: grid;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(31, 30, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  pointer-events: none;
}

.products-submenu a {
  padding: 11px 12px;
  border-radius: 4px;
  color: #3f3c36;
  font-size: 0.84rem;
  line-height: 1.2;
}

.products-submenu a::after {
  display: none;
}

.products-submenu a:hover,
.products-submenu a[aria-current="page"] {
  background: #f3efe6;
  color: var(--ink);
}

.nav-products.is-open .products-submenu,
.nav-products:focus-within .products-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.product-hub-hero {
  padding: clamp(44px, 5vw, 70px) 0;
  background: var(--white);
}

.product-hub-hero-grid,
.catalog-hero-grid,
.product-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.product-hub-copy h1 {
  max-width: 670px;
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  line-height: 0.96;
}

.product-hub-copy > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.product-hub-visual {
  position: relative;
  height: clamp(430px, 42vw, 560px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd8ce;
}

.product-hub-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-hub-visual span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-directory {
  background: #f3efe6;
}

.product-directory-heading {
  margin-bottom: 28px;
}

.product-directory-heading h2 {
  max-width: 720px;
}

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

.product-directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-directory-card:hover {
  border-color: #aaa294;
  box-shadow: 0 18px 42px rgba(31, 30, 27, 0.1);
  transform: translateY(-3px);
}

.product-directory-card img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.product-directory-card:nth-child(2) img,
.product-directory-card:nth-child(3) img,
.product-directory-card:nth-child(4) img,
.product-directory-card:nth-child(5) img,
.product-directory-card:nth-child(6) img {
  object-fit: contain;
  padding: 20px;
}

.product-directory-card span {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px 20px;
}

.product-directory-card small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-directory-card strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.72rem);
  font-weight: 400;
  line-height: 1.08;
}

.product-manufacturer-band {
  background: var(--white);
}

.product-feature-band {
  background: #e9e2d6;
}

.product-feature-grid img {
  width: 100%;
  min-height: 480px;
  max-height: 590px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-feature-grid > div {
  max-width: 520px;
}

.catalog-hero {
  padding: clamp(52px, 7vw, 86px) 0;
  background: var(--white);
}

.catalog-hero-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1.2fr);
}

.catalog-hero h1 {
  max-width: 610px;
  margin: 0 0 20px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.95;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
}

.catalog-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f4f1eb;
}

body[data-catalog-category="natural-stone"] .catalog-hero img,
body[data-catalog-category="marble-tiles"] .catalog-hero img {
  object-fit: cover;
  padding: 0;
}

.catalog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.catalog-back::before {
  content: "←";
  font-size: 1rem;
}

.catalog-page {
  display: grid;
  gap: clamp(72px, 9vw, 120px);
  padding-top: clamp(72px, 9vw, 116px);
  padding-bottom: clamp(72px, 9vw, 116px);
}

.catalog-family {
  scroll-margin-top: 110px;
}

.catalog-family-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-family-heading .eyebrow {
  margin: 0;
}

.catalog-family-heading h2 {
  margin: 0;
  text-align: right;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

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

.catalog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.catalog-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
}

.catalog-image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  background: #f4f1eb;
}

.has-image-error img {
  display: none;
}

.has-image-error .catalog-image-fallback {
  display: grid;
}

.catalog-card-copy {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 20px 19px;
}

.catalog-card-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.62rem);
  font-weight: 400;
  line-height: 1.05;
}

.catalog-card-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.catalog-empty {
  padding: 60px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

@media (hover: hover) and (min-width: 841px) {
  .nav-products:hover .products-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
}

@media (max-width: 1080px) {
  body[data-page="products"] {
    --content-width: 920px;
  }

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

@media (max-width: 840px) {
  .nav-products-row {
    border-bottom: 1px solid #eee8dd;
  }

  .nav-products-row .nav-products-link {
    flex: 1;
    border-bottom: 0;
  }

  .nav-products-toggle {
    width: 44px;
    height: 44px;
  }

  .products-submenu {
    position: static;
    width: 100%;
    display: none;
    padding: 4px 0 10px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-products.is-open .products-submenu,
  .nav-products:focus-within .products-submenu {
    display: grid;
    transform: none;
  }

  .products-submenu a {
    padding: 10px 0;
    border-bottom: 1px solid #eee8dd;
  }

  .product-hub-hero-grid,
  .catalog-hero-grid,
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-hub-visual,
  .product-hub-visual img {
    min-height: 380px;
  }

  .catalog-hero img {
    height: auto;
  }

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

@media (max-width: 620px) {
  .product-hub-hero {
    padding: 36px 0 44px;
  }

  .product-hub-hero-grid {
    gap: 28px;
  }

  .product-hub-copy h1 {
    font-size: clamp(2.55rem, 11.2vw, 3.2rem);
  }

  .catalog-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .product-hub-visual,
  .product-hub-visual img {
    min-height: 0;
  }

  .product-hub-visual {
    height: 270px;
  }

  .product-directory-grid,
  .catalog-grid {
    gap: 12px;
  }

  .product-directory-card img,
  .catalog-card-media {
    aspect-ratio: 1 / 1;
  }

  .product-directory-card span,
  .catalog-card-copy {
    min-height: 88px;
    padding: 14px;
  }

  .product-directory-card strong,
  .catalog-card-copy h3 {
    font-size: 1.1rem;
  }

  .catalog-card-media img {
    padding: 10px;
  }

  .catalog-hero {
    padding: 48px 0 54px;
  }

  .catalog-hero img {
    height: auto;
  }

  .catalog-back {
    margin-bottom: 26px;
  }

  .catalog-family-heading {
    display: block;
  }

  .catalog-family-heading .eyebrow {
    margin-bottom: 8px;
  }

  .catalog-family-heading h2 {
    text-align: left;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 216, 202, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 156px;
}

.brand img {
  width: clamp(150px, 14vw, 214px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #34322d;
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--accent-deep);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.site-nav .nav-contact::after {
  display: none;
}

.site-nav .nav-contact:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--warm);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  pointer-events: none;
}

.hero-product-showcase {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.hero-product-showcase::before {
  position: absolute;
  top: 12%;
  left: 5%;
  width: min(48vw, 610px);
  height: min(58vw, 620px);
  border: 1px solid rgba(31, 30, 27, 0.1);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
  transform: rotateX(64deg) rotateZ(-16deg);
}

.hero-product-card {
  position: absolute;
  display: grid;
  gap: 10px;
  width: clamp(150px, 15vw, 245px);
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(223, 216, 202, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(31, 30, 27, 0.18);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  will-change: transform;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: calc(var(--radius) - 2px);
}

.hero-product-card figcaption {
  color: #39362f;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-product-card-a {
  top: 18%;
  left: 8%;
  transform: translate3d(0, 0, 90px) rotateX(9deg) rotateY(24deg) rotateZ(-7deg);
}

.hero-product-card-b {
  top: 39%;
  left: 24%;
  width: clamp(170px, 18vw, 310px);
  animation-delay: -2.2s;
  transform: translate3d(0, 0, 150px) rotateX(14deg) rotateY(-19deg) rotateZ(5deg);
}

.hero-product-card-c {
  bottom: 12%;
  left: 11%;
  animation-delay: -4.4s;
  transform: translate3d(0, 0, 60px) rotateX(12deg) rotateY(18deg) rotateZ(8deg);
}

@keyframes heroFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  background:
    linear-gradient(90deg, rgba(248, 247, 242, 0.02), rgba(248, 247, 242, 0.54) 52%, rgba(248, 247, 242, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(244, 238, 226, 0.22));
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(500px, calc(100% - 40px));
  margin: 0 max(24px, calc((100vw - var(--content-width)) / 2)) 0 auto;
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4.25vw, 4.45rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.55vw, 2.9rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  color: #4d4a43;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--accent-deep);
}

.button-light {
  border-color: rgba(31, 30, 27, 0.32);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-light:hover,
.button-outline:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: var(--white);
}

.button-outline {
  width: 100%;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-clear {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-weight: 700;
}

.text-link::after {
  content: ">";
  color: var(--detail);
}

.section {
  padding: clamp(64px, 7vw, 108px) 0;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
}

.split-intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-heading h2 {
  max-width: 820px;
}

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

.category-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 30, 27, 0), rgba(31, 30, 27, 0.54));
  content: "";
}

.category-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.category-card span strong,
.category-card span small {
  display: block;
}

.category-card span strong {
  font-weight: 400;
}

.category-card span small {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

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

.collection-family-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-family-card {
  min-height: 238px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}

.collection-family-card::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(31, 30, 27, 0.7));
}

.collection-family-card img {
  height: 100%;
  padding: 22px;
  object-fit: contain;
  background: var(--white);
}

.home-new-products .collection-family-card img {
  object-fit: cover;
  object-position: center;
}

.home-natural-collections .collection-family-card {
  min-height: 360px;
}

.home-natural-collections .collection-family-card img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.collection-family-card span {
  font-size: clamp(1.06rem, 1.28vw, 1.28rem);
}

.muted-section {
  background: #efeadf;
}

.value-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-grid article,
.capability-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--stone);
}

.value-grid span,
.process-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--detail);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.value-grid p,
.capability-grid p,
.process-strip p,
.process-list p {
  color: var(--muted);
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-strip article {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.process-strip article:last-child {
  border-right: 0;
}

.image-feature {
  display: grid;
  width: min(var(--content-width), calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}

.image-feature.reverse {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
}

.feature-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.feature-copy {
  width: min(520px, 100%);
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.application-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.application-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.application-grid h3 {
  margin: 0;
  padding: 18px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.cta-panel h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.cta-panel .eyebrow {
  color: var(--white);
}

.cta-panel .button-dark {
  background: var(--white);
  color: var(--ink);
}

.cta-panel .button-dark:hover {
  background: var(--warm);
  color: var(--ink);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 110px) 0 clamp(46px, 6vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.compact-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(31, 30, 27, 0.08), transparent 26%),
    linear-gradient(120deg, var(--white), #f0eadf);
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.collection-hero {
  background: var(--white);
}

.collection-hero h1 {
  max-width: 760px;
}

.product-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-page-tabs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-page-tabs a:hover {
  background: var(--ink);
  color: var(--white);
}

body[data-page="products"] {
  --content-width: 920px;
  background: #efeadf;
}

body[data-page="products"] .page-hero {
  padding: clamp(52px, 7vw, 88px) 0 clamp(36px, 5vw, 54px);
}

body[data-page="products"] .page-hero h1 {
  max-width: 520px;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
}

body[data-page="products"] .page-hero p:not(.eyebrow) {
  max-width: 520px;
  font-size: 0.95rem;
}

body[data-page="products"] .product-page-tabs {
  margin-top: 22px;
}

body[data-page="products"] .product-page-tabs a {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.78rem;
}

.factory-profile {
  background: var(--white);
}

.factory-profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.factory-profile-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.factory-profile-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.factory-profile-media img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-grid article {
  min-height: 178px;
  padding: 26px;
  background: var(--stone);
}

.stat-grid span,
.capability-metrics span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.55rem);
  line-height: 1.05;
}

.stat-grid p,
.capability-metrics p {
  margin: 0;
  color: var(--muted);
}

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

.capability-metrics article {
  min-height: 245px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.machinery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.machinery-image-grid {
  display: grid;
  gap: 16px;
}

.machinery-image-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(31, 30, 27, 0.08);
}

.machinery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.machinery-list article {
  min-height: 115px;
  padding: 18px;
  background: var(--white);
}

.machinery-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--detail);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.machinery-list span {
  display: block;
  color: #3f3c36;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

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

.factory-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(31, 30, 27, 0.08);
}

.factory-gallery img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.factory-gallery h3,
.factory-gallery p {
  margin-right: 22px;
  margin-left: 22px;
}

.factory-gallery h3 {
  margin-top: 22px;
}

.factory-gallery p {
  margin-bottom: 24px;
  color: var(--muted);
}

.material-source-section {
  padding-top: 0;
}

.material-source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: #24221f;
  color: var(--white);
}

.material-source-grid .eyebrow {
  color: var(--accent);
}

.material-source-grid h2 {
  margin-bottom: 0;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.material-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}

.image-page-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink);
}

.image-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(31, 30, 27, 0.82), rgba(31, 30, 27, 0.28));
}

.image-page-hero .container {
  position: relative;
  z-index: 1;
}

.image-page-hero .eyebrow,
.image-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.about-hero > img {
  object-position: center;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(31, 30, 27, 0.06);
}

.collection-filter {
  grid-template-columns: minmax(240px, 360px) auto;
  justify-content: space-between;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: #514e47;
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

.product-count {
  margin-top: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.product-section {
  background: #efeadf;
}

.collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(31, 30, 27, 0.08);
}

.collection-card {
  box-shadow: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.collection-card:hover {
  border-color: rgba(31, 30, 27, 0.55);
  transform: translateY(-2px);
}

.collection-card a {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.collection-card img {
  aspect-ratio: 1;
  padding: 12px;
  object-fit: contain;
  border-bottom: 1px solid #ece6dc;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-code {
  margin-bottom: 5px;
  color: var(--detail);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.product-copy h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.collection-copy {
  min-height: 118px;
  justify-content: center;
  padding: 18px 20px 20px;
}

.collection-copy .product-code {
  margin-bottom: 7px;
  color: var(--accent-deep);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.collection-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
}

.product-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 46px);
}

.product-collection-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(31, 30, 27, 0.06);
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-collection-card:hover {
  border-color: rgba(31, 30, 27, 0.5);
  transform: translateY(-2px);
}

.product-collection-card a {
  display: block;
}

.product-collection-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: contain;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.new-product-card img {
  padding: 0;
  object-fit: contain;
}

.product-collection-copy {
  padding: 22px 24px 24px;
}

.product-collection-copy .product-code {
  display: none;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-collection-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.collection-detail-wrap {
  display: grid;
  gap: clamp(58px, 8vw, 104px);
  margin-top: clamp(56px, 8vw, 100px);
}

.collection-detail-section {
  scroll-margin-top: 110px;
}

.collection-detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.collection-detail-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.65vw, 3rem);
}

.collection-detail-heading .eyebrow {
  margin: 0;
}

body[data-page="products"] .product-section {
  padding: clamp(56px, 7vw, 86px) 0;
}

body[data-page="products"] .section-heading {
  margin-bottom: 20px;
}

body[data-page="products"] .section-heading h2,
body[data-page="products"] .collection-detail-heading h2 {
  max-width: 560px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.03;
}

body[data-page="products"] .section-heading p {
  max-width: 520px;
  font-size: 0.9rem;
}

body[data-page="products"] .product-collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="products"] .product-collection-card img {
  aspect-ratio: 1.04;
  padding: 18px;
}

body[data-page="products"] .product-collection-copy {
  padding: 14px 16px 16px;
}

body[data-page="products"] .product-collection-copy h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.08;
}

body[data-page="products"] .new-product-card .product-code {
  display: none;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0;
}

body[data-page="products"] .collection-copy .product-code {
  display: block;
}

body[data-page="products"] .collection-detail-wrap {
  gap: clamp(50px, 7vw, 84px);
  margin-top: clamp(46px, 7vw, 82px);
}

body[data-page="products"] .collection-detail-heading {
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

body[data-page="products"] .collection-detail-heading .eyebrow {
  min-width: 108px;
  font-size: 0.62rem;
}

body[data-page="products"] .collection-grid {
  gap: 16px;
}

body[data-page="products"] .collection-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

body[data-page="products"] .collection-card img {
  padding: 12px;
  background: var(--white);
  border-bottom-color: #ece6dc;
  mix-blend-mode: normal;
}

body[data-page="products"] .collection-copy {
  min-height: 72px;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 10px 11px;
  background: var(--white);
}

body[data-page="products"] .collection-copy .product-code {
  display: block;
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.05;
}

body[data-page="products"] .collection-copy h2 {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.06;
}

.product-copy dl {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.product-copy dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee8dd;
}

.product-copy dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-copy dd {
  margin: 0;
  color: #3c3933;
  font-size: 0.88rem;
}

.product-copy .button {
  margin-top: auto;
}

.capability-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.capability-grid article {
  min-height: 210px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.process-image {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: var(--radius);
}

.process-image img {
  width: 100%;
  height: min(740px, calc(100vh - 130px));
  object-fit: cover;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list article {
  padding: 28px;
  background: var(--white);
}

.process-list h2 {
  font-size: 1.55rem;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 360ms ease, opacity 360ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 30, 27, 0.04), rgba(31, 30, 27, 0.68));
  content: "";
}

.gallery-item div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: var(--white);
}

.gallery-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-item h2 {
  margin: 0;
  font-size: 1.75rem;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.narrow-copy {
  max-width: 850px;
}

.narrow-copy p {
  color: #45423c;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.45;
}

.contact-direct-section {
  background: var(--white);
}

body[data-page="contact"] {
  --content-width: 1320px;
}

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

.contact-primary-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 230, 215, 0.72)),
    var(--white);
  box-shadow: var(--shadow);
}

.contact-primary-card h2 {
  max-width: none;
  margin-bottom: 18px;
  white-space: nowrap;
  font-size: clamp(1.35rem, 1.75vw, 1.75rem);
}

.contact-instagram-card {
  background: var(--stone);
}

.contact-primary-card p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-dark-card {
  background: #24221f;
  color: var(--white);
}

.contact-dark-card .eyebrow,
.contact-dark-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-dark-card .button-light {
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  color: var(--white);
}

.contact-info-band {
  padding-top: 0;
}

.contact-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--stone);
}

.contact-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #47443d;
  font-weight: 700;
}

.site-footer {
  padding: 58px 0;
  background: #24221f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.5fr) minmax(220px, 0.7fr);
  gap: 42px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
  filter: invert(1);
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer a {
  display: table;
  margin-bottom: 10px;
}

.site-footer .text-link {
  color: var(--white);
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .category-grid,
  .value-grid,
  .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  body[data-page="products"] {
    --content-width: 860px;
  }

  body[data-page="products"] .product-collection-grid,
  body[data-page="products"] .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (max-width: 840px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #eee8dd;
  }

  .site-nav .nav-contact {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 640px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(248, 247, 242, 0.42), rgba(248, 247, 242, 0.94) 54%, rgba(248, 247, 242, 0.98));
  }

  .hero > img {
    object-position: 35% center;
  }

  .hero-3d {
    opacity: 0.55;
  }

  .hero-product-showcase {
    opacity: 0.7;
  }

  .hero-product-showcase::before {
    top: 7%;
    left: -18%;
    width: 520px;
    height: 520px;
  }

  .hero-product-card {
    width: 150px;
  }

  .hero-product-card-a {
    top: 9%;
    left: 8%;
  }

  .hero-product-card-b {
    top: 17%;
    right: 9%;
    left: auto;
    width: 170px;
  }

  .hero-product-card-c {
    display: none;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: auto auto 0;
    padding: 170px 0 60px;
  }

  .split-intro,
  .factory-profile-grid,
  .machinery-layout,
  .material-source-grid,
  .image-feature,
  .image-feature.reverse,
  .process-layout,
  .contact-info-layout,
  .contact-direct-grid {
    grid-template-columns: 1fr;
    padding-right: 0;
    padding-left: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .image-feature .feature-copy,
  .image-feature.reverse .feature-copy {
    width: min(100% - 40px, 560px);
    margin: 0 auto;
  }

  .feature-image,
  .feature-image img {
    min-height: 420px;
  }

  .application-grid,
  .stat-grid,
  .capability-metrics,
  .factory-gallery,
  .three-up,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-image {
    position: static;
  }

  .process-image img {
    height: 460px;
  }

  .factory-profile-media img {
    min-height: 360px;
  }

  .image-page-hero {
    min-height: 560px;
  }

  .image-page-hero::after {
    background: linear-gradient(180deg, rgba(31, 30, 27, 0.28), rgba(31, 30, 27, 0.84));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--content-width));
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.45rem);
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-product-showcase {
    opacity: 0.5;
  }

  .hero-product-card {
    width: 130px;
  }

  .hero-product-card figcaption {
    display: none;
  }

  .hero-product-card-b {
    width: 145px;
  }

  .category-grid,
  .value-grid,
  .capability-grid,
  .stat-grid,
  .capability-metrics,
  .machinery-list,
  .factory-gallery,
  .material-list,
  .process-strip,
    .filter-bar,
    .product-grid,
    .product-collection-grid,
    .collection-family-grid,
    .gallery-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] {
    --content-width: 520px;
  }

  body[data-page="products"] .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="products"] .product-collection-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 290px;
  }

  .collection-detail-heading {
    display: block;
  }

  .collection-detail-heading .eyebrow {
    margin-bottom: 10px;
  }

  .filter-bar {
    padding: 14px;
  }

  .collection-filter {
    padding: 0 0 18px;
  }

  .collection-card img {
    padding: 18px;
  }

  body[data-page="products"] .collection-card img {
    padding: 10px;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .product-copy dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Keep the catalog width overrides after legacy product-page rules. */
body[data-page="products"] {
  --content-width: 1240px;
  background: #f3efe6;
}

@media (max-width: 1080px) {
  body[data-page="products"] {
    --content-width: 920px;
  }
}

@media (max-width: 620px) {
  body[data-page="products"] {
    --content-width: 520px;
  }
}
