* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3ec;
  --surface: #fffdfa;
  --text: #1f1c18;
  --muted: #6e675f;
  --line: #d9d1c6;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.94);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a.active {
  color: var(--text);
}

.page-header {
  padding: 5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  max-width: 12ch;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.1rem;
  max-width: 46rem;
  color: var(--muted);
}

.media-links {
  padding: 0 0 4rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: #b7ad9f;
  background: #fffcf7;
}

.resource-type,
.resource-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
}

.resource-type {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.resource-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.resource-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.resource-link {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    padding: 1rem 0;
    flex-direction: column;
  }

  .page-header {
    padding-top: 3rem;
  }
}
