/*
  常州历拓纺织有限公司 static website
  Replace placeholder images in /images with final brand photos when ready.
  Keep file names or update the src attributes in each HTML page.
*/

:root {
  --indigo-950: #06101d;
  --indigo-900: #0c1d34;
  --indigo-800: #10294c;
  --indigo-600: #1d4f7d;
  --paper: #f8f5f0;
  --paper-soft: #fcfaf7;
  --sand: #d8c8ae;
  --clay: #9b7654;
  --ink: #202124;
  --muted: #6f706f;
  --line: rgba(32, 33, 36, 0.14);
  --white: #fffaf2;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-x pan-y;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  opacity: 0;
  overflow-x: hidden;
  animation: pageFade 700ms ease forwards;
  touch-action: pan-x pan-y;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--indigo-800);
}

@keyframes pageFade {
  to {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  color: var(--white);
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.header-light {
  color: var(--ink);
  background: rgba(250, 246, 238, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-nav a {
  position: relative;
  display: grid;
  gap: 1px;
  min-width: 72px;
  justify-items: center;
  opacity: 0.86;
  text-align: center;
}

.nav-cn {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-en {
  color: rgba(255, 250, 242, 0.62);
  font-size: 10px;
  transition: color 220ms ease;
}

.site-header.is-scrolled .nav-en,
.site-header.is-open .nav-en,
.site-header.header-light .nav-en {
  color: rgba(32, 33, 36, 0.42);
}

.site-nav a:hover .nav-en,
.site-nav a.is-active .nav-en {
  color: currentColor;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(42deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-42deg);
}

.site-header::after {
  content: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--indigo-950);
}

.hero.hero-small {
  min-height: 42vh;
  padding-top: var(--header-height);
}

.hero-image,
.wide-image {
  overflow: hidden;
  background: linear-gradient(135deg, var(--indigo-900), var(--paper));
}

.image-frame {
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 16, 29, 0.7), rgba(6, 16, 29, 0.26), rgba(6, 16, 29, 0.62));
}

.hero-image img,
.wide-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms ease;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1200ms ease;
}

.hero-image img {
  animation: slowZoom 14s ease-in-out infinite alternate;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  pointer-events: none;
}

.hero-slide.is-active img {
  animation: slowZoom 9s ease-in-out infinite alternate;
}

.swiper-controls {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.swiper-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.72);
  color: var(--white);
  background: rgba(6, 16, 29, 0.22);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}

.swiper-arrow:hover {
  background: rgba(255, 250, 242, 0.12);
  border-color: var(--white);
}

.swiper-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swiper-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.76);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.swiper-dot.is-active {
  background: var(--white);
}

.image-frame:hover img,
.card:hover .card-image img,
.wide-image:hover img {
  transform: scale(1.045);
}

@keyframes slowZoom {
  from {
    transform: scale(1.065);
  }
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 44px));
  text-align: center;
  padding: 130px 0 88px;
  animation: heroCopyIn 900ms ease 160ms both;
}

