.home-main {
  --home-text: #232221;
  --home-muted: #6b6966;
  --home-accent: #6f2b26;
  --home-accent-dark: #4f1c19;
  --home-soft: #f7f4f2;
  --home-surface: #fff;
  --home-line: #e2dfda;
  --home-radius: 5px;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  color: var(--home-text);
  font: 400 15px/1.5 system-ui, "PingFang SC", sans-serif;
}

.home-main a {
  color: inherit;
  text-decoration: none;
}

.home-main a:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 3px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.8fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(40px, 6vw, 84px) 0 clamp(42px, 6vw, 76px);
}

.home-hero-copy {
  min-width: 0;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--home-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4;
}

.home-eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.home-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.home-intro {
  max-width: 26em;
  margin: 22px 0 28px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.9;
}

.home-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.88;
  object-fit: cover;
  object-position: center 56%;
  border-radius: var(--home-radius);
  box-shadow: 0 20px 56px rgba(31, 28, 26, .1);
  outline: 1px solid rgba(54, 50, 47, .1);
  outline-offset: -1px;
}

.home-actions {
  display: flex;
  gap: 10px;
}

.home-actions a,
.home-contact-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #cfc4b8;
  border-radius: 4px;
  white-space: nowrap;
}

.home-actions a:first-child {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #fff;
}

.home-actions a:first-child:hover {
  border-color: var(--home-accent-dark);
  background: var(--home-accent-dark);
}

.home-actions a:last-child {
  background: #fff;
}

.home-actions a:hover,
.home-contact-row > a:hover {
  border-color: #b89b8b;
}

.home-section {
  padding: 32px 0 clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--home-line);
}

.home-section > header,
.home-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-section h2,
.home-contact-row h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(24px, 2.7vw, 32px);
  font-weight: 500;
  letter-spacing: -.035em;
}

.home-section > header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #68635f;
  white-space: nowrap;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.home-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-grid a {
  display: block;
  min-height: 44px;
  padding: 8px 8px 12px;
  border: 1px solid #e3e0dc;
  border-radius: var(--home-radius);
  background: var(--home-surface);
  box-shadow: 0 1px 0 rgba(34, 30, 27, .02);
  transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
}

.home-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  background: #f4f4f3;
}

.home-cases img {
  aspect-ratio: 3 / 2;
}

.home-grid a > span:last-child {
  display: block;
  margin-top: 11px;
  padding: 0 4px;
  color: #343230;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-contact-row {
  margin: 4px 0 clamp(32px, 5vw, 60px);
  padding: clamp(20px, 2.8vw, 30px) clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: #f8f6f4;
  box-shadow: inset 3px 0 0 var(--home-accent);
  color: var(--home-text);
}

.home-contact-row h2::after {
  display: block;
  margin-top: 6px;
  color: var(--home-muted);
  content: "选材、深化、加工与项目交付";
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
}

.home-contact-row > a {
  display: flex;
  min-width: 148px;
  min-height: 48px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 6px 0 6px 22px;
  border: 0;
  border-left: 1px solid #dcd6d2;
  border-radius: 0;
  background: transparent;
  color: var(--home-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .035em;
  font-variant-numeric: tabular-nums;
}

.home-contact-row > a::before {
  color: var(--home-muted);
  content: "电话咨询";
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
}

.home-contact-row > a:hover {
  border-color: #cdb9ae;
  color: var(--home-accent-dark);
}

.home-section a:hover,
.home-contact-row h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .home-grid a:hover {
    border-color: #ccbdb6;
    box-shadow: 0 14px 32px rgba(36, 30, 27, .08);
  }
}

@media (max-width: 760px) {
  .home-main {
    width: calc(100% - 32px);
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .home-intro {
    margin: 18px 0 22px;
  }

  .home-hero img {
    aspect-ratio: 1.72;
  }

  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .home-cases li:first-child {
    grid-column: 1 / -1;
  }

  .home-cases li:first-child img {
    aspect-ratio: 1.65;
  }

  .home-contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-contact-row > a {
    box-sizing: border-box;
    width: 100%;
    align-items: flex-start;
    padding: 12px 0 0;
    border-top: 1px solid #dcd6d2;
    border-left: 0;
  }
}

.home-stone-photo {
  display: block;
  overflow: hidden;
  border-radius: 0;
}

.home-stones a {
  padding: 0;
  border: 1px solid #e3e0dc;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-stones img {
  border-radius: 0;
}

.home-stones a > span:last-child {
  margin-top: 0;
  padding: 13px 12px 15px;
  background: #fff;
}

.home-stones a,
.home-stones a:hover {
  transform: none;
  text-decoration: none;
}

.home-stones a[href="/?lm3/458.html"] img {
  scale: 1.2;
}

/* Keep feedback on the link itself so pointer and touch use the same hit area. */
.home-actions a,
.home-contact-row > a {
  transition: transform .18s ease-out, border-color .18s ease-out, background .18s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .home-grid a:hover {
    transform: translateY(-3px);
  }
}

.home-grid a:active,
.home-actions a:active,
.home-contact-row > a:active {
  transform: translateY(1px) scale(.98);
}

@media (prefers-reduced-motion: reduce) {
  .home-grid a,
  .home-actions a,
  .home-contact-row > a {
    transform: none !important;
    transition: none !important;
  }
}
