:root {
  --ink: #15130f;
  --ink-soft: #3d3931;
  --body: #5f5a50;
  --muted: #8b8374;
  --line: #d9d1c2;
  --line-soft: #e8e1d5;
  --ivory: #f7f3ea;
  --paper: #eee9df;
  --paper-deep: #e5dfd3;
  --white: #fffdf7;
  --olive: #77705d;
  --olive-dark: #5d5748;
  --champagne: #b6a477;
  --focus: #8c7950;
  --shadow: 0 26px 70px rgba(65, 56, 42, 0.12);
  --content: 1240px;
  --ease: 220ms ease;
  --display-en: "Bodoni 72", "Bodoni MT", Didot, "Libre Bodoni", Georgia, "Times New Roman", serif;
  --body-sans: "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body-sans);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 76, 57, 0.025) 1px, transparent 1px);
  background-size: 5px 5px;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(18px, 3vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(126, 118, 96, 0.98), rgba(100, 94, 77, 0.98));
  border-bottom: 1px solid rgba(255, 253, 247, 0.3);
  box-shadow: 0 8px 26px rgba(38, 33, 25, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--ivory);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(11px, 1.15vw, 22px);
  padding: 0 18px;
}

.nav-links a {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: color var(--ease);
}

.nav-links small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.is-current {
  color: var(--white);
}

.nav-links a.is-current::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  height: 42px;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 1px solid rgba(255, 253, 247, 0.34);
  cursor: pointer;
  transition:
    color var(--ease),
    border-color var(--ease),
    background var(--ease);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 253, 247, 0.68);
}

.language-current {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.language-next {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.language-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.32);
}

.home-page .site-header {
  display: block;
  min-height: clamp(188px, 18vw, 238px);
  padding: 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.home-page .brand {
  position: absolute;
  top: clamp(38px, 5.8vw, 78px);
  left: max(24px, calc((100vw - var(--content)) / 2));
  display: block;
  width: clamp(150px, 16vw, 230px);
  height: clamp(52px, 6vw, 82px);
  background: url("../assets/yiren-english-logo-black.webp") left center / contain no-repeat;
}

.home-page .brand-mark,
.home-page .brand-copy {
  display: none;
}

.home-page .nav-links {
  position: absolute;
  top: clamp(128px, 14.4vw, 178px);
  right: max(24px, calc((100vw - var(--content)) / 2));
  left: max(24px, calc((100vw - var(--content)) / 2));
  display: flex;
  overflow: hidden;
  justify-content: center;
  gap: 0;
  min-height: 44px;
  padding: 0;
  background: linear-gradient(180deg, rgba(142, 134, 111, 0.92), rgba(104, 98, 80, 0.94));
  border: 1px solid rgba(255, 253, 247, 0.34);
  box-shadow: 0 8px 22px rgba(38, 33, 25, 0.12);
}

.home-page .nav-links a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 253, 247, 0.24);
  font-size: 13px;
  font-weight: 700;
}

.home-page .nav-links a:last-child {
  border-right: 0;
}

.home-page .nav-links small {
  display: none;
}

.home-page .header-actions {
  position: absolute;
  top: clamp(36px, 5.2vw, 70px);
  right: max(24px, calc((100vw - var(--content)) / 2));
  min-height: 48px;
  padding: 7px;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(27, 26, 24, 0.94), rgba(6, 6, 6, 0.96));
  border: 1px solid rgba(255, 253, 247, 0.18);
  box-shadow: 0 10px 26px rgba(24, 20, 14, 0.18);
}

.home-search {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 20vw, 300px);
  height: 34px;
  background: rgba(255, 253, 247, 0.93);
  border: 1px solid rgba(255, 253, 247, 0.5);
}

.home-search::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 12px;
  border: 2px solid rgba(21, 19, 15, 0.54);
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px rgba(21, 19, 15, 0.54);
  transform: rotate(-12deg);
}

.home-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 9px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.home-search input::placeholder {
  color: rgba(21, 19, 15, 0.42);
}

.home-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 100%;
  color: rgba(21, 19, 15, 0.44);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(21, 19, 15, 0.1);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.home-page .language-toggle {
  display: inline-flex;
  height: 34px;
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 253, 247, 0.18);
}