.hero.hero-small .hero-content {
  padding: 92px 0 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.display-title {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
}

.hero-title-en {
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-lead {
  width: min(560px, 100%);
  margin: 28px auto 0;
  font-size: clamp(15px, 1.45vw, 19px);
  letter-spacing: 0.08em;
  color: rgba(255, 250, 242, 0.9);
}

.scroll-note {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-align: center;
  animation: scrollFloat 2.2s ease-in-out infinite;
}

.scroll-note::after {
  content: "";
  display: block;
  width: 1px;
  height: 54px;
  margin: 12px auto 0;
  background: currentColor;
  opacity: 0.62;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollFloat {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

.section {
  padding: clamp(64px, 7vw, 96px) clamp(22px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-header {
  width: min(820px, 100%);
  margin-bottom: clamp(30px, 4.5vw, 56px);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title,
.page-title,
.display-title {
  color: var(--indigo-900);
}

.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.section-copy {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .image-frame {
  order: 1;
}

.split-copy p {
  color: var(--muted);
}

.en-line {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

.image-frame {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-frame.tall {
  min-height: 620px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(250, 247, 241, 0.68);
}

.card-image {
  height: 280px;
  overflow: hidden;
  background: var(--indigo-900);
}

.card-body {
  padding: 28px;
}

.card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--indigo-900);
  font-size: 23px;
  font-weight: 400;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
}

.product-card-link {
  display: block;
}

.product-carousel {
  --carousel-gap: 24px;
}

.product-carousel-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.product-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.product-carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.product-carousel-viewport.is-dragging .product-carousel-track {
  transition-duration: 0ms;
}

.product-carousel .card {
  flex: 0 0 calc((100% - (var(--carousel-gap) * 2)) / 3);
}

.product-carousel .product-card-link {
  user-select: none;
}

.product-carousel .product-card-link img {
  pointer-events: none;
}

.product-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.product-carousel-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 250, 242, 0.04);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.product-carousel-arrow:hover {
  color: var(--indigo-950);
  border-color: var(--paper);
  background: var(--paper);
}

.product-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.product-carousel-dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.28);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.product-carousel-dots button.is-active {
  width: 46px;
  background: var(--clay);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.product-main-image {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: var(--indigo-900);
}

.product-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.product-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
}

.product-slide img,
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-swiper-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.72);
  color: var(--white);
  background: rgba(6, 16, 29, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 220ms ease, border-color 220ms ease;
}

.product-swiper-arrow:hover {
  border-color: var(--white);
  background: rgba(6, 16, 29, 0.48);
}

.product-swiper-prev {
  left: 18px;
}

.product-swiper-next {
  right: 18px;
}

.product-swiper-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.product-swiper-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.78);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.product-swiper-dots button.is-active {
  background: var(--white);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 92px);
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs button {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.68;
  transition: opacity 220ms ease, border-color 220ms ease;
}

.product-thumbs button.is-active,
.product-thumbs button:hover {
  opacity: 1;
  border-color: var(--clay);
}

.product-thumbs img {
  aspect-ratio: 1 / 1;
  background: var(--paper-soft);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-specs div {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.product-specs dd {
  margin: 6px 0 0;
  color: var(--ink);
}

.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(0, 0.8fr));
  gap: 24px;
  align-items: stretch;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(40px, 5vw, 64px);
}

.pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span,
.pagination li > a,
.pagination li > span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(16, 41, 76, 0.14);
  border-radius: 6px;
  color: var(--indigo-900);
  background: rgba(255, 250, 242, 0.62);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 220ms ease;
  text-decoration: none;
}

.pagination span,
.pagination li > span {
  color: rgba(16, 41, 76, 0.5);
  background: transparent;
  cursor: not-allowed;
}

.pagination a:hover,
.pagination li > a:hover,
.pagination .active > a,
.pagination .active > span {
  color: var(--white);
  border-color: var(--clay);
  background: var(--clay);
  box-shadow: 0 2px 8px rgba(155, 118, 84, 0.25);
}

.pagination .disabled > a,
.pagination .disabled > span {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-next,
.pagination li.next > a,
.pagination li.prev > a {
  min-width: 80px;
  padding: 0 16px;
  font-size: 14px;
}

.rich-content {
  width: 100%;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.38);
}

.rich-content h2,
.rich-content h3 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.rich-content h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 38px);
}

.rich-content h3 {
  margin: 34px 0 12px;
  font-size: clamp(19px, 2vw, 24px);
}

.rich-content p,
.rich-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.rich-content p {
  margin: 0 0 18px;
}

.rich-content ul {
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.product-rich-section {
  padding-top: 0;
}

.product-overview-section {
  padding-bottom: clamp(30px, 4vw, 52px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(28px, 4vw, 46px);
  color: rgba(32, 33, 36, 0.48);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 220ms ease;
}

.breadcrumb a:hover {
  color: var(--clay);
}

.breadcrumb-section {
  padding: 24px clamp(22px, 5vw, 72px) 0;
}

.breadcrumb-section .breadcrumb {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.breadcrumb-section + .section {
  padding-top: clamp(42px, 5vw, 70px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-item {
  min-height: 220px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-number {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.process-item h3 {
  margin: 38px 0 10px;
  font-size: 18px;
  letter-spacing: 0.14em;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wide-image {
  height: min(72vh, 680px);
}

.wide-image img {
  object-position: center;
}

.home-news-section,
.home-message-section {
  background: var(--paper-soft);
}

.home-news-section {
  padding-bottom: clamp(46px, 5vw, 68px);
}

.home-message-section {
  padding-top: clamp(46px, 5vw, 68px);
  padding-bottom: clamp(46px, 5vw, 68px);
}

.home-news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.home-news-item {
  position: relative;
  display: block;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 260ms ease;
}

.home-news-item:hover {
  border-color: rgba(155, 118, 84, 0.26);
}

.home-news-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--indigo-900);
}

.home-news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 16, 29, 0.1), rgba(6, 16, 29, 0.36));
  opacity: 0;
  transition: opacity 320ms ease;
}

.home-news-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms ease, filter 320ms ease;
}

.home-news-item:hover .home-news-image img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.03);
}

.home-news-item:hover .home-news-image::after {
  opacity: 1;
}

.home-news-item time {
  display: block;
  margin: 18px 0 8px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.home-news-item strong {
  display: block;
  min-height: 3.2em;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.home-news-item span {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  transition: color 240ms ease;
}

.home-news-item span::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: currentColor;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 260ms ease;
}

.home-news-item:hover span {
  color: var(--clay);
}

.home-news-item:hover span::after {
  transform: scaleX(1);
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-list-item {
  display: grid;
  grid-template-columns: minmax(180px, 26%) minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 46px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.news-list-image {
  display: block;
  overflow: hidden;
  background: var(--indigo-900);
}

.news-list-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms ease, filter 320ms ease;
}

.news-list-item:hover .news-list-image img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.news-list-body {
  display: block;
}

.news-list-body h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.news-list-body p {
  width: min(620px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.news-list-body time {
  display: block;
  margin-top: 24px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.news-detail-head {
  width: min(900px, 100%);
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.news-detail-head h2 {
  margin: 10px 0 20px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.38;
}

.news-detail-head .news-detail-meta {
  justify-content: center;
}

.news-detail-image {
  width: min(980px, 100%);
  margin: 0 auto 42px;
  overflow: hidden;
  background: var(--indigo-900);
}

.news-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.home-message-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.message-contact {
  display: grid;
  gap: 22px;
  margin: 32px 0 0;
}

.message-contact dt {
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.message-contact dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.message-contact small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.home-message-form {
  padding: clamp(28px, 3.6vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.62);
  box-shadow: none;
}

.form-intro {
  margin-bottom: 20px;
}

.form-intro h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 0.02em;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-message-form input,
.home-message-form select,
.home-message-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 33, 36, 0.14);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  padding: 15px 16px;
  outline: none;
}

.home-message-form textarea {
  min-height: 138px;
  margin-top: 16px;
  resize: vertical;
}

.home-message-form input:focus,
.home-message-form select:focus,
.home-message-form textarea:focus {
  border-color: var(--clay);
}

.home-message-form .is-invalid,
.contact-form .is-invalid {
  border-color: rgba(167, 75, 63, 0.72);
  background: rgba(167, 75, 63, 0.035);
}

.form-notice {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(167, 75, 63, 0.72);
  color: #8f4037;
  background: rgba(167, 75, 63, 0.055);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.form-notice.is-visible {
  display: block;
}

.message-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 20px;
  border: 1px solid rgba(16, 41, 76, 0.12);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 16, 29, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity 220ms ease, transform 220ms ease;
}

.message-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.message-toast span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) 136px;
  gap: 12px;
  margin-top: 18px;
}

.captcha-row span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 79, 125, 0.22);
  background: rgba(29, 79, 125, 0.08);
  color: #2f7a47;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.18em;
  overflow: hidden;
}

.captcha-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.home-message-form .button {
  margin-top: 16px;
  width: 100%;
}

.home-message-form .button:disabled,
.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-submit {
  min-height: 54px;
  border-color: var(--indigo-900);
  background: var(--indigo-900);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-submit:hover {
  color: var(--indigo-900);
}

.dark-band {
  color: var(--white);
  background: var(--indigo-950);
}

.dark-band .section-title,
.dark-band .display-title {
  color: var(--white);
}

.dark-band .section-copy,
.dark-band p {
  color: rgba(255, 250, 242, 0.72);
}

.dark-band .card h3 {
  color: var(--indigo-900);
}

.dark-band .card p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 250, 242, 0.2);
}

.section:not(.dark-band) .timeline {
  border-top-color: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.2);
}

