/* ======================================================================
   v2 (owner, 2026-10-28): higher contrast in the company's own colours,
   animations, new About page. site.css is the Wix copy (git tag v1-wix-copy);
   this file loads after it and overrides.
   Contrast rules used (WCAG AA): body text >= 4.5:1, large text >= 3:1.
   Brand orange #ffaa0a on white is only 1.9:1, so orange is used as a FILL
   (buttons, bars, badges - dark text on it is 10:1) and as text only on navy
   (7.8:1), never as text on white. Headings on light backgrounds go near-black
   with an orange bar, which keeps the orange-white-dark identity readable.
   ====================================================================== */
:root { --text: #1a1a1a; --muted: #454545; --navy-ink: #0d2236; --brown-ink: #8a5200; }
body { color: var(--text); }
.h-orange, .h-accent { color: #111; position: relative; padding-bottom: 18px; }
.h-orange::after, .h-accent::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 5px; background: var(--orange); border-radius: 3px; }
.h-accent { font: 700 clamp(26px, 2.6vw, 38px)/1.2 var(--head); margin-bottom: 26px; max-width: 760px; }
.who .h-orange { color: var(--orange); padding-bottom: 0; }
.who .h-orange::after { display: none; }
.kicker { font: 700 14px/1 var(--head); letter-spacing: 2.4px; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.kicker.dark { color: var(--brown-ink); }
.kicker.center { text-align: center; }
.hl { color: var(--orange); }

/* text + controls */
.nav a { font-weight: 400; }
.hdr { box-shadow: 0 3px 0 var(--orange); }
.hdr-over { box-shadow: none; }
.btn { font-weight: 600; border-radius: 2px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-sm, .btn-orange { color: #111; }
.btn-orange:hover { background: #ffb933; filter: none; }
.btn-dark { background: #111; color: #fff; padding: 18px 34px; }
.btn-dark:hover { background: #000; filter: none; }
.btn-line-dark { border: 2px solid #111; color: #111; background: transparent; padding: 16px 28px; display: inline-flex; align-items: center; gap: 10px; }
.btn-line-dark:hover { background: rgba(0,0,0,.08); }
.hero::after { background: linear-gradient(90deg, rgba(5,15,25,.72) 0%, rgba(5,15,25,.45) 55%, rgba(5,15,25,.25) 100%); }
.post-meta, .post-ex { color: #333; }
.lead-form label { font-size: 15px; font-weight: 600; }
.lead-form input, .lead-form textarea { border: 1px solid #555; }
.post-body a { color: #0b4a85; }
.who::before { background: linear-gradient(90deg, rgba(0,40,75,.97) 0%, rgba(0,40,75,.92) 40%, rgba(40,48,58,.9) 65%, rgba(40,48,58,.9) 100%); }

/* footer goes dark: white text on navy, orange headings (7.8:1) */
.ftr { background: var(--navy-ink); border-top: 4px solid var(--orange); box-shadow: none; }
.ftr h4 { color: var(--orange); font-weight: 600; }
.ftr p, .ftr a, .ftr-bottom, .ftr-bottom a { color: #eef2f6; }
.ftr a:hover { color: var(--orange); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.12); border-bottom: 0; background: #091827; }

/* page hero (About; reusable) */
.pg-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.pg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,24,39,.92) 0%, rgba(9,24,39,.75) 45%, rgba(9,24,39,.2) 100%); }
.pg-hero-in { position: relative; z-index: 1; width: 100%; padding-top: 70px; padding-bottom: 70px; }
.pg-hero h1 { color: #fff; font: 900 clamp(34px, 4.4vw, 60px)/1.08 var(--head); max-width: 720px; margin-bottom: 22px; }
.pg-hero-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 600px; color: #eef2f6; }
.pg-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pg-hero .btn-outline { border-width: 2px; padding: 19px 34px; }

/* stats band */
.stats-band { background: var(--navy-ink); color: #fff; border-bottom: 4px solid var(--orange); }
.stats-band-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 38px; padding-bottom: 38px; }
.stats-band-in > div { text-align: center; border-left: 1px solid rgba(255,255,255,.14); }
.stats-band-in > div:first-child { border-left: 0; }
.stats-band b { display: block; color: var(--orange); font: 900 clamp(34px, 3.4vw, 50px)/1 var(--head); }
.stats-band span { display: block; margin-top: 10px; font-size: 15px; letter-spacing: .5px; color: #eef2f6; }

/* mission + photo collage */
.mission { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.mission-text p:not(.kicker) { font-size: 17px; line-height: 1.8; }
.collage { position: relative; height: 470px; }
.collage img { position: absolute; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.18); border: 6px solid #fff; }
.collage .c1 { width: 72%; height: 300px; right: 0; top: 0; }
.collage .c2 { width: 52%; height: 230px; left: 0; top: 200px; }
.collage .c3 { width: 40%; height: 190px; right: 6%; bottom: 0; }
.collage-badge { position: absolute; left: 6%; top: 40px; background: var(--orange); color: #111; padding: 18px 22px; max-width: 190px; box-shadow: 0 12px 30px rgba(0,0,0,.2); z-index: 2; }
.collage-badge b { display: block; font: 900 38px/1 var(--head); }
.collage-badge span { display: block; font-size: 14px; line-height: 1.35; margin-top: 6px; font-weight: 600; }

/* why choose (navy + blueprint grid) */
.blueprint { background-color: var(--navy-ink); background-image: url("/static/blueprint.svg"); background-size: 240px 240px; }
.why { padding: 100px 0; color: #fff; }
.why-h { color: #fff; font: 700 clamp(26px, 2.6vw, 38px)/1.2 var(--head); margin-bottom: 50px; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--orange); padding: 30px 24px; transition: transform .25s, background .25s; }
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.why-ic { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,170,10,.14); color: var(--orange); }
.why-ic svg { width: 34px; height: 34px; }
.why-card h3 { color: #fff; font: 700 19px/1.25 var(--head); margin: 20px 0 10px; }
.why-card p { color: #dfe6ee; font-size: 15px; line-height: 1.65; margin: 0; }

/* what we do */
.what { padding-top: 100px; padding-bottom: 100px; }
.what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.what-card { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; box-shadow: 0 6px 22px rgba(0,0,0,.07); transition: transform .25s, box-shadow .25s; }
.what-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.13); }
.what-img { display: block; height: 230px; overflow: hidden; }
.what-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.what-card:hover .what-img img { transform: scale(1.06); }
.what-body { display: block; padding: 26px 26px 30px; border-top: 4px solid var(--orange); }
.what-body h3 { font: 700 22px/1.2 var(--head); }
.what-body p { font-size: 15px; line-height: 1.7; }
.more { font-weight: 700; color: #111; border-bottom: 2px solid var(--orange); }

/* timeline - the orange line fills as you scroll (site.js sets --fill) */
.story { background: #fff; padding: 100px 0; }
.timeline { list-style: none; margin: 30px 0 0; padding: 0 0 0 40px; position: relative; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 3px; background: #e6e6e6; }
.timeline::after { content: ""; position: absolute; left: 13px; top: 6px; width: 3px; height: var(--fill, 0%); background: var(--orange); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 0 0 46px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); z-index: 1; }
.t-year { font: 900 26px/1 var(--head); color: #111; }
.timeline h3 { font: 700 20px/1.3 var(--head); margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }

/* leadership */
.leader { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.leader-photo { position: relative; }
.leader-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 4px solid var(--orange); z-index: 0; }
.leader-photo img { position: relative; z-index: 1; width: 100%; height: 470px; object-fit: cover; object-position: top; }
.leader-text h2 { font: 700 clamp(30px, 3vw, 42px)/1.1 var(--head); margin-bottom: 8px; }
.leader-role { font-weight: 700; color: var(--brown-ink); }
.leader blockquote { margin: 26px 0 30px; padding: 4px 0 4px 26px; border-left: 4px solid var(--orange); font-size: 18px; line-height: 1.75; }

/* member logos */
.logos { background: #fff; padding: 70px 0; border-top: 1px solid #ececec; }
.logos-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center; margin-top: 30px; }
.logo-cell { display: grid; place-items: center; height: 110px; padding: 10px; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .7s; }
.logo-cell:hover { filter: none; opacity: 1; }
.logo-cell img { max-height: 90px; width: auto; }

/* closing call to action */
.cta-band { background: var(--orange); color: #111; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font: 900 clamp(26px, 2.6vw, 36px)/1.15 var(--head); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 17px; font-weight: 600; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #c2140f; animation: pulse 1.8s infinite; }

/* 24/7 line on the restoration page */
.emergency-strip { display: inline-flex; align-items: center; gap: 12px; background: var(--navy-ink); color: #fff; padding: 12px 18px; margin: 0 0 22px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.emergency-strip svg { width: 26px; height: 26px; color: var(--orange); flex: none; }
.emergency-strip b { color: var(--orange); }

/* ---------- animations ---------- */
/* Scroll reveal: site.js puts .js on <html>, marks blocks with [data-reveal] (templates
   do it, and it auto-picks common blocks on the other pages), and adds .in when one
   enters the screen. Without JavaScript nothing is hidden. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="zoom"] { transform: scale(.95); }
.js [data-reveal].in { opacity: 1; transform: none; }
.kenburns { animation: kenburns 22s ease-out both; }
.hero .hero-bg { animation: kenburns 22s ease-out both; }
.hero-in > *, .pg-hero-in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > *:nth-child(2), .pg-hero-in > *:nth-child(2) { animation-delay: .15s; }
.hero-in > *:nth-child(3), .pg-hero-in > *:nth-child(3) { animation-delay: .3s; }
.hero-in > *:nth-child(4), .pg-hero-in > *:nth-child(4) { animation-delay: .45s; }
.pg-hero-in > [data-reveal] { opacity: 1; transform: none; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,20,15,.6); } 70% { box-shadow: 0 0 0 12px rgba(194,20,15,0); } 100% { box-shadow: 0 0 0 0 rgba(194,20,15,0); } }
/* icon motions that match what each icon shows: water drips, fire flickers, wind sways,
   tools turn, buildings rise. Played when the icon scrolls in and again on hover. */
@keyframes drip { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(6px); } 60% { transform: translateY(-2px); } }
@keyframes flicker { 0%, 100% { transform: scale(1) skewX(0); } 25% { transform: scale(1.07, .95) skewX(-4deg); } 50% { transform: scale(.96, 1.06) skewX(3deg); } 75% { transform: scale(1.03, .98) skewX(-2deg); } }
@keyframes sway { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(8px); } 60% { transform: translateX(-4px); } }
@keyframes turn { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-18deg); } 60% { transform: rotate(10deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
[class*="anim-"] { display: inline-block; }
[class*="anim-"] svg { transform-origin: 50% 85%; }
.in .anim-water svg, .card:hover .anim-water svg, .row:hover .anim-water svg { animation: drip 1.1s ease-in-out 2; }
.in .anim-fire svg, .card:hover .anim-fire svg, .row:hover .anim-fire svg { animation: flicker .9s ease-in-out 3; }
.in .anim-wind svg, .card:hover .anim-wind svg, .row:hover .anim-wind svg { animation: sway 1.2s ease-in-out 2; }
.in .anim-tool svg, .card:hover .anim-tool svg, .row:hover .anim-tool svg { animation: turn .9s ease-in-out 2; transform-origin: 40% 60%; }
.in .anim-build svg, .card:hover .anim-build svg, .row:hover .anim-build svg { animation: bob 1.3s ease-in-out 2; }
.card { transition: transform .25s, box-shadow .25s, opacity .7s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.svc-tile { overflow: hidden; }
.svc-tile img, .post-card-img img, .gallery img { transition: transform .7s; }
.svc-tile:hover img, .post-card:hover .post-card-img img, .gallery figure:hover img { transform: scale(1.05); }
.post-card-img, .gallery figure { overflow: hidden; display: block; }
.post-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.btn:active { transform: translateY(1px); }
.carousel-track img { transition: transform .4s, filter .4s; }
.carousel-track img:hover { transform: scale(1.03); }

@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .mission, .leader { gap: 40px; }
}
@media (max-width: 860px) {
  .pg-hero { min-height: 480px; }
  .stats-band-in { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stats-band-in > div:nth-child(3) { border-left: 0; }
  .mission, .leader { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .collage { height: 380px; }
  .collage .c1 { height: 230px; }
  .collage .c2 { top: 160px; height: 180px; }
  .collage .c3 { height: 150px; }
  .why { padding: 60px 0; }
  .why-grid, .what-grid { grid-template-columns: 1fr; }
  .logos-row { grid-template-columns: 1fr 1fr; }
  .what, .story { padding-top: 60px; padding-bottom: 60px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .leader-photo img { height: 380px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .kenburns, .hero .hero-bg, .hero-in > *, .pg-hero-in > *, .pulse-dot, [class*="anim-"] svg { animation: none !important; }
}

.ftr .btn-orange, .ftr .btn-orange:hover { color: #111; }
