:root {
  --ink: #111111;
  --charcoal: #171717;
  --charcoal-2: #23211f;
  --paper: #f8f6f1;
  --white: #ffffff;
  --muted: #77726a;
  --line: rgba(22, 22, 22, 0.14);
  --gold: #b99a62;
  --wood: #7a5138;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  width: 100%;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.25s ease, padding 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(17, 17, 17, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.nav {
  justify-self: center;
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.nav a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 13px;
}

.nav-phone {
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-interior.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 43%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 6vw, 88px) 11vh;
}

.studio-name {
  margin: 0 0 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #17130d;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.hero-note {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: 9vh;
  z-index: 1;
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-note span {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.section {
  padding: clamp(72px, 10vw, 136px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading span,
.section-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 560;
}

.section-heading p,
.split p,
.philosophy-text p,
.contact-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.cases {
  background: #151515;
  color: var(--white);
}

.cases .section-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.case-card {
  overflow: hidden;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-card.large {
  grid-row: span 2;
}

.case-image {
  position: relative;
  min-height: 280px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1b1b1b;
  cursor: zoom-in;
  outline: none;
}

.case-image::after {
  content: "点击查看大图";
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.case-image:hover::after,
.case-image:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.case-image:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.case-card.large .case-image {
  min-height: 540px;
}

.case-image-a {
  background-image: url("assets/hero-interior.png");
}

.case-image-c {
  background-image: linear-gradient(135deg, rgba(23, 23, 23, 0.05), rgba(122, 81, 56, 0.18)), url("assets/case-private-lounge.png");
  background-position: center;
}

.case-image-d {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14)), url("assets/case-italian-suite-detail.jpg");
  background-position: center;
}

.case-image-e {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.16)), url("assets/case-modern-minimal.png");
  background-position: center;
}

.case-image-f {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14)), url("assets/case-light-luxury.png");
  background-position: center;
}

.case-image-g {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/case-new-chinese.png");
  background-position: center;
}

.case-image-h {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/case-modern-villa.png");
  background-position: center;
}

.case-image-i {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/case-modern-office.png");
  background-position: center;
}

.case-image-j {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/case-modern-showroom.png");
  background-position: center;
}

.case-image-k {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/render-clubhouse.png");
  background-position: center;
}

.case-image-l {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/render-villa-exterior.png");
  background-position: center;
}

.case-image-m {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.13)), url("assets/render-mall-case.png");
  background-position: center;
}

.case-body {
  padding: 26px;
}

.case-body span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
}

.case-body h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.case-body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  margin-bottom: 52px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-list article {
  min-height: 300px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list span {
  color: var(--gold);
  font-size: 13px;
}

.service-list h3 {
  margin: 74px 0 16px;
  font-size: 25px;
}

.service-list p,
.timeline p {
  color: var(--muted);
  line-height: 1.85;
}

.process {
  background: #eee9df;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.timeline li {
  position: relative;
  padding: 34px 28px 10px 0;
  border-right: 1px solid rgba(17, 17, 17, 0.13);
}

.timeline li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 46px;
  color: var(--gold);
  font-size: 14px;
}

.timeline strong {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 560;
}

.philosophy {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 760px;
  background: var(--charcoal);
  color: var(--white);
}

.philosophy-image {
  min-height: 520px;
  background-image: url("assets/hero-interior.png");
  background-size: cover;
  background-position: center;
}

.philosophy-text {
  align-self: center;
  padding: clamp(56px, 8vw, 104px);
}

.philosophy-text p {
  color: rgba(255, 255, 255, 0.64);
}

.contact {
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.95), rgba(35, 33, 31, 0.9)),
    url("assets/hero-interior.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 520px);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.64);
  backdrop-filter: blur(18px);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-phone {
  display: inline-flex;
  margin-top: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(185, 154, 98, 0.72);
  color: #e8d2a1;
  font-size: 18px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.qr-card img {
  width: min(100%, 310px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.qr-card strong {
  font-size: 22px;
  font-weight: 560;
}

.qr-card p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.8;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 88px);
  background: #111;
  color: var(--white);
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(100%, 1440px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .nav-phone,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(17, 17, 17, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
  }

  .site-header.is-open .nav a {
    padding: 14px 12px;
  }

  .hero-content {
    margin-bottom: 16vh;
  }

  .hero-note {
    left: 20px;
    right: auto;
    bottom: 6vh;
  }

  .case-grid,
  .split,
  .philosophy,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-list,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-text {
    padding: 56px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  .hero-note {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }

  .section {
    padding-inline: 18px;
  }

  .case-card.large .case-image,
  .case-image {
    min-height: 310px;
  }

  .service-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: 230px;
  }

  .service-list h3 {
    margin-top: 40px;
  }

  .timeline li {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.13);
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .footer {
    flex-direction: column;
  }
}