.home-page .language-toggle:hover,
.home-page .language-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.home-page .nav-cta {
  display: inline-flex;
  min-height: 34px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.9);
  border-color: rgba(255, 253, 247, 0.68);
}

.home-page .nav-cta:hover {
  background: var(--white);
}

.floating-inquiry {
  position: fixed;
  z-index: 28;
  right: clamp(18px, 2.5vw, 38px);
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--olive);
  border: 1px solid rgba(255, 253, 247, 0.58);
  box-shadow: 0 14px 32px rgba(49, 43, 33, 0.24);
  transform: translateY(-50%);
  transition:
    color var(--ease),
    background var(--ease),
    transform var(--ease);
}

.floating-inquiry:hover,
.floating-inquiry:focus-visible {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-50%) translateX(-3px);
}

.floating-inquiry svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

html[data-lang] body {
  transition: opacity 120ms ease;
}

html.is-switching body {
  opacity: 0.72;
}

html[data-lang="zh"] .language-current::before {
  content: "";
}

html[data-lang="zh"] .language-current {
  font-size: 0;
}

html[data-lang="zh"] .language-current::after {
  content: "中文";
  font-size: 12px;
}

html[data-lang="zh"] .language-next {
  font-size: 0;
}

html[data-lang="zh"] .language-next::after {
  content: "EN";
  font-size: 10px;
}

html[data-lang="en"] .language-current {
  font-size: 0;
}

html[data-lang="en"] .language-current::after {
  content: "EN";
  font-size: 12px;
}

html[data-lang="en"] .language-next {
  font-size: 0;
}

html[data-lang="en"] .language-next::after {
  content: "中文";
  font-size: 10px;
}

html[data-lang] :is(
  .hero-en,
  .overview-en,
  .en-copy,
  .business-en,
  .profile-en,
  .about-en,
  .unit-en,
  .units-intro-copy p[lang="en"]
) {
  display: none;
}

html[data-lang] :is(
  .brand-copy small,
  .footer-brand small,
  .nav-links small,
  .nav-cta span,
  .primary-btn span,
  .text-link span,
  .overview-link span,
  .inline-cta span,
  .form-heading h3 small,
  .hero h1 > small,
  .company-overview h2 > small,
  .about .section-heading h2 > small,
  .business .section-heading h2 > small,
  .factory-copy h2 > small,
  .oem .section-heading h2 > small,
  .quality-head h2 > small,
  .contact-copy h2 > small,
  .business-story h3 > small,
  .about-subnav small,
  .profile-stats small,
  .history-timeline small,
  .operations-gallery figcaption small,
  .evidence-process li small,
  .values-list small,
  .unit-index small,
  .unit-button small,
  .about-cta a small,
  .units-cta a small,
  .detail-cta a small,
  .product-categories small,
  .products-hero-copy > a small,
  .signature-copy > a small,
  .product-card-copy a small,
  .editorial-copy > a small,
  .gift-copy > a small,
  .gift-gallery figcaption small,
  .custom-direction > a small,
  .products-cta > a small,
  .factory-list small,
  .customization-grid article > small,
  .process small,
  .quality-grid article > small
) {
  display: none;
}

html[data-lang="en"] .units-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(46px, 5vw, 76px);
}

html[data-lang="en"] .hero-content h1 {
  font-size: clamp(42px, 5.2vw, 76px);
}

html[data-lang="en"] body :is(h1, h2) {
  font-family: var(--display-en);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

html[data-lang="en"] body :is(h1, h2) small {
  font-family: var(--body-sans);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 253, 247, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-cta,
.primary-btn,
.inline-cta,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  color: var(--white);
  background: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color var(--ease),
    background var(--ease),
    border-color var(--ease);
}

.nav-cta {
  gap: 7px;
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.55);
}

.nav-cta span,
.primary-btn span,
.inline-cta span {
  font-size: 10px;
  font-weight: 500;
}

.nav-cta:hover {
  background: rgba(255, 253, 247, 0.22);
}

.screen {
  position: relative;
  padding: clamp(104px, 10vw, 156px) clamp(20px, 6vw, 96px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
}

h1 {
  font-size: clamp(42px, 5.4vw, 76px);
}

h2 {
  font-size: clamp(32px, 4.1vw, 56px);
}

h1 span,
h1 small,
h2 span,
h2 small {
  display: block;
}

h1 small {
  margin-top: 22px;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.35;
}

h2 small {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 400;
  line-height: 1.45;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.3;
}

p {
  color: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
}

.en-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto clamp(48px, 6vw, 78px);
  text-align: center;
}

