*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#0e1a2b;
  --navy2:#162338;
  --navy3:#1e3050;
  --blue:#2563a8;
  --blue-lt:#3a7bc8;
  --sky:#7aaddc;
  --cream:#f8f6f1;
  --cream2:#f0ede4;
  --cream3:#e6e0d3;
  --ink:#111827;
  --ink-m:#4b5563;
  --ink-f:#9ca3af;
  --rd:rgba(255,255,255,0.07);
  --rl:rgba(14,26,43,0.08);
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'DM Sans',system-ui,sans-serif;
}
html{font-size:17.5px;scroll-behavior:smooth}
@media(max-width:560px){html{font-size:16.5px}}
body{font-family:var(--sans);background:var(--cream);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased}

/* NAV */
.site-nav{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.1rem 5vw;
  background:rgba(14,26,43,0.97);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--rd);
}
.site-nav .logo{font-family:var(--serif);font-size:1.2rem;font-weight:300;color:#fff;text-decoration:none;letter-spacing:.03em}
.site-nav .logo span{color:var(--sky)}
.site-nav ul{display:flex;align-items:center;gap:2.2rem;list-style:none}
.site-nav a.nav-link{font-size:.82rem;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.5);text-decoration:none;transition:color .2s}
.site-nav a.nav-link:hover,.site-nav a.nav-link.active{color:#fff}
.site-nav a.nav-cta{
  font-size:.82rem;letter-spacing:.09em;text-transform:uppercase;
  color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2);
  padding:.4rem 1.1rem;text-decoration:none;transition:all .2s;
}
.site-nav a.nav-cta:hover{background:#fff;color:var(--navy)}

/* BLOG INDEX */
.blog-hero{
  background:var(--navy);color:#fff;
  padding:7rem 8vw 5rem;
}
.blog-hero .eyebrow{
  font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--sky);font-weight:500;margin-bottom:1.2rem;
}
.blog-hero h1{
  font-family:var(--serif);
  font-size:clamp(2.4rem,4.5vw,3.8rem);
  font-weight:300;line-height:1.1;margin-bottom:1.1rem;
}
.blog-hero h1 em{font-style:italic;color:#a8c8e8}
.blog-hero p{
  font-size:1.05rem;color:rgba(255,255,255,.55);max-width:620px;
  font-weight:300;line-height:1.85;
}

/* BLOG FILTERS (navy bg continuation) */
.blog-filters{
  background:var(--navy);
  padding:0 8vw 4.5rem;
  display:flex;flex-wrap:wrap;gap:.65rem;
}
.blog-filter{
  padding:.58rem 1.1rem;
  font-family:var(--sans);font-size:.78rem;font-weight:500;
  letter-spacing:.03em;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.55);
  cursor:pointer;
  white-space:nowrap;
  transition:color .2s,background .2s,border-color .2s;
}
@media(max-width:560px){
  .blog-filter{font-size:.72rem;padding:.5rem .95rem;letter-spacing:.02em}
}
.blog-filter:hover{
  color:#fff;border-color:rgba(255,255,255,.38);
}
.blog-filter.active{
  background:#fff;color:var(--navy);border-color:#fff;
}

/* BLOG CARD GRID */
.blog-list{
  background:var(--cream2);
  padding:0;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0;
  border-top:1px solid var(--rl);
  border-left:1px solid var(--rl);
}
.post-card{
  display:flex;flex-direction:column;
  padding:2.2rem 2rem;
  border-right:1px solid var(--rl);
  border-bottom:1px solid var(--rl);
  background:var(--cream);
  text-decoration:none;color:inherit;
  transition:background .2s;
  min-height:260px;
}
.post-card:hover{background:#fff}
.post-card.hidden{display:none}
.post-card-cat{
  font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue);font-weight:500;margin-bottom:1.1rem;
}
.post-card h2{
  font-family:var(--serif);
  font-size:1.38rem;font-weight:300;line-height:1.3;
  color:var(--ink);margin-bottom:.8rem;
}
.post-card p{
  font-size:.94rem;color:var(--ink-m);line-height:1.75;
  font-weight:300;flex-grow:1;
}
.post-card-read{
  display:inline-block;margin-top:1.2rem;
  font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-f);font-weight:500;
}

@media(max-width:1100px){
  .blog-list{grid-template-columns:repeat(2, 1fr)}
}
@media(max-width:640px){
  .blog-list{grid-template-columns:1fr}
  .post-card{min-height:auto;padding:2rem 1.6rem}
}

/* ARTICLE */
article.post{max-width:none;padding:0;margin:0}

/* Post hero: full-width navy */
.post-head{
  background:var(--navy);
  padding:5.5rem 5vw 5rem;
  margin-bottom:0;
}
.post-head > *{
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
  display:block;
}
.back{
  display:inline-block;font-size:.78rem;letter-spacing:.08em;
  text-transform:uppercase;color:rgba(255,255,255,.45);
  text-decoration:none;margin-bottom:2.8rem;
  transition:color .2s;font-weight:500;
}
.back:hover{color:#fff}
.post-eyebrow{
  font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--sky);font-weight:500;margin-bottom:1.3rem;
}
.post-head h1{
  font-family:var(--serif);
  font-size:clamp(2.2rem,4.6vw,3.8rem);
  font-weight:300;line-height:1.12;color:#fff;
  margin-bottom:0;letter-spacing:-.005em;
}
.post-date{display:none}

/* Shared content width for body/share/foot */
.post-body,
.share,
.post-foot{
  max-width:calc(820px + 3rem);
  margin-left:auto;margin-right:auto;
  padding-left:1.5rem;padding-right:1.5rem;
  box-sizing:border-box;
}

