[data-section] {
  position: relative;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6rem);
}

.hero-title-compact {
  max-width: 700px;
  font-size: clamp(1.8rem, 5vw, 3.2rem) !important;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

p {
  max-width: 720px;
  line-height: 1.7;
}

.hero-section {
  min-height: 100vh;
  color: var(--color-white);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(147, 174, 204, 0.38), transparent 34rem),
    radial-gradient(circle at 22% 64%, rgba(72, 117, 160, 0.34), transparent 30rem),
    linear-gradient(135deg, #06101f 0%, #0b2038 52%, #102d49 100%);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 48%, black, transparent 72%);
}

.hero-grid {
  display: grid;
  min-height: 100vh;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-top: 7rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow,
.building-copy .eyebrow {
  color: #c8deef;
}

.hero-lede {
  margin-block: 1.5rem 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.hero-actions,
.section-heading-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2.2rem;
}

.hero-metrics {
  display: grid;
  max-width: 680px;
  margin: 3.8rem 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-metrics div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-metrics dt {
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
}

.chip-scene {
  position: absolute;
  inset: 8% 0 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.particle-field,
.particle-field::before,
.particle-field::after {
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72) 1px, transparent 2px);
  background-size: 34px 34px;
  animation: drift 18s linear infinite;
}

.particle-field::before,
.particle-field::after {
  content: "";
  inset: 8%;
  opacity: 0.42;
}

.particle-field::after {
  animation-duration: 26s;
  animation-direction: reverse;
}

.shield-ring {
  position: absolute;
  width: min(72%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(212, 175, 55, 0.2), inset 0 0 50px rgba(147, 174, 204, 0.16);
  animation: pulseShield 3.8s ease-in-out infinite;
}

.chip-card {
  position: relative;
  z-index: 2;
  width: min(58%, 310px);
  aspect-ratio: 1.25;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(135deg, #7aaad1, #183d62 62%, #07111f);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.34);
  transform: rotateX(58deg) rotateZ(-36deg);
}

.chip-card span,
.chip-card i {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
}

.chip-card i {
  inset: 36%;
}

.floating-module {
  position: absolute;
  z-index: 3;
  padding: 0.7rem 0.95rem;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.46);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.floating-module--pcb {
  left: 11%;
  top: 25%;
}

.floating-module--esd {
  right: 10%;
  top: 35%;
}

.floating-module--mbb {
  bottom: 18%;
  left: 28%;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.orb--one {
  width: 180px;
  height: 180px;
  right: 2%;
  top: 2%;
  background: rgba(212, 175, 55, 0.16);
}

.orb--two {
  width: 220px;
  height: 220px;
  left: -10%;
  bottom: 5%;
  background: rgba(147, 174, 204, 0.16);
}

.section-block {
  overflow: hidden;
  background: var(--color-white);
}

.section-grid,
.protection-layout,
.industries-layout,
.sea-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.section-intro p {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro--center h2,
.section-intro--center p {
  margin-inline: auto;
}

.section-intro h2 {
  max-width: none;
  white-space: nowrap;
}

.threat-grid,
.capability-grid,
.why-grid,
.category-grid {
  display: grid;
  gap: 1rem;
}

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

.threat-card,
.capability-grid article,
.why-grid article,
.category-card {
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 70px rgba(16, 32, 51, 0.08);
}

.threat-card {
  min-height: 230px;
  padding: 1.4rem;
}

.threat-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--color-primary);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  font-weight: 900;
}

.protection-section {
  color: var(--color-white);
  background:
    radial-gradient(circle at 20% 30%, rgba(72, 117, 160, 0.36), transparent 28rem),
    linear-gradient(135deg, #07111f, #102842);
}

.protection-section .section-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.protection-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.layer-stack {
  position: relative;
  width: min(100%, 470px);
  height: 380px;
}

.layer-stack span {
  position: absolute;
  left: 50%;
  display: grid;
  width: 78%;
  height: 88px;
  place-items: center;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(147, 174, 204, 0.28), rgba(255, 255, 255, 0.07));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  font-weight: 900;
  transform: translateX(-50%) rotateX(58deg) rotateZ(-28deg);
}

.layer-stack span:nth-child(1) {
  top: 12px;
}

.layer-stack span:nth-child(2) {
  top: 96px;
}

.layer-stack span:nth-child(3) {
  top: 180px;
}

.layer-stack span:nth-child(4) {
  top: 264px;
  border-color: rgba(212, 175, 55, 0.42);
}

.solution-list {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.solution-list span,
.industry-orbit span {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.cleanroom-section {
  background:
    linear-gradient(180deg, #f8fbfe, var(--color-white));
}

.cleanroom-panel {
  display: grid;
  gap: 3rem;
  border: 1px solid var(--color-line);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(147, 174, 204, 0.2)),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(72, 117, 160, 0.04) 60px 61px);
  box-shadow: 0 24px 90px rgba(72, 117, 160, 0.13);
}

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

.capability-grid article {
  padding: 1.5rem;
}

.section-heading-row {
  justify-content: space-between;
  margin-bottom: 2rem;
}

.product-categories-section {
  color: var(--color-ink);
  background: transparent;
}

.product-categories-section h2 {
  color: var(--color-ink);
}

.product-categories-section:not(.consumables-section) {
  display: grid;
  align-items: center;
  background: #ffffff !important;
}

.esd-products-shell {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.esd-products-heading h2 {
  max-width: none;
}

.esd-products-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: 20fr 80fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.esd-products-title {
  position: sticky;
  top: 120px;
}

.esd-products-title p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  line-height: 1.35;
  font-weight: 800;
}

.esd-product-carousel {
  display: grid;
  gap: 1.25rem;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.esd-product-list {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.esd-product-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  gap: 0;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(72, 117, 160, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(72, 117, 160, 0.12);
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1200px;
  flex: 0 0 calc(25% - 0.75rem);
}

@media (max-width: 980px) {
  .esd-product-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .esd-product-card {
    flex: 0 0 100%;
  }
}

.esd-product-card:hover {
  border-color: rgba(72, 117, 160, 0.28);
  box-shadow: 0 32px 90px rgba(72, 117, 160, 0.18);
  transform: translateY(-4px);
}

.product-placeholder {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #f5f5f5;
}

.product-placeholder::before {
  display: grid;
  height: 100%;
  min-height: 280px;
  place-items: center;
  color: rgba(72, 117, 160, 0.7);
  content: "IMAGE";
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.esd-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.esd-product-card h3 {
  margin: 0;
  padding: 1rem;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  line-height: 1.42;
}

.product-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(72, 117, 160, 0.25);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1),
              background 0.3s ease;
}

.pagination-dot:hover {
  background: var(--color-sky);
}

.pagination-dot.active {
  width: 24px;
  background: var(--color-primary);
}

[data-carousel-status] {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 80px;
  text-align: right;
  white-space: nowrap;
}

.consumables-section {
  color: var(--color-ink);
  border-top: 1px solid rgba(72, 117, 160, 0.12);
  background:
    radial-gradient(circle at 14% 18%, rgba(147, 174, 204, 0.32), transparent 24rem),
    radial-gradient(circle at 88% 78%, rgba(72, 117, 160, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
}

.consumables-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.consumables-heading h2 {
  color: var(--color-ink);
  max-width: none;
}

.consumables-carousel {
  display: grid;
  gap: 2rem;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.consumables-product-list {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.consumables-product-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  gap: 0;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(72, 117, 160, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(72, 117, 160, 0.12);
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1200px;
  flex: 0 0 calc(33.333% - 0.67rem);
}

@media (max-width: 980px) {
  .consumables-product-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .consumables-product-card {
    flex: 0 0 100%;
  }
}

.consumables-product-card:hover {
  border-color: rgba(72, 117, 160, 0.28);
  box-shadow: 0 32px 90px rgba(72, 117, 160, 0.18);
  transform: translateY(-4px);
}

.consumables-placeholder {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #e8f1fa;
}

.consumables-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.consumables-product-card h3 {
  margin: 0;
  padding: 1rem;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  line-height: 1.42;
}

.consumables-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.consumables-section h2,
.consumables-section h3 {
  color: var(--color-ink);
}

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

.category-card {
  min-height: 420px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.category-card--wide {
  min-height: auto;
}

.consumables-section .page-shell {
  padding-top: var(--section-space);
}

.category-card--blue {
  color: var(--color-white);
  border-color: rgba(72, 117, 160, 0.18);
  background:
    radial-gradient(circle at 86% 10%, rgba(212, 175, 55, 0.18), transparent 22rem),
    linear-gradient(135deg, var(--color-primary), #123250);
  box-shadow: 0 30px 90px rgba(72, 117, 160, 0.18);
}

.category-card--silver {
  border-color: rgba(72, 117, 160, 0.16);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.9), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(147, 174, 204, 0.22));
  box-shadow: 0 30px 90px rgba(72, 117, 160, 0.16);
}

.category-card p {
  margin: 0 0 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.category-card ul {
  display: grid;
  margin: 2.2rem 0 0;
  padding: 0;
  gap: 0.8rem;
  list-style: none;
}

.category-card li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.category-card--silver li {
  border-color: rgba(72, 117, 160, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.why-section {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.why-layout {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.why-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
}

.why-card {
  padding: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(72, 117, 160, 0.1);
  box-shadow: 0 8px 32px rgba(72, 117, 160, 0.06);
  display: flex;
  flex-direction: column;
}

.why-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.why-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
}

.why-item span:not(.why-number) {
  color: var(--color-muted);
  line-height: 1.5;
  padding-top: 0.1rem;
  font-size: 0.9rem;
}

.why-grid {
  margin-top: 3rem;
  grid-template-columns: repeat(3, 1fr);
}

.why-grid article {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  padding: 1.4rem;
}

.why-grid strong {
  font-family: var(--font-heading);
  font-size: 1.24rem;
}

.why-grid span {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Articles Section — Original (keep as is) */
.articles-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(147, 174, 204, 0.32), transparent 24rem),
    radial-gradient(circle at 88% 78%, rgba(72, 117, 160, 0.12), transparent 28rem);
}

/* NEW: Articles Showcase Section — 2 Columns */
.articles-showcase-section {
  background-color: #ffffff;
  padding-block: 0;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 0;
  margin-bottom: 0;
}

.articles-showcase-section .page-shell {
  padding-block: 0 30px;
}

.articles-2col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
  align-items: start;
}

@media (max-width: 640px) {
  .articles-2col {
    grid-template-columns: 1fr;
  }
}

/* Post-it Style Cards */
.article-showcase-item {
  min-height: 320px;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card 1: Yellow post-it with grid, rotate -2.5deg */
.article-showcase-item--1 {
  background-color: #fef9e6;
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px);
  transform: rotate(-2.5deg);
}

/* Card 2: Light pink post-it with grid, rotate 1.5deg */
.article-showcase-item--2 {
  background-color: #fde8ea;
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px);
  transform: rotate(1.5deg);
}

/* Card 3: Light blue post-it with grid, rotate -1deg */
.article-showcase-item--3 {
  background-color: #e6f2f9;
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, rgba(150, 150, 150, 0.1) 0px, rgba(150, 150, 150, 0.1) 1px, transparent 1px, transparent 20px);
  transform: rotate(-1deg);
}

.article-showcase-item:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.article-showcase-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 600;
}

.article-showcase-item p {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.articles-3col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.articles-3col .blog-posts-item {
  min-height: 360px;
  padding: 2rem;
  border-radius: 10px;
  background: #fef9e6;
  display: flex;
  flex-direction: column;
}

.articles-3col .blog-posts-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
}

.articles-3col .blog-posts-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
}

/* Blog Post Item Card */
.blog-posts-item {
  min-height: 360px;
  padding: 2rem;
  border-radius: 10px;
  background: #fef9e6;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-posts-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
}

.blog-posts-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.industries-section {
  color: var(--color-white);
  background:
    radial-gradient(circle at 66% 42%, rgba(147, 174, 204, 0.28), transparent 26rem),
    linear-gradient(135deg, #07111f, #0d2238);
}

.industries-section .section-intro p {
  color: rgba(255, 255, 255, 0.68);
}

.industry-orbit {
  display: flex;
  min-height: 430px;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
}

.sea-section {
  background: linear-gradient(180deg, var(--color-white), #eef5fb);
}

.map-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 44px;
  background:
    radial-gradient(circle at 52% 52%, rgba(212, 175, 55, 0.16), transparent 4rem),
    radial-gradient(circle at 50% 50%, rgba(72, 117, 160, 0.22), transparent 20rem),
    linear-gradient(135deg, #eff6fc, #ffffff);
  box-shadow: 0 30px 90px rgba(72, 117, 160, 0.14);
}

.map-card::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(72, 117, 160, 0.14);
  border-radius: 52% 48% 50% 44%;
  transform: rotate(-18deg);
}

.map-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  padding: 0.8rem 1rem;
  color: var(--color-white);
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 12px rgba(72, 117, 160, 0.12);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.network-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  transform-origin: left center;
}

.network-line--one {
  transform: rotate(-34deg);
}

.network-line--two {
  transform: rotate(22deg);
}

.network-line--three {
  transform: rotate(84deg);
}

.building-reveal {
  overflow: hidden;
  color: var(--color-white);
  background: linear-gradient(180deg, var(--color-sky), #6c91b8);
}

.building-image-wrap {
  width: min(100% - 2rem, 1520px);
  margin-inline: auto;
  padding-top: 7rem;
}

.building-image-wrap img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 44px;
  box-shadow: 0 44px 120px rgba(16, 32, 51, 0.32);
}

.building-copy {
  padding-top: 4rem;
  text-align: center;
}

.building-copy h2,
.building-copy p {
  margin-inline: auto;
}

.building-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

/* Company Image Fullscreen Section */
.company-image-section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-image-fullscreen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .company-image-section {
    height: auto;
  }

  .company-image-fullscreen {
    height: auto;
    object-fit: contain;
  }
}

/* Footer Section */
.site-footer {
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 70% 20%, rgba(147, 174, 204, 0.38), transparent 34rem),
    radial-gradient(circle at 22% 64%, rgba(72, 117, 160, 0.34), transparent 30rem),
    linear-gradient(135deg, #06101f 0%, #0b2038 52%, #102d49 100%);
  padding: 0;
  position: relative;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
}

/* Left Column: Brand Info */
.footer-column--brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Footer Logo */
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.4rem;
  align-self: flex-start;
}

.footer-brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.footer-brand-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.footer-brand-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
}

/* Right Column: Contact Info */
.footer-column--contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Footer Heading */
.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Company Name */
.footer-company-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

/* Location Full */
.footer-location-full {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}

/* Contact Items */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.footer-label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  min-width: 60px;
}

.footer-value {
  color: #ffffff;
  word-break: break-word;
}

/* Copyright */
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 1.5rem 0;
  }

  .footer-brand-title {
    font-size: 1rem;
  }

  .footer-heading {
    font-size: 0.95rem;
  }

  .footer-contact-item {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .footer-label {
    min-width: 50px;
  }
}

/* ========================================
   Products Page — products.html
   ======================================== */

/* Language toggle helpers */
.len { display: none !important; }
html[data-lang="en"] .len { display: block !important; }
html[data-lang="en"] .lth { display: none !important; }
/* inline contexts (spans inside flex/inline) */
html[data-lang="en"] span.len,
html[data-lang="en"] a.len { display: inline !important; }

/* Category Hero */
.products-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.products-cat-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  padding-left: clamp(1rem, 3vw, 1.5rem);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-cat-link--esd {
  color: var(--color-white);
  border: 1px solid rgba(72, 117, 160, 0.18);
  background:
    radial-gradient(circle at 86% 10%, rgba(212, 175, 55, 0.18), transparent 22rem),
    linear-gradient(135deg, var(--color-primary), #123250);
  box-shadow: 0 30px 90px rgba(72, 117, 160, 0.18);
}

.products-cat-link--cleanroom {
  color: var(--color-ink);
  border: 1px solid rgba(72, 117, 160, 0.16);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.9), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(147, 174, 204, 0.22));
  box-shadow: 0 30px 90px rgba(72, 117, 160, 0.16);
}

.products-cat-link:hover { transform: translateY(-6px); }

.products-cat-link--esd:hover { box-shadow: 0 40px 100px rgba(72, 117, 160, 0.28); }
.products-cat-link--cleanroom:hover { box-shadow: 0 40px 100px rgba(72, 117, 160, 0.22); }

.products-cat-eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.products-cat-link h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 700;
  margin: 0.4rem 0 0;
  max-width: none;
  letter-spacing: -0.04em;
}

