

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --navy: #241f5c;
  --navy-dark: #16123c;
  --navy-light: #383075;
  --silver: #c7ccd1;
  --silver-light: #e9ebed;
  --offwhite: #f7f5f0;
  --kiln-red: #ee3126;
  --kiln-red-dark: #c22318;
  --steel: #4a5568;
  --ink: #1a1f22;

  
  --charcoal: var(--navy);
  --charcoal-dark: var(--navy-dark);
  --quarry-green: var(--steel);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--kiln-red);
  outline-offset: 2px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  color: var(--charcoal-dark);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: #4a5560; max-width: 60ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kiln-red);
  display: inline-block;
  margin-bottom: 0.9em;
}




.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--kiln-red); color: #fff; }
.btn-primary:hover { background: var(--kiln-red-dark); box-shadow: 0 10px 22px -10px rgba(238,49,38,0.55); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--kiln-red); color: var(--kiln-red); }
.btn-outline.on-dark { border-color: var(--silver); color: var(--silver-light); }
.btn-outline.on-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }


#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  border-bottom: 3px solid var(--kiln-red);
  box-shadow: 0 4px 18px -8px rgba(0,0,0,0.35);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  white-space: nowrap;
}
.brand .sr-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand .mark {
  width: 44px; height: 44px;
  background: var(--kiln-red);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.brand .mark-img {
  height: 56px; width: auto; max-width: 190px;
  object-fit: contain; background: none; border-radius: 0;
  flex-shrink: 0;
}
nav.primary-nav { display: flex; gap: 2px; }
nav.primary-nav a {
  color: var(--silver-light);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
#cart-toggle {
  position: relative;
  background: transparent;
  border: 2px solid var(--silver);
  color: #fff;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
}
#cart-toggle:hover { border-color: var(--kiln-red); }
#cart-count {
  background: var(--kiln-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
#cart-count[data-empty="true"] { display: none; }
.nav-toggle {
  display: none;
  background: transparent; border: none; color: #fff;
  font-size: 1.6rem;
}

@media (max-width: 920px) {
  nav.primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 12px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  nav.primary-nav.open { transform: translateX(0); }
  nav.primary-nav a { padding: 16px 14px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
}


.hero {
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 88px;
  text-align: center;
}
@media (max-width: 860px) { .hero { min-height: 82vh; } }


.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: repeating-linear-gradient(100deg, #263540 0px, #263540 26px, #2f414d 26px, #2f414d 52px);
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
}
.hero-bg::before {
  
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,18,40,0.66) 0%, rgba(15,18,40,0.82) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
  background-size: 260% 260%;
  animation: heroSheen 7s ease-in-out infinite;
}


@media (max-width: 860px) {
  .hero-bg {
    transform: translateY(-100%);
    animation: heroBgSlideDown 1s cubic-bezier(0.16, 0.8, 0.3, 1) 0.05s forwards;
  }
}
@keyframes heroBgSlideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}


@media (min-width: 861px) {
  .hero-bg {
    transform: translateX(-100%);
    animation: heroBgSlideRight 1.15s cubic-bezier(0.16, 0.8, 0.3, 1) 0.05s forwards;
  }
}
@keyframes heroBgSlideRight {
  0% { transform: translateX(-100%); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes heroSheen {
  0% { background-position: 120% 0%; }
  50% { background-position: -20% 100%; }
  100% { background-position: 120% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::after { animation: none; }
  .hero-bg { animation: none; opacity: 1; transform: none; }
}
.hero-grid {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  opacity: 0;
  animation: heroFadeUp 0.5s ease-out 0.1s forwards;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  opacity: 0;
  animation: heroFadeUp 0.5s ease-out 0.22s forwards;
}
.hero .lede {
  color: var(--silver-light);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 18px auto 0;
  opacity: 0;
  animation: heroFadeUp 0.5s ease-out 0.34s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.5s ease-out 0.46s forwards;
}
.hero-visual { display: none; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero-ctas { animation: none; opacity: 1; }
}


.home-about { padding: 60px 0 68px; background: #fff; overflow: hidden; }
.home-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.home-about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 50px -24px rgba(22,18,60,0.35);
}
.home-about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-about-img-fallback {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(100deg, var(--navy) 0px, var(--navy) 26px, var(--navy-light) 26px, var(--navy-light) 52px);
}
.home-about-copy { max-width: 520px; }
.home-about-copy .lede { margin-bottom: 22px; }


.reveal-fall, .reveal-slide {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-fall { transform: translateY(-36px); }
.reveal-slide { transform: translateX(-36px); }
.reveal-fall.reveal-in, .reveal-slide.reveal-in { opacity: 1; transform: translate(0, 0); }

@media (max-width: 780px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-about-media { aspect-ratio: 16 / 10; }
  .home-about-copy { max-width: none; }
  .reveal-slide { transform: translateX(30px); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-fall, .reveal-slide { opacity: 1; transform: none; }
}


section.section { padding: 74px 0; }
section.section.alt { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid #e3ded4;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: 0 14px 30px -18px rgba(36,31,92,0.35); transform: translateY(-3px); }
.product-card .thumb {
  aspect-ratio: 4/3;
  background: var(--silver-light);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.product-card .thumb .sheet-swatch { position: absolute; inset: 0; }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .cat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quarry-green);
}
.product-card h3 { margin: 0; font-size: 1.3rem; }
.product-card .tagline { color: #5b6570; font-size: 0.92rem; margin: 0; }
.product-card .card-actions { margin-top: auto; display: flex; gap: 8px; }
.blog-card { border-top: 4px solid var(--quarry-green); }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { text-decoration: underline; }


@media (max-width: 640px) {
  #featured-products.product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  #featured-products .product-card { cursor: pointer; }
  #featured-products .product-card .thumb { aspect-ratio: 1; }
  #featured-products .product-card .body { padding: 10px 12px 12px; gap: 0; }
  #featured-products .product-card .cat-label,
  #featured-products .product-card .tagline,
  #featured-products .product-card .card-actions { display: none; }
  #featured-products .product-card h3 { font-size: 0.92rem; line-height: 1.2; margin: 0; }
}


.thumb-photo,
.thumb .sheet-swatch,
.pm-photo .sheet-swatch {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.sheet-swatch {
  background-image: repeating-linear-gradient(
    100deg,
    var(--swatch-a, #b3402c) 0px, var(--swatch-a, #b3402c) 10px,
    var(--swatch-b, #8f3122) 10px, var(--swatch-b, #8f3122) 20px
  );
}
.sheet-swatch::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.12) 0 3px, transparent 3px 26px);
}


.overlay {
  position: fixed; inset: 0;
  background: rgba(18,28,34,0.72);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.overlay.open { display: flex; }
.modal {
  background: #fff;
  width: 100%;
  border-radius: var(--radius-lg);
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in 0.22s ease;
  position: relative;
}
.modal.modal-sm { max-width: 520px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--charcoal); color: #fff;
  width: 34px; height: 34px; border: none; border-radius: 999px;
  font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}


.modal.modal-product { max-width: 420px; }
.pm-photo { position: relative; aspect-ratio: 4/3; }
.pm-content { padding: 22px 24px 26px; }
.pm-content .cat-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--quarry-green); text-transform: uppercase; letter-spacing: 0.08em; }
.pm-content h3 { margin: 4px 0 10px; font-size: 1.45rem; }
.pm-desc { color: #4a5560; font-size: 0.94rem; margin-bottom: 18px; }

.pm-colors-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.color-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px #e3ded4;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.color-dot:hover { transform: scale(1.18); box-shadow: 0 0 0 1px var(--kiln-red); }
.pm-color-caption { font-family: var(--font-mono); font-size: 0.78rem; color: #5b6570; min-height: 1.3em; margin: 0 0 16px; }

.pm-price-block { margin: 0 0 16px; }
.pm-price { font-family: var(--font-mono); font-size: 0.98rem; color: var(--charcoal); margin: 0 0 10px; font-weight: 700; }
.pm-price-basis { color: #8894a0; font-weight: 400; font-size: 0.82rem; display: block; margin-top: 2px; }
.pm-price-disclaimer { font-size: 0.78rem; color: #8894a0; margin: 8px 0 0; line-height: 1.4; }
.pm-price-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.82rem; }
.pm-price-table th, .pm-price-table td { padding: 7px 8px; text-align: center; border: 1px solid #e9ebed; }
.pm-price-table thead th { background: var(--offwhite); color: #5b6570; font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pm-price-table tbody th { text-align: left; color: #5b6570; font-weight: 500; background: var(--offwhite); }
.pm-price-table tbody td { color: var(--charcoal); font-weight: 600; }
.price-range { font-family: var(--font-mono); }
.price-unit { color: #8894a0; font-size: 0.85em; }
.pm-qty-row { display: flex; align-items: center; gap: 12px; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--charcoal); border-radius: var(--radius-sm); }
.qty-control button { background: none; border: none; width: 36px; height: 38px; font-size: 1.1rem; font-weight: 700; }
.qty-control input { width: 46px; text-align: center; border: none; font-family: var(--font-mono); font-size: 1rem; }


.gauge-chart {
  border: 2px dashed var(--silver);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--offwhite);
}
.gauge-chart-title { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; color: var(--quarry-green); margin-bottom: 8px; display: block; }
.gauge-chart table { width: 100%; border-collapse: collapse; }
.gauge-chart th, .gauge-chart td { text-align: left; padding: 4px 8px 4px 0; }
.gauge-chart th { color: #5b6570; font-weight: 600; border-bottom: 1px solid var(--silver); }

@media (max-width: 480px) {
  .modal.modal-product { max-width: 100%; }
}


.cart-modal .modal-header { padding: 24px 24px 0; }
.cart-items { padding: 0 24px; margin: 18px 0; display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; }
.cart-item { display: flex; gap: 12px; align-items: center; border: 1px solid #eee; border-radius: var(--radius-sm); padding: 10px; }
.cart-item .swatch-thumb { width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0; position: relative; overflow: hidden; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info .name { font-weight: 600; font-size: 0.94rem; }
.cart-item .info .meta { font-size: 0.78rem; color: #5b6570; }
.cart-item .remove { background: none; border: none; color: var(--kiln-red); font-size: 0.8rem; font-weight: 600; }
.cart-empty { padding: 40px 24px; text-align: center; color: #5b6570; }
.cart-form { padding: 4px 24px 24px; border-top: 1px solid #eee; margin-top: 8px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; color: var(--charcoal); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 10px 12px; border: 2px solid #e3ded4; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--kiln-red); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 24px; background: var(--offwhite); font-family: var(--font-mono); font-size: 0.88rem; }
.cart-item-price { font-family: var(--font-mono); font-size: 0.76rem; color: #5b6570; margin-top: 6px; }
.cart-item-price strong { color: var(--charcoal); }
.cart-estimate-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 24px; font-family: var(--font-mono); font-size: 0.98rem; font-weight: 700; color: var(--charcoal); border-top: 1px dashed #ddd; }
.cart-estimate-value { color: var(--kiln-red); }
.cart-estimate-note { padding: 0 24px 4px; font-size: 0.76rem; color: #8894a0; line-height: 1.4; }


#whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 400;
  background: #25D366; color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4);
  border: none;
  transition: transform 0.2s ease;
}
#whatsapp-float:hover { transform: scale(1.08); }
#whatsapp-float svg { width: 30px; height: 30px; }


.mfg-scroll { position: relative; }
.mfg-bg-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--navy);
  z-index: 0;
}
.mfg-bg-layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s ease-out;
}
.mfg-bg-layer.is-active { opacity: 1; transform: scale(1); }
.mfg-bg-fallback {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(100deg, var(--navy) 0px, var(--navy) 26px, var(--navy-light) 26px, var(--navy-light) 52px);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.mfg-bg-fallback.is-active { opacity: 1; }
.mfg-bg-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,18,40,0.86) 0%, rgba(15,18,40,0.55) 42%, rgba(15,18,40,0.22) 75%, rgba(15,18,40,0.3) 100%);
}
.mfg-bg-stage {
  position: absolute; top: calc(var(--header-h) + 20px); left: 24px; z-index: 2;
  background: rgba(22,18,60,0.55); backdrop-filter: blur(3px);
  color: #fff; font-family: var(--font-mono); font-size: 0.78rem;
  padding: 6px 14px; border-radius: var(--radius-pill);
  letter-spacing: 0.08em; transition: opacity 0.3s ease;
}
.mfg-steps {
  position: relative; z-index: 1;
  margin-top: calc(-1 * (100vh - var(--header-h)));
  max-width: 460px;
  pointer-events: none;
}
.mfg-step {
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0;
}
.mfg-step:last-child { padding-bottom: 60px; }
.mfg-step .step-card {
  pointer-events: auto;
  background: rgba(15,18,40,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  opacity: 0.35;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mfg-step.is-active .step-card { opacity: 1; transform: translateY(0); }
.mfg-step .eyebrow { color: var(--kiln-red); margin-bottom: 6px; }
.mfg-step h3 { color: #fff; margin-top: 0; }
.mfg-step p { color: var(--silver-light); margin-bottom: 0; }
.mfg-step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.mfg-step-nav-btn {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-family: var(--font-mono); font-size: 0.74rem;
  padding: 7px 12px; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.2s ease;
}
.mfg-step-nav-btn:hover { background: rgba(255,255,255,0.22); }

.mfg-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #fff; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  opacity: 0.9; transition: opacity 0.4s ease;
  animation: mfg-hint-bob 1.8s ease-in-out infinite;
}
.mfg-scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
@keyframes mfg-hint-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

.mfg-rail {
  position: absolute; top: 50%; right: 28px; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.mfg-rail-line { position: relative; width: 2px; height: 120px; background: rgba(255,255,255,0.18); border-radius: 2px; order: 2; }
.mfg-rail-fill { position: absolute; top: 0; left: 0; width: 100%; background: var(--kiln-red); border-radius: 2px; transition: height 0.3s ease; }
.mfg-rail-dots { display: flex; flex-direction: column; justify-content: space-between; height: 120px; order: 1; }
.mfg-rail-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; position: relative; transition: background 0.25s ease, transform 0.25s ease;
}
.mfg-rail-dot.is-active { background: var(--kiln-red); transform: scale(1.3); }
.mfg-rail-dot-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; color: #fff; font-family: var(--font-mono); font-size: 0.72rem;
  background: rgba(15,18,40,0.85); padding: 4px 10px; border-radius: var(--radius-pill);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.mfg-rail-dot:hover .mfg-rail-dot-label, .mfg-rail-dot.is-active .mfg-rail-dot-label { opacity: 1; }

.mfg-mobile-only { display: none; }

@media (max-width: 760px) {
  .mfg-desktop-only { display: none; }
  .mfg-mobile-only { display: block; }

  .mfg-carousel { position: relative; }
  .mfg-carousel-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 14px; padding-bottom: 4px;
    scrollbar-width: none;
  }
  .mfg-carousel-track::-webkit-scrollbar { display: none; }
  .mfg-slide {
    flex: 0 0 100%; scroll-snap-align: start;
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--navy); border: 1px solid rgba(0,0,0,0.06);
  }
  .mfg-slide-photo {
    aspect-ratio: 4 / 3; background-size: cover; background-position: center;
    position: relative;
  }
  .mfg-slide-fallback {
    position: absolute; inset: 0; opacity: 0;
    background-image: repeating-linear-gradient(100deg, var(--navy) 0px, var(--navy) 20px, var(--navy-light) 20px, var(--navy-light) 40px);
  }
  .mfg-slide-fallback.is-active { opacity: 1; }
  .mfg-slide-body { padding: 20px 22px 24px; }
  .mfg-slide-body .eyebrow { color: var(--kiln-red); }
  .mfg-slide-body h3 { color: #fff; margin: 4px 0 8px; }
  .mfg-slide-body p { color: var(--silver-light); margin: 0; font-size: 0.92rem; }

  .mfg-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
  .mfg-carousel-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--charcoal);
    background: none; font-size: 1rem; cursor: pointer; flex-shrink: 0;
  }
  .mfg-carousel-dots { display: flex; gap: 8px; }
  .mfg-carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #d8dce0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
  .mfg-carousel-dot.is-active { background: var(--kiln-red); transform: scale(1.3); }
}

@media (max-width: 900px) and (min-width: 761px) {
  .mfg-rail-dot-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mfg-scroll-hint { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mfg-bg-layer { transition: opacity 0.3s ease; transform: none !important; }
  .mfg-step .step-card { transition: opacity 0.3s ease; transform: none; }
}


.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.category-card {
  background: var(--navy); color: #fff; padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(36,31,92,0.5); }
.category-card h3 { color: #fff; margin-bottom: 8px; }
.category-card p { color: var(--silver); font-size: 0.9rem; margin-bottom: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.feature-item { border-left: 3px solid var(--kiln-red); padding-left: 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.feature-item h3 { font-size: 1.15rem; }
.feature-item p { color: #5b6570; font-size: 0.94rem; margin-bottom: 0; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: #fff; border: 1px solid #e3ded4; padding: 22px; border-radius: var(--radius-md); }
.testimonial-card .stars { color: var(--kiln-red); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 0.96rem; color: var(--ink); }
.testimonial-card .who { font-family: var(--font-mono); font-size: 0.78rem; color: #5b6570; }

.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid #e3ded4; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--charcoal-dark);
}
.faq-q .plus { font-family: var(--font-mono); color: var(--kiln-red); font-size: 1.3rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 18px; color: #4a5560; margin: 0; max-width: 65ch; }
.faq-category-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: var(--quarry-green); margin: 30px 0 4px; }
.faq-search { margin-bottom: 30px; }


#site-footer { background: var(--charcoal-dark); color: var(--silver); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr 1.1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: var(--silver); font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 10px; }
.footer-brand p { color: var(--silver); font-size: 0.9rem; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #8894a0;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }


.page-header { background: var(--charcoal); color: #fff; padding: 48px 0 40px; }
.page-header h1 { color: #fff; margin-bottom: 6px; }
.breadcrumbs { font-family: var(--font-mono); font-size: 0.78rem; color: var(--silver); margin-bottom: 14px; }
.breadcrumbs a { color: var(--silver); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }


.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-chip {
  font-family: var(--font-mono); font-size: 0.8rem;
  padding: 8px 14px; border: 2px solid #e3ded4; border-radius: 999px;
  background: #fff; color: var(--charcoal);
}
.filter-chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }


.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: #fff; padding: 12px 22px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.25s ease;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


.article-body { max-width: 72ch; margin: 0 auto; }
.article-body h2 { margin-top: 1.6em; font-size: 1.6rem; }
.article-body ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a:not(.btn) { text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 0.95rem; }
.article-body th, .article-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--silver); vertical-align: top; }
.article-body th { color: #5b6570; font-weight: 600; }
.article-body td:first-child { font-weight: 600; white-space: nowrap; }
.article-meta { font-family: var(--font-mono); font-size: 0.82rem; color: var(--silver); margin-bottom: 6px; }
