/* Hogan Cleaning Services, demo homepage 1
   Direction: bold, busy, saturated. Big colour blocks, wave and curve dividers,
   card grids, counters, a scrolling portfolio rail. */

:root{
  --teal:#005D79;
  --teal-dk:#004a61;
  --navy:#003F79;
  --green:#33BA01;
  --green-dk:#2ba000;
  --lime:#80FE52;
  --ink:#1D2023;
  --body:#50555C;
  --white:#fff;
  --tint:#F1F7F9;
  --line:#E2EBEF;
  --dark:linear-gradient(118deg,#003F79 0%,#00487a 38%,#005D79 100%);
  --r:10px;
  --rl:14px;
  --shadow:0 18px 44px rgba(0,63,121,.12);
  --shadow-sm:0 8px 22px rgba(0,63,121,.10);
  --wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:Lato,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;line-height:1.75;color:var(--body);
  background:var(--white);overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{
  font-family:"Archivo Narrow",Lato,sans-serif;
  color:var(--ink);margin:0 0 .5em;line-height:1.12;font-weight:700;
  letter-spacing:-.01em;
}
h1{font-size:clamp(2.3rem,4.55vw,3.65rem)}
h2{font-size:clamp(1.85rem,3.4vw,2.85rem)}
h3{font-size:1.2rem}
p{margin:0 0 1.1em}
ul{margin:0;padding:0;list-style:none}
svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- shared bits ---- */
.eyebrow{
  font-family:"Archivo Narrow",sans-serif;font-weight:700;
  text-transform:uppercase;letter-spacing:.16em;font-size:.82rem;
  color:var(--teal);margin:0 0 .55em;
}
.eyebrow-light{color:var(--lime)}
.eyebrow-lime{color:var(--lime)}
.sec-head{margin-bottom:46px}
.sec-head-center{text-align:center;max-width:720px;margin-inline:auto}
.sec-sub{font-size:1.02rem;margin-bottom:0}
.sec-sub-light{color:rgba(255,255,255,.82)}
.tbd{
  display:inline-block;font-size:.78rem;line-height:1.5;font-weight:700;
  color:#8a5b00;background:#FFF3D6;border:1px dashed #E0B44D;
  padding:3px 9px;border-radius:6px;margin:.4em 0 0;
}
.tbd-light{color:#FFE9B0;background:rgba(255,255,255,.08);border-color:rgba(255,233,176,.5)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-family:"Archivo Narrow",sans-serif;font-weight:700;font-size:1rem;
  letter-spacing:.03em;padding:14px 28px;border-radius:var(--r);
  border:2px solid transparent;cursor:pointer;
  transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-green{background:var(--green);color:#fff;box-shadow:0 8px 20px rgba(51,186,1,.26)}
.btn-green:hover{background:var(--green-dk)}
.btn-teal{background:var(--teal);color:#fff;box-shadow:0 8px 20px rgba(0,93,121,.24)}
.btn-teal:hover{background:var(--teal-dk)}
.btn-white{background:#fff;color:var(--teal);box-shadow:0 10px 26px rgba(0,0,0,.18)}
.btn-white:hover{background:var(--lime);color:var(--navy)}

.tick{
  flex:0 0 22px;width:22px;height:22px;border-radius:50%;
  background:var(--green);color:#fff;display:inline-flex;
  align-items:center;justify-content:center;margin-top:5px;
}
.tick svg{width:13px;height:13px;stroke-width:3}

.callblock{display:flex;align-items:center;gap:12px}
.callblock-icon{
  flex:0 0 46px;width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);
  color:#fff;display:flex;align-items:center;justify-content:center;
}
.callblock-icon svg{width:20px;height:20px}
.callblock-txt{display:flex;flex-direction:column;line-height:1.3}
.callblock-txt small{font-size:.8rem;color:rgba(255,255,255,.75)}
.callblock-txt a{font-family:"Archivo Narrow",sans-serif;font-weight:700;
  font-size:1.2rem;color:#fff}
.callblock-dark .callblock-icon{background:rgba(0,93,121,.1);
  border-color:rgba(0,93,121,.2);color:var(--teal)}
.callblock-dark .callblock-txt small{color:var(--body)}
.callblock-dark .callblock-txt a{color:var(--teal)}

/* ---- topbar ---- */
.topbar{background:var(--navy);color:rgba(255,255,255,.9);font-size:.86rem}
.topbar-in{display:flex;align-items:center;justify-content:space-between;
  gap:18px;min-height:44px;flex-wrap:wrap}
.topbar-contact{display:flex;gap:26px;flex-wrap:wrap}
.topbar-contact li{display:flex;align-items:center;gap:8px}
.topbar-contact svg{width:16px;height:16px;color:var(--lime);flex:0 0 16px}
.topbar-contact a:hover{color:var(--lime)}
.topbar-social{display:flex;align-items:center;gap:10px}
.topbar-social span{opacity:.8;margin-right:4px}
.topbar-social a{width:28px;height:28px;border-radius:6px;
  background:rgba(255,255,255,.1);display:flex;align-items:center;
  justify-content:center;transition:background .18s,color .18s}
.topbar-social a svg{width:15px;height:15px}
.topbar-social a:hover{background:var(--green);color:#fff}

/* ---- header ---- */
.site-head{position:sticky;top:0;z-index:60;background:var(--dark);
  box-shadow:0 2px 0 rgba(255,255,255,.07)}
.site-head.stuck{box-shadow:0 10px 30px rgba(0,30,60,.3)}
.head-in{display:flex;align-items:center;gap:20px;min-height:82px}
.brand img{width:190px;height:auto}
.nav{margin-left:auto;display:flex;align-items:center;gap:26px}
.nav>a{font-family:"Archivo Narrow",sans-serif;font-weight:600;font-size:1.02rem;
  color:#fff;letter-spacing:.02em;position:relative;padding:6px 0}
.nav>a:not(.btn)::after{content:"";position:absolute;left:0;bottom:0;height:2px;
  width:0;background:var(--lime);transition:width .2s ease}
.nav>a:not(.btn):hover::after{width:100%}
.nav-cta{display:none}
.head-cta{padding:12px 24px}
.burger{display:none;margin-left:auto;width:44px;height:40px;border:0;
  border-radius:8px;background:rgba(255,255,255,.12);cursor:pointer;
  flex-direction:column;align-items:center;justify-content:center;gap:5px}
.burger span{display:block;width:20px;height:2px;background:#fff;border-radius:2px;
  transition:transform .2s ease,opacity .2s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---- hero ---- */
.hero{position:relative;background:var(--dark);color:#fff;overflow:hidden;
  padding:72px 0 170px}
.hero::before{content:"";position:absolute;right:-160px;top:-120px;width:520px;
  height:520px;border-radius:50%;background:rgba(51,186,1,.16);filter:blur(6px)}
.hero::after{content:"";position:absolute;left:-140px;bottom:40px;width:340px;
  height:340px;border-radius:50%;border:34px solid rgba(255,255,255,.05)}
.hero-in{position:relative;z-index:2;display:grid;
  grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}
.hero h1{color:#fff;margin-bottom:.35em}
.hero h1 span{color:var(--lime)}
.hero .lede{font-size:1.12rem;color:rgba(255,255,255,.88);max-width:44ch;
  margin-bottom:2rem}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.hero-media{position:relative}
.hero-media img{width:100%;border-radius:190px 16px 190px 16px;
  box-shadow:0 30px 70px rgba(0,20,40,.4);position:relative;z-index:2}
.hero-blob{position:absolute;inset:-18px -18px 18px 18px;z-index:1;
  border-radius:190px 16px 190px 16px;border:2px dashed rgba(128,254,82,.45)}
.hero-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:110px;
  z-index:3;fill:#fff;stroke:none}

/* ---- five mini cards, overlapping the hero ---- */
.cardrow-wrap{position:relative;z-index:5;margin-top:-60px}
.cardrow{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
.minicard{flex:1 1 calc(20% - 18px);min-width:184px;
  background:#fff;border-radius:var(--rl);padding:28px 22px 24px;
  box-shadow:var(--shadow);border-bottom:4px solid transparent;
  transition:transform .22s ease,border-color .22s ease}
.minicard:hover{transform:translateY(-8px);border-bottom-color:var(--green)}
.minicard-icon{width:54px;height:54px;border-radius:14px;background:var(--tint);
  color:var(--teal);display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;transition:background .22s,color .22s}
.minicard-icon svg{width:28px;height:28px}
.minicard:hover .minicard-icon{background:var(--teal);color:#fff}
.minicard h3{margin-bottom:.45em}
.minicard p{font-size:.92rem;margin:0}

/* ---- facilities we serve strip ---- */
.facilities{padding:64px 0 8px}
.facilities-in{text-align:center}
.fac-list{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;
  list-style:none;margin:18px 0 0;padding:0}
.fac-list li{display:flex;align-items:center;gap:10px;
  background:var(--tint);border:1px solid var(--line);border-radius:100px;
  padding:12px 22px;font-family:"Archivo Narrow",sans-serif;font-weight:600;
  font-size:1.06rem;color:var(--ink);text-transform:uppercase;letter-spacing:.06em}
.fac-list svg{width:22px;height:22px;fill:none;stroke:var(--teal);stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}

/* ---- about ---- */
.about{padding:96px 0}
.about-in{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.about-media{position:relative}
.about-media img{width:100%;border-radius:var(--rl);box-shadow:var(--shadow)}
.about-media::before{content:"";position:absolute;left:-22px;top:-22px;width:150px;
  height:150px;border-radius:var(--rl);background:var(--lime);opacity:.35;z-index:-1}
.since{position:absolute;right:-18px;bottom:-18px;width:132px;height:132px;
  border-radius:50%;background:var(--green);color:#fff;display:flex;
  flex-direction:column;align-items:center;justify-content:center;
  box-shadow:0 14px 34px rgba(51,186,1,.35);border:6px solid #fff;text-align:center}
.since b{font-family:"Archivo Narrow",sans-serif;font-size:.86rem;
  text-transform:uppercase;letter-spacing:.14em;line-height:1}
.since em{font-family:"Archivo Narrow",sans-serif;font-style:normal;
  font-weight:700;font-size:2.1rem;line-height:1.1}
.checks{display:grid;gap:14px;margin:0 0 30px}
.checks li{display:flex;gap:12px;font-size:.98rem;line-height:1.6}
.checks b{color:var(--ink);font-family:"Archivo Narrow",sans-serif;font-size:1.06rem}
.about-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}

/* ---- services grid ---- */
.services{background:var(--tint);padding:96px 0}
.svc-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}
.svc{flex:0 1 calc(33.333% - 18px);min-width:268px;
  background:#fff;border-radius:var(--rl);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:transform .22s ease,box-shadow .22s ease}
.svc:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.svc-img{position:relative;aspect-ratio:3/2;overflow:hidden}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.svc:hover .svc-img img{transform:scale(1.07)}
.svc-img::after{content:"";position:absolute;inset:0;background:var(--teal);
  opacity:0;transition:opacity .28s ease}
.svc:hover .svc-img::after{opacity:.45}
.svc-badge{position:absolute;left:20px;top:-26px;z-index:3;width:52px;height:52px;
  border-radius:12px;background:var(--green);color:#fff;display:flex;
  align-items:center;justify-content:center;box-shadow:0 10px 22px rgba(51,186,1,.3)}
.svc-badge svg{width:25px;height:25px}
.svc-body{position:relative;padding:40px 22px 26px}
.svc-body h3{margin-bottom:.4em}
.svc-body p{font-size:.94rem;margin-bottom:1em}
.svc-link{display:inline-flex;align-items:center;gap:8px;color:var(--teal);
  font-family:"Archivo Narrow",sans-serif;font-weight:700;font-size:.96rem;
  text-transform:uppercase;letter-spacing:.08em}
.svc-link svg{width:17px;height:17px;transition:transform .2s ease}
.svc-link:hover svg{transform:translateX(5px)}

/* ---- portfolio ---- */
/* the heading band, on the tint so it flows out of the services section above */
.pf-intro{background:var(--tint);padding:92px 0 54px}
.pf-intro .sec-head{margin-bottom:0}

/* the curved band holds the slider and nothing else, so the arcs can cut the
   photographs the way the source design does */
.portfolio{position:relative;background:var(--dark);color:#fff;
  padding:0;overflow:hidden}
/* The curved divider, built the way the source design builds it: two filled arcs
   in the colour of the band above and below, laid over the section at a high
   stacking order. The arc is deepest at the centre and flat at the edges, so the
   band is pinched in the middle and the cards travelling through it squeeze and
   open out again. No mask, no JavaScript. */
.pf-curve{position:absolute;left:0;width:100%;height:116px;stroke:none;
  pointer-events:none;z-index:6}
.pf-curve-top{top:-1px;fill:var(--tint);transform:scaleY(-1)}
.pf-curve-bot{bottom:-1px;fill:#fff}
.portfolio .wrap{position:relative;z-index:3}
.pf-head{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:end}
.pf-head h2{margin:0}
.pf-rail-wrap{position:relative;z-index:3}
.pf-rail{display:flex;gap:30px;overflow-x:auto;
  padding:0 30px 0 0;cursor:grab;
  scrollbar-width:none;-ms-overflow-style:none}
.pf-rail::-webkit-scrollbar{display:none}
/* while dragging: no snapping to fight the pointer, no text selection, and the
   grabbing cursor so it is obvious the photographs are the control */
.pf-rail.is-dragging{cursor:grabbing;scroll-behavior:auto;
  -webkit-user-select:none;user-select:none}
.pf-rail img{-webkit-user-drag:none;user-drag:none}
.pf{flex:0 0 440px;position:relative;
  overflow:hidden;background:#0b3b5c;
  transition:transform .3s ease}
.pf-link{display:block;position:relative;height:640px}
.pf img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.pf:hover img{transform:scale(1.08)}

/* teal wash plus the circular arrow, the hover state from the source design */
.pf-overlay{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;background:var(--teal);opacity:0;
  transition:opacity .32s ease}
.pf:hover .pf-overlay,.pf:focus-within .pf-overlay{opacity:.72}
.pf-ring{width:76px;height:76px;border-radius:50%;border:2px solid #fff;color:#fff;
  display:flex;align-items:center;justify-content:center;
  transform:scale(.6) rotate(-35deg);opacity:0;
  transition:transform .36s cubic-bezier(.2,.8,.3,1.2),opacity .3s ease}
.pf-ring svg{width:26px;height:26px}
.pf:hover .pf-ring,.pf:focus-within .pf-ring{transform:scale(1) rotate(0);opacity:1}

/* caption sits clear of the lens arc at the foot of the card */
.pf-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:46px 22px 96px;
  background:linear-gradient(to top,rgba(0,24,45,.92) 32%,rgba(0,24,45,0));
  transition:transform .3s ease}
.pf-cap h3{color:#fff;font-size:1.08rem;margin-bottom:.25em;line-height:1.25}
.pf-cap p{margin:0;font-size:.88rem;color:var(--lime)}
.pf:hover .pf-cap{transform:translateY(-6px)}


.pf-nav{display:flex;gap:12px;justify-content:flex-end;margin-top:26px}
.pf-arrow{width:50px;height:50px;border-radius:50%;cursor:pointer;
  background:var(--teal);border:1px solid var(--teal);
  color:#fff;display:flex;align-items:center;justify-content:center;
  transition:background .18s,color .18s}
.pf-arrow svg{width:20px;height:20px}
.pf-arrow:hover{background:var(--green);border-color:var(--green)}

/* ---- why choose us ---- */
.why{padding:96px 0}
.why-in{display:grid;grid-template-columns:1.05fr .95fr;gap:58px;align-items:center}
.featbox{display:flex;gap:18px;background:#fff;border:1px solid var(--line);
  border-radius:var(--rl);padding:22px;margin-bottom:18px;
  box-shadow:var(--shadow-sm);transition:border-color .2s ease,transform .2s ease}
.featbox:hover{border-color:var(--green);transform:translateX(5px)}
.featbox-icon{flex:0 0 56px;width:56px;height:56px;border-radius:14px;
  background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center}
.featbox-icon svg{width:27px;height:27px}
.featbox h3{font-size:1.12rem;margin-bottom:.3em}
.featbox p{font-size:.93rem;margin:0}
.why-media img{width:100%;border-radius:16px 190px 16px 190px;box-shadow:var(--shadow)}

/* ---- working process ---- */
.process{background:var(--tint);padding:96px 0}
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.step{position:relative;background:#fff;border-radius:var(--rl);padding:34px 32px;
  box-shadow:var(--shadow-sm);overflow:hidden}
.step-no{position:absolute;right:16px;top:2px;font-family:"Archivo Narrow",sans-serif;
  font-weight:700;font-size:5.4rem;line-height:1;color:transparent;
  -webkit-text-stroke:2px rgba(0,93,121,.18)}
.step h3{position:relative;z-index:2;margin-bottom:.4em}
.step p{position:relative;z-index:2;margin:0;font-size:.96rem;max-width:40ch}

/* ---- stats ---- */
.stats{background:var(--teal);color:#fff;padding:56px 0}
.stats-in{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;text-align:center}
.stat{display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:0 10px;border-right:1px solid rgba(255,255,255,.2)}
.stat:last-child{border-right:0}
.stat-icon{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.stat-icon svg{width:26px;height:26px}
.stat-plus{font-family:"Archivo Narrow",sans-serif;font-size:3rem;line-height:1;
  color:var(--lime);font-weight:700}
.stat b{font-family:"Archivo Narrow",sans-serif;font-size:3rem;line-height:1;
  color:var(--lime)}
.stat small{font-size:.94rem;color:rgba(255,255,255,.88);line-height:1.4}

/* ---- newsletter ---- */
.news{padding:96px 0}
.news-panel{background:var(--teal);border-radius:20px;overflow:hidden;
  display:grid;grid-template-columns:.85fr 1.15fr;align-items:stretch;
  box-shadow:var(--shadow)}
.news-media{min-height:300px}
.news-media img{width:100%;height:100%;object-fit:cover}
.news-copy{padding:50px 46px;color:#fff}
.news-copy h2{color:#fff;font-size:clamp(1.6rem,2.6vw,2.2rem)}
.news-copy p{color:rgba(255,255,255,.88)}
.news-form{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}
.news-form input{flex:1 1 220px;min-width:0;padding:14px 18px;border-radius:var(--r);
  border:2px solid transparent;background:#fff;color:var(--ink);
  font-family:Lato,sans-serif;font-size:1rem}
.news-form input:focus{outline:none;border-color:var(--lime)}

/* ---- footer ---- */
.site-foot{background:var(--dark);color:rgba(255,255,255,.82);padding:74px 0 0}
.foot-in{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:44px;
  padding-bottom:50px}
.foot-brand img{width:210px;margin-bottom:18px}
.foot-brand p{font-size:.95rem;max-width:36ch}
.site-foot h4{color:#fff;font-size:1.22rem;margin-bottom:1em;position:relative;
  padding-bottom:12px}
.site-foot h4::after{content:"";position:absolute;left:0;bottom:0;width:42px;
  height:3px;background:var(--green);border-radius:2px}
.foot-links li,.foot-info li{margin-bottom:12px;font-size:.95rem}
.foot-links a:hover{color:var(--lime)}
.foot-info li{display:flex;align-items:flex-start;gap:10px}
.foot-info svg{width:17px;height:17px;flex:0 0 17px;color:var(--lime);margin-top:5px}
.foot-info a:hover{color:var(--lime)}
.foot-social{display:flex;gap:10px;margin-bottom:10px}
.foot-social a{width:36px;height:36px;border-radius:9px;
  background:rgba(255,255,255,.1);display:flex;align-items:center;
  justify-content:center;transition:background .18s}
.foot-social a svg{width:17px;height:17px}
.foot-social a:hover{background:var(--green);color:#fff}
.foot-cta{margin-top:8px}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;
  gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.14);
  padding-top:22px;padding-bottom:22px;font-size:.88rem}
.foot-bottom p{margin:0}
.foot-tag{font-family:"Archivo Narrow",sans-serif;text-transform:uppercase;
  letter-spacing:.14em;color:var(--lime);font-size:.82rem}

/* ================= responsive ================= */
@media (max-width:1120px){
  .minicard{flex-basis:calc(33.333% - 15px)}
  .svc{flex-basis:calc(50% - 13px)}
  .nav{gap:18px}
  .nav>a{font-size:.96rem}
}
@media (max-width:900px){
  .burger{display:flex}
  .head-cta{display:none}
  .nav{position:absolute;left:0;right:0;top:100%;margin:0;
    flex-direction:column;align-items:stretch;gap:0;background:var(--navy);
    padding:0 20px;max-height:0;overflow:hidden;transition:max-height .3s ease,
    padding .3s ease;box-shadow:0 20px 34px rgba(0,20,40,.35)}
  .nav.open{max-height:520px;padding:12px 20px 22px}
  .nav>a{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.12)}
  .nav>a:not(.btn)::after{display:none}
  .nav-cta{display:inline-flex;margin-top:16px;border-bottom:0}
  .hero{padding:56px 0 150px}
  .hero-in{grid-template-columns:1fr;gap:40px}
  .hero-media{order:-1;max-width:520px}
  .about-in,.why-in,.pf-head{grid-template-columns:1fr;gap:40px}
  .about-media{max-width:520px}
  .why-media{max-width:520px;order:-1}
  .pf-head{align-items:start}
  .news-panel{grid-template-columns:1fr}
  .news-media{min-height:240px;max-height:300px}
  .news-copy{padding:36px 28px 40px}
  .foot-in{grid-template-columns:1fr 1fr;gap:34px}
  .foot-brand{grid-column:1/-1}
  .pf-rail{padding-left:20px;padding-right:20px;scroll-padding-left:20px}
}
@media (max-width:760px){
  .topbar{font-size:.8rem}
  .topbar-in{justify-content:center;gap:6px 14px;padding-top:7px;padding-bottom:7px;
    min-height:0;line-height:1.5}
  .topbar-contact{gap:6px 16px;justify-content:center}
  .topbar-social span{display:none}
  .topbar-social a{width:26px;height:26px}
  .cardrow{gap:18px}
  .minicard{flex-basis:100%}
  .cardrow-wrap{margin-top:-60px}
  .svc{flex-basis:100%;min-width:0}
  .steps{grid-template-columns:1fr}
  .facilities{padding:52px 0 4px}
  .fac-list li{padding:10px 18px;font-size:.98rem}
  .stats-in{grid-template-columns:1fr;gap:34px}
  .stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:26px}
  .stat:last-child{border-bottom:0;padding-bottom:0}
  .about,.services,.why,.process,.news{padding:64px 0}
  .portfolio{padding:100px 0 110px}
  .curve{height:56px}
}
@media (max-width:560px){
  body{font-size:15.5px}
  .brand img{width:158px}
  .head-in{min-height:70px}
  .hero{padding:44px 0 118px}
  .hero-wave{height:64px}
  .hero .lede{font-size:1.02rem}
  .hero-actions{gap:20px}
  .hero-media img,.hero-blob{border-radius:120px 12px 120px 12px}
  .why-media img{border-radius:12px 120px 12px 120px}
  .about-media::before{display:none}
  .since{width:104px;height:104px;right:-6px;bottom:-14px}
  .since em{font-size:1.65rem}
  .foot-in{grid-template-columns:1fr}
  .pf{flex:0 0 258px}
  .pf img{height:240px}
  .step{padding:28px 22px}
  .step-no{font-size:4.2rem}
  .foot-bottom{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---- inner pages, added for the WordPress build ---- */
.pagehero{position:relative;background:var(--dark);color:#fff;overflow:hidden;
  padding:64px 0 86px;text-align:center}
.pagehero::before{content:"";position:absolute;right:-160px;top:-120px;width:480px;
  height:480px;border-radius:50%;background:rgba(51,186,1,.16);filter:blur(6px)}
.pagehero-in{position:relative;z-index:2;max-width:820px;margin-inline:auto}
.pagehero h1{color:#fff;font-size:clamp(2rem,3.8vw,3.1rem);margin-bottom:.3em}
.pagehero p{color:rgba(255,255,255,.88);font-size:1.06rem;margin:0}
.pagehero-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:70px;
  z-index:3;fill:#fff;stroke:none}
.crumbs{position:relative;z-index:2;font-size:.85rem;color:rgba(255,255,255,.7);
  margin-bottom:1.1em}
.crumbs a{color:var(--lime)}

.pagebody{padding:72px 0 86px}
.pagebody-in{display:grid;grid-template-columns:1fr 330px;gap:56px;align-items:start}
.prose h2{margin-top:1.6em}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.5em;color:var(--teal)}
/* Bullets are drawn with an absolutely positioned dot rather than a flex child.
   Flex turned every list item into two columns, because the <strong> label and
   the text after it became separate flex items, which is what made the About
   page lists look broken. */
.prose ul{margin:0 0 1.2em;display:grid;gap:11px;padding:0;list-style:none}
.prose ul li{position:relative;padding-left:22px;line-height:1.65}
.prose ul li::before{content:"";position:absolute;left:0;top:.62em;
  width:9px;height:9px;border-radius:50%;background:var(--green)}

/* Tiles: a list that reads as a set of cards. Label on its own line, detail
   under it, two across on a wide screen. */
.prose ul.tiles{grid-template-columns:repeat(2,1fr);gap:16px;margin:0 0 1.5em}
.prose ul.tiles li{padding:20px 22px 20px 46px;background:var(--tint);
  border:1px solid var(--line);border-radius:var(--rl);line-height:1.6;
  font-size:.97rem;transition:border-color .2s ease,transform .2s ease}
.prose ul.tiles li:hover{border-color:var(--green);transform:translateY(-2px)}
.prose ul.tiles li::before{left:22px;top:1.75em}
/* a lone tile should not sit in a half-empty row */
.prose ul.tiles li:only-child{grid-column:1/-1}

/* Compact: for lists of one or two words, where a full tile would be mostly
   padding. Three across, tighter, centred on the dot. */
.prose ul.tiles.compact{grid-template-columns:repeat(3,1fr);gap:12px}
.prose ul.tiles.compact li{padding:14px 18px 14px 40px;font-size:1rem;
  font-family:"Archivo Narrow",sans-serif;font-weight:600;color:var(--ink)}
.prose ul.tiles.compact li::before{top:1.25em;left:18px}
.prose ul.tiles.compact li:only-child{grid-column:auto}
@media (max-width:760px){
  .prose ul.tiles.compact{grid-template-columns:repeat(2,1fr)}
}
.prose ul.tiles li strong{display:block;margin-bottom:.3em;color:var(--ink);
  font-family:"Archivo Narrow",sans-serif;font-weight:700;font-size:1.08rem;
  line-height:1.25}
.prose ul.tiles li b{display:block;font-family:"Archivo Narrow",sans-serif;
  font-weight:700;font-size:1.2rem;color:var(--teal);margin-top:.15em}
@media (max-width:760px){
  .prose ul.tiles{grid-template-columns:1fr}
}
.prose img{border-radius:var(--rl);margin:1.4em 0}

.sidecard{background:var(--tint);border:1px solid var(--line);border-radius:var(--rl);
  padding:26px 24px;margin-bottom:22px}
.sidecard h3{font-size:1.1rem;margin-bottom:.7em}
.sidecard-links{display:grid;gap:2px}
.sidecard-links a{display:block;padding:11px 14px;border-radius:var(--r);
  font-family:"Archivo Narrow",sans-serif;font-weight:600;color:var(--ink);
  background:#fff;border:1px solid var(--line);transition:background .18s,color .18s}
.sidecard-links a:hover,.sidecard-links a[aria-current]{background:var(--teal);color:#fff;
  border-color:var(--teal)}
.sidecard-cta{background:var(--dark);color:#fff;border:0}
.sidecard-cta h3{color:#fff}
.sidecard-cta p{color:rgba(255,255,255,.85);font-size:.95rem}
@media (max-width:1024px){
  .pagebody-in{grid-template-columns:1fr;gap:40px}
}
@media (max-width:760px){
  .pagehero{padding:48px 0 70px}
  .pagebody{padding:52px 0 64px}
}

/* projects page grid, the rail card reused on a light background */
.pf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.pf-grid .pf{flex:none;width:auto;box-shadow:var(--shadow-sm);
  border-radius:var(--rl)}
.pf-grid .pf-link{height:380px}
.pf-grid .pf-cap{padding:46px 20px 22px}
@media (max-width:1024px){.pf-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.pf-grid{grid-template-columns:1fr}}

/* ---- Contact Form 7, styled to the brand ---- */
.cf7-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.cf7-grid>p{grid-column:1/-1;margin:0 0 18px}
.cf7-grid>p.cf7-half{grid-column:auto}
.cf7-grid label{display:block;font-family:"Archivo Narrow",sans-serif;font-weight:600;
  color:var(--ink);font-size:1rem;line-height:1.7}
.cf7-grid .req{color:var(--green)}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],
.wpcf7 input[type=date],.wpcf7 select,.wpcf7 textarea{
  width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:var(--r);
  font-family:Lato,sans-serif;font-size:1rem;color:var(--ink);background:#fff;
  transition:border-color .18s,box-shadow .18s}
.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus{
  outline:0;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,93,121,.14)}
.wpcf7 textarea{resize:vertical;min-height:120px}
.wpcf7 input[type=submit]{cursor:pointer}
.wpcf7-not-valid-tip{color:#b3261e;font-size:.86rem;font-weight:700;
  font-family:Lato,sans-serif}
.wpcf7 form .wpcf7-response-output{margin:8px 0 0;padding:14px 16px;border-radius:var(--r);
  border:1px solid var(--line);background:var(--tint);font-size:.95rem}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--green);
  background:rgba(51,186,1,.09);color:#1f6b00}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{
  border-color:#e0b44d;background:#FFF3D6;color:#8a5b00}
.wpcf7-spinner{margin:0 0 0 10px}
@media (max-width:760px){.cf7-grid{grid-template-columns:1fr}}

/* contact details block beside the form */
.contact-split{display:grid;grid-template-columns:1fr 340px;gap:52px;align-items:start}
.contact-card{background:var(--dark);color:#fff;border-radius:var(--rl);padding:30px 28px}
.contact-card h3{color:#fff;font-size:1.15rem}
.contact-card ul{display:grid;gap:14px;margin:0}
.contact-card li{display:flex;gap:12px;align-items:flex-start;font-size:.97rem;
  color:rgba(255,255,255,.9)}
.contact-card svg{width:18px;height:18px;flex:0 0 18px;color:var(--lime);margin-top:5px}
.contact-card a{color:#fff}
.contact-card a:hover{color:var(--lime)}
@media (max-width:1024px){.contact-split{grid-template-columns:1fr;gap:36px}}

/* ---- Newsletter plugin, inside the teal panel ---- */
.news-form .tnp-widget-minimal{width:100%}
.news-form .tnp-widget-minimal form{display:flex;gap:12px;flex-wrap:wrap}
.news-form .tnp-widget-minimal input[type=email]{flex:1 1 230px;width:auto;min-width:0;
  padding:14px 16px;border:0;border-radius:var(--r);font-family:Lato,sans-serif;
  font-size:1rem;color:var(--ink)}
.news-form .tnp-widget-minimal input[type=submit]{flex:0 0 auto;width:auto;
  background:var(--green);color:#fff;border:0;border-radius:var(--r);cursor:pointer;
  font-family:"Archivo Narrow",sans-serif;font-weight:700;font-size:1rem;
  letter-spacing:.03em;padding:14px 28px;transition:background .18s}
.news-form .tnp-widget-minimal input[type=submit]:hover{background:var(--green-dk)}
.news-form .tnp-field{margin:0}

/* application form: upload field and checkbox rows */
.wpcf7 input[type=file]{width:100%;padding:12px 14px;border:1px dashed var(--line);
  border-radius:var(--r);background:var(--tint);font-family:Lato,sans-serif;font-size:.95rem}
.wpcf7-checkbox .wpcf7-list-item{display:inline-block;margin:0 18px 8px 0}
.wpcf7-checkbox .wpcf7-list-item-label{font-family:Lato,sans-serif;font-weight:400;
  color:var(--body)}
.wpcf7-checkbox input[type=checkbox]{margin-right:7px}

/* equal opportunity statement, quiet by design but present */
.eeo{margin-top:34px;padding-top:22px;border-top:1px solid var(--line);
  font-size:.88rem;line-height:1.7;color:#6b7076}
.eeo strong{color:var(--ink)}

@media (prefers-reduced-motion:reduce){
  .pf img,.pf-cap,.pf-ring,.pf-overlay{transition:none}
  .pf:hover img{transform:none}
}
@media (max-width:760px){
  .pf-link{height:430px}
  .pf-cap{padding:40px 18px 44px}
  .pf-curve{height:56px}
  .pf-intro{padding:64px 0 40px}
  .pf{flex-basis:280px}
}

/* the build credit, readable but not shouting */
.foot-credit{color:#fff;border-bottom:1px solid rgba(255,255,255,.35);
  transition:color .18s,border-color .18s}
.foot-credit:hover{color:var(--lime);border-bottom-color:var(--lime)}