.products-cat-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.65;
}

.products-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.products-cat-link--cleanroom .products-cat-meta {
  border-top-color: rgba(72, 117, 160, 0.15);
}

.products-cat-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.products-cat-link:hover .products-cat-arrow { transform: translateY(5px); }

/* Product Menu Section */
.prod-menu-section {
  background: #f8fbfe;
  border-top: 1px solid rgba(72, 117, 160, 0.1);
}

.prod-menu-section .page-shell {
  padding-block: 60px;
}

#esd-menu,
#cleanroom-menu {
  scroll-margin-top: 100px;
}

.product-menu-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.product-menu-grid--4col { grid-template-columns: repeat(4, 1fr); }
.product-menu-grid--5col { grid-template-columns: repeat(5, 1fr); }

.product-menu-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(72, 117, 160, 0.14);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 30px rgba(72, 117, 160, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(72, 117, 160, 0.18);
  border-color: rgba(72, 117, 160, 0.3);
}

.product-menu-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-menu-card-name {
  padding: 0.75rem 1rem;
  color: var(--color-ink);
  line-height: 1.4;
}

.product-menu-card-name strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-menu-card-name span {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* Product Detail Rows */
.prod-detail-section {
  background: #ffffff;
}

.prod-detail-section .page-shell {
  padding-block: 60px;
}

.prod-detail-section + .prod-detail-section {
  border-top: 3px solid rgba(72, 117, 160, 0.1);
}

.product-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid rgba(72, 117, 160, 0.08);
  scroll-margin-top: 100px;
}

