:root {
  --ink: #17202f;
  --soft-ink: #58647a;
  --muted: #f5f7fb;
  --line: #dce2ec;
  --card: #ffffff;
  --accent: #0f8b8d;
  --accent-2: #e76f51;
  --accent-3: #5e60ce;
  --dark: #101523;
  --shadow: 0 18px 55px rgba(24, 32, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fbfcff;
  line-height: 1.7;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(251, 252, 255, 0.86);
  border-bottom: 1px solid rgba(220, 226, 236, 0.78);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.project-meta,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  color: var(--soft-ink);
  font-size: 15px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.section-band,
.section,
.footer {
  padding-inline: clamp(20px, 6vw, 96px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 680px;
  padding-top: 68px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(15, 139, 141, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f1f7f8 48%, #fff4f0 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--dark);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-heading {
  margin-bottom: 34px;
}

.wide-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--soft-ink);
}

.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-content p {
  margin-bottom: 0;
  color: var(--soft-ink);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(24, 32, 47, 0.08);
}

.featured-project {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.project-image {
  min-height: 280px;
  background: #eef2f7;
  overflow: hidden;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 460px;
  padding: 12px;
  background: #eef2f7;
  overflow: hidden;
}

.project-gallery a {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.project-gallery img {
  height: 100%;
  min-height: 436px;
  object-fit: cover;
  border-radius: 6px;
}

.project-image a {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.project-shot {
  background: #fff;
}

.project-shot img {
  object-fit: contain;
  object-position: center;
}

.project-gallery a:focus-visible,
.project-image a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.project-video {
  display: grid;
  place-items: center;
  background: #101523;
}

.project-video video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: #101523;
}

.featured-project .project-image {
  min-height: 460px;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.project-meta {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.project-meta span {
  padding: 5px 10px;
  background: var(--muted);
  border-radius: 999px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  color: var(--accent);
  background: rgba(15, 139, 141, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.project-link {
  width: fit-content;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 56px;
  color: #fff;
  background: var(--dark);
}

.footer h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  padding: 8px 12px;
  color: #d9e1ef;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .hero,
  .featured-project {
    grid-template-columns: 1fr;
  }

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

  .featured-project {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .wide-heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-image,
  .project-gallery,
  .featured-project .project-image {
    min-height: 240px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    min-height: 240px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
