:root {
  color-scheme: light;
  --background: #faf9f5;
  --surface: #ffffff;
  --text: #232323;
  --muted: #5f655f;
  --line: #ddd8ce;
  --accent: #426b54;
  --accent-strong: #254634;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.hero {
  padding: 56px 0 48px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}

.hero-kicker .eyebrow {
  margin: 0;
}

.hero-kicker img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.hero h1,
.article h1 {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

@media (max-width: 560px) {
  .hero-kicker {
    align-items: flex-start;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  font-weight: 650;
  text-decoration: none;
}

.card {
  min-height: 140px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.card h2 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 1.2rem;
}

.card p,
.article p,
.site-footer {
  color: var(--muted);
}

.section,
.article {
  max-width: 760px;
  margin-top: 48px;
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.home-section {
  max-width: none;
  margin-top: 0;
}

.home-section + .home-section {
  margin-top: 56px;
}

.news-list,
.did-you-know {
  display: grid;
  gap: 22px;
}

.news-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.news-item img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
}

.news-item h3 {
  margin: 0 0 4px;
  color: var(--accent-strong);
  font-size: 1.05rem;
  line-height: 1.25;
}

.news-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.event-table th,
.event-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.event-table th {
  color: var(--accent-strong);
  font-weight: 700;
}

.media-note {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.media-note img {
  width: 112px;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
}

.media-note p {
  margin: 0;
  color: var(--muted);
}

.media-note a {
  color: var(--accent-strong);
  font-weight: 650;
}

.article {
  padding-top: 24px;
}

.article h1 {
  margin-bottom: 24px;
}

.article h2,
.article h3,
.article h4,
.article h5 {
  color: var(--accent-strong);
  line-height: 1.25;
}

.article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 8px;
}

.article a {
  color: var(--accent-strong);
  font-weight: 650;
}

.stack {
  display: grid;
  gap: 10px;
}

.list-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.list-link span {
  color: var(--accent-strong);
  font-weight: 650;
}

.list-link time {
  color: var(--muted);
  white-space: nowrap;
}

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

  .list-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .home-columns,
  .news-item,
  .media-note {
    grid-template-columns: 1fr;
  }

  .news-item img,
  .media-note img {
    width: 100%;
    max-height: 220px;
  }

  .news-item img {
    height: 180px;
  }
}