.post-body{
  padding-top:5rem;
  font-size:1.12rem;line-height:1.9;
  color:var(--ink-m);font-weight:300;
}
.post-body > *{margin-bottom:1.5rem}
.post-body > *:last-child{margin-bottom:0}
.post-body p{color:var(--ink-m)}
.post-body p strong{color:var(--ink);font-weight:500}
.post-body h2{
  font-family:var(--serif);
  font-size:clamp(1.72rem,3vw,2.1rem);
  font-weight:400;line-height:1.25;
  color:var(--ink);
  margin-top:3.2rem;margin-bottom:1.1rem;
  letter-spacing:-.005em;
}
.post-body h2:first-child{margin-top:0}
.post-body h3{
  font-family:var(--serif);
  font-size:1.42rem;font-weight:400;line-height:1.3;
  color:var(--ink);margin-top:2.4rem;margin-bottom:.8rem;
}
.post-body ul,.post-body ol{
  padding-left:1.4rem;color:var(--ink-m);
}
.post-body li{margin-bottom:.65rem;line-height:1.85}
.post-body li strong{color:var(--ink)}
.post-body hr{
  border:none;height:1px;background:var(--rl);
  margin:3.5rem 0;
}
.post-body a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(37,99,168,.25);transition:border-color .2s}
.post-body a:hover{border-bottom-color:var(--blue)}
.post-body em{font-style:italic}
.post-body blockquote{
  border-left:2px solid var(--blue);
  padding:.4rem 0 .4rem 1.5rem;
  margin:1.8rem 0;
  color:var(--ink-m);font-style:italic;
  font-size:1.08em;
}
.post-body pre{
  background:var(--navy);
  color:rgba(255,255,255,.92);
  padding:1.3rem 1.6rem;
  overflow-x:auto;
  font-size:.9rem;line-height:1.75;
  border-left:2px solid var(--sky);
  margin:1.8rem 0;
  font-family:'SF Mono','Monaco','Menlo',monospace;
}
.post-body pre code{font-family:inherit;background:none;padding:0;color:inherit;font-size:inherit}
.post-body code{
  background:var(--cream3);
  padding:.14rem .44rem;
  font-size:.92em;
  font-family:'SF Mono','Monaco','Menlo',monospace;
  color:var(--ink);
}
.post-body .post-table{
  width:100%;border-collapse:collapse;
  margin:2rem 0;font-size:.95rem;
}
.post-body .post-table th,
.post-body .post-table td{
  padding:.85rem 1rem;text-align:left;
  border-bottom:1px solid var(--rl);
}
.post-body .post-table th{
  background:var(--cream2);
  font-weight:500;color:var(--ink);
  font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
}

.share{
  margin-top:4.5rem;padding-top:2.2rem;border-top:1px solid var(--rl);
  display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;
}
.share-label{
  font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-f);font-weight:500;
}
.share-btns{display:flex;gap:.55rem;align-items:center}
.share-btns > a,.share-btns > button{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;
  border:1px solid var(--rl);background:transparent;
  color:var(--ink-m);text-decoration:none;cursor:pointer;
  transition:background .2s,color .2s,border-color .2s,transform .15s;
}
.share-btns > a:hover,.share-btns > button:hover{
  background:var(--cream2);color:var(--blue);border-color:rgba(37,99,168,.4);
  transform:translateY(-1px);
}
.share-btns svg{width:18px;height:18px;display:block}
.share-copy .icon-check{display:none}
.share-copy.ok{color:var(--blue);border-color:var(--blue)}
.share-copy.ok .icon-link{display:none}
.share-copy.ok .icon-check{display:block}

.post-foot{
  margin-top:4.5rem;padding-top:3rem;padding-bottom:6rem;
  border-top:1px solid var(--rl);text-align:center;
}
.post-foot p{
  font-size:1rem;color:var(--ink-m);margin-bottom:1.6rem;
  font-weight:300;
}
.btn-primary{
  display:inline-block;background:var(--navy);color:#fff;
  padding:.95rem 2.2rem;font-size:.88rem;font-weight:500;
  letter-spacing:.04em;text-decoration:none;
  transition:background .2s,transform .15s;
}
.btn-primary:hover{background:var(--navy3);transform:translateY(-1px)}

/* FOOTER */
.site-foot{
  background:var(--navy);padding:2rem 8vw;
  border-top:1px solid var(--rd);
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
}
.site-foot .logo{font-family:var(--serif);font-size:1rem;font-weight:300;color:rgba(255,255,255,.6)}
.site-foot .logo span{color:var(--sky)}
.site-foot .brand{font-family:var(--serif);font-size:.9rem;font-weight:300;color:rgba(255,255,255,.3);letter-spacing:.03em}
.site-foot .salnus{font-size:.76rem;color:rgba(255,255,255,.2)}
.site-foot .salnus a{color:rgba(122,173,220,.5);text-decoration:none;transition:color .2s}
.site-foot .salnus a:hover{color:var(--sky)}

@media(max-width:920px){
  .site-nav ul{display:none}
  .blog-hero{padding:5rem 6vw 3rem}
  .blog-filters{padding:0 6vw 3.5rem}
  article.post{padding:0}
  .post-head{padding:3.5rem 6vw 3rem}
  .back{margin-bottom:2rem}
  .post-body{padding-top:3rem;font-size:1.05rem;line-height:1.85}
  .post-body h2{font-size:1.65rem;margin-top:2.5rem}
  .post-body h3{font-size:1.25rem}
  .share{margin-top:3.5rem}
  .post-foot{margin-top:3.5rem;padding-bottom:4rem}
  .post-card h2{font-size:1.3rem}
}
