:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #efe8dc;
  --text: #202124;
  --muted: #62615d;
  --line: #ddd3c2;
  --accent: #1c6b62;
  --accent-dark: #104b46;
  --gold: #b67b28;
  --rose: #b35e58;
  --shadow: 0 22px 60px rgba(40, 34, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(28, 107, 98, 0.12), transparent 34rem),
    linear-gradient(180deg, #f9f6ef 0%, var(--bg) 42%, #f1eadf 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-family: Georgia, serif;
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--accent-dark);
  border-color: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
  min-height: 520px;
  padding: 74px 0 84px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 6px;
  background: var(--surface);
}

.metric strong {
  color: var(--accent-dark);
  font-size: 38px;
  line-height: 1;
}

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

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

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

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

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

.card p:last-child,
.about p:last-child,
.not-found p:last-child {
  margin-bottom: 0;
}

.date {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.card p,
.split p,
.about p,
.not-found p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: center;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 12px;
  min-height: 300px;
}

.photo {
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(32, 33, 36, 0.08);
  box-shadow: 0 16px 40px rgba(40, 34, 24, 0.12);
}

.swatch-one {
  background:
    linear-gradient(140deg, rgba(28, 107, 98, 0.18), transparent 48%),
    linear-gradient(180deg, #d9ded2, #8ca093);
}

.swatch-two {
  align-self: end;
  height: 82%;
  background:
    linear-gradient(160deg, rgba(179, 94, 88, 0.36), transparent 50%),
    linear-gradient(180deg, #e6c7aa, #8f7867);
}

.swatch-three {
  height: 92%;
  background:
    linear-gradient(145deg, rgba(182, 123, 40, 0.28), transparent 52%),
    linear-gradient(180deg, #d7d0be, #5d6c6a);
}

.tool-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.tool-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.tool-item:last-child {
  border-bottom: 0;
}

.tool-item span {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.tool-item p {
  margin: 0;
  font-weight: 700;
}

.about {
  max-width: 760px;
  margin-right: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.not-found-page {
  display: flex;
  flex-direction: column;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 180px);
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 0;
}

.not-found h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 72px);
}

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

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric,
  .tool-item {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .photo-strip {
    min-height: 220px;
  }
}
