:root {
  --ivory: #f8f3eb;
  --paper: #fffdfb;
  --ink: #3c2356;
  --muted: #6d6174;
  --clay: #51246d;
  --clay-dark: #3c2356;
  --olive: #8960a9;
  --olive-dark: #3c2356;
  --sand: #d9c4eb;
  --line: rgba(60, 35, 86, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: min(1160px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 40; left: 18px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-name i { color: var(--clay); font-family: var(--serif); font-size: .9em; font-weight: 400; }
.blog-header { position: sticky; z-index: 20; top: 0; background: rgba(248, 243, 235, .93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.blog-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); color: var(--muted); font-size: 13px; }
.blog-nav a { transition: color .2s ease; }
.blog-nav a:hover, .blog-nav .active { color: var(--clay-dark); }
.blog-nav .nav-cta { color: var(--ink); border-bottom: 1px solid var(--clay); padding-bottom: 3px; }

.blog-hero { padding: 112px 0 90px; border-bottom: 1px solid var(--line); }
.blog-hero-grid { display: grid; grid-template-columns: 1fr .78fr; align-items: end; gap: 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 23px; color: var(--clay-dark); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--clay); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 710px; margin: 0 0 24px; font-size: clamp(49px, 7vw, 90px); }
h2 { margin: 0 0 24px; font-size: clamp(36px, 4.5vw, 58px); }
h3 { margin: 0; font-size: 27px; }
.blog-hero p:not(.eyebrow) { max-width: 410px; margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.blog-stat { display: grid; gap: 8px; align-self: end; padding: 24px 0 1px 26px; border-left: 1px solid var(--clay); }
.blog-stat strong { color: var(--clay-dark); font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.blog-stat span { color: var(--muted); font-size: 12px; }

.featured-post { padding: 74px 0 100px; }
.featured-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; gap: 0; background: var(--olive); color: var(--paper); }
.featured-image { min-height: 475px; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; min-height: 475px; object-fit: cover; transition: transform .6s ease; }
.featured-grid:hover .featured-image img { transform: scale(1.025); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; color: var(--clay-dark); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.featured-copy .post-meta { color: #e3d5ee; }
.featured-copy h2 { max-width: 480px; margin-bottom: 20px; }
.featured-copy p { max-width: 420px; margin: 0 0 32px; color: rgba(255, 253, 251, .75); font-size: 14px; line-height: 1.72; }
.featured-copy .read-link { color: var(--paper); }
.read-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--clay-dark); font-size: 11px; font-weight: 700; }
.read-link span { transition: transform .2s ease; }
.read-link:hover span { transform: translate(3px, -3px); }

.posts-section { padding: 0 0 130px; }
.posts-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.posts-heading h2 { margin-bottom: 0; }
.posts-heading p { max-width: 320px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(60, 35, 86, .07); }
.post-card-image { height: 215px; overflow: hidden; background: var(--sand); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-copy { display: flex; flex: 1; flex-direction: column; padding: 25px 24px 24px; }
.post-card h3 { margin-bottom: 14px; font-size: 29px; }
.post-card p { margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.post-card .read-link { margin-top: auto; }

.blog-cta { padding: 100px 0 110px; background: var(--sand); }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.blog-cta h2 { max-width: 570px; margin: 0; }
.blog-cta h2 em { color: var(--clay); font-style: italic; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 0 19px; background: var(--clay); color: var(--paper); font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--clay-dark); }
.button span { transition: transform .2s ease; }
.button:hover span { transform: translate(3px, -3px); }

.site-footer { padding: 57px 0 25px; background: var(--ink); color: var(--paper); }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 58px; }
.footer-brand p { max-width: 250px; margin: 18px 0 0 51px; color: rgba(255, 253, 251, .55); font-size: 12px; line-height: 1.55; }
.footer-links { display: flex; gap: 76px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; min-width: 90px; }
.footer-label { margin-bottom: 6px; color: var(--clay); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { color: rgba(255, 253, 251, .72); font-size: 12px; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 253, 251, .14); color: rgba(255, 253, 251, .4); font-size: 10px; }

.article-hero { padding: 84px 0 68px; }
.article-topline { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: var(--clay-dark); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.article-topline span:last-child { color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.article-hero h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(47px, 6.3vw, 82px); }
.article-dek { max-width: 700px; margin: 0 0 25px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.article-byline { color: var(--muted); font-size: 11px; }
.article-cover { max-width: 1000px; height: min(55vw, 590px); min-height: 350px; margin: 0 auto 76px; overflow: hidden; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 175px minmax(0, 690px); gap: 74px; align-items: start; padding-bottom: 115px; }
.article-aside { position: sticky; top: 115px; }
.article-aside span { display: block; margin-bottom: 12px; color: var(--clay-dark); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.article-aside p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-content { color: #45423d; font-size: 17px; line-height: 1.8; }
.article-content > p:first-child { color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.35; }
.article-content p { margin: 0 0 24px; }
.article-content h2 { margin: 54px 0 18px; font-size: 38px; }
.article-content h3 { margin: 36px 0 11px; font-size: 27px; }
.article-content ul { margin: 0 0 27px; padding-left: 20px; }
.article-content li { margin: 8px 0; }
.article-content blockquote { margin: 40px 0; padding: 23px 26px; border-left: 2px solid var(--clay); background: var(--paper); color: var(--olive-dark); font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.article-note { margin: 38px 0; padding: 20px 22px; border: 1px solid var(--line); background: var(--sand); color: var(--muted); font-size: 13px; line-height: 1.65; }
.article-note strong { color: var(--ink); }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 60px; padding: 27px 28px; background: var(--olive); color: var(--paper); }
.article-cta p { max-width: 385px; margin: 0; color: rgba(255, 253, 251, .76); font-size: 13px; line-height: 1.55; }
.article-cta .button { background: var(--paper); color: var(--olive-dark); }
.related { padding: 85px 0 110px; background: var(--paper); }
.related h2 { margin-bottom: 35px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.related-card { padding: 23px; border: 1px solid var(--line); background: var(--ivory); }
.related-card h3 { margin-bottom: 18px; font-size: 24px; }

@media (max-width: 860px) {
  :root { --container: min(100% - 40px, 680px); }
  .nav-wrap { min-height: 70px; }
  .blog-nav { gap: 17px; font-size: 11px; }
  .blog-nav a:nth-child(2), .blog-nav a:nth-child(3), .blog-nav a:nth-child(4) { display: none; }
  .blog-hero { padding: 78px 0 65px; }
  .blog-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .blog-stat { max-width: 310px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-image, .featured-image img { min-height: 360px; height: 360px; }
  .featured-copy { padding: 40px 32px 46px; }
  .posts-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .post-card:first-child { grid-column: 1 / -1; }
  .blog-cta-inner { display: block; }
  .blog-cta .button { margin-top: 28px; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-aside { position: static; }
  .article-cover { height: 55vw; min-height: 290px; }
  .footer-main { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 34px); }
  .brand-name { font-size: 13px; }
  .brand-mark { width: 35px; height: 35px; }
  .blog-nav .nav-cta { display: none; }
  .blog-hero h1 { font-size: clamp(45px, 13vw, 64px); }
  .featured-post { padding: 45px 0 80px; }
  .featured-image, .featured-image img { min-height: 280px; height: 280px; }
  .featured-copy { padding: 30px 23px 35px; }
  .posts-heading { display: block; }
  .posts-heading p { margin-top: 20px; }
  .posts-grid, .related-grid { grid-template-columns: 1fr; }
  .post-card:first-child { grid-column: auto; }
  .post-card-image { height: 230px; }
  .blog-cta { padding: 75px 0 85px; }
  .article-hero { padding: 56px 0 48px; }
  .article-hero h1 { font-size: clamp(43px, 12.5vw, 60px); }
  .article-dek { font-size: 16px; }
  .article-cover { height: 76vw; min-height: 240px; margin-bottom: 48px; }
  .article-content { font-size: 16px; }
  .article-content > p:first-child { font-size: 23px; }
  .article-content h2 { font-size: 33px; }
  .article-content blockquote { font-size: 25px; }
  .article-cta { display: block; padding: 24px; }
  .article-cta .button { margin-top: 20px; }
  .footer-links { gap: 46px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
