:root {
  --serif: "Adobe Garamond Pro", "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --dark: #212121;
  --text: #333;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-header {
  background: var(--dark); color: #fff; padding: 22px 6vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px;
}
.logo { font-size: 22px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #fff; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.site-header nav a { color: #bbb; text-decoration: none; font-size: 15px; letter-spacing: .04em; }
.site-header nav a:hover, .site-header nav .active a { color: #fff; }

.hero {
  position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; color: #fff; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-inner { position: relative; padding: 60px 20px; }
.hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(36px, 6vw, 64px); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.hero .tagline { font-style: italic; font-size: 22px; margin: 0 0 12px; opacity: .9; }
.hero-link { font-style: italic; font-size: 20px; color: #fff; text-decoration: none; opacity: .85; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-link:hover { opacity: 1; }

.intro { max-width: 800px; margin: 0 auto; padding: 80px 24px 100px; text-align: center; }
.intro h1 { font-weight: 400; font-size: 32px; margin: 0 0 16px; }
.intro .buttons { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; }

.page { max-width: 1000px; margin: 0 auto; padding: 60px 24px 100px; }
.page h1 { font-weight: 400; font-size: 32px; text-align: center; margin: 0 0 40px; }
.narrow { max-width: 760px; }
.narrow h1 { text-align: left; margin-bottom: 20px; }
h2 { font-weight: 400; font-size: 24px; margin: 1.8em 0 .4em; }
h3 { font-weight: 400; font-size: 19px; margin: 1.4em 0 .3em; }
p { margin: 0 0 1em; }
.prose ul { padding-left: 1.3em; }
.prose li h3 { margin: .3em 0 0; }

.cards { display: grid; gap: 50px; }
.card { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.card img { width: 200px; border-radius: 12px; }
.card h2 { margin: 0 0 .3em; }
.card .button { margin-top: 6px; }

.button {
  display: inline-block; background: var(--dark); color: #fff; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 24px;
}
.button:hover { background: #444; }
.buttons { margin: 24px 0; }

.site-footer { background: var(--dark); color: #bbb; padding: 60px 6vw 90px; font-size: 16px; }
.site-footer p { max-width: 900px; margin: 0; }
.site-footer a { color: #ddd; text-decoration: none; }

@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .card img { width: 160px; }
  .intro .buttons { justify-content: center; }
  .site-header { justify-content: center; text-align: center; }
  .site-header nav ul { justify-content: center; }
}
