@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #081f35;
  --ink-soft: #536473;
  --paper: #f7f5f1;
  --white: #fffef9;
  --lime: #b63d37;
  --line: rgba(8, 31, 53, .14);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-header, .page-footer, .post, .blog-index { padding-left: clamp(20px, 5vw, 80px); padding-right: clamp(20px, 5vw, 80px); }
.page-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(247, 245, 239, .94); }
.page-header img { width: 180px; height: auto; }
.page-header nav { display: flex; gap: 22px; font-size: 13px; font-weight: 700; }
.page-header nav a:hover { border-bottom: 2px solid var(--ink); }

.post { max-width: 860px; margin: 0 auto; padding-top: 42px; padding-bottom: 72px; }
.post-kicker { font: 700 11px/1 'Manrope'; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.post h1 { font: 800 clamp(36px, 5vw, 58px)/1.05 'Manrope'; letter-spacing: -.05em; margin: 14px 0 18px; }
.post .lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 22px; }
.post-photo { width: 100%; height: auto; border-radius: 6px; margin: 8px 0 28px; box-shadow: 10px 10px 0 var(--lime); }
.post h2 { font: 800 28px/1.2 'Manrope'; letter-spacing: -.03em; margin: 32px 0 10px; }
.post p, .post li { font-size: 17px; line-height: 1.7; color: #24384a; }
.post ul { padding-left: 20px; }
.post-cta { margin-top: 36px; background: var(--ink); color: white; padding: 28px; border-radius: 6px; box-shadow: 8px 8px 0 var(--lime); }
.post-cta p { color: #d5dee6; margin: 0 0 16px; }
.post-cta a { display: inline-flex; margin-right: 18px; font-weight: 800; border-bottom: 1px solid white; padding-bottom: 2px; }

.blog-index { padding-top: 48px; padding-bottom: 72px; }
.blog-index h1 { font: 800 clamp(40px, 5vw, 64px)/1.02 'Manrope'; letter-spacing: -.05em; margin: 10px 0 12px; max-width: 740px; }
.blog-index > p { color: var(--ink-soft); font-size: 18px; max-width: 680px; line-height: 1.6; }
.blog-index h2 { font: 800 32px/1.15 'Manrope'; letter-spacing: -.04em; margin: 42px 0 0; }
.post-related { margin-top: 28px; }
.post-related p { margin: 0 0 8px; font-weight: 800; }
.post-related a { display: block; font-weight: 700; margin: 8px 0; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.note { background: white; border: 1px solid var(--line); display: grid; }
.note img { width: 100%; height: 220px; object-fit: cover; }
.note div { padding: 18px 18px 22px; }
.note h2 { font: 800 26px/1.15 'Manrope'; letter-spacing: -.03em; margin: 0 0 8px; }
.note p { color: var(--ink-soft); margin: 0; line-height: 1.5; }

.page-footer { background: var(--ink); color: white; padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.page-footer a { color: white; margin-right: 16px; font-size: 13px; font-weight: 700; }
.page-footer small { color: #9eaaa5; }

@media (max-width: 720px) {
  .page-header { align-items: flex-start; flex-direction: column; padding-top: 16px; padding-bottom: 16px; }
  .page-header nav { flex-wrap: wrap; gap: 12px 16px; }
  .note-grid { grid-template-columns: 1fr; }
  .post-photo { box-shadow: 6px 6px 0 var(--lime); }
}
