/* ============================================================
   FORMA SPACE — Website Styles
   VI System v1.0 落地:
   Colors: Bone #EFE7D8 (60%) · Charcoal #1A1815 (30%) · Terracotta #B8704C (10%)
           Cream #F5EFE3 · Stone #C9B89E · Olive #7A7B5C
   Type:   Inter 900/700/400/300
   ============================================================ */

:root {
  --bone: #EFE7D8;
  --charcoal: #1A1815;
  --stone: #C9B89E;
  --cream: #F5EFE3;
  --terracotta: #B8704C;
  --olive: #7A7B5C;

  --ink: var(--charcoal);
  --paper: var(--bone);
  --accent: var(--terracotta);

  --font: 'Inter', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --container: 1200px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--bone { background: var(--bone); position: relative; overflow: hidden; }
.section--stone { background: var(--cream); }
.section--charcoal { background: var(--charcoal); color: var(--bone); }
.section--charcoal .section-title { color: var(--cream); }

/* FS Grid 点阵纹理（VI Pattern → 数字表面应用） */
.fs-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--charcoal) 1.6px, transparent 1.6px);
  background-size: 34px 34px;
  opacity: 0.045;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #a05f3e; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.75); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(239, 231, 216, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 24, 21, 0.08);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(26, 24, 21, 0.08); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav__mark { width: 36px; height: 36px; }
.nav__wordmark {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.06em;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.nav__wordmark small {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--stone);
}

.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.nav__links a:hover { opacity: 1; color: var(--accent); }
.nav__links a.nav__cta {
  color: var(--accent);
  font-weight: 700;
  opacity: 1;
}

.nav__right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle:hover { background: var(--charcoal); color: var(--bone); }
.lang-toggle:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,24,21,0.42) 0%, rgba(26,24,21,0.28) 45%, rgba(26,24,21,0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-top: 72px;
}
.hero__mark { width: clamp(56px, 8vw, 84px); height: auto; margin: 0 auto 20px; opacity: 0.95; }
.hero__title {
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.hero__tagline {
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-top: 10px;
}
.hero__sub {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 300;
  opacity: 0.92;
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { text-align: center; }
.intro__quote {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto 28px;
}
.intro__quote::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 32px auto 0;
}
.intro__text {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 300;
  color: rgba(26, 24, 21, 0.78);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.philosophy__media img { width: 100%; border-radius: var(--radius); }
.philosophy__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
}
.p-item__num {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--stone);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.p-item h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin-bottom: 10px; }
.p-item p { font-size: 15px; font-weight: 300; color: rgba(26, 24, 21, 0.75); }

/* ============================================================
   WHY
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why__card {
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.07);
  border-top: 3px solid var(--terracotta);
  padding: 34px 28px;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.why__card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,24,21,0.08); }
.why__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.why__card p { font-size: 14px; font-weight: 300; color: rgba(26,24,21,0.72); }

/* ============================================================
   COLLECTION
   ============================================================ */
.collection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
}
.c-card {
  background: var(--cream);
  border: 1px solid rgba(26, 24, 21, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.c-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,24,21,0.1); }
.c-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.c-card:hover .c-card__media img { transform: scale(1.04); }
.c-card__body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; flex: 1; }
.c-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-bottom: 8px;
}
.c-card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; margin-bottom: 12px; }
.c-card > .c-card__body > p { font-size: 14.5px; font-weight: 300; color: rgba(26,24,21,0.75); margin-bottom: 20px; }

.spec { list-style: none; margin-top: auto; border-top: 1px solid rgba(26,24,21,0.1); }
.spec li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(26,24,21,0.06); }
.spec strong { font-size: 13.5px; font-weight: 700; }
.spec span { font-size: 12.5px; font-weight: 300; color: var(--olive); letter-spacing: 0.02em; }

/* ============================================================
   TIERS
   ============================================================ */
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tier {
  background: var(--cream);
  border: 1px solid rgba(26,24,21,0.1);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,24,21,0.08); }