.section-heading-left {
  width: min(var(--content), 100%);
  text-align: left;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 12, 0.52), rgba(20, 17, 12, 0.7)),
    url("../assets/home-hero-fountain-pen.webp") center / cover no-repeat;
  filter: sepia(0.1) saturate(0.78) contrast(1.04);
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(1080px, 100%);
  padding: 88px 0 90px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1 small {
  color: rgba(255, 255, 255, 0.76);
}

.hero-lead {
  max-width: 800px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.55vw, 20px);
}

.hero-en {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-btn {
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  background: var(--olive);
}

.primary-btn:hover,
.inline-cta:hover,
.lead-form button:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 12px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.text-link span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.hero-index {
  display: none;
}

.hero-index > span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 24px;
  color: var(--champagne);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
}

.hero-index > span:last-child {
  border-right: 0;
}

.hero-index small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 400;
}

.company-overview {
  display: grid;
  align-items: center;
  min-height: min(880px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: #1a1916;
}

.overview-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.88) 0%, rgba(17, 16, 13, 0.68) 48%, rgba(17, 16, 13, 0.58) 100%),
    url("../assets/high-end-factory-overview.webp") center / cover no-repeat;
  filter: saturate(0.72) contrast(1.04);
  transform: scale(1.01);
}

.overview-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(520px, 1.24fr);
  gap: clamp(56px, 7vw, 112px);
  align-items: center;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.overview-copy {
  max-width: 520px;
}

.overview-copy .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.overview-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(36px, 3.5vw, 50px);
}

.overview-copy h2 small {
  color: rgba(255, 255, 255, 0.58);
}

.overview-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.overview-copy .overview-en {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.8;
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  transition:
    color var(--ease),
    background var(--ease);
}

.overview-link span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 400;
}

.overview-link:hover {
  color: var(--ink);
  background: var(--white);
}

