:root{
  --navy:#17394a;--deep:#102c39;--ink:#18323d;--teal:#327f7b;--mint:#bcd9cf;--cream:#f5f0e6;
  --paper:#fffdf9;--gold:#d3a95b;--sky:#d8e9e7;--line:#d9e2df;--muted:#63747b;
  --radius:22px;--shadow:0 24px 70px rgba(16,44,57,.12);--shell:min(1180px,calc(100% - 40px));
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.ms-demo{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit}.ms-skip{position:absolute;left:-9999px;top:8px;background:white;padding:10px 14px;z-index:9999}.ms-skip:focus{left:8px}
.ms-shell{width:var(--shell);margin:auto}.ms-demo-banner{background:var(--deep);color:#fff;display:flex;justify-content:center;gap:12px;padding:7px 18px;font-size:12px;letter-spacing:.02em}.ms-demo-banner strong{color:#f0cd82}
.ms-header{position:sticky;top:0;z-index:50;background:rgba(255,253,249,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(23,57,74,.1)}
.ms-header__inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ms-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.ms-mark{width:40px;height:40px;border:2px solid var(--teal);border-radius:50%;display:grid;place-items:center;position:relative}.ms-mark span{position:absolute;width:17px;height:2px;background:var(--teal);border-radius:2px}.ms-mark span:nth-child(1){transform:rotate(0deg)}.ms-mark span:nth-child(2){transform:rotate(60deg)}.ms-mark span:nth-child(3){transform:rotate(-60deg)}
.ms-brand__text{display:flex;flex-direction:column;line-height:.9}.ms-brand__text strong{font-family:Georgia,serif;font-size:22px;font-weight:500}.ms-brand__text em{font-style:normal;text-transform:uppercase;font-size:9px;letter-spacing:.28em;color:var(--teal);margin-top:7px}
.ms-nav{display:flex;align-items:center;gap:22px}.ms-nav a{text-decoration:none;font-size:14px;font-weight:650}.ms-nav a[aria-current=page]{color:var(--teal)}.ms-nav__donate{color:var(--teal)}.ms-nav__request{background:var(--navy);color:white!important;padding:12px 16px;border-radius:999px}.ms-menu-toggle{display:none}
.ms-eyebrow,.ms-kicker{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800;color:var(--teal);margin:0 0 14px}.ms-kicker{text-align:center}.ms-lede,.ms-lede-sm{font-size:20px;color:#526971;max-width:720px}.ms-lede-sm{font-size:18px}.ms-btn{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-weight:750;border-radius:999px;padding:13px 18px;transition:.2s ease}.ms-btn svg,.ms-text-link svg,.ms-pathway-card strong svg,.ms-feature-grid a svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.ms-btn:hover{transform:translateY(-2px)}.ms-btn--primary{background:var(--navy);color:#fff}.ms-btn--secondary{border:1px solid #a9b8b7;background:transparent}.ms-btn--light{background:#fff;color:var(--navy)}.ms-actions{display:flex;gap:12px;flex-wrap:wrap}.ms-actions--center{justify-content:center}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.06;font-weight:500;margin:0 0 18px}h1{font-size:clamp(46px,6vw,82px);letter-spacing:-.045em}h1 span,h2 span{color:var(--teal)}h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.035em}h3{font-size:26px}p{margin:0 0 18px}
.ms-hero{padding:86px 0 70px;background:linear-gradient(135deg,#fbf7ef 0%,#f7fbf9 60%,#eaf4f2 100%);overflow:hidden}.ms-hero__grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:50px}.ms-hero__intro{font-size:20px;color:#51656d;max-width:670px}.ms-hero__copy h1 span{display:block}.ms-service-area{margin-top:24px;font-size:13px;color:#6b7e83;font-weight:650}
.ms-hero__visual{min-height:480px;display:grid;place-items:center}.ms-conversation{width:min(470px,100%);aspect-ratio:1;position:relative;border-radius:50%;background:radial-gradient(circle at center,rgba(188,217,207,.65),rgba(188,217,207,.08) 55%,transparent 56%)}.ms-person{position:absolute;top:36%;width:104px;height:104px;border-radius:50%;background:var(--navy);z-index:2}.ms-person:after{content:"";position:absolute;width:150px;height:150px;border:20px solid var(--navy);border-radius:50%;border-top-color:transparent;border-left-color:transparent;transform:rotate(45deg);top:82px;left:-24px}.ms-person--one{left:16%}.ms-person--two{right:16%;background:var(--teal)}.ms-person--two:after{border-right-color:var(--teal);border-bottom-color:var(--teal)}.ms-bridge{position:absolute;left:42%;top:41%;width:16%;height:4px;background:var(--gold);z-index:3}.ms-ripple{position:absolute;border:1px solid rgba(50,127,123,.35);border-radius:50%;inset:20%}.ms-ripple--2{inset:10%}.ms-ripple--3{inset:0}.ms-conversation p{position:absolute;bottom:8%;width:100%;text-align:center;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800}.ms-conversation b{color:var(--gold)}
.ms-pathways{padding:0 0 86px;background:linear-gradient(180deg,#eef5f2 0,#fffdf9 70%)}.ms-pathway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ms-pathway-card{background:#fff;padding:30px;border-radius:var(--radius);box-shadow:0 15px 50px rgba(16,44,57,.08);text-decoration:none;border:1px solid rgba(23,57,74,.08);transition:.2s}.ms-pathway-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.ms-icon{width:48px;height:48px;border-radius:50%;background:var(--sky);display:grid;place-items:center;margin-bottom:22px}.ms-icon svg{width:24px;height:24px;fill:none;stroke:var(--navy);stroke-width:1.7}.ms-pathway-card small{color:var(--teal);font-weight:800;text-transform:uppercase;letter-spacing:.12em}.ms-pathway-card h2{font-size:31px;margin-top:8px}.ms-pathway-card p{color:#63747b}.ms-pathway-card strong{display:flex;align-items:center;gap:8px;color:var(--teal)}
.ms-section{padding:92px 0}.ms-section--tight{padding:35px 0}.ms-section--cream{background:var(--cream)}.ms-section--navy{background:var(--navy);color:#fff}.ms-section--navy .ms-eyebrow{color:#9bd2cc}.ms-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.ms-split--reverse{grid-template-columns:.9fr 1.1fr}
.ms-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ms-mini-grid a{text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column}.ms-mini-grid strong{font-family:Georgia,serif;font-size:23px}.ms-mini-grid span{font-size:13px;color:#64767d;margin-top:8px}
.ms-restorative-band{background:var(--teal);color:#fff}.ms-restorative-band .ms-eyebrow{color:#d8f0eb}.ms-restorative-band .ms-lede-sm{color:#e6f1ef}.ms-art-panel{height:420px;border-radius:30px;background:#e7efe8;position:relative;overflow:hidden}.ms-circles span{position:absolute;border:2px solid var(--teal);border-radius:50%;width:190px;height:190px;top:115px}.ms-circles span:nth-child(1){left:30px}.ms-circles span:nth-child(2){left:100px}.ms-circles span:nth-child(3){left:170px}.ms-circles span:nth-child(4){left:240px}.ms-circles span:after{content:"";position:absolute;width:12px;height:12px;background:var(--gold);border-radius:50%;top:50%;left:50%}
.ms-heading-row{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:end;margin-bottom:40px}.ms-heading-row>p{color:#64767d;max-width:520px}.ms-section--navy .ms-heading-row>p{color:#c9d5d8}
.ms-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ms-feature-grid--four{grid-template-columns:repeat(4,1fr)}.ms-feature-grid article{padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff}.ms-feature-grid article p{color:#64767d}.ms-feature-grid article>a{color:var(--teal);font-weight:800;text-decoration:none;display:flex;align-items:center;gap:6px}
.ms-event-preview{background:#f0e8d7}.ms-event-preview__inner{display:grid;grid-template-columns:220px 1fr auto;gap:45px;align-items:center}.ms-event-badge{aspect-ratio:1;border-radius:50%;background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ms-event-badge span{text-transform:uppercase;letter-spacing:.15em;font-size:11px;color:#f0cd82}.ms-event-badge strong{font-family:Georgia,serif;font-size:26px;max-width:150px}
.ms-closing{text-align:center}.ms-closing h2{max-width:800px;margin-left:auto;margin-right:auto}.ms-centered-copy{max-width:720px;margin:0 auto 24px;color:#61757b}
.ms-page-hero{padding:72px 0;background:linear-gradient(125deg,#f9f3e8,#eef6f3);overflow:hidden}.ms-page-hero__inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center}.ms-page-hero h1{font-size:clamp(44px,5vw,72px)}.ms-orbit{height:300px;position:relative}.ms-orbit span{position:absolute;border:1px solid rgba(50,127,123,.45);border-radius:50%;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.ms-orbit span:nth-child(1){width:130px;height:130px}.ms-orbit span:nth-child(2){width:210px;height:210px}.ms-orbit span:nth-child(3){width:290px;height:290px}.ms-orbit i{position:absolute;width:32px;height:32px;background:var(--gold);border-radius:50%;left:64%;top:28%}
.ms-callout{display:flex;gap:18px;align-items:center;padding:22px 28px;border:1px solid var(--line);border-radius:18px}.ms-callout .ms-icon{margin:0;flex:0 0 auto}.ms-callout p{margin:3px 0 0;color:#64767d}

/* v1.0.5 — WCAG 2.2 AA accessibility remediation */
.ms-brand__text em,
.ms-eyebrow,
.ms-kicker,
.ms-pathway-card small,
.ms-pathway-card strong,
.ms-feature-grid article > a,
.ms-text-link{
  color:#246a67;
}
.ms-service-area,
.ms-pathway-card p,
.ms-mini-grid span,
.ms-heading-row > p,
.ms-feature-grid article p{
  color:#3e5b64;
}
.ms-section--navy .ms-lede,
.ms-section--navy .ms-lede-sm{
  color:#d2dee0;
}
.ms-restorative-band .ms-eyebrow,
.ms-restorative-band .ms-lede,
.ms-restorative-band .ms-lede-sm{
  color:#fff;
}
.ms-contact-card--accent .ms-btn,
.ms-contact-card--accent .ms-btn:visited{
  color:#fff !important;
}
.ms-skip:focus-visible,
#main:focus-visible{
  outline:3px solid #d3a95b;
  outline-offset:4px;
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

.ms-service-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px}.ms-check-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.ms-check-list li{background:#fff;padding:14px 16px;border-radius:12px;border:1px solid var(--line);position:relative;padding-left:40px}.ms-check-list li:before{content:"✓";position:absolute;left:16px;color:var(--teal);font-weight:900}
.ms-special-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.ms-special-grid article{background:rgba(255,255,255,.07);padding:28px;border-radius:20px;border:1px solid rgba(255,255,255,.14)}.ms-special-grid p{color:#d2dee0}
.ms-editorial{max-width:880px}.ms-question-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0}.ms-question-grid blockquote{margin:0;background:var(--cream);padding:26px;border-radius:18px;font-family:Georgia,serif;font-size:25px}
.ms-program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ms-program-grid article{background:#fff;padding:26px;border-radius:18px;border:1px solid rgba(23,57,74,.08)}.ms-program-grid article>span{display:block;width:24px;height:3px;background:var(--gold);margin-bottom:18px}
.ms-course-list{display:grid}.ms-course-list article{display:grid;grid-template-columns:90px 1fr;gap:24px;padding:30px 0;border-bottom:1px solid var(--line)}.ms-course-list article>span{color:var(--teal);font-weight:800;letter-spacing:.12em}.ms-course-list article h2{font-size:34px;margin-bottom:8px}.ms-course-list article p{color:#64767d}
.ms-donate-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:start}.ms-giving-card{padding:36px;background:var(--cream);border-radius:26px}.ms-giving-options{display:grid;gap:12px;margin-top:22px}.ms-giving-options .ms-btn{width:100%;justify-content:space-between}.ms-giving-note{font-size:13px;color:#64777d;margin:14px 2px 0}.ms-note{display:flex;gap:14px;background:#eef5f2;padding:18px;border-radius:14px;margin-top:24px}.ms-note strong{white-space:nowrap;color:var(--teal)}.ms-text-link{display:flex;gap:8px;align-items:center;margin-top:18px;color:var(--teal);font-weight:800;text-decoration:none}.ms-placeholder-box{border:2px dashed #b7c4c1;border-radius:20px;padding:34px;background:rgba(255,255,255,.55)}.ms-placeholder-box span{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:11px;color:var(--teal);font-weight:900}.ms-placeholder-box strong{font-family:Georgia,serif;font-size:28px;display:block;margin:7px 0}
.ms-values{display:flex;flex-wrap:wrap;gap:10px}.ms-values span{background:var(--cream);padding:12px 16px;border-radius:999px;font-weight:750}
.ms-people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ms-people-grid article{background:white;padding:18px;border-radius:18px}.ms-portrait{aspect-ratio:4/5;border-radius:14px;background:linear-gradient(145deg,#dcebe7,#b8d4cd);display:grid;place-items:center;margin-bottom:18px;position:relative;overflow:hidden}.ms-portrait:before,.ms-portrait:after{content:"";position:absolute;border:1px solid rgba(23,57,74,.2);border-radius:50%}.ms-portrait:before{width:160px;height:160px}.ms-portrait:after{width:220px;height:220px}.ms-portrait span{position:relative;z-index:2;font-family:Georgia,serif;font-size:34px;color:var(--navy)}.ms-people-grid h3{font-size:23px;margin-bottom:5px}.ms-people-grid p{font-size:14px;color:#64767d}
.ms-board-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 36px;margin-top:30px}.ms-board-grid div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.ms-board-grid span{color:#6c7e84}.ms-fineprint{font-size:12px;color:#75868b;margin-top:24px}.ms-support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ms-support-grid span{padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:14px}
.ms-event-full{display:grid;grid-template-columns:320px 1fr;gap:70px;align-items:center}.ms-event-date{aspect-ratio:1;border-radius:50%;background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ms-event-date span{text-transform:uppercase;letter-spacing:.2em;font-size:11px;color:#f1cb7e}.ms-event-date strong{font-family:Georgia,serif;font-size:36px;line-height:1.05;margin-top:12px}.ms-event-chips{display:flex;gap:10px;flex-wrap:wrap}.ms-event-chips span{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:999px;background:var(--cream);font-weight:700;font-size:13px}.ms-event-chips svg{width:18px;height:18px;fill:none;stroke:var(--teal);stroke-width:1.8}
.ms-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ms-contact-card{padding:40px;border:1px solid var(--line);border-radius:24px}.ms-contact-card address{font-style:normal;font-size:18px}.ms-contact-card a{color:var(--teal);font-weight:750}.ms-contact-card--accent{background:var(--cream)}
.ms-footer{background:#0f2a37;color:#dbe5e6;padding:58px 0 24px}.ms-footer__top{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px}.ms-brand--footer{color:white}.ms-brand--footer .ms-mark{border-color:#8ec9c1}.ms-brand--footer .ms-mark span{background:#8ec9c1}.ms-footer h2{font-family:inherit;font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#95cfc8}.ms-footer p{font-size:14px;color:#b9c9cc}.ms-footer a{text-decoration:none}.ms-footer__bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;font-size:11px;color:#849ba1}
@media(max-width:980px){
 .ms-menu-toggle{display:flex;border:0;background:transparent;flex-direction:column;gap:5px;align-items:flex-end}.ms-menu-toggle span{font-size:12px;font-weight:800}.ms-menu-toggle i{width:28px;height:2px;background:var(--navy)}
 .ms-nav{display:none;position:absolute;left:0;right:0;top:82px;background:var(--paper);padding:20px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}.ms-nav.is-open{display:flex}.ms-nav a{padding:8px 10px}.ms-nav__request{text-align:center}
 .ms-hero__grid,.ms-page-hero__inner,.ms-split,.ms-split--reverse,.ms-heading-row,.ms-service-layout,.ms-donate-grid,.ms-event-full{grid-template-columns:1fr}.ms-hero__visual{min-height:360px}.ms-conversation{width:360px}.ms-pathway-grid,.ms-special-grid,.ms-program-grid{grid-template-columns:1fr 1fr}.ms-feature-grid--four{grid-template-columns:1fr 1fr}.ms-event-preview__inner{grid-template-columns:180px 1fr}.ms-event-preview__inner>.ms-btn{grid-column:2}.ms-people-grid{grid-template-columns:1fr 1fr}.ms-support-grid{grid-template-columns:1fr 1fr}.ms-footer__top{grid-template-columns:1.5fr 1fr}.ms-orbit{display:none}
}
@media(max-width:640px){
 :root{--shell:min(100% - 28px,1180px)}.ms-demo-banner{flex-direction:column;gap:0;text-align:center}.ms-header__inner{height:72px}.ms-nav{top:72px}.ms-brand__text strong{font-size:19px}.ms-mark{width:35px;height:35px}
 .ms-hero{padding:56px 0}.ms-hero__grid{gap:20px}.ms-hero__visual{min-height:300px}.ms-conversation{width:290px}.ms-person{width:72px;height:72px}.ms-person:after{width:110px;height:110px;top:58px;left:-19px;border-width:15px}
 .ms-pathway-grid,.ms-special-grid,.ms-program-grid,.ms-feature-grid,.ms-feature-grid--four,.ms-mini-grid,.ms-question-grid,.ms-check-list,.ms-people-grid,.ms-support-grid,.ms-contact-grid,.ms-board-grid{grid-template-columns:1fr}
 .ms-section{padding:64px 0}.ms-heading-row{gap:12px;margin-bottom:28px}.ms-event-preview__inner{grid-template-columns:1fr}.ms-event-preview__inner>.ms-btn{grid-column:auto}.ms-event-badge{width:180px}.ms-page-hero{padding:54px 0}.ms-course-list article{grid-template-columns:50px 1fr}.ms-board-grid div{flex-direction:column;gap:1px}.ms-footer__top{grid-template-columns:1fr}.ms-footer__bottom{flex-direction:column;gap:6px}
}

/* v1.0.3 — approved website policies */
.ms-legal{
  background:#fff;
}
.ms-legal__content{
  width:min(100% - 40px, 820px);
}
.ms-legal__effective{
  color:var(--muted);
  margin:0 0 28px;
}
.ms-legal__callout{
  margin-bottom:42px;
}
.ms-legal__content h2{
  margin:42px 0 14px;
  color:var(--navy);
  font-size:clamp(24px,3vw,32px);
  line-height:1.18;
}
.ms-legal__content h3{
  margin:28px 0 10px;
  color:var(--navy);
  font-size:20px;
}
.ms-legal__content p,
.ms-legal__content li,
.ms-legal__content address{
  color:var(--ink);
  font-size:17px;
  line-height:1.72;
}
.ms-legal__content ul{
  padding-left:25px;
  margin:12px 0 24px;
}
.ms-legal__content li{
  margin-bottom:8px;
}
.ms-legal__content address{
  font-style:normal;
  padding:22px 24px;
  border-left:4px solid var(--teal);
  background:var(--cream);
}
.ms-legal__notice{
  margin:22px 0 30px;
  padding:18px 20px;
  border-radius:14px;
  background:#fff4d6;
  color:var(--ink);
  line-height:1.65;
}
@media(max-width:640px){
  .ms-legal__content{width:min(100% - 28px,820px)}
  .ms-legal__content p,.ms-legal__content li,.ms-legal__content address{font-size:16px}
}


/* v0.1.6 — Round 4 approved client revisions */
.ms-brand--official{
  display:flex;
  align-items:center;
}
.ms-brand__official-logo{
  display:block;
  width:auto;
  height:58px;
  max-width:245px;
  object-fit:contain;
}
.ms-brand__official-logo--footer{
  height:52px;
  max-width:220px;
}
.ms-hero__visual--image{
  min-height:480px;
  display:grid;
  place-items:center;
}
.ms-hero__maze-image{
  display:block;
  width:min(100%, 620px);
  height:auto;
  border-radius:30px;
}
.ms-art-panel--photo{
  background:none;
}
.ms-round4-conversation-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:30px;
}
.ms-event-badge--logo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.ms-event-badge--logo .ms-peacebuilder-logo{
  display:block;
  width:min(100%, 330px);
  height:auto;
  object-fit:contain;
}
@media (max-width: 760px){
  .ms-brand__official-logo{
    height:45px;
    max-width:185px;
  }
  .ms-brand__official-logo--footer{
    height:44px;
    max-width:185px;
  }
  .ms-hero__visual--image{
    min-height:auto;
  }
  .ms-hero__maze-image{
    border-radius:22px;
  }
}


/* v0.1.7 — Homepage visual cleanup */

/* Peace Builder identity needs a light field so its dark lettering remains visible. */
.ms-event-badge--logo{
  background:#fff !important;
  border:1px solid rgba(19,58,76,.10);
  box-shadow:0 10px 28px rgba(19,58,76,.06);
}
.ms-event-badge--logo .ms-peacebuilder-logo{
  width:min(100%, 330px);
  max-height:220px;
  object-fit:contain;
}

/* Light footer treatment for the official Mediation Services logo. */
.ms-footer{
  background:#fff !important;
  color:#173a4a !important;
  border-top:1px solid rgba(19,58,76,.10);
}
.ms-footer p,
.ms-footer address,
.ms-footer li,
.ms-footer small,
.ms-footer span{
  color:#526b75 !important;
}
.ms-footer h2,
.ms-footer h3,
.ms-footer h4,
.ms-footer strong{
  color:#173a4a !important;
}
.ms-footer a{
  color:#287f7b !important;
}
.ms-footer a:hover{
  color:#173a4a !important;
}
.ms-footer__top,
.ms-footer__bottom{
  border-color:rgba(19,58,76,.12) !important;
}
.ms-brand__official-logo--footer{
  display:block;
  width:auto;
  height:64px;
  max-width:260px;
  object-fit:contain;
}
@media (max-width:760px){
  .ms-brand__official-logo--footer{
    height:50px;
    max-width:210px;
  }
}


/* v0.1.8 — Logo + spacing polish */

/* Add a subtle shadow so the Peace Builder mark lifts gently from the light panel. */
.ms-event-badge--logo{
  box-shadow:0 10px 26px rgba(19,58,76,.08);
}
.ms-event-badge--logo .ms-peacebuilder-logo{
  filter:drop-shadow(0 3px 8px rgba(19,58,76,.12));
}

/* Give the footer logo a little more breathing room before the mission line. */
.ms-footer__top > div:first-child .ms-brand--footer{
  margin-bottom:16px;
}
.ms-footer__top > div:first-child p{
  margin-top:0;
  max-width:340px;
  line-height:1.6;
}
@media (max-width:760px){
  .ms-footer__top > div:first-child .ms-brand--footer{
    margin-bottom:14px;
  }
}


/* v0.1.9 — Peacebuilder event polish */
.ms-event-date__icon{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#fff !important;
  margin-bottom:14px;
  letter-spacing:0 !important;
}
.ms-event-date__icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}


/* v0.1.10 — Hero Humanization Pass */
.ms-page-hero__photo-wrap{
  width:min(100%,430px);
  justify-self:center;
  aspect-ratio:1 / 1;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 18px 44px rgba(19,58,76,.12);
  background:#fff;
}
.ms-page-hero__photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ms-event-badge--logo{
  box-shadow:0 14px 34px rgba(19,58,76,.14);
}
.ms-event-badge--logo .ms-peacebuilder-logo{
  filter:drop-shadow(0 5px 11px rgba(19,58,76,.18));
}
@media(max-width:980px){
  .ms-page-hero__photo-wrap{
    width:min(100%,520px);
    margin-top:28px;
  }
}
@media(max-width:640px){
  .ms-page-hero__photo-wrap{
    border-radius:22px;
    margin-top:20px;
  }
}

/* v0.1.11 — Final client polish */
.ms-hero__maze-image{
  width:min(100%, 640px);
  object-fit:contain;
}

/* v0.1.12 — Demo maze swap */
.ms-hero__maze-image{
  max-width: 640px;
  image-rendering: auto;
}


/* v0.1.13 — Exact approved homepage maze */
.ms-hero__visual--image{
  min-height:560px;
}
.ms-hero__maze-image{
  width:min(118%, 760px);
  max-width:none;
  height:auto;
  object-fit:contain;
  border-radius:0;
}
@media(max-width:980px){
  .ms-hero__visual--image{
    min-height:420px;
  }
  .ms-hero__maze-image{
    width:min(100%, 680px);
    max-width:100%;
  }
}
@media(max-width:640px){
  .ms-hero__visual--image{
    min-height:320px;
  }
  .ms-hero__maze-image{
    width:100%;
    max-width:100%;
  }
}


/* v1.0.5 — final accessibility overrides */
.ms-brand__text em,
.ms-eyebrow,
.ms-kicker,
.ms-pathway-card small,
.ms-pathway-card strong,
.ms-feature-grid article > a,
.ms-text-link,
.ms-course-list article > span,
.ms-note strong,
.ms-placeholder-box span{
  color:#246a67;
}
.ms-service-area,
.ms-pathway-card p,
.ms-mini-grid span,
.ms-heading-row > p,
.ms-feature-grid article p,
.ms-course-list article p,
.ms-giving-note,
.ms-people-grid p,
.ms-board-grid span,
.ms-fineprint{
  color:#3e5b64;
}
.ms-section--navy .ms-lede,
.ms-section--navy .ms-lede-sm{
  color:#d2dee0;
}
.ms-restorative-band .ms-eyebrow,
.ms-restorative-band .ms-lede,
.ms-restorative-band .ms-lede-sm{
  color:#fff;
}
.ms-contact-card--accent .ms-btn,
.ms-contact-card--accent .ms-btn:visited{
  color:#fff !important;
}
.ms-skip:focus-visible,
#main:focus-visible{
  outline:3px solid #d3a95b;
  outline-offset:4px;
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}


/* v1.0.7 — Floating accessibility access point */
.ms-accessibility-fab{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:90;
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#17394a;
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 8px 24px rgba(16,44,57,.28);
  text-decoration:none;
  touch-action:manipulation;
  transition:none;
}
.ms-accessibility-fab:hover{
  color:#fff;
  background:#102c39;
}
.ms-accessibility-fab:focus-visible{
  outline:4px solid #d3a95b;
  outline-offset:3px;
}
.ms-accessibility-fab svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.ms-footer__bottom{
  padding-right:88px;
}
@media(max-width:760px){
  .ms-accessibility-fab{
    right:14px;
    bottom:14px;
    width:52px;
    height:52px;
  }
  .ms-footer__bottom{
    padding-right:0;
    padding-bottom:74px;
  }
}
@media print{
  .ms-accessibility-fab{display:none}
}
