:root {
  --forest: #1f4d3d;
  --forest-dark: #143329;
  --burgundy: #9c2c5c;
  --burgundy-dark: #7a2048;
  --cream: #faf7f1;
  --cream-2: #f2ece0;
  --ink: #22221f;
  --ink-soft: #55554f;
  --border: #e4ddce;
  --radius: 14px;
  --max: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Georgia", "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Iowan Old Style", Georgia, serif; line-height: 1.2; margin: 0 0 0.5em; color: var(--forest-dark); }
p { margin: 0 0 1em; }
a { color: var(--burgundy); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sans { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 84px; width: auto; display: block; }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 8px 14px; border-radius: 8px;
}
nav.main-nav a:hover { background: var(--cream-2); }
nav.main-nav a.current { color: var(--burgundy); }
nav.main-nav a.btn-primary { color: #fff; }
nav.main-nav a.btn-primary:hover { color: #fff; }
.btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-dark); }
.btn-outline { border-color: var(--forest); color: var(--forest-dark); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }
nav.main-nav .btn { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--forest-dark); cursor: pointer; }

@media (max-width: 860px) {
  nav.main-nav { position: fixed; inset: 66px 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 12px 24px; gap: 2px; transform: translateY(-110%); transition: transform 0.25s ease; border-top: 1px solid var(--border); }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--border); border-radius: 0; }
  nav.main-nav .btn { margin: 12px 6px 0; text-align: center; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background:
    linear-gradient(155deg, rgba(31,77,61,0.93) 0%, rgba(20,51,41,0.94) 65%, rgba(15,38,30,0.96) 100%),
    url("img/hero-hands.jpg");
  background-size: cover;
  background-position: center 30%;
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(122,32,72,0.35), transparent 70%);
}
.hero .wrap { position: relative; }
.eyebrow {
  font-family: -apple-system, sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: #e7c8d3; margin-bottom: 18px; display: inline-block;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); color: #fff; max-width: 16ch; }
.hero .lede { font-size: 1.2rem; max-width: 46ch; color: rgba(255,255,255,0.88); font-style: italic; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-actions .btn { padding: 13px 26px; font-size: 0.98rem; }

.stat-strip { background: var(--cream-2); border-bottom: 1px solid var(--border); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 24px; }
.stat { text-align: center; }
.stat .num { font-family: Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--burgundy); }
.stat .label { font-family: -apple-system, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 700px) { .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { padding: 76px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .kicker { font-family: -apple-system, sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 700; color: var(--burgundy); margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.alt-bg { background: var(--cream-2); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
}
.focus-card { padding: 0; display: flex; flex-direction: column; }
.focus-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.focus-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.focus-card .body { padding: 20px 22px 24px; }
.focus-card .icon {
  width: 40px; height: 40px; border-radius: 9px; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--forest);
}
.focus-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.focus-card p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 0; }

.project-card { display: flex; flex-direction: column; padding: 0; }
.project-card .thumb { aspect-ratio: 3/2; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card .body { padding: 24px 24px 28px; }
.project-card .tag {
  font-family: -apple-system, sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--forest); background: var(--cream-2); align-self: flex-start;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.project-card h3 { font-size: 1.2rem; }
.project-card .partner { font-family: -apple-system, sans-serif; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px; }
.project-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0; }
.project-card.no-photo .body { padding: 28px 24px; justify-content: center; height: 100%; display: flex; flex-direction: column; }

.photo-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--forest); aspect-ratio: 4/3; position: relative; }
.photo-frame svg, .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aside-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; aspect-ratio: 4/3; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cta-band.with-photo {
  background:
    linear-gradient(155deg, rgba(156,44,92,0.55), rgba(122,32,72,0.62)),
    var(--cta-photo, none);
  background-size: cover;
  background-position: center;
}
.cta-band.with-photo h2, .cta-band.with-photo p { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }

.cta-band { background: var(--burgundy); color: #fff; text-align: center; border-radius: 20px; padding: 56px 32px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 24px; }

/* Footer */
footer.site-footer { background: var(--forest-dark); color: rgba(255,255,255,0.82); padding: 52px 0 30px; }
footer.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
footer.site-footer h4 { color: #fff; font-family: -apple-system, sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; font-size: 0.92rem; }
footer.site-footer li a { text-decoration: none; color: rgba(255,255,255,0.82); }
footer.site-footer li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page header (non-home) */
.page-hero { background: var(--cream-2); padding: 54px 0; border-bottom: 1px solid var(--border); }
.page-hero .kicker { font-family: -apple-system, sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 700; color: var(--burgundy); display: block; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.page-hero p { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; margin-bottom: 0; }

/* Prose page bits */
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list a {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 0.95rem;
}
.doc-list a:hover { border-color: var(--forest); }
.doc-list .ext { font-family: -apple-system, sans-serif; font-size: 0.68rem; font-weight: 700; background: var(--forest); color: #fff; padding: 3px 7px; border-radius: 4px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact-form { display: grid; gap: 16px; font-family: -apple-system, sans-serif; }
form.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; font-family: -apple-system, sans-serif; font-size: 0.95rem; padding: 11px 13px;
  border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--ink);
}
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus { outline: 2px solid var(--forest); border-color: var(--forest); }
form.contact-form textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.contact-info-card { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { color: #fff; font-size: 1.1rem; }
.contact-info-card p, .contact-info-card a { color: rgba(255,255,255,0.88); }
.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 16px; font-family: -apple-system, sans-serif; font-size: 0.95rem; }

.form-note { font-family: -apple-system, sans-serif; font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.success-box { display: none; background: var(--cream-2); border: 1px solid var(--forest); border-radius: 10px; padding: 20px; font-family: -apple-system, sans-serif; }
