/* ============================================
   鸿信 · HONGXIN — 全屋定制官方网站
   美学方向：温润编辑式奢华 / Warm Editorial Luxury
   主色：深咖啡木 / 暖米白 / 黄铜点缀
   ============================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色板 */
  --espresso:    #2A1F1A;   /* 深咖啡木 - 主文字 */
  --bark:        #4A3528;   /* 树皮褐 - 副标题 */
  --taupe:       #8C7464;   /* 灰褐 - 次级文字 */
  --linen:       #F5EFE6;   /* 亚麻暖白 - 主背景 */
  --cream:       #EDE3D3;   /* 奶油 - 次背景 */
  --sand:        #E0D2BC;   /* 沙色 - 卡片底 */
  --brass:       #B8865B;   /* 黄铜 - 主点缀 */
  --brass-deep:  #8E6540;   /* 深黄铜 - hover */
  --ink:         #1A1310;   /* 墨黑 */
  --paper:       #FAF6EE;   /* 纸白 */
  --line:        rgba(42, 31, 26, 0.15);

  /* 字体 */
  --font-display: 'Noto Serif SC', 'Cormorant Garamond', 'Songti SC', serif;
  --font-serif:   'Cormorant Garamond', 'Noto Serif SC', serif;
  --font-body:    'Noto Sans SC', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', 'SF Mono', monospace;

  /* 缓动 */
  --ease: cubic-bezier(0.6, 0.05, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* 节奏 */
  --pad-x: clamp(1.5rem, 5vw, 6rem);
  --max-w: 1440px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--espresso);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: 0; background: none; cursor: none; color: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; }

::selection { background: var(--brass); color: var(--paper); }

/* ---------- 噪点纹理 ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- 自定义光标 ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor span {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.cursor.is-hover { width: 4px; height: 4px; }
.cursor.is-hover span { opacity: 1; width: 56px; height: 56px; }
@media (hover: none), (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--pad-x);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 0.9rem var(--pad-x);
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__cn {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--espresso);
}
.logo__en {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--taupe);
  margin-top: 0.3rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.menu__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--bark);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.menu__item em {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--brass);
  font-style: normal;
  letter-spacing: 0;
}
.menu__item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.4s var(--ease-out);
}
.menu__item:hover { color: var(--espresso); }
.menu__item:hover::after { width: 100%; }
.menu__item--cta {
  border: 1px solid var(--espresso);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.menu__item--cta::after { display: none; }
.menu__item--cta:hover { background: var(--espresso); color: var(--paper); }
.menu__item--cta:hover em { color: var(--brass); }

.burger {
  display: none;
  width: 32px; height: 18px;
  position: relative;
}
.burger i {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--espresso);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.burger i:nth-child(1) { top: 4px; }
.burger i:nth-child(2) { bottom: 4px; }
.burger.is-open i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger i:nth-child(2) { transition-delay: 0s; }
.burger.is-open i:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* 移动菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--linen);
  z-index: 99;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.mobile-menu__item {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__item {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open .mobile-menu__item:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(5) { transition-delay: 0.43s; }

@media (max-width: 900px) {
  .menu { display: none; }
  .burger { display: block; }
}

/* ============ 通用：节标题 ============ */
.section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--taupe);
}
.section-head--center {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 5rem;
}
.section-num { color: var(--brass); }
.section-label { color: var(--taupe); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--espresso);
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
}
.section-title em {
  color: var(--brass);
  font-family: var(--font-serif);
  font-weight: 500;
}
.section-desc {
  max-width: 540px;
  margin: 1.5rem auto 0;
  color: var(--bark);
  font-size: 0.95rem;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem var(--pad-x) 3rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 19, 16, 0.55) 0%, rgba(26, 19, 16, 0.25) 35%, rgba(26, 19, 16, 0.65) 100%),
    linear-gradient(90deg, rgba(26, 19, 16, 0.4) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--paper);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 134, 91, 0.25);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 134, 91, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(184, 134, 91, 0.05); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero__cn { display: block; }
.hero__cn em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
  position: relative;
}
.hero__cn em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.1em;
  width: 100%; height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 1.5s 1.2s var(--ease-out) forwards;
}
@keyframes underlineGrow {
  to { transform: scaleX(0.4); }
}

.hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.85);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn span { transition: transform 0.4s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn--primary {
  background: var(--espresso);
  color: var(--paper);
  border: 1px solid var(--espresso);
}
.btn--primary:hover { background: var(--brass); border-color: var(--brass); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 239, 230, 0.4);
}
.btn--ghost:hover { border-color: var(--paper); background: rgba(245, 239, 230, 0.08); }
.btn--full { width: 100%; justify-content: center; }

/* 非hero区的 ghost 按钮变体 */
.section .btn--ghost,
.works .btn--ghost,
.contact .btn--ghost {
  color: var(--espresso);
  border-color: var(--espresso);
}
.section .btn--ghost:hover,
.works .btn--ghost:hover,
.contact .btn--ghost:hover {
  background: var(--espresso);
  color: var(--paper);
}

.hero__meta {
  position: absolute;
  bottom: 3rem;
  right: var(--pad-x);
  z-index: 2;
  display: flex;
  gap: 2.5rem;
  color: var(--paper);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero__meta-item .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}
.hero__meta-item .num span {
  font-size: 0.9rem;
  color: var(--brass);
  margin-left: 0.2rem;
}
.hero__meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(245, 239, 230, 0.7);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--paper));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--brass);
  animation: scrollDown 2s infinite var(--ease-out);
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

@media (max-width: 900px) {
  .hero__meta { display: none; }
  .hero__scroll { display: none; }
}

/* ============ 跑马灯 ============ */
.marquee {
  background: var(--espresso);
  color: var(--paper);
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(184, 134, 91, 0.2);
  border-bottom: 1px solid rgba(184, 134, 91, 0.2);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.marquee__track i {
  color: var(--brass);
  font-style: normal;
  font-size: 0.8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ 品牌故事 ============ */
.story {
  padding: 8rem var(--pad-x);
  background: var(--linen);
  position: relative;
}
.story__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.story__text .display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.story__text .display em {
  color: var(--brass);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lede {
  font-size: 1.15rem;
  color: var(--bark);
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
}
.story__text p {
  color: var(--taupe);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.story__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.story__signature-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--espresso);
}
.story__signature-line {
  flex: 1;
  height: 1px;
  background: var(--brass);
  max-width: 80px;
}
.story__signature-en {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--taupe);
}

.story__media {
  position: relative;
}
.story__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(42, 31, 26, 0.4);
}
.story__media-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.story__media:hover .story__media-frame img { transform: scale(1.05); }

.story__media-tag {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: var(--espresso);
  color: var(--paper);
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  font-size: 0.65rem;
}
.story__media-tag-year {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--brass);
  margin-top: 0.3rem;
}
.story__quote {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  max-width: 280px;
  background: var(--paper);
  padding: 1.5rem 1.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bark);
  line-height: 1.5;
  box-shadow: 0 20px 50px -20px rgba(42, 31, 26, 0.3);
  border-left: 2px solid var(--brass);
}

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 4rem; }
  .story__quote { right: 0; bottom: -2rem; max-width: 100%; }
}

/* ============ 三大业务 ============ */
.services {
  position: relative;
  padding: 8rem var(--pad-x);
  background: var(--cream);
  overflow: hidden;
}
.services__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(184, 134, 91, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(74, 53, 40, 0.05), transparent 50%);
  pointer-events: none;
}
.services__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.services__list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service--reverse {
  direction: rtl;
}
.service--reverse > * { direction: ltr; }

.service__visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 80px -30px rgba(42, 31, 26, 0.35);
}
.service__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
  filter: brightness(0.95);
}
.service:hover .service__visual img {
  transform: scale(1.06);
  filter: brightness(1);
}
.service__num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--paper);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-style: italic;
}

.service__body {
  padding: 1rem 0;
}
.service__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--brass);
  text-transform: uppercase;
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  margin: 1rem 0 1.5rem;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
.service__desc {
  color: var(--bark);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}
.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2.5rem;
}
.service__list li {
  font-size: 0.85rem;
  color: var(--taupe);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.service__list span {
  color: var(--brass);
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--espresso);
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--espresso);
  transition: gap 0.4s var(--ease-out), color 0.3s;
}
.service__link:hover {
  gap: 1rem;
  color: var(--brass);
  border-bottom-color: var(--brass);
}

