:root {
  color-scheme: light;
  --bg: #f3f5f0;
  --paper: #fbfcf7;
  --ink: #132321;
  --muted: #61706a;
  --line: rgba(19, 35, 33, 0.14);
  --accent: #0f6b5f;
  --accent-dark: #0f2d2a;
  --accent-soft: #dceee7;
  --white: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.62;
}

body.is-loaded .hero-content,
body.is-loaded .hero-media {
  transform: translateY(0);
  opacity: 1;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(243, 245, 240, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 1px;
  min-width: max-content;
}

.brand span {
  font-size: 17px;
  font-weight: 900;
}

.brand strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px) 40px;
}

.hero-media {
  position: relative;
  min-height: min(62dvh, 620px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent-dark);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15, 45, 42, 0.28), rgba(15, 45, 42, 0.04)),
    linear-gradient(90deg, rgba(15, 45, 42, 0.2), transparent 44%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-content {
  max-width: 720px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 700ms ease 120ms,
    transform 700ms ease 120ms;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.55vw, 76px);
  line-height: 1.03;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.13;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.24;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--accent-dark);
  color: var(--white);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  color: var(--accent-dark);
}

.button.secondary:hover {
  background: var(--accent-soft);
}

.button.dark {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button.dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-bottom: 36px;
}

.section-title.compact {
  display: block;
  max-width: 820px;
}

.intro-section,
.timeline-section {
  background: var(--paper);
}

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

.intro-copy p,
.product-card p,
.timeline p {
  color: var(--muted);
}

.intro-copy p {
  margin-bottom: 0;
  font-size: 19px;
}

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

.product-card {
  display: grid;
  min-height: 330px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 252, 247, 0.78);
  padding: 24px;
}

.product-mark {
  margin-bottom: 54px;
  color: var(--accent);
  font-weight: 1000;
}

.accent-card {
  background: var(--accent-dark);
  color: var(--white);
}

.accent-card .product-mark,
.accent-card p {
  color: var(--accent-soft);
}

.timeline {
  display: grid;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--accent);
  font-weight: 1000;
}

.timeline p {
  max-width: 720px;
  margin-bottom: 0;
}

.belief-section {
  background: var(--accent-soft);
}

.belief {
  max-width: 1080px;
}

blockquote {
  margin-bottom: 0;
  font-size: clamp(34px, 5.8vw, 76px);
  font-weight: 900;
  line-height: 1.08;
}

.contact-section {
  background: var(--accent-dark);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 34px;
  align-items: end;
}

.contact-section .kicker {
  color: var(--accent-soft);
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 1020px) {
  .hero,
  .section-title,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 46dvh;
    order: -1;
  }

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

  .product-card {
    min-height: auto;
  }

  .product-mark {
    margin-bottom: 24px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .nav {
    max-width: 212px;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 98px;
  }

  .hero-content {
    order: -1;
  }

  .hero-media {
    order: 0;
    min-height: 260px;
  }

  h1 {
    font-size: clamp(36px, 10.2vw, 42px);
  }

  .hero-copy {
    margin-bottom: 18px;
  }

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

  .intro-copy {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
