:root{
  --ink:#2b2621;
  --paper:#f4efe6;
  --paper2:#fffdf8;
  --accent:#8a4b2b;
  --gold:#c9972c;
  --josephBlue:#1a3d6e;
  --demolRed:#a33636;
  --cessionOrange:#c96a2b;
  --heritagePurple:#6a2f8a;
}
*{box-sizing:border-box;}
html,body{margin:0;min-height:100%;font-family:'Iowan Old Style','Georgia',serif;background:var(--ink);color:var(--ink);}
body{
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.03), transparent 40%),
    linear-gradient(180deg,#2b2621,#3a3229);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

header.site-header{
  padding:36px 24px 20px;
  text-align:center;
  color:var(--paper2);
  border-bottom:3px solid var(--gold);
}
header.site-header .eyebrow{
  font-family:system-ui,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:11.5px;
  color:var(--gold);
  margin-bottom:10px;
}
header.site-header h1{
  font-size:clamp(22px,4vw,34px);
  margin:0 0 8px;
  font-weight:600;
}
header.site-header .sub{
  font-family:system-ui,sans-serif;
  font-size:13.5px;
  opacity:.75;
  max-width:640px;
  margin:0 auto;
  line-height:1.6;
}

main{
  flex:1;
  max-width:1080px;
  width:100%;
  margin:0 auto;
  padding:36px 20px 60px;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:22px;
  margin-bottom:34px;
}

.tool-card{
  background:var(--paper2);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  border-top:5px solid var(--accent);
  display:flex;
  flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease;
  text-decoration:none;
  color:var(--ink);
}
.tool-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,.45);
}
.tool-card.blue{border-top-color:var(--josephBlue);}
.tool-card.gold{border-top-color:var(--gold);}
.tool-card.green{border-top-color:#2b6a4f;}

.tool-card .icon{
  font-size:34px;
  padding:22px 22px 0;
}
.tool-card h2{
  font-size:19px;
  margin:8px 22px 6px;
  font-family:Georgia,serif;
}
.tool-card p{
  font-family:system-ui,sans-serif;
  font-size:13px;
  line-height:1.55;
  color:#4a4238;
  margin:0 22px 18px;
  flex:1;
}
.tool-card .cta{
  font-family:system-ui,sans-serif;
  font-size:12.5px;
  font-weight:600;
  padding:12px 22px;
  background:#f0e9d8;
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.tool-card.blue .cta{color:var(--josephBlue);}
.tool-card.gold .cta{color:#8a6a1a;}
.tool-card.green .cta{color:#2b6a4f;}

section.about{
  background:var(--paper2);
  border-radius:14px;
  padding:24px 26px;
  box-shadow:0 8px 24px rgba(0,0,0,.3);
  font-family:system-ui,sans-serif;
  font-size:13.5px;
  line-height:1.7;
  color:#3a332b;
}
section.about h3{
  font-family:Georgia,serif;
  font-size:16px;
  margin:0 0 10px;
  color:var(--accent);
}
section.about ul{margin:10px 0 0;padding-left:20px;}
section.about li{margin-bottom:5px;}

.legend-strip{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e2d9c4;
  font-size:12px;
}
.legend-strip span.sw{
  display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px;
}

footer{
  text-align:center;
  color:#a89b82;
  font-family:system-ui,sans-serif;
  font-size:11px;
  padding:18px;
}

@media (max-width:600px){
  header.site-header{padding:26px 16px 16px;}
  main{padding:24px 14px 40px;}
}
