/* Page-specific styles: /safety/ */
:root{--navy:#062647;--pink:#f51c5d;--teal:#006874;--ink:#18344e;--line:#dfe8ee;--soft:#f5f9fb}
*{box-sizing:border-box}.safety-page{color:var(--ink);overflow:hidden}.safety-shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:800;color:var(--teal);margin:0 0 12px}
.safety-hero{position:relative;min-height:570px;display:flex;align-items:flex-end;padding-bottom:64px}.safety-hero__media,.safety-hero__media img{position:absolute;inset:0;width:100%;height:100%;display:block}.safety-hero__media img{object-fit:cover;object-position:center}
.safety-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.08) 42%,rgba(0,0,0,.58) 72%,rgba(0,0,0,.82) 100%)}
.safety-hero__content{position:relative;z-index:2;color:#fff}.safety-hero__content>*{max-width:620px}.safety-hero .eyebrow{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35)}.safety-hero h1{font-size:clamp(3rem,5vw,5.2rem);line-height:.94;color:#fff;margin:0 0 22px;letter-spacing:-.045em;text-shadow:0 2px 8px rgba(0,0,0,.35)}.safety-hero h2{font-size:1.45rem;color:#fff;margin:0 0 16px;text-shadow:0 1px 5px rgba(0,0,0,.35)}.safety-hero p:not(.eyebrow){font-size:1.06rem;line-height:1.65;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.45)}
.safety-pillars{padding:78px 0}.section-heading{text-align:center;max-width:760px;margin:0 auto 42px}.section-heading h2,.commitment h2,.community h2,.emergency h2{color:var(--navy);font-size:clamp(2rem,3.2vw,3.1rem);line-height:1.05;margin:0 0 16px;letter-spacing:-.035em}.section-heading>p:last-child{line-height:1.6}
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.pillar-grid article,.tips-grid article{border:1px solid var(--line);border-radius:22px;padding:28px;background:#fff}.pillar-grid .icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e8f7f6;color:var(--pink);font-size:1.6rem;font-weight:800;margin-bottom:20px}.pillar-grid h3,.tips-grid h3{color:var(--navy);margin:0 0 10px}.pillar-grid p,.tips-grid p{line-height:1.55;margin:0}
.commitment{background:var(--soft);padding:78px 0}.commitment__grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.commitment__image img{width:100%;aspect-ratio:10/7;object-fit:cover;border-radius:26px;display:block}.commitment__copy p{line-height:1.65}.commitment__copy ul{list-style:none;padding:0;margin:24px 0 0}.commitment__copy li{padding:7px 0 7px 30px;position:relative}.commitment__copy li:before{content:"✓";position:absolute;left:0;color:#078b4b;font-weight:900}
.tips{padding:82px 0}.tips-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.tips-grid b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--pink);color:#fff;margin-bottom:18px}
.community{background:linear-gradient(120deg,#fff2f6,#eff9fb);padding:65px 0}.community__inner{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}.community__values{display:grid;grid-template-columns:1fr 1fr;gap:14px}.community__values span{background:#fff;border-radius:18px;padding:20px;color:var(--navy);display:flex;gap:10px;align-items:center}.community__values span:first-letter{color:var(--pink)}
.emergency{padding:58px 0 72px;max-width:900px;text-align:center}.emergency h2{font-size:2rem}.emergency p{line-height:1.7}
@media(max-width:800px){
 .safety-shell{width:min(100% - 32px,680px)}.safety-hero{min-height:720px;align-items:flex-end;padding-top:0;padding-bottom:54px}.safety-hero__media img{object-position:center bottom}.safety-hero__shade{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.06) 35%,rgba(0,0,0,.52) 66%,rgba(0,0,0,.86) 100%)}.safety-hero h1{font-size:3.2rem}.safety-hero h2{font-size:1.25rem}.safety-hero__content>*{max-width:430px}
 .safety-pillars{padding:54px 0}.pillar-grid{grid-template-columns:1fr 1fr}.commitment{padding:55px 0}.commitment__grid{grid-template-columns:1fr;gap:34px}.commitment__image{order:0;width:100%;height:auto;min-height:0;max-height:none;overflow:visible}.commitment__image img{width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;object-position:center;display:block}.tips{padding:58px 0}.tips-grid{grid-template-columns:1fr}.community__inner{grid-template-columns:1fr;gap:28px}
}
@media(max-width:520px){
 .safety-shell{width:calc(100% - 28px)}.safety-hero{min-height:720px;padding-bottom:38px}.safety-hero h1{font-size:2.7rem}.safety-hero h2{font-size:1.1rem}.safety-hero p:not(.eyebrow){font-size:.96rem}.pillar-grid{grid-template-columns:1fr}.pillar-grid article{display:grid;grid-template-columns:52px 1fr;column-gap:15px;padding:20px}.pillar-grid .icon{width:48px;height:48px;grid-row:1/3;margin:0}.pillar-grid h3{align-self:end}.pillar-grid p{grid-column:2}.community__values{grid-template-columns:1fr}.section-heading{text-align:left}.commitment__image img{width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:18px}
}


/* Accessibility: Lighthouse/PageSpeed contrast fixes */
.safety-page .eyebrow{
  color:#006874;
}
.safety-page .commitment .eyebrow,
.safety-page .tips .eyebrow,
.safety-page .community .eyebrow{
  color:#006874;
}

/* Hero eyebrow sits over a photograph, so retain white with shadow. */
.safety-page .safety-hero .eyebrow{
  color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,.7);
}

/* Global footer contrast overrides scoped to this page. */
body:has(.safety-page) .site-footer,
body:has(.safety-page) .site-footer p,
body:has(.safety-page) .site-footer strong,
body:has(.safety-page) .site-footer a{
  color:#fff;
}
body:has(.safety-page) .site-footer a{
  text-decoration-color:rgba(255,255,255,.75);
}