@media (max-width: 800px) {
  .service, .service--reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .service__list { grid-template-columns: 1fr; }
}

/* ============ 作品画廊 ============ */
.works {
  padding: 8rem var(--pad-x);
  background: var(--linen);
}
.works__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.5rem;
}
.work {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream);
  box-shadow: 0 10px 40px -20px rgba(42, 31, 26, 0.2);
}
.work img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out), filter 0.6s;
  filter: brightness(0.92);
}
.work:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}
.work--tall { grid-row: span 2; }
.work--wide { grid-column: span 2; }

.work__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 19, 16, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.work:hover .work__overlay {
  opacity: 1;
  transform: translateY(0);
}
.work__cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.work__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.work__loc {
  font-size: 0.8rem;
  color: rgba(245, 239, 230, 0.7);
  font-weight: 300;
}

.works__more {
  margin-top: 4rem;
  text-align: center;
}

@media (max-width: 900px) {
  .works__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
}
@media (max-width: 600px) {
  .works__grid { grid-template-columns: 1fr; }
  .work--wide, .work--tall { grid-column: span 1; grid-row: span 1; }
}

/* ============ 定制流程 ============ */
.process {
  padding: 8rem var(--pad-x);
  background: var(--espresso);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 134, 91, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(184, 134, 91, 0.08), transparent 50%);
  pointer-events: none;
}
.process__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.process .section-head,
.process .section-head--center { color: rgba(245, 239, 230, 0.6); }
.process .section-num { color: var(--brass); }
.process .section-title { color: var(--paper); }
.process .section-title em { color: var(--brass); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
  margin-top: 2rem;
}
.step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
}
.step__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
  line-height: 1;
}
.step__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
}
.step h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--paper);
}
.step p {
  font-size: 0.9rem;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.8;
}
@media (max-width: 900px) {
  .process__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .process__steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ 联系我们 ============ */
.contact {
  padding: 8rem var(--pad-x);
  background: var(--linen);
  position: relative;
}
.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 1.5rem 0 2rem;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
.contact__title em {
  color: var(--brass);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.contact__lede {
  color: var(--bark);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 3rem;
  max-width: 460px;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.info-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-block__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--brass);
  text-transform: uppercase;
}
.info-block__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.5;
}
.info-block__value a {
  position: relative;
  transition: color 0.3s;
}
.info-block__value a:hover { color: var(--brass); }
.info-block__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--taupe);
  margin-top: 0.4rem;
  font-weight: 300;
}

/* 表单 */
.form {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(42, 31, 26, 0.25);
  position: relative;
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--espresso);
}
.form__sub {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-bottom: 2.5rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.field {
  display: block;
  margin-bottom: 1.2rem;
}
.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--taupe);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--espresso);
  font-weight: 400;
  transition: border-color 0.3s, padding 0.3s;
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 0.5rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--taupe);
  opacity: 0.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--brass);
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23B8865B' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

.form__success {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(184, 134, 91, 0.1);
  border-left: 2px solid var(--brass);
  color: var(--bark);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.form__success.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact__info { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ============ 页脚 ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem var(--pad-x) 2rem;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}
.logo--lg .logo__cn { font-size: 2rem; }
.logo--lg .logo__en { font-size: 0.65rem; }
.footer__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245, 239, 230, 0.7);
  margin-top: 1.2rem;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(245, 239, 230, 0.75);
  padding: 0.3rem 0;
  transition: color 0.3s, padding-left 0.3s;
  font-weight: 300;
}
.footer__col a:hover {
  color: var(--brass);
  padding-left: 0.5rem;
}
.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 230, 0.5);
}
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 0.6rem; text-align: center; }
}

/* ============ 滚动揭示动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.3s; }
.reveal[data-delay="3"] { transition-delay: 0.45s; }
.reveal[data-delay="4"] { transition-delay: 0.6s; }
.reveal[data-delay="5"] { transition-delay: 0.75s; }

/* 媒体查询：减少动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 响应式调整 ============ */
@media (max-width: 768px) {
  .story, .services, .works, .process, .contact {
    padding: 5rem var(--pad-x);
  }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero__meta-item .num { font-size: 1.8rem; }
}
