:root {
  --red: #9e1b2b;
  --red-dark: #76111d;
  --ink: #171717;
  --muted: #686868;
  --line: #dedede;
  --soft: #f4f4f2;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 108px 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 84px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 20px; letter-spacing: 0.16em; }
.brand-copy small { margin-top: 6px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; font-size: 14px; font-weight: 650; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.language-switch { display: flex; align-items: center; gap: 6px; color: #aaa; }
.lang-button { padding: 7px 4px; border: 0; color: #9a9a9a; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.lang-button.active { color: var(--red); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 920px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.68) 42%, rgba(10, 10, 12, 0.12) 78%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 45%, rgba(0, 0, 0, 0.35));
}
.hero-content { padding-top: 100px; color: var(--white); }
.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.hero .eyebrow { color: #ffbcc5; }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 6.8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-lead { max-width: 700px; margin: 30px 0 0; color: rgba(255, 255, 255, 0.84); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  min-width: 146px;
  min-height: 52px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.05); }
.button-ghost:hover { color: var(--ink); background: var(--white); }
.hero-facts {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-facts div { padding: 24px 26px 26px 0; display: grid; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.hero-facts div:not(:first-child) { padding-left: 26px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: 19px; letter-spacing: 0.05em; }
.hero-facts span { margin-top: 3px; color: rgba(255, 255, 255, 0.66); font-size: 13px; }

.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 9%; align-items: start; }
.section-heading h2, .factory-copy h2, .service-section h2, .contact-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.intro-copy { color: var(--muted); font-size: 18px; }
.intro-copy p { margin: 0 0 22px; }
.market-line { margin-top: 34px; padding-top: 22px; display: flex; gap: 24px; justify-content: space-between; border-top: 1px solid var(--line); }
.market-line span { color: var(--muted); font-size: 14px; }
.market-line strong { color: var(--ink); text-align: right; }

.products-section { background: var(--soft); }
.heading-row { display: grid; grid-template-columns: 1fr 0.55fr; gap: 10%; align-items: end; }
.heading-note { margin: 0 0 5px; color: var(--muted); font-size: 17px; }
.product-catalog { margin-top: 60px; display: grid; gap: 28px; }
.product-detail {
  --product-accent: var(--red);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dededb;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}
.product-detail-tofu { --product-accent: #0a8e78; }
.product-detail-millet { --product-accent: #d3a200; }
.product-detail-mixed { --product-accent: #c66a19; }
.product-detail-bentonite { --product-accent: #283f65; }
.product-detail-reverse .product-media { order: 2; }
.product-detail-reverse .product-info { order: 1; }
.product-media { min-width: 0; padding: 22px; background: #ecece9; }
.product-gallery { display: grid; gap: 12px; }
.product-gallery-three { min-height: 574px; grid-template-columns: 1.45fr 0.85fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.product-gallery-three .product-image-main { grid-row: 1 / 3; }
.product-gallery-two { grid-template-columns: 1.1fr 0.9fr; }
.product-gallery-single { grid-template-columns: 1fr; }
.product-image {
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-image-closeup img { padding: 0; object-fit: cover; }
.product-gallery-single .product-image { min-height: 574px; }
.product-gallery-two .product-image { min-height: 574px; }
.product-info { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.product-label { margin: 0 0 7px; color: var(--product-accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.product-title-row h3 { margin: 0; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.12; letter-spacing: -0.035em; }
.product-index {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--product-accent);
  font-size: 13px;
  font-weight: 800;
}
.product-intro { margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.product-specs { margin: 28px 0 0; border-top: 1px solid var(--line); }
.product-specs > div { padding: 13px 0; display: grid; grid-template-columns: 92px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.product-specs dt { color: #8a8a8a; font-size: 13px; font-weight: 650; }
.product-specs dd { margin: 0; color: #303030; font-size: 14px; font-weight: 650; }
.feature-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags span { padding: 7px 11px; color: var(--product-accent); background: color-mix(in srgb, var(--product-accent) 9%, white); border: 1px solid color-mix(in srgb, var(--product-accent) 25%, white); font-size: 12px; font-weight: 750; }
.flush-note { margin: 22px 2px 0; color: #777; font-size: 13px; }
.additional-range { margin-top: 42px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #cececa; border-bottom: 1px solid #cececa; }
.additional-range span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.additional-range strong { text-align: right; font-size: 15px; }

.service-section { color: var(--white); background: var(--red); }
.service-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 10%; align-items: start; }
.section-kicker.light { color: #ffc0c8; }
.service-lead { max-width: 520px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.76); font-size: 17px; }
.text-link { margin-top: 34px; display: inline-flex; gap: 16px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); font-weight: 750; }
.service-list { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.service-list article { padding: 26px 0; display: grid; grid-template-columns: 66px 1fr; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.service-list article > strong { color: rgba(255, 255, 255, 0.48); font-size: 13px; }
.service-list h3 { margin: 0 0 5px; font-size: 20px; }
.service-list p { margin: 0; color: rgba(255, 255, 255, 0.68); }

.factory-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 8%; align-items: center; }
.factory-photo { margin: 0; }
.factory-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.factory-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.factory-copy > p:not(.section-kicker) { margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.quality-list { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.quality-list li { padding: 17px 0; display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.quality-list span { color: var(--red); font-size: 12px; font-weight: 800; }
.quality-list strong { font-size: 15px; }

.factory-media-section { background: var(--soft); }
.factory-media-grid { margin-top: 50px; display: grid; grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr); gap: 24px; }
.factory-media-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dededb;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}
.factory-media-frame { position: relative; height: clamp(390px, 38vw, 520px); overflow: hidden; background: #111; }
.factory-media-frame video, .factory-media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.factory-media-video-frame video { object-fit: contain; }
.factory-media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(23, 23, 23, 0.84);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.factory-media-card figcaption { padding: 22px 24px 24px; display: grid; gap: 4px; }
.factory-media-card figcaption strong { font-size: 19px; }
.factory-media-card figcaption span { color: var(--muted); font-size: 14px; }

.contact-section { padding: 112px 0; color: var(--white); background: #171717; }
.contact-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 9%; }
.contact-heading p:not(.section-kicker) { max-width: 560px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.62); }
.contact-actions { display: grid; gap: 14px; }
.contact-card { padding: 24px 28px; display: grid; background: #252525; border: 1px solid #3b3b3b; transition: border 180ms ease, transform 180ms ease; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--red); }
.contact-card span { color: #c8c8c8; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-card strong { margin-top: 10px; overflow-wrap: anywhere; font-size: 21px; }
.contact-card small { margin-top: 4px; color: #8c8c8c; font-size: 13px; }
.contact-meta { grid-column: 1 / -1; margin-top: 42px; padding-top: 30px; display: grid; grid-template-columns: 0.7fr 1.4fr 1fr; gap: 30px; border-top: 1px solid #3b3b3b; }
.contact-meta div { display: grid; }
.contact-meta span { color: #7e7e7e; font-size: 13px; }
.contact-meta strong { margin-top: 6px; color: #d5d5d5; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

.site-footer { padding: 32px 0; background: #0d0d0d; color: #797979; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 12px; }
.footer-brand .brand-copy strong { color: #eee; font-size: 16px; }
.footer-brand .brand-copy small { font-size: 8px; }
.site-footer p, .site-footer a { font-size: 12px; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .hero { min-height: 720px; }
  .intro-grid, .service-grid, .factory-grid, .contact-shell { grid-template-columns: 1fr; gap: 50px; }
  .heading-row { grid-template-columns: 1fr; gap: 24px; }
  .product-detail { min-height: 0; grid-template-columns: 1fr; }
  .product-detail-reverse .product-media { order: 0; }
  .product-detail-reverse .product-info { order: 1; }
  .product-info { padding: 46px 42px; }
  .contact-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap, .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 76px 0; }
  .site-header { height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 17px; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 24px 22px 30px;
    display: grid;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 14px 2px; border-bottom: 1px solid #eeeeec; font-size: 16px; }
  .main-nav a::after { display: none; }
  .menu-toggle { margin-left: auto; width: 42px; height: 42px; padding: 10px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; display: block; background: var(--ink); }
  .language-switch { gap: 3px; }
  .lang-button { padding-inline: 2px; }
  .hero { min-height: 720px; height: 100svh; max-height: 820px; align-items: flex-start; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.56)), linear-gradient(0deg, rgba(8, 8, 10, 0.55), transparent); }
  .hero-content { padding-top: 160px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 28px; }
  .button { min-width: 136px; }
  .hero-facts { left: 16px; right: 16px; }
  .hero-facts div { padding: 18px 10px 20px 0; }
  .hero-facts div:not(:first-child) { padding-left: 12px; }
  .hero-facts strong { font-size: 14px; }
  .hero-facts span { font-size: 11px; }
  .section-heading h2, .factory-copy h2, .service-section h2, .contact-heading h2 { font-size: 38px; }
  .intro-copy { font-size: 16px; }
  .market-line { align-items: flex-start; flex-direction: column; gap: 4px; }
  .market-line strong { text-align: left; }
  .product-catalog { margin-top: 42px; gap: 20px; }
  .product-media { padding: 12px; }
  .product-gallery-three { min-height: 430px; grid-template-columns: 1.35fr 0.85fr; }
  .product-gallery-single .product-image { min-height: 430px; }
  .product-gallery-two { grid-template-columns: 1fr; }
  .product-gallery-two .product-image { min-height: 280px; }
  .product-info { padding: 34px 24px 38px; }
  .product-title-row h3 { font-size: 34px; }
  .product-index { width: 46px; height: 46px; }
  .product-specs > div { grid-template-columns: 78px 1fr; gap: 12px; }
  .additional-range { align-items: flex-start; flex-direction: column; gap: 8px; }
  .additional-range strong { text-align: left; }
  .service-list article { grid-template-columns: 44px 1fr; }
  .factory-photo img { aspect-ratio: 1 / 1; }
  .factory-media-grid { margin-top: 36px; grid-template-columns: 1fr; }
  .factory-media-frame { height: auto; }
  .factory-media-video-frame { aspect-ratio: 9 / 16; max-height: 680px; }
  .factory-media-photo-frame { aspect-ratio: 4 / 3; }
  .factory-media-badge { top: 12px; left: 12px; }
  .contact-section { padding: 80px 0; }
  .contact-card { padding: 22px; }
  .contact-card strong { font-size: 17px; }
  .contact-meta { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
}

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