:root {
  color-scheme: light;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f6f8;
  color: #202124;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 184, 0, 0.08), transparent 260px),
    #f4f6f8;
}

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

.site-shell {
  width: min(1800px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  padding: 40px 48px;
}

.profile-panel {
  align-self: start;
  position: sticky;
  top: 32px;
  min-height: calc(100vh - 80px);
  padding: 32px 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.brand-mark {
  width: 132px;
  height: 132px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 118px;
  height: auto;
}

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

.profile-panel h1 {
  font-size: 1.28rem;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0;
}

.services {
  margin-top: 14px;
  color: #5f6368;
  font-size: 0.96rem;
  line-height: 1.75;
  text-align: center;
}

.contact-line {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #3c4043;
  font-size: 0.98rem;
}

.contact-line span {
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef7f4;
  color: #007a5a;
  font-size: 0.78rem;
  text-align: center;
}

.contact-line strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.qr-code {
  width: 150px;
  height: 152px;
  margin: 22px auto 28px;
}

.metrics {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid #eceff1;
  border-bottom: 1px solid #eceff1;
}

.metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.metrics div + div {
  margin-top: 12px;
}

.metrics dt {
  color: #5f6368;
  font-size: 0.92rem;
}

.metrics dd {
  margin: 0;
  color: #202124;
  font-variant-numeric: tabular-nums;
}

.media-link {
  height: 44px;
  margin: 22px 0 28px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.media-link:hover {
  border-color: #20aeea;
  box-shadow: 0 10px 24px rgba(32, 174, 234, 0.12);
  transform: translateY(-1px);
}

.media-link img {
  width: 92px;
  height: auto;
}

.about h2 {
  margin-bottom: 12px;
  color: #5f6368;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.about p {
  color: #3c4043;
  font-size: 0.94rem;
  line-height: 1.9;
}

.about p + p {
  margin-top: 12px;
}

.content {
  min-width: 0;
}

.hero-image {
  min-height: 280px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 50%),
    url("/assets/hero-panorama.png") center / cover no-repeat;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.content-header {
  max-width: 920px;
  padding: 34px 0 28px;
}

.eyebrow {
  color: #f0a800;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-header h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.content-header p {
  max-width: 760px;
  margin-top: 18px;
  color: #5f6368;
  font-size: 1.08rem;
  line-height: 1.85;
}

.work-section {
  padding: 6px 0 40px;
}

.section-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title h2 {
  font-size: 1.08rem;
}

.section-title span {
  padding: 7px 14px;
  border-radius: 999px;
  background: #202124;
  color: #fff;
  font-size: 0.82rem;
}

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

.work-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.12);
}

.work-card img {
  width: 100%;
  aspect-ratio: 334 / 261;
  object-fit: cover;
  background: #e5e7eb;
}

.work-card div {
  min-height: 124px;
  padding: 18px 18px 20px;
}

.work-card h3 {
  font-size: 1rem;
}

.work-card p {
  margin-top: 8px;
  color: #5f6368;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .site-shell {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    padding: 32px;
  }

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

@media (max-width: 820px) {
  .site-shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .profile-panel {
    position: static;
    min-height: 0;
  }

  .hero-image {
    min-height: 190px;
  }

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

@media (max-width: 520px) {
  .site-shell {
    padding: 0;
    gap: 18px;
  }

  .profile-panel,
  .hero-image,
  .work-card {
    border-radius: 0;
  }

  .profile-panel {
    padding: 28px 22px;
  }

  .content-header,
  .work-section {
    padding-left: 18px;
    padding-right: 18px;
  }

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