/* Holy and Blameless — shares the ink / vine palette with the ministry systems so the family reads as one. */
:root {
  --paper: #FFFFFF;
  --stone: #EEF0EB;
  --ink: #1C2433;
  --ink-2: #3A4354;
  --muted: #5E6776;
  --line: #D6DAD1;
  --vine: #2F6248;
  --vine-ink: #234A36;
  --vine-soft: #DCE8E0;
  --linen: #F4EAD2;
  --brass: #96690F;
  --serif: 'Spectral', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 64ch;
  --pad: clamp(16px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--vine); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--vine); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font: 600 20px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: .005em; display: flex; align-items: center; gap: 10px; }
.wordmark-mark { width: 26px; height: 26px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; font: 600 15px/1.2 var(--sans);
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); text-decoration: none !important; }
.btn-light { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-light:hover { background: var(--stone); border-color: var(--ink-2); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* hero: the name, set as the page's one bold gesture */
.hero { padding: clamp(56px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(54px, 11.5vw, 156px); line-height: .92; letter-spacing: -0.025em; font-weight: 600; }
.hero h1 span { display: block; }
.hero h1 .line-2 { padding-left: clamp(0px, 9vw, 150px); color: var(--vine); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 6vw, 80px); margin-top: clamp(32px, 5vw, 56px); align-items: end; }
.mission { font: 500 clamp(22px, 2.6vw, 30px)/1.3 var(--serif); color: var(--ink); margin: 0; max-width: 24ch; }
.verse { border-left: 3px solid var(--brass); padding-left: 18px; font: 400 18px/1.55 var(--serif); color: var(--ink-2); margin: 0; max-width: 46ch; }
.verse cite { display: block; font: 600 14px/1.4 var(--sans); font-style: normal; color: var(--muted); margin-top: 8px; }

/* sections */
.band { background: var(--vine); color: #fff; }
.band .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-stone { background: var(--stone); }
.section h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; letter-spacing: -0.01em; }
.lead { font: 400 21px/1.55 var(--serif); color: var(--ink-2); max-width: var(--measure); }
.prose p { font: 400 19px/1.7 var(--serif); max-width: var(--measure); }

.calling { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.calling h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); }
.calling .prose p { color: #E6EEE9; }
.calling .prose strong { color: #fff; font-weight: 600; }

.marks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.28); }
.marks li { padding: 20px 24px 0 0; }
.marks li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.28); }
.marks h3 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.marks p { color: #D3E1D8; font-size: 16px; margin: 0; }

.pods { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pod { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pod h3 { font-size: 26px; }
.pod p { margin: 6px 0 0; color: var(--ink-2); max-width: var(--measure); }
.status { font-size: 14px; font-weight: 600; color: var(--brass); white-space: nowrap; }
.pod-note { color: var(--muted); font-size: 15px; margin-top: 18px; }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact h2 { margin-bottom: 6px; }
.contact p { margin: 0; color: var(--ink-2); }

/* footer */
.site-foot { background: var(--ink); color: #C9D0DB; font-size: 15px; }
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.foot-name { font: 600 22px/1.2 var(--serif); color: #fff; margin-bottom: 4px; }
.site-foot a { color: #fff; }
.foot-links { display: flex; gap: 20px; }

/* systems launcher */
.sys-head { padding: clamp(40px, 7vw, 80px) 0 28px; }
.sys-head h1 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -0.015em; margin-bottom: 10px; }
.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding-bottom: 72px; }
.sys { border: 1px solid var(--line); border-top: 4px solid var(--vine); border-radius: 10px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); }
.sys.building { border-top-color: var(--brass); }
.sys h2 { font-size: 25px; }
.sys-purpose { font-weight: 600; color: var(--ink-2); font-size: 15px; }
.sys-desc { color: var(--muted); font-size: 15px; flex: 1; margin: 6px 0 14px; }
.sys-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sys-foot .btn { flex: none; }
.sys-host { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.sys-help { border-top: 1px solid var(--line); padding: 28px 0 64px; color: var(--ink-2); font-size: 15px; max-width: var(--measure); }
.sys-help h2 { font-size: 22px; margin-bottom: 8px; }

.notfound { padding: 120px 0; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 12px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav a:not(.btn) { display: none; }
  .hero-foot, .calling { grid-template-columns: 1fr; }
  .marks { grid-template-columns: 1fr; }
  .marks li, .marks li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .pod { grid-template-columns: 1fr; }
  .prose p { font-size: 18px; }
}