.section:not(.dark-band) .timeline-item {
  border-bottom-color: var(--line);
}

.timeline-step {
  color: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.timeline p {
  margin: 0;
}

.section:not(.dark-band) .timeline p {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  padding: 36px 28px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.stat strong {
  display: block;
  color: var(--indigo-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.info-list dt {
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.info-list dd {
  margin: 6px 0 0;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  outline: none;
}

.contact-form .captcha-row {
  margin-top: 0;
}

.contact-form .captcha-row input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  outline: none;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row input:focus,
.contact-form .captcha-row input:focus,
.form-row textarea:focus {
  border-color: var(--indigo-800);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--indigo-900);
  color: var(--white);
  background: var(--indigo-900);
  letter-spacing: 0.16em;
  font-size: 12px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.button:hover {
  color: var(--indigo-900);
  background: transparent;
}

.site-footer {
  padding: 72px clamp(22px, 5vw, 72px) 28px;
  color: rgba(255, 250, 242, 0.72);
  background:
    linear-gradient(rgba(6, 16, 29, 0.92), rgba(6, 16, 29, 0.96)),
    url("../images/hero-denim.svg") center / cover;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(160px, 0.7fr) minmax(260px, 0.9fr);
  gap: clamp(36px, 7vw, 90px);
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
}

.footer-brand {
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-about p {
  width: min(460px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.62);
}

.footer-col h3 {
  margin: 0 0 20px;
  color: var(--sand);
  font-size: 15px;
  letter-spacing: 0.2em;
}

.footer-nav {
  display: grid;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.footer-nav a,
.footer-contact p {
  transition: color 220ms ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p {
  margin: 0 0 12px;
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 250, 242, 0.42);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-family: auto;
}

.float-toolbar {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  z-index: 80;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(6, 16, 29, 0.72);
  box-shadow: 0 18px 46px rgba(6, 16, 29, 0.18);
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.float-toolbar button,
.float-toolbar a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
  color: rgba(255, 250, 242, 0.82);
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease;
}

.float-toolbar button:last-of-type {
  border-bottom: 0;
}

.float-toolbar button:hover,
.float-toolbar button.is-active,
.float-toolbar a:hover {
  color: var(--white);
  background: rgba(155, 118, 84, 0.42);
}

.float-toolbar svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-popover {
  position: absolute;
  top: 0;
  right: calc(100% + 12px);
  min-width: 210px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 41, 76, 0.12);
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 18px 42px rgba(6, 16, 29, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.float-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.float-popover strong {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.float-popover p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 820ms ease, transform 820ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 20px;
  }

  .site-header::after {
    content: none;
  }

  .menu-toggle {
    display: grid;
    position: fixed;
    top: 13px;
    right: 20px;
    z-index: 2;
    flex: 0 0 44px;
    margin-left: auto;
    place-items: center;
    align-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 24px;
    height: 1px;
    margin: 0;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    padding: 28px 20px 34px;
    background: rgba(243, 238, 230, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 20px;
  }

  .site-nav a {
    justify-items: start;
    text-align: left;
  }

  .swiper-controls {
    right: 20px;
    bottom: 30px;
  }

  .hero.hero-small {
    min-height: 300px;
  }

  .hero.hero-small .hero-content {
    padding: 82px 0 42px;
  }

  .float-toolbar {
    right: 12px;
  }

  .swiper-arrow {
    display: none;
  }

  .split,
  .split.reverse,
  .contact-layout,
  .product-detail-layout,
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy,
  .split.reverse .image-frame {
    order: initial;
  }

  .product-carousel .card {
    flex-basis: calc((100% - var(--carousel-gap)) / 2);
  }

  .grid-3,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-message-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .home-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-list-item {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
  }

  .product-main-image {
    aspect-ratio: 4 / 3;
  }

  .home-news-image {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .logo {
    gap: 10px;
    font-size: 11px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    letter-spacing: 0.04em;
  }

  .hero.hero-small {
    min-height: 220px;
  }

  .hero.hero-small .hero-content {
    padding: 76px 0 30px;
  }

  .hero.hero-small .eyebrow {
    margin-bottom: 10px;
  }

  .hero-title-en {
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-slide.is-active img {
    animation: none;
    transform: scale(1);
  }

  .hero-lead {
    width: min(280px, 100%);
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-news-section {
    padding-bottom: 30px;
  }

  .home-message-section {
    padding-top: 30px;
  }

  .product-overview-section {
    padding-bottom: 28px;
  }

  .breadcrumb-section {
    padding-top: 18px;
  }

  .breadcrumb {
    gap: 7px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .breadcrumb-section + .section {
    padding-top: 42px;
  }

  .float-toolbar {
    top: auto;
    right: 14px;
    bottom: 18px;
    transform: none;
  }

  .float-toolbar [data-float],
  .float-toolbar a,
  .float-popover {
    display: none;
  }

  .float-toolbar button,
  .float-toolbar a {
    width: 42px;
    height: 42px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 250, 242, 0.14);
  }

  .float-toolbar button:last-of-type {
    border-right: 0;
  }

  .float-popover {
    top: auto;
    right: 0;
    bottom: calc(100% + 10px);
    transform: translateY(8px);
  }

  .float-popover.is-open {
    transform: translateY(0);
  }

  .home-news-list {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .news-list-body time {
    margin-top: 16px;
  }

  .rich-content {
    padding: 28px 0;
    background: transparent;
  }

  .news-detail-image img {
    aspect-ratio: 4 / 3;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, 72px);
    gap: 8px;
  }

  .product-main-image {
    aspect-ratio: 4 / 3;
  }

  .product-carousel {
    --carousel-gap: 16px;
  }

  .product-carousel .card {
    flex-basis: 100%;
  }

  .product-carousel-controls {
    gap: 14px;
    margin-top: 24px;
  }

  .product-carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .product-carousel-dots button {
    width: 18px;
  }

  .product-carousel-dots button.is-active {
    width: 34px;
  }

  .grid-3,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pagination {
    gap: 8px;
    margin-top: 34px;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .pagination-next {
    min-width: 68px;
    padding: 0 12px;
  }

  .image-frame,
  .image-frame.tall {
    min-height: 330px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (min-width: 901px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-news-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-message-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  }
}