.product-detail-row:last-child { border-bottom: none; }

.product-detail-row--reverse .product-detail-img { order: 2; }
.product-detail-row--reverse .product-detail-content { order: 1; }

.product-detail-img {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(72, 117, 160, 0.30);
}

.product-detail-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(72, 117, 160, 0.45);
  text-align: center;
}

.product-img-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.35;
}

.product-img-placeholder p {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: none;
  margin: 0;
}

.product-detail-content .eyebrow { margin-bottom: 0.75rem; }

.product-detail-content h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  max-width: none;
}

.product-subtitle-th {
  font-size: 1rem;
  color: var(--color-sky);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.product-detail-summary {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(72, 117, 160, 0.25);
}

.btn-read-more:hover {
  background: #0e2c46;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(72, 117, 160, 0.35);
}

/* Products Responsive */
@media (max-width: 980px) {
  .products-cat-grid { grid-template-columns: 1fr; }
  .product-menu-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .product-menu-grid--5col { grid-template-columns: repeat(3, 1fr); }

  .product-detail-row,
  .product-detail-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }

  .product-detail-row--reverse .product-detail-img { order: 0; }
  .product-detail-row--reverse .product-detail-content { order: 0; }
}

@media (max-width: 640px) {
  .product-menu-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .product-menu-grid--5col { grid-template-columns: repeat(2, 1fr); }
  .products-cat-link { min-height: 0; }

  [data-page="product-detail"] .page-shell {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  [data-page="product-detail"] .product-detail-row {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  [data-page="products"] .product-detail-row {
    padding-block: 1.5rem;
  }

  .product-detail-content .eyebrow { margin-bottom: 0.25rem; }

  .product-detail-content h2 { margin-bottom: 0.25rem; }

  .product-subtitle-th { margin-bottom: 0.75rem; }

  .product-detail-summary { margin-bottom: 1.25rem; }
}

/* ========================================
   Individual Product Detail Pages (products/*.html)
   ======================================== */

.prod-page-hero {
  background:
    radial-gradient(circle at 70% 20%, rgba(147, 174, 204, 0.3), transparent 30rem),
    linear-gradient(135deg, #06101f 0%, #0b2038 52%, #102d49 100%);
  color: var(--color-white);
  padding-block: 0;
}

.prod-page-hero > .page-shell {
  padding-bottom: 36px;
}

/* Reduce padding in product detail sections by 50% */
[data-section="prod-desc"] > .page-shell,
.prod-tables-section > .page-shell,
.prod-gallery-section > .page-shell {
  padding-block: 60px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 1.02rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0;
  transition: color 0.2s;
  white-space: nowrap;
  vertical-align: middle;
}

.prod-page-hero > .page-shell > .prod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.prod-breadcrumb > .back-link,
.prod-breadcrumb > .prod-category-badge {
  margin-bottom: 0;
}

.back-link:hover { color: var(--color-white); }

.prod-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 1.02rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  margin-bottom: 1rem;
}

.prod-page-hero h1 {
  font-size: clamp(1.26rem, 3.5vw, 2.24rem);
  margin-bottom: 0.5rem;
  color: var(--color-white);
  max-width: none;
}

.prod-thai-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  margin: 0;
  max-width: none;
}

/* Description: image + text */
.prod-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.prod-desc-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(72, 117, 160, 0.22);
  position: sticky;
  top: 120px;
}

