:root {
  --ink: #111111;
  --paper: #f5f6f4;
  --surface: #ffffff;
  --muted: #5f6670;
  --line: #d9dee3;
  --gold: #f5a90b;
  --cyan: #2f9cbd;
  --wine: #7b2d2f;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(250, 251, 249, 0.88);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: #222831;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  overflow: hidden;
  background: #111111;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: url("/assets/models/model-01.jpg") center 38% / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 42px;
  color: #ffffff;
}

.hero-logo {
  width: clamp(78px, 9vw, 104px);
  height: auto;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.26);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: clamp(38px, 5vw, 56px);
}

.intro-copy h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.intro-grid {
  display: grid;
  gap: 14px;
}

.intro-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
}

.intro-grid strong {
  font-size: 18px;
}

.intro-grid span {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.025);
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 9;
}

.gallery-item.portrait {
  grid-column: span 4;
}

.gallery-item.portrait img {
  aspect-ratio: 3 / 4;
}

.services {
  border-top: 1px solid var(--line);
}

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

.service-list article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-list span {
  color: var(--cyan);
  font-weight: 900;
}

.service-list h3 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(46px, 7vw, 78px) clamp(18px, 5vw, 72px);
  background: #111111;
  color: #ffffff;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: #5f6670;
  font-size: 14px;
}

@media (max-width: 920px) {
  .intro,
  .service-list {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.portrait {
    grid-column: span 6;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(40px, 15vw, 64px);
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, 1180px);
  }

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

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

  .gallery-item.wide,
  .gallery-item.portrait {
    grid-column: auto;
  }

  .gallery-item.wide img,
  .gallery-item.portrait img {
    aspect-ratio: 4 / 5;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
