:root {
  --ink: #f7efe1;
  --ink-soft: rgba(247, 239, 225, 0.72);
  --paper: #f1eadf;
  --earth: #15130f;
  --earth-2: #201c15;
  --moss: #8ea477;
  --amber: #d7a157;
  --line: rgba(247, 239, 225, 0.18);
  --dark-line: rgba(18, 16, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--earth);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin-top: 0;
  padding: 0 5vw;
  border: 1px solid rgba(247, 239, 225, 0.26);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(17, 16, 13, 0.6);
  background-clip: padding-box;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: var(--ink);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(215, 161, 87, 0.12), transparent 38%, rgba(142, 164, 119, 0.1));
  pointer-events: none;
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-size: 1rem;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(247, 239, 225, 0.24);
  border-radius: 50%;
  background: rgba(247, 239, 225, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

.site-header nav a {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  align-items: end;
  overflow: hidden;
  padding: 14rem 5vw 7rem;
  background-image: url("/assets/forest-road.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 62% 48%, rgba(229, 167, 82, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.62) 42%, rgba(8, 8, 7, 0.28) 72%, rgba(8, 8, 7, 0.76) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.24), rgba(8, 8, 7, 0.74));
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 24vh;
  background: linear-gradient(180deg, transparent, var(--earth));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker,
.route-index {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(3.6rem, 10.5vw, 8.2rem);
  line-height: 0.9;
}

.lead {
  width: min(620px, 100%);
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 239, 225, 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  backdrop-filter: blur(12px);
}

.action.primary {
  border-color: rgba(215, 161, 87, 0.6);
  background: rgba(215, 161, 87, 0.18);
}

.action:hover {
  border-color: rgba(247, 239, 225, 0.46);
  background: rgba(247, 239, 225, 0.14);
}

.scroll-cue {
  position: absolute;
  right: 5vw;
  bottom: 3rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--ink), transparent);
}

.profile-section,
.routes,
footer {
  background: var(--paper);
  color: #1b1813;
}

.profile-section {
  padding: 5.5rem 5vw 4rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(2rem, 8vw, 7rem);
  margin-top: 1rem;
}

.profile-grid h2 {
  max-width: 620px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.03;
}

.profile-copy {
  max-width: 660px;
  color: rgba(27, 24, 19, 0.72);
  font-size: 1.05rem;
  line-height: 1.9;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--dark-line);
}

.route {
  display: grid;
  min-height: 220px;
  align-content: space-between;
  padding: 1.6rem 5vw 1.8rem;
  border-right: 1px solid var(--dark-line);
  transition: background-color 180ms ease, color 180ms ease;
}

.route:last-child {
  border-right: 0;
}

.route strong {
  margin-top: 3rem;
  font-family: Georgia, "Songti SC", serif;
  font-size: 2rem;
  font-weight: 500;
}

.route span:last-child {
  color: rgba(27, 24, 19, 0.62);
  line-height: 1.7;
}

.route:hover {
  background: #e8ddcf;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 5vw 1.5rem;
  border-top: 1px solid var(--dark-line);
  color: rgba(27, 24, 19, 0.58);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 54px;
    right: 0;
    left: 0;
    margin-top: 0;
    padding: 0 1rem;
    border-radius: 0;
  }

  .site-header nav {
    gap: 0.85rem;
  }

  .site-header nav a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 86svh;
    padding: 9rem 1rem 5rem;
    background-position: 54% center;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.6rem);
  }

  .scroll-cue {
    right: 1rem;
    bottom: 1.5rem;
  }

  .profile-section {
    padding: 4rem 1rem 3rem;
  }

  .profile-grid,
  .routes {
    grid-template-columns: 1fr;
  }

  .route {
    min-height: 180px;
    border-right: 0;
    border-top: 1px solid var(--dark-line);
    padding: 1.5rem 1rem;
  }

  footer {
    padding: 1rem;
  }
}