.prod-desc-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.prod-desc-text p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.82;
  margin-bottom: 1rem;
  max-width: 620px;
}

/* Info Tables Section */
.prod-tables-section {
  background: #f8fbfe;
  border-top: 1px solid rgba(72, 117, 160, 0.1);
}

.prod-info-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(72, 117, 160, 0.1);
}

.prod-info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.prod-info-block > h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  margin-bottom: 1.25rem;
  max-width: none;
}

.prod-info-block > h2.data-missing {
  color: #c0392b;
}

.prod-info-missing {
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.06);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #c0392b;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Product Table */
.prod-table-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(72, 117, 160, 0.1);
  overflow-x: auto;
}

.prod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
  min-width: 480px;
}

.prod-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.prod-table th:first-child {
  width: 3rem;
  text-align: center;
}

.prod-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(72, 117, 160, 0.1);
  color: var(--color-ink);
  vertical-align: top;
  line-height: 1.55;
}

.prod-table td:first-child {
  text-align: center;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.8rem;
}

.prod-table tr:nth-child(even) td {
  background: rgba(72, 117, 160, 0.03);
}

.prod-table tr:last-child td { border-bottom: none; }

/* Gallery */
.prod-gallery-section {
  background: var(--color-white);
  border-top: 1px solid rgba(72, 117, 160, 0.08);
}

