/* Stewardship Spot — Brand styles */
:root{
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text: #0F172A;      /* slate-900 */
  --muted: #475569;     /* slate-600 */
  --border: rgba(15, 23, 42, 0.10);

  /* Brand palette: 2 primary + 1 accent */
  --primary: #0F2D3F;   /* deep navy */
  --primary-2: #2F6B5B; /* calm evergreen */
  --accent: #F4B740;    /* warm amber */

  --primary-soft: rgba(15, 45, 63, 0.08);
  --accent-soft: rgba(244, 183, 64, 0.18);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);

  --max: 1120px;

  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background: radial-gradient(900px 500px at 10% -5%, rgba(47,107,91,0.18), transparent 55%),
              radial-gradient(800px 520px at 95% 0%, rgba(244,183,64,0.22), transparent 50%),
              var(--bg);
  line-height:1.55;
}

img{max-width:100%; height:auto}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:20;
  background: rgba(247,248,250,0.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-head);
  letter-spacing:-0.02em;
}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display:grid; place-items:center;
  box-shadow: 0 10px 18px rgba(15,45,63,0.18);
}
.brand-mark span{
  font-family:var(--font-head);
  color:white; font-weight:700;
  font-size:18px; line-height:1;
}
.brand-name{font-size:18px}
.brand-name b{color:var(--primary)}
.brand-name i{font-style:normal; color:var(--primary-2)}

.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:550; font-size:14px; padding:10px 10px; border-radius:12px}
.nav a[aria-current="page"], .nav a:hover{color:var(--text); background:rgba(15,45,63,0.06); text-decoration:none}

.header-cta{display:flex; gap:10px; align-items:center}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:650;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{transform: translateY(1px)}
.btn-primary{
  background: linear-gradient(135deg, var(--primary), #123A52);
  color:white;
  box-shadow: 0 12px 26px rgba(15,45,63,0.18);
}
.btn-primary:hover{background: linear-gradient(135deg, #0D2737, #133F5A); text-decoration:none}
.btn-secondary{
  background: var(--surface);
  border-color: rgba(15,45,63,0.18);
  color: var(--primary);
}
.btn-secondary:hover{background: rgba(15,45,63,0.06); text-decoration:none}
.btn-accent{
  background: linear-gradient(135deg, var(--accent), #FFCF6E);
  color: #1F2937;
  box-shadow: 0 12px 26px rgba(244,183,64,0.22);
}

.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(47,107,91,0.12);
  color: var(--primary-2);
  font-weight:650;
  font-size:12px;
  border:1px solid rgba(47,107,91,0.18);
}

/* Hero */
.hero{padding:42px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1.25fr 0.75fr; gap:22px; align-items:stretch}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero h1{
  font-family:var(--font-head);
  font-size: 44px;
  line-height:1.08;
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}
.hero p{color:var(--muted); font-size:16px; margin:0 0 16px}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

.hero-side{
  background: linear-gradient(180deg, rgba(15,45,63,0.95), rgba(47,107,91,0.92));
  color: white;
  border-radius: var(--radius);
  padding: 22px;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 42px rgba(15,45,63,0.20);
}
.hero-side h3{font-family:var(--font-head); margin:0 0 10px; font-size:20px}
.hero-side p{margin:0 0 12px; color: rgba(255,255,255,0.85)}
.kpi{display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-top:14px}
.kpi .k{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 12px;
}
.kpi .num{font-weight:800; font-size:16px}
.kpi .lbl{font-size:12px; color: rgba(255,255,255,0.8)}

/* Sections */
.section{padding: 22px 0}
.section h2{font-family:var(--font-head); font-size:28px; margin:0 0 12px}
.section p.lead{color:var(--muted); margin:0 0 18px}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}
.card h3{margin:10px 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}

.icon{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(244,183,64,0.18);
  border: 1px solid rgba(244,183,64,0.28);
}
.icon svg{width:20px; height:20px}

.about-box{display:grid; grid-template-columns: 1fr 1fr; gap:14px}

/* Blog cards */
.blog-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.post-card{overflow:hidden; padding:0}
.post-card .thumb{aspect-ratio: 16/9; background: var(--primary-soft); border-bottom: 1px solid var(--border)}
.post-card .body{padding:16px}
.post-card h3{margin:10px 0 6px}
.post-card p{margin:0; color:var(--muted)}

/* Article page */
.article-wrap{display:grid; grid-template-columns: 1fr 320px; gap:16px; align-items:start}
.article{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.article h1{font-family:var(--font-head); margin:8px 0 6px; font-size:38px; line-height:1.15}
.article .meta{color:var(--muted); font-size:13px; display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.article .meta .dot{opacity:0.5}
.article .featured{margin:14px 0; border-radius: 18px; overflow:hidden; border:1px solid var(--border)}
.article h2{font-family:var(--font-head); margin-top:22px}
.article h3{margin-top:18px}
.article ul{padding-left:18px}
.article li{margin: 6px 0}
.article blockquote{
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(244,183,64,0.12);
  border-radius: 14px;
  color: rgba(15,23,42,0.92);
}

.sidebar{
  position:sticky; top:86px;
  background: rgba(255,255,255,0.92);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.sidebar h3{margin:0 0 10px; font-size:14px; letter-spacing:0.02em; text-transform:uppercase; color:var(--muted)}
.sidebar a{display:block; padding:10px 10px; border-radius:12px; color:var(--text)}
.sidebar a:hover{background: rgba(15,45,63,0.06); text-decoration:none}

/* Forms */
.form{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
label{font-weight:650; font-size:13px}
input, textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.16);
  font: inherit;
  background: rgba(255,255,255,0.95);
}
textarea{min-height: 120px; resize:vertical}
.helper{color:var(--muted); font-size:13px}

/* Footer */
.footer{padding: 24px 0 38px; color:var(--muted)}
.footer .inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid var(--border); padding-top:18px}
.footer a{color:var(--muted)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr;}
  .grid-3{grid-template-columns: 1fr;}
  .blog-grid{grid-template-columns: 1fr;}
  .about-box{grid-template-columns: 1fr;}
  .article-wrap{grid-template-columns: 1fr;}
  .sidebar{position:relative; top:auto}
  .hero h1{font-size: 36px;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}
