:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #5b5f66;
  --paper: #f4f7f6;
  --panel: #ffffff;
  --line: rgba(24, 24, 24, 0.12);
  --accent: #1f7a6b;
  --accent-strong: #124d44;
  --gold: #b88b2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.nav a {
  padding: 6px 0;
}

.nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #28342f;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.26) 52%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(244, 247, 246, 0.98) 0%, rgba(244, 247, 246, 0) 27%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 130px 0 17vh;
  color: #fff;
}

.eyebrow,
.section-kicker,
.post-meta {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 10px 0 8px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(64px, 13vw, 150px);
  line-height: 0.9;
  letter-spacing: 0;
}

.slogan {
  width: min(620px, 100%);
  margin: 0;
  font-size: clamp(23px, 4vw, 42px);
  line-height: 1.22;
  font-weight: 650;
}

.intro,
.notes {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(56px, 9vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.notes {
  padding: clamp(48px, 8vw, 90px) 0 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

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

.post-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.post-card h3 {
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.post-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding-bottom: 15vh;
  }

  .intro,
  .post-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro {
    display: block;
  }

  .intro p:last-child {
    margin-top: 22px;
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .post-grid {
    display: grid;
  }

  .post-card {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 12px;
  }
}
