:root {
  --green: #1B5E20;
  --green-deep: #194F21;
  --light-green: #4CAF50;
  --orange: #FF9800;
  --ink: #212121;
  --muted: #59625B;
  --edge: #E0E8DF;
  --canvas: #F5F6F3;
  --white: #FFFFFF;
  --pale-green: #F0F6EF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Lato, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 7px; }
.line-icon { display: block; width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.page-shell { width: min(100% - 48px, 1080px); margin: 0 auto; }
.church-header { display: flex; justify-content: center; padding: 28px 0 27px; }
.church-identity { display: flex; flex-direction: column; align-items: center; width: fit-content; text-align: center; line-height: 1.24; }
.church-identity:hover .church-name { color: var(--green); }
.church-logo { display: block; width: 178px; height: auto; object-fit: contain; margin-bottom: 1px; }
.church-name { white-space: nowrap; font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.church-location { margin-top: 4px; font-size: 12px; color: #58655A; letter-spacing: .075em; text-transform: uppercase; }
.hero-card { background: var(--white); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; display: flex; }
.portrait-area { background: #393736; flex: 0 0 43%; width: 43%; min-height: 485px; overflow: hidden; }
.portrait-area img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: 50% 0%; }
.intro-area { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: start; justify-content: center; padding: 44px clamp(30px, 4.6vw, 64px); }
.eyebrow, .section-overline { font-family: Lato, Arial, sans-serif; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .19em; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(36px, 4.25vw, 57px); line-height: 1.03; letter-spacing: -.04em; font-weight: 900; margin: 9px 0 15px; }
h1 span { display: block; }
.role-line { display: inline-flex; gap: 9px; align-items: center; color: var(--green); font-weight: 700; font-size: 15px; white-space: nowrap; }
.role-dot { height: 7px; width: 7px; background: var(--orange); display: inline-block; border-radius: 50%; }
.handwritten { font-family: Kalam, Lato, Arial, sans-serif; font-weight: 700; color: var(--green); font-size: clamp(23px, 2.5vw, 30px); margin: 22px 0 5px; line-height: 1.3; }
.welcome-copy { color: #404C42; max-width: 380px; font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.save-contact { background: var(--green); color: white; border-radius: 12px; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 375px; min-height: 60px; padding: 14px 17px; font-size: 16px; font-weight: 900; justify-content: flex-start; transition: background .16s ease, transform .16s ease; }
.save-contact:hover { background: var(--green-deep); transform: translateY(-1px); }
.save-contact .end-icon { width: 20px; height: 20px; margin-left: auto; opacity: .88; }
.contact-tip { color: #687369; font-size: 12px; margin: 9px 0 0; }
.bottom-grid { display: flex; gap: 20px; margin-top: 20px; align-items: stretch; }
.contact-panel, .church-panel { flex: 1; min-width: 0; border-radius: 20px; padding: 29px 32px 27px; border: 1px solid var(--edge); }
.contact-panel { background: white; }
.section-heading h2, .church-panel-heading h2 { margin: 7px 0 2px; font-size: 28px; line-height: 1.24; letter-spacing: -.025em; font-weight: 900; }
.section-heading p, .church-panel-heading p { color: var(--muted); font-size: 15px; line-height: 1.53; margin: 0 0 20px; }
.quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.quick-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 90px; border: 1px solid #CFE0CD; border-radius: 12px; color: var(--green); font-size: 14px; font-weight: 900; background: #fff; transition: border .16s ease, background .16s ease; }
.quick-action:hover { background: var(--pale-green); border-color: #7FB481; }
.quick-action .line-icon { width: 24px; height: 24px; }
.facebook-link { display: flex; gap: 10px; justify-content: center; align-items: center; min-height: 47px; margin-top: 12px; border: 1px solid #E3E8E1; border-radius: 11px; background: #F5F7F4; color: #234D29; font-size: 14px; font-weight: 700; padding: 10px; transition: background .16s ease; }
.facebook-link:hover { background: #EAF2E9; }
.fb-icon { width: 21px; height: 21px; display: block; fill: currentColor; stroke: none; flex: none; }
.facebook-link .fb-arrow { width: 16px; height: 16px; opacity: .7; }
.contact-detail { margin-top: 24px; padding-top: 19px; border-top: 1px solid #EDF0EB; display: flex; flex-direction: column; align-items: start; gap: 2px; }
.detail-label { font-size: 10px; font-weight: 900; letter-spacing: .14em; color: var(--muted); }
.contact-detail a { font-size: 15px; overflow-wrap: anywhere; color: var(--green); font-weight: 700; }
.contact-detail a:hover, .site-footer a:hover { text-decoration: underline; }
.email-label { margin-top: 11px; }
.church-panel { background: var(--pale-green); border-color: #DCE8D8; }
.church-panel-heading h2 { color: var(--green); }
.church-panel-heading p { color: #415847; }
.church-links { display: flex; flex-direction: column; gap: 8px; }
.church-links a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; min-height: 53px; background: white; border: 1px solid #D5E2D2; border-radius: 11px; color: #214E2A; font-weight: 700; font-size: 15px; transition: border .16s ease, background .16s ease; }
.church-links a:hover { background: #FAFFFA; border-color: #79B37A; }
.church-links .line-icon { width: 20px; height: 20px; }
.church-links .link-chevron { width: 17px; height: 17px; margin-left: auto; color: #799780; }
.church-address { font-size: 12px; color: #5A705E; line-height: 1.55; margin: 15px 0 0; }
.site-footer { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; color: #616F65; font-size: 12px; padding: 28px 0 32px; }
.site-footer a { color: var(--green); font-weight: 700; }
@media (max-width: 760px) {
  .page-shell { width: min(100% - 30px, 545px); }
  .church-header { padding: 23px 0 21px; }
  .church-logo { width: 164px; }
  .church-name { white-space: nowrap; font-size: 15px; }
  .hero-card { flex-direction: column; border-radius: 20px; }
  .portrait-area { flex: none; width: 100%; min-height: unset; height: clamp(225px, 64vw, 310px); }
  .portrait-area img { object-position: 50% 0%; }
  .intro-area { padding: 28px 27px 28px; }
  h1 { font-size: clamp(35px, 9.2vw, 47px); margin: 8px 0 12px; }
  h1 span { display: inline; }
  .handwritten { margin-top: 17px; font-size: 26px; }
  .welcome-copy { font-size: 15px; margin-bottom: 18px; line-height: 1.55; }
  .save-contact { max-width: unset; min-height: 59px; }
  .bottom-grid { flex-direction: column; gap: 16px; margin-top: 16px; }
  .contact-panel, .church-panel { padding: 27px 26px; }
  .section-heading h2, .church-panel-heading h2 { font-size: 26px; }
}
@media (max-width: 380px) {
  .page-shell { width: min(100% - 24px, 545px); }
  .intro-area { padding: 24px 22px; }
  .contact-panel, .church-panel { padding: 23px 20px; }
  .contact-detail a { font-size: 14px; }
  .facebook-link { font-size: 13px; }
  .quick-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Small, nonblocking mobile invitation to save Joshua's contact details. */
.contact-nudge[hidden] { display: none !important; }
.contact-nudge { display: none; }
@media (max-width: 760px) and (pointer: coarse) {
  .contact-nudge {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 20;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(420px, calc(100% - 24px));
    padding: 22px 18px 13px;
    background: #fff;
    border: 1px solid #D7E4D4;
    border-radius: 19px;
    box-shadow: 0 8px 28px rgba(19, 50, 26, .15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 30px));
    transition: transform .32s ease, opacity .26s ease, visibility .26s ease;
  }
  .contact-nudge.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .contact-nudge-close {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    border-radius: 9px;
    color: #536357;
    cursor: pointer;
  }
  .contact-nudge-close svg { width: 18px; height: 18px; }
  .contact-nudge-close:hover { background: #F0F6EF; }
  .contact-nudge-person { display: flex; gap: 13px; align-items: center; padding-right: 13px; }
  .contact-nudge-person img { width: 60px; height: 60px; object-fit: cover; border-radius: 13px; flex: none; }
  .contact-nudge h2 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; color: #204B25; font-weight: 900; }
  .contact-nudge p { margin: 0; font-size: 13px; line-height: 1.42; color: #445148; }
  .contact-nudge-save {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 17px;
    padding: 11px 13px;
    border-radius: 10px;
    background: var(--green);
    color: white;
    font-size: 15px;
    font-weight: 900;
  }
  .contact-nudge-save svg { width: 21px; height: 21px; flex: none; }
  .contact-nudge-save:hover { background: var(--green-deep); }
  .contact-nudge-later {
    align-self: center;
    min-height: 43px;
    margin-top: 2px;
    padding: 9px 17px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #526456;
    font: 700 13px Lato, Arial, sans-serif;
    cursor: pointer;
  }
  .contact-nudge-later:hover { background: #F0F6EF; }
  .contact-nudge :is(button, a):focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
}
@media (max-width: 350px) and (pointer: coarse) {
  .contact-nudge { padding: 18px 15px 9px; }
  .contact-nudge-person img { width: 54px; height: 54px; }
  .contact-nudge h2 { font-size: 17px; }
  .contact-nudge p { font-size: 12px; }
}
