:root{
  --ink:#182b26;
  --muted:#50615b;
  --green:#22634b;
  --line:#dce4dc;
  --ground:#f3f5f0;
  --mint:#e8f2e9;
  --lime:#b9ef93;
  --dark:#10231f;
  --dark-line:#2d4439;
  --dark-muted:#b6cabf;
  --radius:17px;
  background:var(--ground)
}
.site-header,.site-footer{background:var(--dark);color:#f2f8f2}
body{display:flex;flex-direction:column;min-height:100vh}
.site-header{border-bottom:1px solid var(--dark-line)}
.masthead{justify-content:space-between;min-height:78px;gap:1rem}
.masthead-identity,.brand{display:inline-flex;align-items:center}
.masthead-identity{gap:1rem;min-width:0}
.brand{gap:.65rem;color:#f3faf2;font-size:1.65rem;font-weight:800;letter-spacing:-.055em;white-space:nowrap}
.brand:hover{color:#fff}
.brand-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #3c5a46;border-radius:13px;background:#20392e}
.masthead p{padding-left:1rem;border-color:var(--dark-line);color:var(--dark-muted);font-size:.82rem;white-space:nowrap}
.site-nav{background:none}
.nav-inner{gap:.15rem;flex-wrap:nowrap}
.nav-inner a{
  position:relative;justify-content:center;min-height:42px;padding:.42rem .7rem;border:0;border-radius:8px;
  color:#e3eee6;font-size:.93rem;font-weight:650;white-space:nowrap
}
.nav-inner a:hover,.nav-inner a[aria-current=page]{background:#203a30;color:var(--lime)}
.site-header a:focus-visible,.site-footer a:focus-visible,.archive-cover a:focus-visible{outline-color:var(--lime)}
.skip{z-index:4}
.home{padding-block:26px 72px}
.archive-cover{
  position:relative;isolation:isolate;display:flex;align-items:center;min-height:400px;overflow:hidden;
  border:1px solid #1c3731;border-radius:23px;background:#061816;color:#f7fbf7
}
.cover-photo,.cover-photo::after,.cover-photo img{position:absolute;inset:0;width:100%;height:100%}
.cover-photo{z-index:-1}
.cover-photo img{object-fit:cover;object-position:center}
.cover-photo::after{content:"";background:linear-gradient(90deg,#061816 0%,rgba(6,24,22,.76) 30%,rgba(6,24,22,0) 71%)}
.cover-copy{padding:clamp(25px,5vw,68px)}
.archive-cover h1{
  margin:0 0 .21em;font-size:clamp(3.1rem,6vw,5.4rem);font-weight:810;letter-spacing:-.066em;line-height:.98
}
.archive-cover h1 span{display:block}
.archive-cover p{max-width:37ch;margin:0;color:#d9e9df;font-size:clamp(1.02rem,1.55vw,1.23rem);line-height:1.45}
.cover-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:1.5rem}
.cover-button{
  display:inline-flex;align-items:center;gap:.55rem;justify-content:center;min-height:46px;padding:.53rem .93rem;
  border:1px solid var(--lime);border-radius:9px;background:var(--lime);color:#15291d;font-size:.92rem;font-weight:760;text-decoration:none
}
.cover-button:hover{background:#d1f7b6;color:#112419}
.cover-secondary{border-color:#7d9a8f;background:#122923;color:#f1f9f2}
.cover-secondary:hover{background:#244338;color:#fff}

.section-block{margin-block:32px 37px}
.section-block h2,.post-list>h2{margin:0 0 15px;font-size:clamp(1.65rem,3vw,2.24rem);letter-spacing:-.045em}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.section-heading a{font-size:.88rem;font-weight:690}
.section-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;list-style:none;margin:0;padding:0}
.section-list li{min-width:0}
.section-card,.category-header{
  position:relative;isolation:isolate;display:flex;overflow:hidden;
  border:1px solid #284037;border-radius:14px;background:#10231f;color:#fff
}
.section-card{
  align-items:flex-end;min-height:clamp(176px,15vw,204px);height:100%;padding:17px;
  text-decoration:none
}
.section-photo,.section-card::after,.category-header::after{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none
}
.section-photo{z-index:-2;object-fit:cover;object-position:74% center}
.section-card::after,.category-header::after{content:"";z-index:-1}
.section-card::after{
  background:linear-gradient(0deg,#091512 0%,rgba(9,21,18,.91) 22%,rgba(9,21,18,.55) 53%,transparent 100%),
             linear-gradient(90deg,rgba(9,21,18,.6),transparent 80%)
}
.section-card:hover{border-color:#6eab83;color:#fff;box-shadow:0 5px 15px #102b251b}
.section-card:hover strong{text-decoration:underline;text-underline-offset:.17em}
.section-copy{display:grid;gap:.35rem;min-width:0;max-width:25ch}
.section-copy strong{font-size:clamp(1.07rem,1.5vw,1.25rem);line-height:1.13;overflow-wrap:anywhere}
.section-description{color:#e6eee8;font-size:.88rem;line-height:1.35}

.archive-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:26px;align-items:start}
.archive-panel{padding:19px;border:1px solid var(--line);border-radius:var(--radius);background:#eaf0e9}
.archive-panel h2{margin:0 0 .85em;font-size:1.28rem}
.section-list-compact{grid-template-columns:minmax(0,1fr);gap:8px}
.section-list-compact .section-card{align-items:center;min-height:78px;padding:12px 13px;border-radius:10px}
.section-list-compact .section-card::after{
  background:linear-gradient(90deg,#0c1c17 0%,rgba(12,28,23,.92) 29%,rgba(12,28,23,.55) 65%,transparent 100%)
}
.section-list-compact .section-copy{max-width:min(86%,21ch)}
.section-list-compact strong{font-size:.94rem;overflow-wrap:normal;hyphens:auto}

.archive-list{list-style:none;margin:0;padding:0}
.archive-list li{display:flex;justify-content:space-between;gap:12px;padding:.64rem 0;border-top:1px solid var(--line)}
.archive-list a{font-weight:650}
.archive-list time{white-space:nowrap;font-size:.86rem;color:var(--muted)}
.blog-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.blog-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}
.blog-card:hover{border-color:#86a992}
.blog-card:focus-within{outline:3px solid #b46428;outline-offset:3px}
.blog-card img{width:100%;aspect-ratio:2.1;object-fit:cover;background:#e7eee8}
.blog-card div{padding:15px 17px 17px}
.blog-card h3{margin:0;font-size:1.12rem;overflow-wrap:anywhere}
.blog-card h3 a{color:var(--ink);text-decoration:none}
.blog-card h3 a::after{content:"";position:absolute;inset:0}
.blog-card h3 a:hover{color:var(--green);text-decoration:underline}
.blog-card time{display:block;margin-top:.5rem;color:var(--muted);font-size:.85rem}
.post-list>.more-posts{padding-top:1.4rem;margin-top:1.55rem;border-top:1px solid var(--line);font-size:1.43rem}

.archive-document{max-width:940px;margin-block:26px 55px}
.article-header{margin-bottom:1.1rem}
.archive-stamp{margin:0;color:var(--muted);font-size:.93rem}
.category-header{min-height:190px;align-items:flex-end;padding:clamp(16px,4vw,35px)}
.category-header .section-photo{object-position:right 54%}
.category-header::after{
  background:linear-gradient(90deg,rgba(9,21,18,.97),rgba(9,21,18,.75) 46%,transparent 89%),
             linear-gradient(0deg,rgba(9,21,18,.78),transparent 75%)
}
.category-header div{max-width:42ch}
.category-header h1{font-size:clamp(1.8rem,4vw,3.15rem);margin-bottom:.14em}
.category-header p{margin:0;color:#e6eee8;font-size:1rem}
.legacy-body img{margin:1em auto;object-fit:contain}
.legacy-body figure{margin-inline:0}
.legacy-body table{display:block;overflow:auto}
.legacy-body td,.legacy-body th{min-width:4rem}
.legacy-body pre{white-space:pre;overflow:auto}
.legacy-body blockquote{margin-inline:0;padding:.65rem 1rem;border-left:4px solid #9fbf77;background:var(--mint)}
.legacy-body blockquote p:last-child{margin-bottom:0}
.missing-media{display:block;background:#f6f3eb;color:#584c34;border:1px solid #e2d9c7;border-radius:8px;padding:.5rem .75rem;margin:.6rem 0;font-size:.92rem}
.archive-back{border-top:1px solid var(--line);margin-top:1.75rem;padding-top:1rem}

.site-footer{margin-top:auto;border-top:1px solid var(--dark-line)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:24px 40px;padding-block:33px 28px}
.footer-brand p{max-width:37ch;margin:.85rem 0 0;color:var(--dark-muted);font-size:.92rem}
.footer-grid h2{margin:0 0 .45rem;color:#f2f8f2;font-size:1.05rem}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid nav a,.footer-bottom a{display:inline-flex;align-items:center;min-height:33px;color:#dcece0;font-size:.91rem;text-decoration:none}
.footer-grid a:hover,.footer-bottom a:hover{color:var(--lime);text-decoration:underline}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:53px;border-top:1px solid var(--dark-line);color:var(--dark-muted);font-size:.84rem}

@media(max-width:1060px){
  .masthead p{display:none}
}
@media(max-width:850px){
  .archive-grid{grid-template-columns:minmax(0,1fr)}
  .section-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-list-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .archive-cover{min-height:350px}
}
@media(max-width:620px){
  .masthead{display:grid;gap:5px;padding-block:10px 4px}
  .masthead-identity{gap:10px}
  .masthead p{display:block;white-space:normal;font-size:.74rem;padding-left:10px}
  .brand{font-size:1.43rem;gap:.45rem}
  .brand-icon{width:40px;height:40px;border-radius:10px}
  .brand-icon img{width:30px;height:30px}
  .nav-inner{gap:.1rem;flex-wrap:wrap}
  .nav-inner a{padding:.42rem .56rem;min-height:44px;font-size:.85rem}
  .home{padding-block:14px 42px}
  .archive-cover{min-height:370px;align-items:end;border-radius:17px}
  .cover-photo img{object-position:50% 37%}
  .cover-photo::after{background:linear-gradient(0deg,#061816 3%,rgba(6,24,22,.91) 26%,rgba(6,24,22,.68) 52%,rgba(6,24,22,.02) 97%)}
  .cover-copy{padding:22px 17px}
  .archive-cover h1{font-size:clamp(2.55rem,10.6vw,4rem)}
  .cover-actions{margin-top:1.08rem;gap:7px}
  .cover-button{padding:.55rem .64rem;font-size:.84rem}
  .section-block{margin-block:24px 20px}
  .section-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .section-card{min-height:166px;padding:11px}
  .section-card .section-photo{object-position:78% center}
  .section-copy strong{font-size:1rem}
  .section-description{font-size:.78rem}
  .archive-panel{padding:12px}
  .archive-grid{gap:23px}
  .archive-list li{display:block}
  .archive-list time{display:block}
  .category-header{min-height:172px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;padding-block:24px 16px}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:500px){.blog-cards,.section-list-compact{grid-template-columns:minmax(0,1fr)}}
@media(max-width:350px){
  .masthead p{display:none}
  .section-list{grid-template-columns:minmax(0,1fr)}
}

