﻿/* ============================================================
   XINGMEI PRINTING · 兴美印刷 — White minimal luxury theme
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --ink: #17161a;
  --ink-soft: #2a292d;
  --muted: #6e6b66;
  --line: #e8e5df;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #a5855c;
  --accent-soft: #c9b18a;
  --dark: #141417;
  --dark-soft: #1d1d21;
  --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 40px; }

.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- shared type ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
}
.kicker-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.005em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-desc {
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  padding-bottom: 6px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.45s var(--ease);
  border: 1px solid transparent;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark {
  background: #fff;
  color: var(--dark);
}
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  flex: none;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-logo-text strong {
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 600;
}
.nav-logo-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.65;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta {
  border: 1px solid currentColor;
  padding: 11px 26px;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav { color: #fff; }
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 0;
}
.lang-opt { opacity: 0.45; transition: opacity 0.3s; font-weight: 500; }
.lang-opt.active { opacity: 1; }
.lang-divider { width: 1px; height: 12px; background: currentColor; opacity: 0.35; }

.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px 0 8px 8px; }
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 44px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--ink);
}
.mobile-menu a small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
}
.mobile-menu a:last-of-type { border-bottom: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video { object-fit: cover; z-index: 1; }
.hero-overlay {
  z-index: 2;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.62) 0%, rgba(12, 12, 14, 0.42) 45%, rgba(12, 12, 14, 0.66) 100%);
}
.hero-content { position: relative; z-index: 3; padding-top: 60px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}
.hero-kicker .kicker-line { background: var(--accent-soft); }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin-bottom: 34px;
}
.hero-line { display: block; }
.hero-line-serif { font-style: italic; font-weight: 500; color: var(--accent-soft); }

.hero-sub {
  max-width: 620px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 46px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: #fff;
}
.scroll-mouse {
  display: block;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  position: relative;
}
.scroll-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- stats ---------- */

