:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #171717;
  --muted: #666057;
  --line: #d8d0c2;
  --panel: #fffaf0;
  --green: #2f6f5e;
  --red: #9d3b2f;
  --blue: #235f91;
  --gold: #b1842e;
  --shadow: 0 18px 48px rgba(32, 27, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 23, 23, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 72px);
  align-items: end;
  overflow: hidden;
  padding: clamp(40px, 7vw, 92px) clamp(20px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98) 0%, rgba(245, 241, 232, 0.88) 46%, rgba(245, 241, 232, 0.3) 100%),
    linear-gradient(180deg, transparent 64%, rgba(23, 23, 23, 0.05) 100%);
  z-index: 1;
}

.hero-portrait {
  position: absolute;
  right: clamp(-70px, -4vw, 18px);
  bottom: clamp(10px, 5vw, 62px);
  width: min(58vw, 560px);
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  opacity: 0.94;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin: 28px 0 0;
  color: #2d2a26;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: rgba(245, 241, 232, 0.78);
  font-weight: 720;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 23, 23, 0.12);
}

.link-band,
.section-grid {
  padding: clamp(34px, 6vw, 76px) clamp(20px, 6vw, 96px);
}

.link-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}

.destination {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--panel);
}

.destination:hover {
  background: #ffffff;
}

.destination-label {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.destination strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.destination span:last-child {
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.section-grid.compact {
  align-items: start;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
}

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

.article-card,
.work-panel {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.article-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
}

.article-card span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 780;
}

.article-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.22;
}

.article-card p,
.work-panel p {
  margin: 0;
  color: var(--muted);
}

.work-panel {
  padding: clamp(24px, 4vw, 42px);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 96px);
  color: var(--muted);
  font-size: 0.9rem;
}

.traffic-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.traffic-stats strong {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: calc(100svh - 118px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(245, 241, 232, 0.82) 0%, rgba(245, 241, 232, 0.94) 62%, rgba(245, 241, 232, 1) 100%),
      linear-gradient(180deg, transparent 64%, rgba(23, 23, 23, 0.05) 100%);
  }

  .hero-portrait {
    top: 34px;
    right: -18vw;
    bottom: auto;
    width: min(86vw, 420px);
    opacity: 0.5;
  }

  .link-band,
  .section-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.82rem;
  }

  .nav-links a {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .primary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
