:root {
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --ink: #172523;
  --muted: #596864;
  --line: rgba(23, 37, 35, 0.12);
  --green: #24493f;
  --green-soft: #dfe8df;
  --gold: #b58b4a;
  --blue: #31556b;
  --radius: 8px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 48px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 24px;
}

.brand-sub {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.72;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.site-nav a,
.nav-action {
  text-decoration: none;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover,
.nav-action:hover {
  opacity: 1;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 18, 0.72) 0%, rgba(4, 20, 18, 0.42) 42%, rgba(4, 20, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.32));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  margin-left: clamp(24px, 8vw, 112px);
  padding-top: 72px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.14;
}

.mobile-break {
  display: none;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.button.line {
  border: 1px solid var(--line);
  color: var(--green);
  background: transparent;
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  padding: 72px 0;
  background: var(--surface);
}

.intro-grid,
.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
}

.intro-grid p,
.section-head p,
.contact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 22px 0 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-strip {
  padding: 80px 0;
  background: var(--green);
  color: #fff;
}

.service-strip .section-kicker {
  color: #d6b57b;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-section {
  padding: 88px 0;
  background: var(--green-soft);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 6px;
}

.contact-info {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 37, 35, 0.16);
}

.contact-info span {
  color: var(--muted);
  font-size: 14px;
}

.contact-info a {
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  color: rgba(255, 255, 255, 0.72);
  background: #142622;
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 22px;
  }

  .site-nav {
    display: none;
  }

  .brand-mark {
    font-size: 21px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: 354px;
    margin-left: 18px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 37px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .mobile-break {
    display: block;
  }

  .hero-text,
  h2,
  .intro-grid p,
  .section-head p,
  .contact-grid p,
  .feature-card p,
  .service-list li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-text {
    font-size: 16px;
  }

  .intro-grid,
  .service-grid,
  .contact-grid,
  .feature-grid,
  .service-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h2 {
    max-width: 100%;
    font-size: 28px;
    word-break: break-all;
  }

  .intro-band,
  .section,
  .service-strip,
  .contact-section {
    padding: 56px 0;
  }

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

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 24px;
  }
}