.stats { border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 64px 0;
}
.stat {
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.stat-num span { color: var(--accent); font-size: 0.7em; }
.stat-label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- about ---------- */

.section-about { background: var(--bg); }
.about-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.about-media-caption {
  position: absolute;
  left: -1px;
  bottom: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 0 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.about-body { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin-bottom: 40px; }

.about-points { display: flex; flex-direction: column; }
.about-points li {
  display: flex;
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.point-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  flex: none;
  padding-top: 2px;
}
.about-points strong {
  display: block;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.about-points em {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-soft);
}
.marquee-track i { font-style: normal; color: var(--accent); font-size: 11px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- products ---------- */

.section-products { background: var(--bg); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}
.product-card { display: flex; flex-direction: column; }
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1 / 1;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-body { padding-top: 22px; position: relative; }
.product-index {
  position: absolute;
  top: 22px;
  right: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
}
.product-body h3 { display: flex; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 500; letter-spacing: 0.01em; }
.product-body h3 span { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.product-body h3 em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  font-family: var(--sans);
  font-weight: 400;
}
.product-desc { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-top: 10px; min-height: 72px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-tags li {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.products-more {
  margin-top: 72px;
  padding: 30px 36px;
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: baseline;
  flex-wrap: wrap;
}
.products-more span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.products-more em { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- craft ---------- */

.section-craft { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.craft-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 36px;
}
.craft-item { padding: 30px 0 38px; border-top: 1px solid var(--line); position: relative; }
.craft-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 14px;
}
.craft-item h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 10px;
}
.craft-item p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.craft-materials {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  align-items: baseline;
}
.materials-label {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  flex: none;
}
.materials-list { font-family: var(--serif); font-size: 19px; color: var(--ink-soft); line-height: 2; }
.materials-list i { font-style: normal; color: var(--accent); margin: 0 12px; font-size: 14px; }

/* ---------- work gallery ---------- */

.section-work { background: var(--bg); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.work-item { overflow: hidden; background: var(--bg-alt); }
.work-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-item:hover img { transform: scale(1.05); }

/* ---------- factory ---------- */

.section-factory { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.factory-featured {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 32px;
}
.factory-featured img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.factory-featured:hover img { transform: scale(1.03); }
.factory-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.08) 0%, rgba(14, 14, 16, 0.55) 100%);
}
.factory-featured-info {
  position: absolute;
  left: 40px;
  bottom: 34px;
  color: #fff;
}
.factory-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 5px 14px;
  margin-bottom: 16px;
  color: #fff;
}
.factory-featured-info h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  margin-bottom: 6px;
}
.factory-featured-info p { font-size: 13px; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.06em; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  transition: all 0.45s var(--ease);
}
.play-icon { margin-left: 3px; }
.factory-featured:hover .play-btn { background: #fff; color: var(--ink); border-color: #fff; }
.play-btn-sm {
  width: 46px;
  height: 46px;
  top: 50%;
  left: 50%;
}
.play-btn-sm .play-icon { margin-left: 2px; }
.factory-card:hover .play-btn-sm { background: #fff; color: var(--ink); border-color: #fff; }

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.factory-media {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e9e6e0;
}
.factory-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.factory-card:hover .factory-media img { transform: scale(1.05); }
.factory-dur {
  position: absolute;
  right: 12px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 3px;
}
.factory-body { padding-top: 16px; }
.factory-body h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.factory-body p { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-top: 4px; }

/* ---------- workflow ---------- */

.section-workflow { background: var(--bg); }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 32px;
}
.wf-step { padding-top: 30px; border-top: 1px solid var(--line); position: relative; }
.wf-step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.wf-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.wf-step h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.wf-step p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- applications ---------- */

.section-apps { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 36px;
}
.app-item {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.app-item:hover { padding-left: 14px; }
.app-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
}
.app-item h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; }

/* ---------- faq ---------- */

.section-faq { background: var(--bg); }
.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-sub { color: var(--muted); font-size: 14.5px; margin-top: 20px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.4s var(--ease);
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 1.5px; }
.faq-icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p { padding: 0 40px 26px 0; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* ---------- contact ---------- */

.section-contact { background: var(--bg); padding-bottom: 140px; }
.contact-panel {
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  padding: 88px 80px;
}
.kicker-dark { color: var(--accent-soft); }
.kicker-dark .kicker-line { background: var(--accent-soft); }
.contact-panel .section-title { color: #fff; }
.contact-desc { color: rgba(255, 255, 255, 0.65); font-size: 15px; line-height: 1.85; margin-top: 22px; }
.contact-rows { margin-top: 48px; display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-row:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-label {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
  flex: none;
  width: 110px;
}
.contact-row a,
.contact-row span:last-child { font-size: 15.5px; color: rgba(255, 255, 255, 0.9); }
.contact-row a { transition: color 0.3s; }
.contact-row a:hover { color: var(--accent-soft); }
.contact-note {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field label {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 10px 2px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.35s;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent-soft); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-field select option { color: var(--ink); background: #fff; }
.form-hint { color: var(--accent-soft); font-size: 13px; line-height: 1.7; }

/* ---------- footer ---------- */

.footer { background: var(--dark); color: #fff; padding: 80px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}
.nav-logo-dark { color: #fff; }
.footer-brand > p {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.85;
  max-width: 380px;
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: 22px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 14px;
  transition: color 0.3s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.footer-credit { font-family: var(--serif); font-style: italic; font-size: 14px; color: rgba(255, 255, 255, 0.5); }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(6px);
}
.modal-box {
  position: relative;
  width: min(960px, 100%);
  color: #fff;
}
.modal-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.modal-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.modal-close:hover { transform: rotate(90deg); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-list { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .container, .container-wide { padding: 0 28px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 88px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 48px; }
  .section-desc { max-width: 100%; }
  .about-wrap { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .stat:nth-child(3)::before { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .product-desc { min-height: 0; }
  .craft-list { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-featured img { aspect-ratio: 16 / 9; }
  .factory-featured-info { left: 24px; bottom: 22px; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .contact-panel { grid-template-columns: 1fr; gap: 56px; padding: 64px 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: clamp(42px, 10vw, 76px); }
  .play-btn { width: 64px; height: 64px; }
}

@media (max-width: 560px) {
  .container, .container-wide { padding: 0 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .craft-list { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .factory-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { padding: 15px 26px; font-size: 12px; }
  .contact-panel { padding: 56px 24px; }
  .materials-list { font-size: 17px; }
  .section { padding: 72px 0; }
  .stat + .stat::before { height: 40px; }
  .hero-kicker { letter-spacing: 0.28em; font-size: 10px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}