:root {
  --text: #fff7ea;
  --muted: rgba(255, 247, 234, 0.72);
  --line: rgba(255, 247, 234, 0.18);
  --amber: #f4a84a;
  --shadow: rgba(4, 7, 10, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #080b0c;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 8, 10, 0.84) 0%, rgba(4, 8, 10, 0.52) 34%, rgba(4, 8, 10, 0.06) 72%),
    linear-gradient(0deg, rgba(4, 8, 10, 0.58), rgba(4, 8, 10, 0.04) 48%),
    url("./assets/solar-factory-hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 28%, rgba(244, 168, 74, 0.2), transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(78, 160, 172, 0.16), transparent 34%);
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.52));
  box-shadow: inset 0 0 180px var(--shadow);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 58%);
}

.brand-lockup {
  width: min(880px, 100%);
  transform: translateY(-2vh);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(3rem, 7.7vw, 7rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
  text-shadow: 0 28px 88px rgba(0, 0, 0, 0.52);
}

h1 span {
  display: inline;
}

.name-company {
  display: block;
  margin-top: 0.04em;
}

.subtitle {
  width: fit-content;
  max-width: 100%;
  margin: clamp(30px, 5vw, 56px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  letter-spacing: 0.08em;
}

.site-footer {
  position: absolute;
  left: clamp(28px, 5vw, 72px);
  right: clamp(28px, 5vw, 72px);
  bottom: clamp(22px, 4vw, 44px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-start;
  color: rgba(255, 247, 234, 0.58);
  font-size: 0.82rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.footer-separator {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.public-security-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security-record img {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .hero {
    align-items: end;
    padding-bottom: 108px;
    background-position: 62% center;
  }

  .grain {
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 44%, #000 100%);
  }

  .brand-lockup {
    transform: none;
  }

  h1 span {
    display: block;
  }

  h1 span + span {
    margin-top: 0.03em;
  }

  .subtitle {
    margin-top: 34px;
    padding-top: 24px;
    letter-spacing: 0.03em;
  }

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

  .footer-separator {
    display: none;
  }
}
