/* Knitwear Factory — jingtai/knitwear-factory-richman.html */

.site-page-knit .about-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-page-knit .about-hero .hero-media {
  position: absolute;
  inset: 0;
  background: #e4e0da;
}

.site-page-knit .about-hero .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: richman-knit-kenburns 26s ease-in-out infinite alternate;
  filter: none;
}

.site-page-knit .about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.18);
}

@keyframes richman-knit-kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

.site-page-knit .about-hero .about-hero-content {
  position: relative;
  z-index: 2;
  color: var(--rm-cream, #f7f4ef);
  text-align: center;
  padding: 0 var(--rm-gutter, 6vw);
  transform: translateY(70px);
}

.site-page-knit .about-hero-content h1 {
  font-size: 34px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.site-page-knit .about-hero-content p {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.92;
}

.site-page-knit .about-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background: rgba(176, 139, 91, 0.85);
  z-index: 2;
  pointer-events: none;
}

.site-page-knit .about-hero .breadcrumb {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 3vw, 48px);
  margin: 0;
}

.site-page-knit .about-hero .breadcrumb a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.site-page-knit .about-hero .breadcrumb a:hover { color: #fff; }

.site-page-knit .bc-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.site-page-knit .bc-current {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
}

.site-page-knit .about-hero .breadcrumb a,
.site-page-knit .about-hero .breadcrumb .bc-sep,
.site-page-knit .about-hero .breadcrumb .bc-current {
  transform: translateY(2px);
}

.site-page-knit .knit-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 130px 24px 0;
}

.site-page-knit .knit-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 26px;
}

.site-page-knit .knit-head .eyebrow { margin-bottom: 16px; }

.site-page-knit .knit-head h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.site-page-knit .knit-sub {
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rm-camel, #b08b5b);
}

.site-page-knit .knit-body-text {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 14.5px;
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.95;
}

.site-page-knit .knit-body-text p { margin: 0 0 18px; }
.site-page-knit .knit-body-text p:last-child { margin-bottom: 0; }

.site-page-knit .knit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 56px;
}

.site-page-knit .knit-stat {
  background: var(--rm-white, #fff);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 8px;
  padding: 38px 30px 34px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-page-knit .knit-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 45, 45, 0.06);
  border-color: rgba(176, 139, 91, 0.55);
}

.site-page-knit .knit-stat-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--rm-charcoal, #2d2d2d);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-page-knit .knit-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rm-camel, #b08b5b);
  margin-top: 12px;
  line-height: 1.6;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-page-knit .knit-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.site-page-knit .knit-media-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1eee9;
  border-radius: 8px;
}

.site-page-knit .knit-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

.site-page-knit .knit-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-page-knit .knit-video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.35);
  border: 0;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  color: inherit;
  transition: opacity 0.3s ease;
}

.site-page-knit .knit-video-box.is-playing .knit-video-cover {
  opacity: 0;
  pointer-events: none;
}

.site-page-knit .knit-video-cover .play-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.site-page-knit .knit-video-cover .play-badge::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid var(--rm-camel, #b08b5b);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

.site-page-knit .knit-video-cover > span:last-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
}

.site-page-knit .techniques-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 24px 0;
}

.site-page-knit .techniques-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.site-page-knit .techniques-head .eyebrow { margin-bottom: 16px; }

.site-page-knit .techniques-head h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.site-page-knit .techniques-head p {
  font-size: 14.5px;
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.95;
  margin: 0;
}

.site-page-knit .technique-subgroup { margin-bottom: 48px; }
.site-page-knit .technique-subgroup:last-child { margin-bottom: 64px; }

.site-page-knit .technique-subgroup-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rm-charcoal, #2d2d2d);
  margin-bottom: 20px;
}

.site-page-knit .technique-subgroup-title::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--rm-camel, #b08b5b);
  flex-shrink: 0;
}

.site-page-knit .tech-row {
  display: grid;
  gap: 16px;
}

.site-page-knit .tech-row + .tech-row { margin-top: 24px; }

.site-page-knit .tech-row-6 { grid-template-columns: repeat(6, 1fr); }
.site-page-knit .tech-row-7 { grid-template-columns: repeat(7, 1fr); }
.site-page-knit .tech-row-auto { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

.site-page-knit .tech-card {
  background: var(--rm-white, #fff);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.site-page-knit .tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 45, 45, 0.1);
  border-color: rgba(176, 139, 91, 0.4);
}

.site-page-knit .tech-thumb {
  height: 160px;
  background: #f1eee9;
  overflow: hidden;
}

.site-page-knit .tech-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

.site-page-knit .tech-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rm-charcoal, #2d2d2d);
  padding: 16px 18px;
  text-align: center;
  line-height: 1.5;
}

.site-page-knit .tech-row + .tech-row .tech-label { padding: 16px 10px; }

.site-page-knit .knitwear-list-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rm-charcoal, #2d2d2d);
  margin-bottom: 26px;
  text-align: center;
}

.site-page-knit .knitwear-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.site-page-knit .knitwear-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-page-knit .knitwear-col-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rm-camel, #b08b5b);
  margin-bottom: 20px;
}

.site-page-knit .knitwear-col-title::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rm-camel, #b08b5b);
  flex-shrink: 0;
}

.site-page-knit .knitwear-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-page-knit .knitwear-tag {
  font-size: 14px;
  color: rgba(45, 45, 45, 0.75);
  border: 1px solid rgba(45, 45, 45, 0.15);
  padding: 11px 24px;
  border-radius: 24px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.site-page-knit .knitwear-tag:hover {
  border-color: var(--rm-camel, #b08b5b);
  color: var(--rm-camel, #b08b5b);
}

.site-page-knit .cta-section {
  background: #fbfaf7;
  padding: 55px 24px 130px;
  text-align: center;
}

.site-page-knit .cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.site-page-knit .cta-inner h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.site-page-knit .cta-inner p {
  font-size: 15px;
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.85;
  margin: 0 auto 38px;
}

.site-page-knit .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--rm-camel, #b08b5b);
  color: #fff;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s ease, gap 0.3s ease;
}

.site-page-knit .cta-btn:hover {
  opacity: 0.85;
  gap: 16px;
  color: #fff;
}

@media (max-width: 1024px) {
  .site-page-knit .tech-row-6,
  .site-page-knit .tech-row-7 {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-page-knit .knit-stats {
    grid-template-columns: 1fr 1fr;
  }

  .site-page-knit .knit-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-page-knit .about-hero { height: 480px; }

  .site-page-knit .about-hero::before,
  .site-page-knit .about-hero .breadcrumb {
    height: 38px;
  }

  .site-page-knit .knit-section,
  .site-page-knit .techniques-section {
    padding: 90px 24px 0;
  }

  .site-page-knit .knit-head,
  .site-page-knit .techniques-head {
    margin-bottom: 52px;
  }
}

@media (max-width: 768px) {
  .site-page-knit .about-hero .breadcrumb a,
  .site-page-knit .bc-sep,
  .site-page-knit .bc-current {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 640px) {
  .site-page-knit .tech-row-6,
  .site-page-knit .tech-row-7 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-page-knit .knitwear-cols { gap: 44px; }

  .site-page-knit .knit-stats {
    grid-template-columns: 1fr;
  }

  .site-page-knit .knit-head h2,
  .site-page-knit .techniques-head h2,
  .site-page-knit .cta-inner h2 {
    font-size: 28px;
  }
}
