:root{--wine:#6f1d2b;--wine2:#4e121d;--cream:#f7f2e8;--ink:#26221f;--gold:#b89255;--green:#3f5d4a;--muted:#6c665f;--white:#fff;--shadow:0 12px 30px rgba(0,0,0,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Georgia,'Times New Roman',serif;color:var(--ink);line-height:1.65;background:#fff}a{color:var(--wine);text-decoration-thickness:1px;text-underline-offset:3px}img{max-width:100%;display:block}.container{width:min(1120px,92%);margin:auto}.demo{background:#1f2933;color:white;padding:.65rem 0;font-family:Arial,sans-serif;font-size:.88rem}.demo strong{color:#ffe8a3}.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid #ddd}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:78px}.brand{font-size:1.15rem;font-weight:700;color:var(--wine2);text-decoration:none}.menu{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;font-family:Arial,sans-serif;font-size:.92rem}.menu a{text-decoration:none;color:#342e2a}.menu .visit{background:var(--wine);color:#fff;padding:.7rem 1rem;border-radius:5px}.hero{min-height:650px;background:linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.15)),url('assets/images/churchbuilding.jpg') center/cover;display:flex;align-items:center;color:#fff}.hero-content{max-width:700px;padding:4rem 0}.eyebrow{font-family:Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;font-size:.82rem;font-weight:700}.hero h1{font-size:clamp(2.7rem,6vw,5.1rem);line-height:1.02;margin:.35rem 0 1rem}.hero p{font-size:1.25rem;max-width:650px}.buttons{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.5rem}.btn{display:inline-block;padding:.85rem 1.15rem;border-radius:5px;text-decoration:none;font-family:Arial,sans-serif;font-weight:700}.btn-primary{background:var(--wine);color:white}.btn-light{background:white;color:var(--wine2)}.btn-outline{border:2px solid currentColor}.section{padding:4.5rem 0}.section.alt{background:var(--cream)}.section.dark{background:var(--wine2);color:#fff}.section h1,.section h2{line-height:1.15;color:var(--wine2)}.section.dark h2{color:#fff}.section h2{font-size:clamp(2rem,4vw,3.1rem);margin:.2rem 0 1rem}.lead{font-size:1.16rem}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}.card{background:white;border:1px solid #e2ddd5;border-radius:8px;padding:1.4rem;box-shadow:0 4px 16px rgba(0,0,0,.05)}.times{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.5rem}.time{background:#fff;border-top:4px solid var(--wine);padding:1.2rem;text-align:center;box-shadow:var(--shadow)}.time strong{display:block;font-size:1.2rem}.photo{border-radius:8px;box-shadow:var(--shadow)}.badge{display:inline-block;font:700 .72rem Arial,sans-serif;letter-spacing:.08em;padding:.32rem .52rem;border-radius:4px;margin-bottom:.6rem}.verified{background:#e7f4e9;color:#245b30}.review{background:#fff0c9;color:#6c4c00}.placeholder{background:#f1e5e8;color:#6f1d2b}.callout{border-left:5px solid var(--gold);padding:1rem 1.3rem;background:#fffaf0;margin:1.5rem 0}.quote{font-size:1.08rem;padding:1.2rem 1.4rem;border-left:4px solid var(--gold);background:#fbf8f1}.scripture-link{font-family:Arial,sans-serif;font-weight:700}.map{width:100%;height:430px;border:0;border-radius:8px}.faq details{border-bottom:1px solid #ddd;padding:1rem 0}.faq summary{font-weight:700;cursor:pointer}.page-hero{padding:5rem 0;background:var(--cream);border-bottom:1px solid #e2ddd5}.page-hero h1{font-size:clamp(2.6rem,5vw,4.4rem);margin:.3rem 0;color:var(--wine2)}.placeholder-box{border:2px dashed #b78b94;background:#fff8fa;padding:2rem;border-radius:8px}.footer{background:#201b19;color:#eee;padding:3rem 0}.footer a{color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.small{font-size:.9rem;color:var(--muted)}.dark .small{color:#ddd}@media(max-width:850px){.nav-inner{align-items:flex-start;padding:1rem 0}.menu{gap:.6rem}.grid-2,.grid-3,.times,.footer-grid{grid-template-columns:1fr}.hero{min-height:560px}.menu a{font-size:.84rem}.map{height:340px}}

/* Members Area Prototype */
.member-signin{background:linear-gradient(135deg,#eef4f3,#faf7f0);min-height:72vh;display:grid;place-items:center}.signin-card{max-width:560px;margin:auto;background:#fff;border:1px solid var(--border);border-radius:14px;padding:42px;box-shadow:0 12px 35px rgba(20,50,60,.09);text-align:center}.lock-icon{font-size:36px}.signin-card label,.modal-card label{display:block;text-align:left;font-weight:700;margin:16px 0 6px}.signin-card input,.modal-card textarea,.modal-card select,#memberSearch{width:100%;padding:12px;border:1px solid var(--border);border-radius:7px;font:inherit}.signin-card .btn{width:100%;margin-top:20px}.prototype-note,.consent-note{margin:24px 0;padding:15px 18px;background:#fff7df;border-left:4px solid #b58b3c;border-radius:4px}.member-heading,.panel-heading{display:flex;justify-content:space-between;align-items:end;gap:28px}.member-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0;border-bottom:1px solid var(--border);padding-bottom:10px}.member-tab{border:0;border-radius:7px;padding:11px 16px;background:#edf3f3;color:var(--ink);font-weight:700;cursor:pointer}.member-tab.active{background:var(--navy);color:#fff}.member-panel{display:none}.member-panel.active{display:block}.member-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.member-card,.request-card,.care-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:22px;box-shadow:0 3px 14px rgba(20,50,60,.05)}.avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:800}.member-card small,.request-card small{color:var(--muted);font-weight:700}.request-list{display:grid;gap:16px}.request-card div{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}.care-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.care-status{display:inline-block;background:#e8f0f2;color:var(--navy);padding:5px 9px;border-radius:20px;font-size:12px;font-weight:800}.member-modal{position:fixed;inset:0;background:rgba(10,25,35,.65);display:grid;place-items:center;padding:20px;z-index:50}.member-modal[hidden]{display:none}.modal-card{position:relative;width:min(560px,100%);background:#fff;border-radius:12px;padding:30px}.modal-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:30px;cursor:pointer}.permission{display:flex!important;gap:10px;font-weight:400!important}.permission input{width:auto!important}.secondary{background:#fff!important;color:var(--navy)!important;border:1px solid var(--navy)!important}@media(max-width:900px){.member-grid{grid-template-columns:repeat(2,1fr)}.care-grid{grid-template-columns:1fr}}@media(max-width:600px){.signin-card{padding:28px 20px}.member-grid{grid-template-columns:1fr}.member-heading,.panel-heading{display:block}.panel-heading #memberSearch{margin-top:15px}.member-tab{flex:1 1 100%}}

.member-input{width:100%;padding:.75rem;border:1px solid #cfd8dc;border-radius:6px;margin:.35rem 0 1rem;font:inherit;background:#fff}
.role-tools{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.role-badge{background:#17354d;color:#fff;padding:.45rem .75rem;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.06em}
.permissions-box{margin:1.5rem 0;padding:1.25rem;background:#f2f6f7;border:1px solid #d8e1e4;border-radius:10px;display:grid;grid-template-columns:1.2fr 1fr;gap:1.5rem}
.permission-list{display:grid;gap:.4rem;align-content:center}.permission{background:#fff;border:1px solid #d8e1e4;border-radius:6px;padding:.45rem .65rem;font-size:.9rem}.permission.yes:before{content:"✓ ";color:#2f7754;font-weight:700}.permission.no{color:#6c777c}.permission.no:before{content:"— "}
.pastor-locked{opacity:.48}.leadership-tab[hidden]{display:none!important}@media(max-width:700px){.permissions-box{grid-template-columns:1fr}}

/* Members prototype navigation + role selector fixes */
.menu a.current-page{background:var(--wine);color:#fff;padding:.7rem 1rem;border-radius:5px}
.member-input{width:100%;padding:12px;border:1px solid var(--border);border-radius:7px;font:inherit;background:#fff}

/* Make the demonstration member-role choice especially easy to see. */
.role-selection-label{
  display:block;
  margin:20px 0 22px;
  padding:16px 18px 18px;
  background:#fff4d7;
  border:2px solid #b99049;
  border-radius:9px;
  text-align:left;
}
.role-selection-title{
  display:block;
  color:#17354d;
  font-weight:800;
  font-size:1rem;
  letter-spacing:.055em;
  margin-bottom:3px;
}
.role-selection-help{
  display:block;
  color:#4e5d65;
  font-weight:600;
  font-size:.94rem;
  margin-bottom:9px;
}
.role-select{
  min-height:50px;
  border:2px solid #356f8e !important;
  background:#fff !important;
  color:#17354d;
  font-weight:700;
  font-size:1.05rem;
  cursor:pointer;
}
.role-select:focus{
  outline:3px solid rgba(53,111,142,.24);
  outline-offset:2px;
}

/* Members sign-in accessibility pass: larger, clearer controls */
.member-signin form label,
#loginForm label{
  display:block;
  font-size:1.08rem;
  font-weight:700;
  color:#17354d;
  margin-top:18px;
}
.member-signin input,
#loginForm input{
  width:100%;
  min-height:56px;
  padding:14px 16px;
  margin-top:7px;
  border:2px solid #78909c;
  border-radius:8px;
  background:#fff;
  color:#17354d;
  font:600 1.08rem/1.2 "Source Sans 3", Arial, sans-serif;
}
.member-signin input:focus,
#loginForm input:focus{
  border-color:#356f8e;
  outline:4px solid rgba(53,111,142,.20);
  outline-offset:2px;
}
.role-selection-label{
  margin-top:24px;
  padding:20px 20px 22px;
}
.role-selection-title{
  font-size:1.12rem;
}
.role-selection-help{
  font-size:1rem;
  margin:5px 0 11px;
}
.role-select,
#demo-role{
  width:100%;
  min-height:60px;
  padding:14px 16px;
  border:3px solid #356f8e !important;
  border-radius:8px;
  font-size:1.15rem !important;
  font-weight:800;
}
#loginForm button[type="submit"],
.member-signin button[type="submit"]{
  width:100%;
  min-height:62px;
  margin-top:24px;
  padding:16px 22px;
  border-radius:8px;
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 4px 12px rgba(23,53,77,.16);
}
#loginForm button[type="submit"]:focus,
.member-signin button[type="submit"]:focus{
  outline:4px solid rgba(53,111,142,.25);
  outline-offset:3px;
}
@media(max-width:600px){
  .member-signin input,#loginForm input{min-height:58px;font-size:1.1rem}
  .role-select,#demo-role{min-height:62px;font-size:1.16rem!important}
  #loginForm button[type="submit"],.member-signin button[type="submit"]{min-height:64px;font-size:1.2rem}
}

/* Members area navigation: larger, high-visibility section buttons */
.member-tabs{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin:28px 0 30px;
}
.member-tab{
  min-height:72px;
  padding:16px 18px;
  border:2px solid #356f8e;
  border-radius:9px;
  background:#ffffff;
  color:#17354d;
  font-size:1.08rem;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  cursor:pointer;
  box-shadow:0 3px 9px rgba(23,53,77,.10);
  transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.member-tab:hover{
  background:#eaf2f6;
  box-shadow:0 5px 12px rgba(23,53,77,.14);
}
.member-tab:focus{
  outline:4px solid rgba(53,111,142,.24);
  outline-offset:3px;
}
.member-tab.active{
  background:#17354d;
  border-color:#17354d;
  color:#ffffff;
  box-shadow:0 5px 13px rgba(23,53,77,.22);
}
.member-tab.active::before{
  content:"✓ ";
  font-weight:900;
}
.member-tab.leadership-tab{
  grid-column:1 / -1;
  max-width:360px;
  width:100%;
  justify-self:center;
}
@media(max-width:720px){
  .member-tabs{
    grid-template-columns:1fr;
    gap:12px;
  }
  .member-tab,
  .member-tab.leadership-tab{
    width:100%;
    max-width:none;
    min-height:66px;
    font-size:1.1rem;
  }
}

/* Photos section */
.photos-hero{background:#eef6fb}.photo-album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.photo-album-card{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:0 4px 14px rgba(23,53,77,.09)}
.photo-placeholder{min-height:245px;background:linear-gradient(135deg,#e9f0f3,#dbe7ec);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 18px 20px;color:#17354d}
.placeholder-ribbon{position:absolute;left:0;top:18px;background:#ffe56b;padding:7px 12px;font-size:.78rem;font-weight:900;letter-spacing:.03em}.camera-mark{font-size:3.2rem;margin-bottom:8px}.photo-placeholder strong{font-size:1.05rem}.photo-placeholder small{margin-top:5px}
.photo-album-content{padding:20px}.photo-album-content h3{margin:0 0 5px}.photo-album-content h4{margin:0 0 12px;color:#356f8e}.event-note{background:#fff4d7;border-left:4px solid #b99049;padding:12px 14px;margin:15px 0;border-radius:6px}.album-facts{background:#eef6fb;padding:13px 15px;border-radius:7px;margin:15px 0;line-height:1.6}.photo-demo{width:100%;min-height:52px;font-size:1rem}.photo-return-note{margin-top:26px;background:#eef6fb;padding:18px 20px;border-radius:8px}
.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.photo-strip a{min-height:150px;border:2px solid #d5e2e8;border-radius:9px;background:#f4f8fa;padding:20px;text-align:center;text-decoration:none;color:#17354d;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(23,53,77,.07)}.photo-strip a:hover{border-color:#356f8e;background:#eaf3f7}.photo-strip span{font-size:2.2rem}.photo-strip strong{font-size:1.08rem;margin:8px 0 3px}.photo-strip small{color:#66747d}
@media(max-width:850px){.photo-album-grid,.photo-strip{grid-template-columns:1fr}.photo-placeholder{min-height:200px}}
