:root {
  --ink: #10231f;
  --deep: #0a3d36;
  --jade: #1f6b5c;
  --mist: #d7e4df;
  --paper: #f3f7f5;
  --stone: #8aa39a;
  --copper: #b8894a;
  --white: #ffffff;
  --max: 1120px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
  font-weight: 500;
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-head p:last-child {
  color: #45635c;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 35, 31, 0.08);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .logo {
  color: var(--deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink);
}

.site-nav a:hover {
  opacity: 0.7;
}

.nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--deep);
}

.nav-cta:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-cta:hover {
  background: var(--deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #081c19;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
  filter: saturate(0.92) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 24, 22, 0.82) 0%,
      rgba(8, 40, 36, 0.58) 38%,
      rgba(10, 48, 42, 0.28) 68%,
      rgba(8, 32, 28, 0.42) 100%
    ),
    linear-gradient(to top, rgba(6, 20, 18, 0.88) 0%, rgba(6, 20, 18, 0.35) 38%, transparent 62%),
    radial-gradient(ellipse 70% 55% at 78% 32%, rgba(184, 137, 74, 0.16), transparent 58%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 38rem);
  margin: 0 auto 0 max(1.25rem, calc((100% - var(--max)) / 2 + 0px));
  padding: 8rem 0 5.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.55s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
}

.btn-primary:hover {
  background: #c99755;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

/* About */
.about {
  padding: 6.5rem 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, #e9f1ed 100%);
}

.about .section-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy p:not(.eyebrow) {
  color: #3d5650;
}

.about-facts {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 35, 31, 0.12);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.12);
}

.about-facts dt {
  color: var(--stone);
  font-size: 0.875rem;
}

.about-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Business */
.business {
  padding: 6.5rem 0;
  background: var(--deep);
  color: var(--white);
}

.business .eyebrow {
  color: #8fd0c0;
}

.business .section-head p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.biz-item {
  padding: 2.25rem 2rem 2.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.biz-item:nth-child(odd) {
  padding-right: 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.biz-item:nth-child(even) {
  padding-left: 2.5rem;
}

.biz-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.biz-item h3 {
  font-size: 1.375rem;
  margin-bottom: 0.85rem;
}

.biz-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.975rem;
}

/* Trust */
.trust {
  padding: 6.5rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(31, 107, 92, 0.08), transparent 55%),
    var(--paper);
}

.trust-panel {
  border-top: 1px solid rgba(16, 35, 31, 0.12);
}

.trust-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.12);
  align-items: baseline;
}

.trust-row span {
  color: var(--stone);
  font-size: 0.9rem;
}

.trust-row strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.trust-row a {
  color: var(--jade);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.trust-row a:hover {
  border-bottom-color: var(--jade);
}

/* Contact */
.contact {
  padding: 6.5rem 0 7rem;
  background:
    linear-gradient(135deg, #eef5f2 0%, #dceae4 45%, #e8f0ec 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  right: -12rem;
  bottom: -16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 107, 92, 0.12), transparent 65%);
  pointer-events: none;
}

.contact .section-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: end;
}

.contact-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-copy p:not(.eyebrow) {
  color: #3d5650;
  max-width: 28rem;
}

.contact-card {
  font-style: normal;
  background: var(--white);
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 20px 50px rgba(16, 35, 31, 0.08);
}

.contact-card > div {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.contact-card > div:last-child {
  border-bottom: 0;
}

.contact-card span {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone);
  margin-bottom: 0.35rem;
}

.contact-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.75rem 0;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.footer-brand {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-meta,
.footer-copy {
  font-size: 0.875rem;
}

.footer-copy {
  margin-top: 1rem;
  opacity: 0.65;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.8%, -1.2%);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about .section-inner,
  .contact .section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .biz-item:nth-child(odd),
  .biz-item:nth-child(even) {
    padding: 1.75rem 0;
    border-right: 0;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto;
    top: 4.25rem;
    background: rgba(243, 247, 245, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: 0 12px 30px rgba(16, 35, 31, 0.1);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    color: var(--ink) !important;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(16, 35, 31, 0.08);
  }

  .nav-cta {
    border: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-header.nav-open .logo,
  .site-header.nav-open .nav-toggle span {
    color: var(--deep);
  }

  .site-header.nav-open {
    background: rgba(243, 247, 245, 0.98);
  }

  .site-header.nav-open .nav-toggle span,
  .site-header.nav-open .logo {
    color: var(--deep);
  }

  .site-header.nav-open .logo {
    color: var(--deep);
  }

  .site-header.nav-open .nav-toggle span {
    background: var(--deep);
  }

  .hero-content {
    width: min(100% - 2.5rem, 38rem);
    margin: 0 1.25rem;
    padding: 7rem 0 4rem;
  }

  .about,
  .business,
  .trust,
  .contact {
    padding: 4.5rem 0;
  }

  .about-facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-photo {
    transform: scale(1.02) !important;
  }
}
