*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; background: #fbfaf8; color: hsl(146, 12%, 16%); font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.57; }
a { color: hsl(326, 56%, 37%); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: 39px; margin: 0 0 16px; }
h2 { font-size: 25px; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 700; color: hsl(146, 12%, 16%); }
nav a { margin-left: 25px; color: hsl(326, 8%, 42%); }
nav a.active, nav a:hover { color: hsl(326, 56%, 37%); }
main { padding-top: 26px; padding-bottom: 48px; min-height: 60vh; }
.hero { padding: 48px 0; }
.hero.center { text-align: center; }
.hero.split { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; align-items: start; }
.hero-media { position: relative; overflow: hidden; border-radius: 9px; margin-bottom: 32px; background: #222; }
.hero-media video, .hero-media img { width: 100%; height: clamp(320px, 52vw, 520px); object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 4vw, 48px); color: #fff; background: linear-gradient(to top, rgba(0,0,0,.57), rgba(0,0,0,0) 65%); }
.hero-overlay h1 { color: #fff; max-width: 22ch; }
.hero-overlay p { max-width: 60ch; margin: 0; opacity: .92; }
.lead { font-size: 1.15rem; color: hsl(326, 8%, 42%); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: hsl(326, 8%, 42%); }
.button { display: inline-block; padding: 10px 20px; background: hsl(326, 56%, 37%); color: #fff; border-radius: 9px; }
.button:hover { text-decoration: none; opacity: .9; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.card { padding: 20px; border: 1px solid #e6e6e6; border-radius: 9px; background: #fff; }
.card img { margin: -20px -20px 16px; width: calc(100% + 40px); max-width: none; border-radius: 9px 9px 0 0; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 16px 0; }
.gallery img { width: 100%; aspect-ratio: 640 / 427; object-fit: cover; border-radius: 9px; transition: opacity .2s; }
.gallery a:hover img { opacity: .85; }
.gallery figure { margin: 0; }
.gallery figcaption, figcaption { font-size: .85rem; color: hsl(326, 8%, 42%); margin-top: 6px; }
figure { margin: 24px 0; }
figure.wide img, figure.cover img, figure.wide video { width: 100%; border-radius: 9px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.duo img { border-radius: 9px; }
.post-list { display: grid; gap: 28px; }
.post-card { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 20px; align-items: start; }
.post-card img { border-radius: 9px; }
.post-card time { color: hsl(326, 8%, 42%); font-size: .9rem; }
.list li { margin-bottom: 10px; }
.posts { list-style: none; padding: 0; }
.posts li { padding: 10px 0; border-bottom: 1px solid #eee; }
.posts time, .meta { color: hsl(326, 8%, 42%); font-size: .9rem; margin-right: 10px; }
.post p { max-width: 68ch; }
.contact dt { font-weight: 700; margin-top: 12px; }
.contact dd { margin: 4px 0 0; }
.site-footer { border-top: 1px solid #e8e8e8; color: hsl(326, 8%, 42%); font-size: .9rem; padding: 24px 0; }
.site-footer p { margin: 4px 0; }
@media (max-width: 720px) {
  .hero.split, .post-card, .duo { grid-template-columns: 1fr; }
  nav a { margin-left: 0; margin-right: 14px; }
}