.overview-link:hover span {
  color: var(--body);
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.overview-stats article {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(38, 36, 31, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.overview-stats strong {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
  font-size: clamp(42px, 4.8vw, 70px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.overview-stats sup {
  margin: 1px 0 0 5px;
  color: var(--white);
  font-size: 0.5em;
  line-height: 1;
}

.overview-stats p {
  display: grid;
  gap: 5px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.overview-stats small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 400;
}

.about {
  padding-top: clamp(110px, 10vw, 156px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.about-copy {
  max-width: 560px;
}

.principles {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.principles article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principles span,
.business-story-copy > span,
.customization-grid article > span,
.quality-grid article > span,
.quality-note > span,
.form-heading > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.principles h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.principles p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.about-visual {
  position: relative;
  margin: 0;
}

.about-visual img {
  height: clamp(520px, 52vw, 720px);
  object-fit: cover;
  filter: grayscale(0.58) sepia(0.12) saturate(0.76);
}

.about-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  min-width: min(330px, 78%);
  padding: 26px 30px;
  color: var(--white);
  background: rgba(103, 96, 78, 0.94);
}

.about-visual figcaption span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.about-visual figcaption strong {
  font-size: 17px;
}

.business {
  background: #f1ede4;
}

.business-stories {
  display: grid;
  gap: clamp(62px, 8vw, 112px);
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.business-story {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: stretch;
  width: 94%;
  min-height: 430px;
}

.business-story:nth-child(even) {
  grid-template-columns: minmax(350px, 0.9fr) minmax(0, 1.1fr);
}

.business-story:nth-child(even) .business-media {
  order: 2;
}

.business-story:nth-child(even) .business-story-copy {
  order: 1;
}

.business-story-wide {
  width: 100%;
}

.business-story-shift-right {
  width: 89%;
  margin-left: auto;
}

.business-story-shift-left {
  width: 92%;
  margin-left: 2%;
}

.business-story-narrow {
  width: 87%;
  margin-left: 8%;
}

.business-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.business-media img {
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.76) contrast(1.02);
}

.business-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(34px, 3.5vw, 50px);
  background: rgba(255, 253, 247, 0.5);
}

.business-story:nth-child(odd) .business-story-copy {
  padding-right: clamp(22px, 3.5vw, 50px);
  padding-left: clamp(38px, 5vw, 70px);
}

.business-story:nth-child(even) .business-story-copy {
  padding-right: clamp(38px, 5vw, 70px);
  padding-left: clamp(22px, 3.5vw, 50px);
}

.business-story-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(27px, 2.7vw, 40px);
}

.business-story-copy h3 small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.business-story-copy p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.85;
}

.business-story-copy .business-en {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.business-story-copy a {
  align-self: flex-start;
  margin-top: 8px;
  padding-bottom: 6px;
  color: var(--olive-dark);
  border-bottom: 1px solid var(--champagne);
  font-size: 11px;
  font-weight: 700;
}

.factory {
  background: var(--white);
}

.factory-video-section {
  padding: clamp(62px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.factory-video-wrap {
  width: min(1360px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(93, 87, 72, 0.2);
  box-shadow: 0 28px 70px rgba(63, 57, 43, 0.14);
}

.factory-video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}

.factory-video-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
}

.inline-cta {
  gap: 8px;
}

.oem {
  background: var(--ivory);
}

.customization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.customization-grid article {
  min-height: 220px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.customization-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.customization-grid p {
  margin-bottom: 16px;
  font-size: 14px;
}

.customization-grid article > small {
  color: var(--muted);
  font-size: 10px;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(var(--content), 100%);
  margin: clamp(60px, 7vw, 88px) auto 0;
  border-top: 1px solid var(--olive);
}

.process > div {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 25px 18px 0 0;
}

.process > div::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--olive);
  border-radius: 50%;
}

.process strong {
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.process span {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.process small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.quality {
  color: var(--white);
  background: #24221d;
}

.quality .eyebrow,
.quality h2 small,
.quality p {
  color: rgba(255, 255, 255, 0.58);
}

.quality-head {
  width: min(900px, 100%);
  margin: 0 auto clamp(48px, 6vw, 78px);
  text-align: center;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: min(var(--content), 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.quality-grid article {
  min-height: 190px;
  padding: 26px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.quality-grid article > span {
  color: var(--champagne);
}

.quality-grid h3 {
  margin-top: 42px;
  margin-bottom: 8px;
  font-size: 16px;
}

.quality-grid small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  line-height: 1.4;
}

.quality-note {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 30px;
  align-items: center;
  width: min(var(--content), 100%);
  margin: 34px auto 0;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-note > span {
  margin: 0;
  color: var(--champagne);
}

.quality-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.quality-note small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1fr);
  gap: clamp(56px, 8vw, 116px);
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.contact-copy {
  padding-top: 22px;
}

.contact-details {
  margin: 44px 0 22px;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details strong {
  font-size: 12px;
}

.contact-details span {
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}

.contact-note {
  color: var(--muted);
  font-size: 11px;
}

.lead-form {
  display: grid;
  gap: 20px;
  align-self: start;
  padding: clamp(32px, 4vw, 52px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-heading h3 {
  margin: 0;
}

.form-heading h3 small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d3caba;
  border-radius: 0;
  font-size: 14px;
}

.lead-form textarea {
  min-height: 128px;
  padding-top: 14px;
  resize: vertical;
}

.lead-form button {
  width: 100%;
  min-height: 54px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  min-height: 170px;
  padding: 38px clamp(24px, 7vw, 110px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.footer-brand strong small {
  color: var(--muted);
  font-size: 10px;
}

.footer-brand p,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-align: center;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(7, max-content);
  justify-content: center;
  align-items: center;
  gap: 12px clamp(18px, 2.4vw, 34px);
  width: 100%;
}

.footer-nav a {
  color: var(--body);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 1380px) {
  .home-page .site-header {
    min-height: clamp(168px, 18vw, 218px);
  }

  .home-page .nav-links {
    top: clamp(108px, 14vw, 154px);
    right: max(18px, 4vw);
    left: auto;
    display: flex;
    width: auto;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .home-page .menu-toggle {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 0;
    width: min(720px, 100vw);
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    background: rgba(88, 82, 67, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-8px);
    transition:
      opacity var(--ease),
      transform var(--ease),
      visibility var(--ease);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    align-content: center;
    min-height: 66px;
    padding: 10px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
  }

  .nav-links a.is-current::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .overview-layout {
    grid-template-columns: minmax(300px, 0.8fr) minmax(440px, 1.2fr);
    gap: 44px;
  }

  .business-story,
  .business-story:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    width: 100%;
    margin-left: 0;
  }

  .factory {
    grid-template-columns: 1fr;
  }

  .factory-visual {
    grid-template-rows: minmax(420px, 1.35fr) minmax(190px, 0.65fr);
    min-height: 610px;
  }

  .quality-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }
}

@media (max-width: 900px) {
  .home-page .header-actions {
    min-width: 0;
    padding: 6px;
  }

  .home-page .home-search {
    display: none;
  }

  .home-page .nav-cta {
    display: none;
  }

  .home-page .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    width: min(720px, calc(100vw - 36px));
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
  }

  .home-page .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .home-page .menu-toggle {
    display: block;
  }
}

@media (max-width: 820px) {
  .screen {
    padding: 92px 22px;
  }

  .about-layout,
  .contact,
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .company-overview {
    min-height: auto;
  }

  .overview-layout {
    gap: 48px;
  }

  .overview-copy {
    max-width: 650px;
  }

  .about-copy {
    max-width: none;
  }

  .about-visual img {
    height: 520px;
  }

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

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

  .quality-note,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    grid-template-columns: repeat(4, max-content);
  }
}

@media (max-width: 600px) {
  .home-page .site-header {
    min-height: 128px;
  }

  .home-page .brand {
    top: 22px;
    left: 16px;
    width: 138px;
    height: 46px;
  }

  .home-page .header-actions {
    top: 24px;
    right: 16px;
    min-width: auto;
  }

  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    display: none;
  }

  .footer-nav {
    grid-template-columns: repeat(2, max-content);
  }

  .language-toggle {
    min-width: 68px;
    height: 42px;
    padding-inline: 9px;
  }

  .floating-inquiry {
    right: 16px;
    top: 50%;
    width: 54px;
    height: 54px;
  }

  .nav-links {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100svh - 66px);
    overflow-y: auto;
    padding: 10px 16px 18px;
  }

  .home-page .nav-links {
    top: 84px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .nav-links a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 6px;
    border-right: 0;
  }

  .nav-links small {
    font-size: 10px;
  }

  .hero-content {
    padding: 92px 0 190px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-index {
    grid-template-columns: 1fr;
  }

  .hero-index > span {
    min-height: 48px;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .metrics-band {
    grid-template-columns: 1fr;
  }

  .company-overview {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .overview-background {
    background:
      linear-gradient(180deg, rgba(17, 16, 13, 0.78), rgba(17, 16, 13, 0.72)),
      url("../assets/high-end-factory-overview.webp") center / cover no-repeat;
  }

  .overview-copy h2 {
    font-size: 34px;
  }

  .overview-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .overview-stats article {
    min-height: 166px;
    padding: 28px 20px;
  }

  .overview-stats strong {
    font-size: 52px;
  }

  .overview-stats p {
    margin-top: 18px;
  }

  .business-story,
  .business-story:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .business-story:nth-child(even) .business-media,
  .business-story:nth-child(even) .business-story-copy {
    order: initial;
  }

  .business-media {
    aspect-ratio: 4 / 3;
  }

  .business-story-copy,
  .business-story:nth-child(odd) .business-story-copy,
  .business-story:nth-child(even) .business-story-copy {
    min-height: 330px;
    padding: 42px 24px;
  }

  .factory-copy {
    padding: 72px 22px;
  }

  .factory-visual {
    grid-template-rows: 310px auto;
    min-height: 0;
  }

  .factory-image-strip {
    grid-template-columns: 1fr;
  }

  .factory-image-strip figure {
    height: 220px;
    border-right: 0;
    border-bottom: 3px solid var(--ivory);
  }

  .factory-image-strip figure:last-child {
    border-bottom: 0;
  }

  .factory-list,
  .customization-grid,
  .process,
  .quality-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process {
    border-top: 0;
  }

  .process > div {
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }

  .process > div::before {
    display: none;
  }

  .quality-grid article {
    min-height: 140px;
  }

  .quality-grid h3 {
    margin-top: 22px;
  }

  .contact {
    width: 100%;
  }

  .lead-form {
    padding: 28px 20px;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
