:root {
  --ink: #17130f;
  --muted: #6f675e;
  --paper: #fbf7ef;
  --line: rgba(23, 19, 15, 0.14);
  --blue: #2d6cdf;
  --red: #d94b38;
  --gold: #e0a72e;
  --green: #2d7d5f;
  --white: #fffdf8;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: 0.01em; }
.brand img { width: 44px; height: 44px; border-radius: 7px; }
.navlinks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.navlinks a, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.55);
}
.button.primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button.red { background: var(--red); color: #fff; border-color: var(--red); }
.button.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 850;
  color: var(--muted);
}
.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 76px 0 54px;
  border-top: 1px solid var(--line);
}
.hero h1 {
  margin: 12px 0 18px;
  max-width: 900px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}
.lead { max-width: 720px; font-size: clamp(1.05rem, 2vw, 1.45rem); color: #342d27; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.grid { display: grid; gap: 18px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 22px;
}
.card h2, .card h3 { margin: 0 0 10px; line-height: 1.05; }
.card p { margin: 0; color: var(--muted); }
.section { padding: 60px 0; border-top: 1px solid var(--line); }
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.section-title h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1; }
.visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(23, 19, 15, 0.18);
}
.visual .mark {
  position: absolute;
  width: 112px;
  height: 112px;
  left: 34px;
  bottom: 34px;
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
}
.footer { padding: 34px 0 60px; color: var(--muted); }
.directory-hero { padding: 76px 0 44px; }
.directory-hero h1 { margin: 12px 0 12px; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.9; }
.mockup-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}
.mockup-card:hover { transform: translateY(-3px); border-color: rgba(23, 19, 15, 0.34); }
.mockup-card .number { font-size: 0.78rem; font-weight: 850; color: var(--muted); }
.mockup-card h2 { font-size: 2rem; }
.palette { display: flex; gap: 6px; margin-top: 18px; }
.swatch { width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); }
.style-mission { background: #fff9ed; }
.style-publishing { background: #f3efe7; }
.style-pastoral { background: #eff7f4; }
.style-street { background: #f4efe6; }
.style-nonprofit { background: #f7f8fa; }

.mission .hero h1 span { color: var(--red); }

body.publishing { background: #f3efe7; color: #17130f; }
.publishing .hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
.publishing .button.primary { background: #3c2a1d; border-color: #3c2a1d; }

body.pastoral { background: #eef7f4; }
.pastoral .hero { min-height: 560px; }
.pastoral .hero h1 { max-width: 760px; color: #14382d; }
.pastoral .button.primary { background: #14382d; border-color: #14382d; }
.schedule { display: grid; gap: 10px; }
.slot { display: flex; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.7); }

body.street { background: #f4efe6; color: #101010; }
.street .navlinks a, .street .button { border: 2px solid #101010; box-shadow: 4px 4px 0 #101010; background: #fff; }
.street .button.primary { background: #101010; color: #fff; }
.street .button.red { background: #6e7378; color: #fff; }
.street .button.youtube-button {
  background: #d92424;
  color: #fff;
  box-shadow: 5px 5px 0 #b8b8b8;
}
.street .mockup4-nav {
  justify-content: flex-end;
  align-items: flex-end;
  width: calc(100% - 32px);
  max-width: none;
  margin-left: 16px;
  margin-right: 16px;
}
.street .mockup4-nav .brand { flex-direction: row-reverse; }
.street .mockup4-nav .brand { font-size: 1.08rem; }
.street .mockup4-nav .brand img { width: 52px; height: 52px; }
.street .sticker-label {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: rotate(-0.6deg);
}
.street .link-sticker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 3px solid #101010;
  box-shadow: 7px 7px 0 #101010;
  background: #fff;
  padding: 0;
  width: min(100%, 620px);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.street .link-sticker a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 13px;
  border-bottom: 2px solid #101010;
  color: #101010;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.street .link-sticker a:nth-child(odd) { border-right: 2px solid #101010; }
.street .link-sticker a:nth-last-child(-n+1) { border-bottom: 0; }
.street .link-sticker a:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.street .link-sticker a:hover {
  background: #101010;
  color: #fff;
}
.street .donate-wrap {
  width: min(100%, 620px);
  max-width: 620px;
  margin: 18px auto 4px;
  text-align: center;
}
.street .donate-button {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.92rem;
}
.street .footer {
  padding-top: 12px;
  padding-bottom: 40px;
  text-align: center;
}
.street .hero { border-top: 3px solid #101010; }
.street .section { max-width: 820px; }
.street .hero .wrap {
  max-width: 820px;
  text-align: left;
}
.street .hero h1 { font-weight: 950; text-transform: uppercase; }
.street .hero h1,
.street .lead {
  margin-left: 0;
  margin-right: auto;
}
.street .actions { justify-content: flex-start; }
.street .lead a {
  color: inherit;
  font-weight: 850;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.street .card, .street .visual { border: 3px solid #101010; box-shadow: 7px 7px 0 #101010; background: #fff; }

body.nonprofit { background: #f7f8fa; color: #172033; }
.nonprofit .hero { min-height: 540px; }
.nonprofit .hero h1 { max-width: 760px; font-size: clamp(2.9rem, 7vw, 6.4rem); }
.nonprofit .button.primary { background: #172033; border-color: #172033; }
.metric { font-size: 2.1rem; font-weight: 850; line-height: 1; margin-bottom: 8px; }

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .navlinks { justify-content: flex-start; }
  .street .mockup4-nav { align-items: flex-end; }
  .street .link-sticker {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    max-width: 420px;
  }
  .street .link-sticker a { border-right: 0 !important; }
  .street .link-sticker a:nth-last-child(2):nth-child(odd) { border-bottom: 2px solid #101010; }
  .street .donate-wrap {
    width: min(calc(100% - 32px), 420px);
    max-width: 420px;
  }
  .two, .three { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 48px 0 34px; }
  .section-title { display: block; }
  .mockup-card { min-height: 230px; }
}

/* JPSF masthead + One Way hand */
.street .hero-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: clamp(16px, 4vw, 48px); }
.street .hero h1.jp { margin: 0; }
.street .jpsf-big {
  display: block;
  font-size: clamp(5.5rem, 24vw, 13rem);
  line-height: .82;
  letter-spacing: -0.01em;
  color: #101010;
  text-shadow: .045em .045em 0 #d92424;
  margin: 12px 0 22px;
}
.street .h1-sub {
  display: block;
  font-size: clamp(1.35rem, 3.4vw, 2.5rem);
  line-height: 1;
}
.street .hero h1 { margin-bottom: 18px; }
.street .hand-tile { display: block; width: 76px; height: 76px; margin: 0 auto 18px; border: 1px solid #101010; border-radius: 15px; background: #fff; object-fit: contain; }
.street .donate-button { min-height: 52px; padding: 13px 34px; font-size: 1.15rem; align-items: center; }
.street .donate-wrap .charity-note { margin-top: 14px; }
.street .hero + .section { padding-top: 22px; }
.street .hand-tile { width: 112px; height: 112px; }
.street .donate-button { min-height: 64px; padding: 16px 52px; font-size: 1.4rem; box-shadow: 6px 6px 0 #fff, 6px 6px 0 2px #101010; }
.street .donate-wrap .charity-note { margin-top: 20px; }
.street .hand-tile { width: 160px; height: 160px; }
.street .hero + .section { padding-bottom: 0; }
.street .donate-wrap { margin-top: 40px; margin-bottom: 0; }
.street .footer { padding-top: 40px; }
.street .donate-button { min-height: 80px; padding: 20px 72px; font-size: 1.8rem; box-shadow: 7px 7px 0 #fff, 7px 7px 0 2px #101010; }
.street .jpsf-hand { display: inline-block; height: .741em; width: auto; vertical-align: baseline; margin-left: .06em; }
.street h2.sticker-label { margin-top: 0; }
.street .sticker-label-2 { margin-top: 36px !important; }
/* keyboard focus (WCAG 2.4.7), shows only when tabbing */
:focus-visible{outline:3px solid #101010;outline-offset:3px}
.link-sticker a:focus-visible{outline:3px solid #d92424;outline-offset:-5px}
.street .donate:focus-visible,.street .button:focus-visible{outline:3px solid #d92424;outline-offset:4px}
