*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #fafafa;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

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

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: currentColor; }
img { max-width: 100%; display: block; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 72px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav--scrolled { background: rgba(250,250,250,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid #eee; }
.nav__logo { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.25em; }
.nav__links { display: flex; gap: clamp(20px, 4vw, 48px); list-style: none; }
.nav__links a { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em; color: #666; transition: color 0.3s; }
.nav__links a:hover { color: #111; }
.nav__cta { font-size: 0.72rem; letter-spacing: 0.15em; padding: 12px 28px; border: 1px solid #111; transition: all 0.3s; }
.nav__cta:hover { background: #111; color: #fff; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 1px; background: #111; margin: 6px 0; }

.hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,250,250,0.55) 0%, rgba(250,250,250,0.82) 50%, rgba(250,250,250,0.95) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
}
.hero__label { font-size: 0.7rem; letter-spacing: 0.3em; color: #999; margin-bottom: 32px; }
.hero__title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero__title em { font-style: normal; font-weight: 500; display: block; }
.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(17,17,17,0.15);
  flex-wrap: wrap; gap: 32px;
}
.hero__desc { max-width: 420px; font-size: 0.95rem; line-height: 2; color: #555; font-weight: 300; }
.hero__stat { text-align: right; }
.hero__stat-num { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 200; letter-spacing: -0.02em; }
.hero__stat-label { font-size: 0.65rem; letter-spacing: 0.2em; color: #999; margin-top: 4px; }
.hero__line { position: absolute; top: 50%; right: 10%; width: 1px; height: 40vh; background: linear-gradient(180deg, transparent, rgba(17,17,17,0.2), transparent); z-index: 2; }

.section { padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px); }
.section--dark { background: #111; color: #fff; }
.section__num { font-size: 0.65rem; letter-spacing: 0.25em; color: #999; margin-bottom: 24px; }
.section--dark .section__num { color: #555; }
.section__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; letter-spacing: 0.02em; margin-bottom: 48px; max-width: 16ch; line-height: 1.3; }

.section__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: #333; }
.card { background: #111; transition: background 0.3s; overflow: hidden; }
.card:hover { background: #1a1a1a; }
.card--img { display: flex; flex-direction: column; }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 36px 32px 40px; }
.card__idx { font-size: 0.65rem; color: #555; letter-spacing: 0.15em; margin-bottom: 16px; }
.card__title { font-size: 1rem; font-weight: 500; margin-bottom: 12px; letter-spacing: 0.05em; }
.card__desc { font-size: 0.85rem; line-height: 1.8; color: #888; font-weight: 300; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 80px); align-items: stretch; }
.about__media { position: relative; display: grid; min-height: 320px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; grid-area: 1 / 1; }
.about__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px; background: rgba(17,17,17,0.75); color: #fff;
  font-size: 0.65rem; letter-spacing: 0.2em;
}
.about__lead { font-size: 1.05rem; line-height: 2; color: #333; font-weight: 400; margin-bottom: 20px; }
.about__text { font-size: 0.95rem; line-height: 2.2; color: #666; font-weight: 300; }
.about__text + .about__text { margin-top: 20px; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8e8e8;
  margin-top: 40px;
  border: 1px solid #e8e8e8;
}
.about__stat {
  background: #fafafa;
  padding: 24px 16px;
  text-align: center;
}
.about__stat-num {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
}
.about__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: #999;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  margin-top: clamp(48px, 8vw, 80px);
}
.about__value {
  background: #fff;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
}
.about__value-idx {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #bbb;
}
.about__value-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 16px 0 12px;
}
.about__value-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #777;
  font-weight: 300;
}

.about__milestones {
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid #eee;
}
.about__milestones-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: #999;
  margin-bottom: 32px;
}
.about__timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 40px);
}
.about__timeline-item {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid #111;
}
.about__timeline-year {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #999;
}
.about__timeline-body {
  margin-top: 16px;
}
.about__timeline-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.about__timeline-body p {
  font-size: 0.82rem;
  line-height: 1.85;
  color: #777;
  font-weight: 300;
}

.about__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid #eee;
}
.about__meta-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: #999;
  margin-bottom: 16px;
}
.about__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about__tags li {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  background: #111;
  color: #fff;
}
.about__tags--outline li {
  background: transparent;
  color: #111;
  border: 1px solid #ddd;
}

.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.case-card { overflow: hidden; background: #fff; border: 1px solid #eee; transition: box-shadow 0.3s; }
.case-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.08); }
.case-card__img { aspect-ratio: 16/9; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-card__img img { transform: scale(1.04); }
.case-card__body { padding: 32px 28px 36px; }
.case-card .card__idx { color: #bbb; }
.case-card .card__desc { color: #888; }

.contact-banner {
  position: relative; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.contact-banner__bg { position: absolute; inset: 0; }
.contact-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.65) 100%);
}
.contact-banner__content {
  position: relative; z-index: 2; text-align: center;
  padding: 80px 24px; color: #fff;
}
.contact-banner .section__num { color: rgba(255,255,255,0.45); }
.contact-banner .section__title { max-width: none; margin-left: auto; margin-right: auto; color: #fff; }
.contact-banner__info { font-size: 0.95rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; margin-bottom: 32px; }
.contact-banner__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border: 1px solid rgba(255,255,255,0.5);
  font-size: 0.72rem; letter-spacing: 0.15em; transition: all 0.3s;
}
.contact-banner__btn .icon { width: 16px; height: 16px; }
.contact-banner__btn:hover { background: #fff; color: #111; }

.footer { padding: 48px clamp(24px, 5vw, 80px); border-top: 1px solid #eee; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer p { font-size: 0.72rem; color: #999; letter-spacing: 0.08em; }

@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: #fafafa; padding: 24px; border-bottom: 1px solid #eee; }
  .nav--open .nav__links { display: flex; }
  .nav__cta { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; min-height: 0; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .about__values { grid-template-columns: 1fr; }
  .about__timeline { grid-template-columns: 1fr; }
  .about__meta { grid-template-columns: 1fr; }
  .hero__line { display: none; }
}
