* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0b0b0c;
  color: #f3f3f3;
  line-height: 1.7;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 11, 12, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #c9a46a;
  font-size: 24px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.brand-char {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.brand-char.show {
  opacity: 1;
  transform: translateY(0);
}

.menu {
  display: flex;
  gap: 22px;
  color: #b7b7b7;
}

.menu a:hover {
  color: #f3f3f3;
}

.menu a.active-link {
  color: #f3f3f3;
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 20px;
}

.page-header {
  padding-bottom: 24px;
}

.hero {
  padding-top: 108px;
}

.eyebrow {
  display: inline-block;
  color: #c9a46a;
  border: 1px solid rgba(201, 164, 106, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 18px;
}

h3 {
  margin-top: 0;
  font-size: 22px;
}

.lead {
  color: #b7b7b7;
  font-size: 18px;
  max-width: 900px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 28px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: #c9a46a;
  color: #101010;
  font-weight: 700;
}

.btn-primary:hover {
  background: #d6b57e;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-project {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.hero-project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-project .meta {
  color: #b7b7b7;
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats div {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.stats strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

.stats span {
  color: #b7b7b7;
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tabs {
  display: flex;
  gap: 8px;
}

.tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #b7b7b7;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.tab.active,
.tab:hover {
  color: #101010;
  background: #c9a46a;
  border-color: #c9a46a;
}

.project-card .meta {
  color: #b7b7b7;
  font-size: 14px;
}

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.project-card:hover .project-image,
.hero-project:hover .hero-project-image {
  transform: scale(1.08);
}

.meta {
  color: #b7b7b7;
  font-size: 14px;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.project-tags span {
  font-size: 12px;
  color: #c9a46a;
  border: 1px solid rgba(201, 164, 106, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #d2d2d2;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0d0d10;
  color: #f3f3f3;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.form-message {
  min-height: 24px;
  color: #c9a46a;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b7b7b7;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 106, 0.5);
  background: rgba(201, 164, 106, 0.12);
  color: #c9a46a;
  font-size: 16px;
}

.social-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

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

  .hero-projects,
  .grid-3,
  .grid-2,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .brand {
    font-size: 20px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
