:root {
  --ink: #12221f;
  --ink-soft: #3a4f4a;
  --jade: #0f5c54;
  --jade-deep: #0a3d38;
  --mist: #e4eef0;
  --paper: #f3f7f8;
  --accent: #c26a2d;
  --accent-hover: #a8571f;
  --line: rgba(18, 34, 31, 0.12);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(15, 92, 84, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(194, 106, 45, 0.06), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 40%, #eef4f5 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(243, 247, 248, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--jade-deep);
}

.site-header nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.site-header nav a:hover {
  color: var(--jade);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 61, 56, 0.88) 0%,
      rgba(10, 61, 56, 0.55) 42%,
      rgba(10, 61, 56, 0.22) 100%
    ),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(10, 61, 56, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(6.5rem, 14vh, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  color: #f5faf9;
  animation: rise-in 0.9s var(--ease) both;
}

.brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(245, 250, 249, 0.96);
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: rgba(232, 242, 240, 0.88);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.cta-primary {
  background: var(--accent);
  color: #fffaf5;
}

.cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cta-secondary {
  border: 1px solid rgba(245, 250, 249, 0.45);
  color: #f5faf9;
  background: transparent;
}

.cta-secondary:hover {
  border-color: rgba(245, 250, 249, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.about {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.about-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  animation: rise-in 0.8s var(--ease) 0.15s both;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
}

.about h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--jade-deep);
}

.about-copy {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.about-copy p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
  text-align: justify;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding-bottom: 3.25rem;
  }

  .brand {
    letter-spacing: 0.02em;
  }

  .hero h1 {
    max-width: none;
  }

  .about-copy p {
    text-align: left;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-content,
  .about-inner {
    animation: none;
  }

  .hero-media {
    transform: none;
  }
}