.tier--featured {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--terracotta);
  border-width: 2px;
}
.tier--featured .tier__sub { color: var(--terracotta); }
.tier--featured ul li { border-color: rgba(239,231,216,0.14); color: rgba(239,231,216,0.85); }
.tier h3 { font-size: 22px; font-weight: 900; letter-spacing: 0.06em; }
.tier__sub {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin: 6px 0 22px;
}
.tier ul { list-style: none; }
.tier li {
  font-size: 14px;
  font-weight: 300;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26,24,21,0.08);
  color: rgba(26,24,21,0.78);
}
.tier li:last-child { border-bottom: none; }

/* ============================================================
   QUALITY
   ============================================================ */
.quality__flow {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.q-step {
  flex: 1;
  border: 1px solid rgba(239,231,216,0.22);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 32px);
}
.q-step--brand {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}
.q-step h4 { font-size: clamp(15px, 1.8vw, 20px); font-weight: 700; margin-bottom: 6px; }
.q-step p { font-size: 13px; font-weight: 300; opacity: 0.75; }
.q-arrow {
  align-self: center;
  color: var(--terracotta);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
}
.quality__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 900;
  color: var(--terracotta);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(239,231,216,0.8);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: clamp(48px, 6vw, 72px);
  counter-reset: step;
}
.process__steps li {
  text-align: center;
  padding: 26px 12px;
  border: 1px solid rgba(26,24,21,0.1);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.process__steps li:hover { transform: translateY(-4px); border-color: var(--terracotta); }
.process__steps span {
  display: block;
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 6px;
}
.process__steps strong { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner {
  border-left: 3px solid var(--terracotta);
  background: var(--cream);
  padding: 24px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.partner h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.partner p { font-size: 13.5px; font-weight: 300; color: rgba(26,24,21,0.72); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.projects__grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
}
.projects__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.projects__grid figure:hover img { transform: scale(1.05); }
.projects__grid figure:nth-child(1) { grid-column: span 2; }
.projects__grid figure:nth-child(4) { grid-column: span 2; }
.projects__grid figure:nth-child(5) { grid-column: span 2; }
.projects__grid figure:nth-child(3), .projects__grid figure:nth-child(8) { grid-row: span 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact__inner { max-width: 720px; }
.contact__mark { width: 56px; height: 56px; margin: 0 auto 24px; opacity: 0.95; }
.contact__title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; letter-spacing: 0.05em; }
.contact__tagline { font-size: 16px; font-weight: 300; letter-spacing: 0.12em; color: var(--stone); margin: 10px 0 36px; }
.contact__cta { display: inline-block; text-transform: none; letter-spacing: 0.04em; }
.contact__phones {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 300;
  letter-spacing: 0.06em;
}
.contact__phones a { color: rgba(239,231,216,0.85); text-decoration: none; transition: color 0.2s; }
.contact__phones a:hover { color: var(--terracotta); }
.contact__phones span { color: rgba(239,231,216,0.3); }
.contact__note {
  margin-top: 28px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.contact__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(239,231,216,0.14);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(239,231,216,0.5);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .tiers__grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .quality__flow { flex-direction: column; }
  .q-arrow { transform: rotate(90deg); align-self: center; }
  .philosophy__grid { grid-template-columns: 1fr; }
  .philosophy__media { max-width: 480px; }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bone);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px clamp(20px, 4vw, 48px) 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(26,24,21,0.1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav__links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-size: 16px; }
  .nav__burger { display: flex; }

  .collection__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .projects__grid figure:nth-child(1), .projects__grid figure:nth-child(4), .projects__grid figure:nth-child(5) { grid-column: span 2; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps li:last-child { grid-column: span 2; }
  .partners__grid { grid-template-columns: 1fr; }
  .philosophy__items { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .why__grid { grid-template-columns: 1fr; }
  .quality__stats { grid-template-columns: 1fr; gap: 32px; }
  .projects__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .projects__grid figure:nth-child(1), .projects__grid figure:nth-child(4), .projects__grid figure:nth-child(5) { grid-column: span 1; }
  .contact__bottom { flex-direction: column; gap: 8px; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
}
