dialog{
  color:var(--dark-ink);
  border:1px solid #bfb89a80;
  padding:0;
  background:var(--paper);
  box-shadow:0 16px 48px #020c0966;
  max-height:calc(100svh - 64px);
  border-radius:8px
}
dialog::backdrop{
  background:#071713b8
}
dialog[open]{
  animation:dialog-in .22s cubic-bezier(.2,.7,.2,1);
  will-change:transform,opacity
}
@keyframes dialog-in{
  from{
    opacity:0;
    transform:translate3d(0,12px,0)
  }
  to{
    opacity:1;
    transform:translate3d(0,0,0)
  }
}
.dialog-surface{
  position:relative
}
.close-button{
  position:absolute;
  right:16px;
  top:16px;
  z-index:3;
  width:42px;
  height:42px;
  background:#ffffffd9;
  border:1px solid #4f594129;
  border-radius:50%;
  font-size:28px;
  font-weight:300;
  color:#3b4438;
  display:grid;
  place-items:center;
  line-height:1;
  transition:.2s
}
.close-button:hover{
  background:white;
  transform:rotate(90deg)
}
.detail-dialog{
  width:min(820px,calc(100vw - 48px));
  overflow-y:auto
}
.detail-dialog .dialog-surface{
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  min-height:560px
}
.detail-banner{
  position:relative;
  background:linear-gradient(155deg,#263e34,#172c26);
  overflow:hidden;
  display:grid;
  place-items:center;
  isolation:isolate
}
.detail-banner::after{display:none}
.detail-banner>span:first-child{
  font-family:Georgia,serif;
  font-size:84px;
  line-height:1;
  color:var(--accent,#c8b47a);
  text-shadow:0 0 35px #d6c58a33;
  z-index:1
}
.banner-orbit{
  position:absolute;
  width:155px;
  height:155px;
  border:1px solid #d8c68f33;
  border-radius:50%;
  transform:rotate(-20deg) scaleX(.7)
}
.detail-copy{
  padding:52px 42px 35px
}
.detail-meta{
  font-size:11px;
  letter-spacing:.12em;
  color:#7b8068;
  margin-bottom:12px
}
.detail-copy h1{
  font-family:"Songti SC",Georgia,serif;
  font-size:34px;
  letter-spacing:-.03em;
  margin:0 0 8px;
  line-height:1.2;
  overflow-wrap:anywhere
}
.detail-subtitle{
  font-size:14px;
  color:#65705c;
  margin:0 0 24px;
  line-height:1.6
}
.detail-description{
  font-size:14px;
  line-height:1.9;
  color:#46503f;
  margin-bottom:26px
}
.detail-copy h2{
  font-size:11px;
  font-weight:500;
  letter-spacing:.08em;
  color:#7b8068;
  margin:0 0 13px
}
.feature-list{
  padding:0;
  list-style:none;
  margin:0 0 30px;
  font-size:13px;
  line-height:1.75;
  color:#505a48
}
.feature-list li{
  padding-left:14px;
  position:relative;
  margin:9px 0
}
.feature-list li::before{
  content:"·";
  position:absolute;
  left:0;
  color:#a28a50
}
.detail-links{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:20px
}
.primary-link,.secondary-link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  text-decoration:none;
  font-size:13px;
  padding:12px 16px;
  border-radius:3px
}
.primary-link{
  background:#2c4437;
  color:#f7efd9
}
.primary-link:hover{
  background:#1a3627
}
.secondary-link{
  border:1px solid #9b9d8052;
  color:#4e5d44
}
.secondary-link:hover{
  background:#e5e3d3
}
.text-button{
  background:transparent;
  color:inherit;
  padding:10px 0;
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:4px
}
.back-to-forest{
  color:#727c66;
  margin-top:22px
}
.catalog-dialog{
  width:min(1000px,calc(100vw - 48px));
  overflow-y:auto
}
.catalog-surface{
  padding:45px
}
.catalog-header h1{
  font-family:"Songti SC",Georgia,serif;
  font-size:32px;
  font-weight:500;
  line-height:1.3;
  margin:12px 0;
  color:#35422f
}
.catalog-header p{
  font-size:13px;
  color:#7b806d;
  margin:0 0 26px
}
.catalog-header .eyebrow,.about-surface .eyebrow{
  color:#8a794b
}
.catalog-controls{
  display:flex;
  gap:12px
}
.search-field{
  background:#fffaf1;
  border:1px solid #aaa58c55;
  border-radius:4px;
  display:flex;
  align-items:center;
  padding-left:13px;
  gap:8px;
  flex:1
}
.search-field>span{
  font-size:24px;
  color:#7d846b
}
.search-field input{
  width:100%;
  min-width:0;
  background:transparent;
  border:0;
  color:#3b4835;
  padding:12px 10px 12px 0;
  font-size:13px;
  outline-offset:2px
}
.category-field select{
  height:100%;
  background:#eae7d9;
  color:#4f5b43;
  padding:10px 14px;
  border:1px solid #aaa58c55;
  border-radius:4px;
  font-size:12px
}
.result-count{
  font-size:11px;
  color:#7d856e;
  margin:18px 0 12px
}
.project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.project-card{
  text-align:left;
  background:#fcf8ed;
  border:1px solid #a9ae8b3a;
  border-radius:5px;
  padding:20px 17px;
  color:#3c4b34;
  position:relative;
  min-height:150px;
  transition:background .2s,transform .2s,border-color .2s
}
.project-card:hover{
  transform:translateY(-3px);
  background:#fffdf7;
  border-color:#8a996d
}
.project-card .card-symbol{
  font-family:Georgia,serif;
  display:block;
  font-size:25px;
  line-height:1;
  color:#7d8a65;
  margin-bottom:18px
}
.project-card h2{
  font-size:15px;
  font-weight:600;
  margin:0 20px 7px 0;
  line-height:1.4;
  overflow-wrap:anywhere
}
.project-card p{
  font-size:11px;
  line-height:1.65;
  color:#758065;
  margin:0
}
.card-arrow{
  position:absolute;
  right:17px;
  top:19px;
  font-size:16px;
  color:#a7ab95
}
.empty-state{
  text-align:center;
  padding:60px 20px;
  color:#7d856e;
  font-size:14px
}
.empty-state button{
  display:block;
  margin:15px auto
}
.about-dialog{
  width:min(620px,calc(100vw - 48px))
}
.about-surface{
  padding:56px
}
.about-surface h1{
  font-family:"Songti SC",Georgia,serif;
  font-size:34px;
  margin:15px 0 8px
}
.about-lead{
  font-size:19px!important;
  font-family:"Songti SC",Georgia,serif;
  color:#8e7945!important;
  margin-bottom:30px!important
}
.about-surface p{
  font-size:14px;
  line-height:1.95;
  color:#65705c;
  margin-bottom:22px
}
.about-surface .primary-link{
  margin:10px 0 20px
}
.about-surface>.text-button{
  display:block;
  color:#7b806d
}
.noscript-note{
  position:fixed;
  bottom:10px;
  left:10px;
  padding:20px;
  background:#152421;
  z-index:25
}
dialog::backdrop{animation:backdrop-in .2s ease-out}
dialog.is-closing::backdrop{animation:backdrop-out .14s ease-out both}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes backdrop-out{from{opacity:1}to{opacity:0}}
