:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #646a73;
  --line: #d9ddd8;
  --paper: #f7f6f0;
  --surface: #ffffff;
  --accent: #0f6b5f;
  --accent-dark: #094941;
  --warm: #c9744f;
  --shadow: 0 24px 70px rgba(34, 42, 38, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 246, 240, 0.88);
  border-bottom: 1px solid rgba(217, 221, 216, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.intro-actions,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 64px) 44px;
}

.intro-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.intro-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.intro-media {
  position: relative;
  margin: 0;
}

.intro-media::before {
  position: absolute;
  inset: -16px 18px 18px -16px;
  border: 1px solid var(--line);
  content: "";
}

.intro-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-band,
.contact-strip {
  padding: clamp(54px, 8vw, 88px) clamp(20px, 5vw, 64px);
}

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

.notes-band {
  background: #edf3ef;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.feature-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-article p,
.post-card p {
  color: var(--muted);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.post-card.muted {
  background: transparent;
  border-style: dashed;
}

.post-date {
  margin-bottom: 18px;
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--paper);
}

.contact-strip .eyebrow {
  color: #f1a17a;
}

.contact-strip h2 {
  max-width: 820px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 64px);
  color: var(--muted);
  font-size: 0.92rem;
}

.article-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 20px;
}

.article-meta {
  color: var(--warm);
  font-size: 0.88rem;
  font-weight: 800;
}

.article-body {
  margin-top: 34px;
  font-size: 1.08rem;
}

.article-body p,
.article-body li {
  color: #3f4541;
}

.article-body h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.article-body ul {
  padding-left: 1.2rem;
}

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

  .intro,
  .section-heading,
  .feature-article,
  .post-list {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
    padding-top: 44px;
  }

  .intro-media {
    max-width: 520px;
  }

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

@media (max-width: 520px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .feature-article,
  .post-card {
    padding: 22px;
  }
}
