:root {
  --ink: #10211f;
  --muted: #5d6c68;
  --soft: #eef2ed;
  --paper: #fbfaf6;
  --line: #d9dfd8;
  --green: #18332f;
  --green-2: #315f4d;
  --blue: #315f86;
  --copper: #b75c2b;
  --gold: #c6a15e;
  --shadow: 0 22px 60px rgba(16, 33, 31, .13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f7f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--paper);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid rgba(217, 223, 216, .9);
  box-shadow: 0 16px 38px rgba(16, 33, 31, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 12px;
  opacity: .72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  opacity: .86;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.1fr);
  align-items: stretch;
  min-height: min(780px, 82svh);
  overflow: hidden;
  color: var(--paper);
  background: var(--green);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 33, 31, .96) 0%, rgba(16, 33, 31, .84) 38%, rgba(16, 33, 31, .32) 72%, rgba(16, 33, 31, .08) 100%),
    linear-gradient(0deg, rgba(16, 33, 31, .42), rgba(16, 33, 31, 0) 38%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(650px, calc(100vw - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding: 128px 0 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4bd74;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 9vw, 118px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-lede {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: rgba(251, 250, 246, .84);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--paper);
  border-color: rgba(251, 250, 246, .5);
}

.hero-visual {
  position: relative;
  min-height: 100%;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 64px);
  background: var(--paper);
}

.signal span,
.label,
.article-meta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.signal strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.focus-card,
.article-card {
  min-height: 280px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 33, 31, .05);
}

.focus-card {
  display: flex;
  flex-direction: column;
}

.card-index {
  color: var(--copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.focus-card h3,
.article-card h3,
.column-item h3 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.focus-card p,
.article-card p,
.column-item p {
  margin: 0;
  color: var(--muted);
}

.columns-section {
  color: var(--paper);
  background: var(--green);
}

.columns-section .eyebrow {
  color: #e1a15d;
}

.column-list {
  border-top: 1px solid rgba(251, 250, 246, .22);
}

.column-item {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 84px);
  padding: 30px 0;
  border-bottom: 1px solid rgba(251, 250, 246, .22);
}

.column-item h3 {
  margin: 8px 0 0;
}

.column-item p {
  color: rgba(251, 250, 246, .72);
  font-size: 17px;
}

.column-item .label {
  margin: 0;
  color: #f4bd74;
}

.articles-section {
  background: #edf3f3;
}

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

.article-card {
  min-height: 310px;
}

.article-card h3 {
  margin-top: 20px;
}

.article-meta {
  margin-bottom: 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.about-copy p {
  max-width: 780px;
}

.principles {
  border-top: 1px solid var(--line);
}

.principles div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principles span {
  color: var(--copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.principles strong {
  font-size: 20px;
  line-height: 1.4;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .58fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: end;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 72px);
  color: var(--paper);
  background: #263445;
}

.contact-section .eyebrow {
  color: #e8bc63;
}

.contact-section p {
  color: rgba(251, 250, 246, .76);
  max-width: 720px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(251, 250, 246, .08);
  border: 1px solid rgba(251, 250, 246, .2);
  border-radius: 8px;
}

.contact-panel a {
  color: #fff2d0;
  font-size: 18px;
  font-weight: 800;
}

.contact-panel span {
  color: rgba(251, 250, 246, .72);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(251, 250, 246, .72);
  background: #142422;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
}

.article-page {
  min-height: 100svh;
  padding: 132px clamp(20px, 5vw, 72px) 80px;
  background: var(--paper);
}

.article-body {
  width: min(820px, 100%);
  margin: 0 auto;
}

.article-body h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

.article-content {
  color: #263330;
  font-size: 18px;
  line-height: 1.9;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: 0 0 1.2em;
}

.article-content h2,
.article-content h3 {
  margin: 2em 0 .8em;
  line-height: 1.32;
}

.article-content img {
  height: auto;
  margin: 28px 0;
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 76svh;
  }

  .hero-copy {
    width: min(690px, calc(100vw - 40px));
    padding-bottom: 96px;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    opacity: .58;
  }

  .focus-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-band,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 18px 22px;
    color: var(--ink);
    background: rgba(251, 250, 246, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16, 33, 31, .12);
    transform: translateY(-130%);
    transition: transform .2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 74svh;
  }

  .hero-copy {
    margin-left: 20px;
    padding-top: 112px;
    padding-bottom: 70px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .button {
    flex: 1 1 160px;
  }

  .signal-band,
  .focus-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: 116px;
  }

  .column-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .focus-card,
  .article-card {
    min-height: 0;
  }

  .focus-card h3,
  .article-card h3,
  .column-item h3 {
    margin-top: 24px;
    font-size: 22px;
  }

  .contact-panel {
    padding: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
