
:root{
  --ink:#173b32;
  --ink-2:#244f45;
  --sage:#6f7959;
  --blue:#44677d;
  --gold:#d99a21;
  --cream:#f8f4eb;
  --paper:#fffdf8;
  --line:#d8d2c3;
  --text:#26352f;
  --muted:#69746f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",system-ui,sans-serif;color:var(--text);background:var(--paper);line-height:1.6}
h1,h2,h3{line-height:1.15;margin-top:0}
h1,h2{font-family:"Libre Baskerville",Georgia,serif;color:var(--ink)}
h1{font-size:clamp(2.6rem,7vw,5.6rem);max-width:900px;margin-bottom:1rem}
h2{font-size:clamp(2rem,4vw,3.4rem);margin-bottom:1rem}
h3{font-size:1.2rem}
p{margin-top:0}
a{color:inherit}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,253,248,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav-wrap{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:14px 24px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;color:var(--ink)}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:white}
.nav-links{display:flex;gap:22px}
.nav-links a{text-decoration:none;font-size:.95rem;font-weight:600}
.nav-links a:hover{color:var(--gold)}
.menu-button{display:none;background:none;border:1px solid var(--line);border-radius:8px;padding:8px 12px}
.hero{padding:42px 24px 84px;background:linear-gradient(180deg,#fbf7ee 0%,#fffdf8 100%)}
.hero-art{max-width:1160px;margin:0 auto 28px}
.hero-art img{display:block;width:100%;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px rgba(23,59,50,.08)}
.hero-copy{max-width:980px;margin:auto;text-align:center}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:700;font-size:.78rem;color:var(--gold)}
.hero-motto{font-size:clamp(1.25rem,3vw,2rem);font-weight:800;letter-spacing:.22em;color:var(--blue);margin:0 auto 6px}
.hero-theme{font-size:clamp(.9rem,2vw,1.2rem);font-weight:800;letter-spacing:.22em;color:var(--blue);margin:0 auto 24px}
.hero-theme span{color:var(--gold);padding:0 .3em}
.hero-lead{font-size:1.25rem;max-width:700px;margin:0 auto 28px;color:var(--muted)}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;font-weight:700;text-decoration:none;border:1px solid transparent;cursor:pointer;font:inherit}
.button.primary{background:var(--ink);color:white}
.button.primary:hover{background:var(--ink-2)}
.button.secondary{border-color:var(--ink);color:var(--ink);background:transparent}
.section{max-width:1160px;margin:auto;padding:82px 24px}
.section-tint{max-width:none;background:var(--cream)}
.section-tint>.split{max-width:1160px;margin:auto}
.section-dark{max-width:none;background:var(--ink);color:white}
.section-dark>.section-heading,.section-dark>.leaders{max-width:1160px;margin-left:auto;margin-right:auto}
.light h2,.section-dark h3{color:white}
.section-heading{max-width:760px;margin-bottom:34px}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.info-card,.program-card{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 12px 30px rgba(0,0,0,.04)}
.text-link{font-weight:700;color:var(--ink);text-decoration:none}
.text-link:hover{text-decoration:underline}
.split{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:start}
.join-form{background:white;border-radius:18px;padding:28px;border:1px solid var(--line);box-shadow:0 16px 40px rgba(0,0,0,.05)}
.join-form label{display:block;font-weight:600;margin-bottom:16px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
input,select,textarea{width:100%;margin-top:7px;padding:12px 13px;border-radius:10px;border:1px solid #b8beb9;background:#fff;font:inherit;color:var(--text)}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(217,154,33,.2);border-color:var(--gold)}
.consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important}
.consent input{width:auto;margin-top:5px}
.form-status{min-height:24px;margin-top:12px;font-weight:600}
.connect-card{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:24px}
.groupme-icon,.avatar{display:grid;place-items:center;border-radius:50%;font-weight:800}
.groupme-icon{width:58px;height:58px;background:var(--blue);color:white;font-size:1.4rem}
.centered{text-align:center;margin-top:12px}
.small{font-size:.88rem;color:var(--muted)}
.leaders{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.leader-card{border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:26px;background:rgba(255,255,255,.05)}
.avatar{width:70px;height:70px;background:var(--gold);color:var(--ink);font-size:1.4rem;margin-bottom:18px}
.headshot-placeholder{aspect-ratio:4/5;width:100%;max-width:190px;border-radius:14px;margin-bottom:18px;display:grid;place-items:center;border:1px dashed rgba(255,255,255,.35);background:rgba(255,255,255,.06);color:rgba(255,255,255,.65);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
.leader-contact{font-size:.86rem;color:rgba(255,255,255,.62)}
.leadership-note{max-width:1160px;margin:22px auto 0;color:rgba(255,255,255,.68);font-size:.92rem}
.callout-copy{max-width:700px;margin:0 auto 24px;color:var(--muted);font-size:1.08rem}
.program-card dl{margin:0}
.program-card dl div{display:grid;grid-template-columns:140px 1fr;gap:15px;padding:10px 0;border-bottom:1px solid var(--line)}
.program-card dt{font-weight:700}
.program-card dd{margin:0}
.program-date{color:var(--gold);font-weight:700}
.callout{text-align:center;padding-top:50px;padding-bottom:100px}
.callout h2{max-width:760px;margin-left:auto;margin-right:auto}
footer{border-top:1px solid var(--line);padding:32px 24px;display:flex;justify-content:space-between;gap:30px;max-width:1160px;margin:auto}
footer p{margin-bottom:0;max-width:560px}
@media(max-width:800px){
  .menu-button{display:block}
  .nav-links{display:none;position:absolute;top:63px;left:0;right:0;background:var(--paper);padding:18px 24px;border-bottom:1px solid var(--line);flex-direction:column}
  .nav-links.open{display:flex}
  .info-grid,.split,.leaders{grid-template-columns:1fr}
  .connect-card{grid-template-columns:auto 1fr}
  .connect-card .button{grid-column:1/-1}
  .field-row{grid-template-columns:1fr}
  footer{flex-direction:column}
}

/* Expanded join-the-ward survey */
.join-form fieldset{border:1px solid var(--line);border-radius:14px;padding:18px;margin:0 0 20px;background:#fffdf9}
.join-form legend{font-weight:700;color:var(--ink);padding:0 8px}
.join-form .check-option{display:flex;align-items:flex-start;gap:10px;font-weight:500;margin-bottom:9px}
.join-form .check-option input{width:auto;margin:4px 0 0;flex:0 0 auto}
.join-form .check-option span{flex:1}
.leader-button{margin-top:10px;background:var(--gold);color:var(--ink);font-size:.86rem;padding:9px 13px}
.bishop-appointment{max-width:1160px;margin:36px auto 0;border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:rgba(255,255,255,.06)}
.bishop-appointment h3{margin-bottom:8px}
.bishop-appointment p{margin-bottom:0}
.gold-button{background:var(--gold);color:var(--ink);white-space:nowrap}
@media(max-width:800px){.bishop-appointment{flex-direction:column;align-items:flex-start}.gold-button{white-space:normal}}

.form-help{margin:-2px 0 14px;color:var(--muted);font-size:.92rem;line-height:1.5}

/* Version 6 refinements */
.hero-motto{
  font-size:clamp(2rem,5.2vw,4.5rem);
  line-height:1.05;
  letter-spacing:.12em;
  font-weight:800;
  color:var(--blue);
  margin:0 auto 22px;
}
.bottom-belong{
  font-family:"Libre Baskerville",Georgia,serif;
  font-size:clamp(2.25rem,5vw,4.75rem);
  line-height:1.08;
  font-weight:700;
  color:var(--ink);
  margin:0 auto 30px;
}

/* Requested Version 6 hero text changes only */
.hero-welcome{
  font-size:1.05rem;
}
.ward-name{
  white-space:nowrap;
  font-size:clamp(2.35rem,5.2vw,5rem);
}
@media(max-width:700px){
  .ward-name{
    white-space:normal;
  }
}

.required-star{color:#a23b2a;font-weight:800}

/* Headshot images only — preserves the original Version 6 Survey Update 6 Connected layout */
.leader-headshot{
  aspect-ratio:4/5;
  width:100%;
  max-width:190px;
  border-radius:14px;
  margin-bottom:18px;
  display:block;
  object-fit:cover;
  object-position:center 35%;
}

/* Institute map page */
.map-link{display:inline-block;margin-top:8px}
.map-page{background:var(--paper)}
.map-intro{padding-bottom:28px;text-align:center}
.map-intro h1{font-size:clamp(2rem,4.5vw,4rem);margin-bottom:16px}
.map-intro p{max-width:760px;margin-left:auto;margin-right:auto}
.map-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.map-display{max-width:1180px;margin:0 auto 80px;padding:0 24px}
.map-display img{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:18px;background:white}

.meeting-map-link{
  color: inherit;
  text-decoration: none;
}
.meeting-map-link:hover,
.meeting-map-link:focus{
  text-decoration: underline;
}

/* Keep both location links compact under the Location heading. */
.info-card a.text-link{
  display: block;
  width: fit-content;
  margin-top: 8px;
}

/* Keep the ward theme on one line on normal desktop/tablet widths. */
.theme-one-line{
  white-space: nowrap;
  font-size: clamp(1.55rem, 4vw, 3.5rem);
}
@media (max-width: 520px){
  .theme-one-line{
    font-size: clamp(1.25rem, 6.2vw, 1.9rem);
  }
}


/* Mobile optimization pass — desktop layout remains unchanged */
@media (max-width: 700px){
  .section{padding-top:52px;padding-bottom:52px;}
  .hero{padding-top:24px;padding-bottom:44px;}
  .hero-art{margin-bottom:18px;}
  .hero-copy{padding-left:4px;padding-right:4px;}
  .hero-copy .eyebrow{font-size:.88rem;}
  .ward-name{font-size:clamp(2rem,10vw,3.15rem);line-height:1.05;}
  .hero-lead{font-size:1.05rem;margin-bottom:22px;}

  .theme-one-line{
    white-space:nowrap;
    font-size:clamp(1.2rem,6.1vw,1.85rem);
    letter-spacing:-.01em;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
    max-width:420px;
    margin-left:auto;
    margin-right:auto;
  }
  .hero-actions .button,
  .hero-actions .gold-button{
    width:100%;
    min-height:48px;
  }

  .info-grid{gap:14px;}
  .info-card{padding:20px;}

  .leaders{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .leader-card{padding:16px;}
  .leader-headshot{
    width:82px;
    height:82px;
    margin-bottom:12px;
  }
  .leader-card h3{font-size:1rem;}
  .leader-card p,
  .leader-card a{font-size:.84rem;}

  .text-link,
  .leader-card a,
  .meeting-map-link{
    display:inline-block;
    padding-top:6px;
    padding-bottom:6px;
  }

  .join-section,
  .section-tint{
    padding-top:48px;
    padding-bottom:48px;
  }
  .join-form{padding:20px;}

  input,
  select,
  textarea{
    min-height:46px;
    font-size:16px;
  }
  textarea{min-height:110px;}

  .map-display{
    padding-left:10px;
    padding-right:10px;
    margin-bottom:44px;
  }
  .map-display img{border-radius:12px;}

  footer{
    padding-top:24px;
    padding-bottom:24px;
  }
}

@media (max-width: 430px){
  .leaders{grid-template-columns:1fr;}
  .leader-card{
    max-width:360px;
    margin-left:auto;
    margin-right:auto;
    width:100%;
  }
  .theme-one-line{
    font-size:clamp(1.08rem,5.8vw,1.55rem);
  }
}