.prod-gallery-section > .page-shell > h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  margin-bottom: 0;
  max-width: none;
}

.prod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.prod-gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(72, 117, 160, 0.12);
  box-shadow: 0 4px 16px rgba(72, 117, 160, 0.08);
}

.prod-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.prod-gallery-item:hover img { transform: scale(1.05); }

.prod-gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f1fa, #d0e5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(72, 117, 160, 0.4);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Responsive — Product Detail Pages */
@media (max-width: 980px) {
  .prod-desc-grid { grid-template-columns: 1fr; }
  .prod-desc-img { position: static; max-width: 480px; }
  .prod-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  [data-page="product-detail"] .prod-page-hero { padding-top: 0.3rem; padding-bottom: 1rem; }

  body[data-page="product-detail"] main > .section-block:first-child > .page-shell {
    padding-top: calc((var(--section-space-mobile) + 30px) / 2 + 25px) !important;
  }

  /* Divider between breadcrumb and product title */
  .prod-breadcrumb {
    display: block;
    padding-top: 5px;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .prod-page-hero h1 {
    padding-top: 5px;
  }

  /* Breadcrumb: remove pill styling, join with "/" on mobile */
  .prod-page-hero > .page-shell > .prod-breadcrumb > .back-link,
  .prod-page-hero > .page-shell > .prod-breadcrumb > .prod-category-badge {
    border: none;
    background: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.5rem;
    letter-spacing: normal;
    text-transform: none;
    font-size: 0.85rem;
  }

  .prod-page-hero > .page-shell > .prod-breadcrumb > .back-link::after {
    content: " /";
    margin-left: 0.3rem;
    color: rgba(255, 255, 255, 0.35);
  }

  .prod-desc-grid { gap: 1rem; padding-top: 1rem; margin-top: 1rem; }

  .prod-desc-text p { margin-bottom: 0.75rem; }

  .prod-info-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .prod-info-block > h2 { margin-bottom: 0.75rem; }

  .prod-tables-section { padding-top: 1.5rem; }

  .prod-gallery-section { padding-top: 1.5rem; }

  .prod-gallery-grid { gap: 0.75rem; margin-bottom: 2rem; }

  .prod-table th, .prod-table td { padding: 0.65rem 0.75rem; font-size: 0.82rem; }
}

/* ======================================== */

@keyframes drift {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseShield {
  50% {
    transform: scale(1.05);
    opacity: 0.72;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .protection-layout,
  .industries-layout,
  .sea-layout,
  .category-grid,
  .esd-products-layout,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .product-categories-section:not(.consumables-section) {
    min-height: auto;
  }

  .esd-products-title {
    position: static;
  }

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

  .hero-visual {
    min-height: 430px;
  }

  .capability-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    padding-top: 7rem;
  }

  .hero-metrics,
  .threat-grid {
    grid-template-columns: 1fr;
  }

  .chip-scene {
    border-radius: 30px;
  }

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

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading-row {
    align-items: flex-start;
  }

}

/* Gallery responsive — 3-col @ desktop, 2-col @ 980px, 1-col @ 640px */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Certificates responsive — 2-col @ desktop, 1-col @ 640px */
.certificates-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 640px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  [data-section="about-certificates"] img {
    height: auto !important;
  }
}
