:root{
  --coastal:#5B2735; /* maroon from SilkTree workwear */
  --sea:#70884F; /* leaf green from SilkTree workwear */
  --charcoal:#2F2528;
  --sand:#DCCDBE;
  --ivory:#F6F4EF;
  --white:#ffffff;
  --brass:#C8A76A;
  --muted:#6E5D61;
  --line:#E7DDD5;
  --shadow:0 14px 40px rgba(91,39,53,.10);
  --radius:24px;
  --radius-sm:18px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--charcoal);
  background:linear-gradient(180deg,var(--ivory) 0%, #FBF7F5 40%, var(--ivory) 100%);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{width:min(var(--max), calc(100% - 40px)); margin-inline:auto}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:16px;background:#fff;padding:10px 12px;border-radius:10px;z-index:100}

.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(246,244,239,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(220,205,190,.7);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand img{height:58px;width:auto;object-fit:contain}
.brand-text{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--sea)}
.links{display:flex;align-items:center;gap:8px}
.links a{padding:10px 14px;border-radius:999px;font-size:14px;font-weight:700;color:var(--coastal)}
.links a:hover,.links a.active{background:#ece6dc}
.nav-cta{background:var(--coastal)!important;color:#fff!important;box-shadow:0 12px 24px rgba(91,39,53,.18)}
.menu{display:none;background:transparent;border:0;padding:8px;cursor:pointer}
.menu span{display:block;width:26px;height:2px;background:var(--coastal);margin:5px 0;border-radius:2px}

.hero{padding:64px 0 54px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;background:#F1E7EA;color:var(--coastal);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brass)}
h1,h2,h3,h4{font-family:Georgia,"Times New Roman",ui-serif,serif;color:var(--charcoal);margin:0 0 14px}
h4{font-size:1rem;line-height:1.2}
h1{font-size:clamp(2.25rem, 5vw, 4.2rem);line-height:1;letter-spacing:-.025em}
h2{font-size:clamp(1.75rem,3.2vw,2.7rem);line-height:1.06;letter-spacing:-.025em}
h3{font-size:1.25rem;line-height:1.15}
.lead{font-size:clamp(1.05rem, 2vw, 1.35rem);color:#5b6661;max-width:720px}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:14px 20px;border:1px solid transparent;font-weight:800;transition:.2s ease;cursor:pointer}
.btn:hover{transform:translateY(-2px)}
.btn.primary{background:var(--coastal);color:#fff;box-shadow:0 16px 30px rgba(91,39,53,.18)}
.btn.secondary{background:#fff;border-color:var(--line);color:var(--coastal)}
.btn.ghost{background:transparent;border-color:rgba(255,255,255,.28);color:#fff}
.hero-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}
.hero-meta .meta-pill{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px;min-width:160px;box-shadow:var(--shadow)}
.hero-meta strong{display:block;color:var(--coastal);font-size:.98rem}.hero-meta span{color:var(--muted);font-size:.92rem}

.hero-visual{position:relative;min-height:590px}
.media-card{position:absolute;overflow:hidden;border-radius:30px;box-shadow:var(--shadow);background:#ddd}
.media-card img{width:100%;height:100%;object-fit:cover}
.hero-main{right:0;top:0;width:78%;height:76%}
.hero-secondary{left:0;bottom:4%;width:53%;height:42%;border:10px solid rgba(255,255,255,.92)}
.float-card{position:absolute;right:14px;bottom:0;max-width:280px;background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:22px;padding:18px 20px;box-shadow:var(--shadow);font-weight:700;color:var(--coastal)}
.float-card span{display:block;font-weight:500;color:var(--muted);margin-top:4px}

.section{padding:74px 0}
.section.muted{background:#FBF7F5;border-block:1px solid var(--line)}
.section.tinted{background:linear-gradient(180deg,#F7F0F2 0%, #FBF8F5 100%);border-block:1px solid var(--line)}
.section-head{display:flex;justify-content:space-between;gap:26px;align-items:end;margin-bottom:28px}
.section-head p{max-width:680px;margin:0;color:var(--muted)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.service-icon{width:48px;height:48px;border-radius:16px;background:#EEE5E7;display:grid;place-items:center;color:var(--coastal);font-weight:900;font-size:1.15rem;margin-bottom:16px}
.card p{margin:0;color:var(--muted)}

.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project-feature,.project-entry,.story-card,.photo-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.project-feature img,.project-entry img,.photo-card img{width:100%;height:100%;object-fit:cover}
.project-feature .copy,.project-entry .copy{padding:20px 20px 22px}
.project-feature .copy p,.project-entry .copy p{color:var(--muted);margin:0}
.project-feature .media{aspect-ratio:4/3}
.project-entry .media{aspect-ratio:4/3;background:#eee}
.kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sea);margin-bottom:8px}

.process{display:grid;grid-template-columns:.95fr 1.05fr;gap:26px;align-items:center}
.process .process-image{border-radius:30px;overflow:hidden;box-shadow:var(--shadow);min-height:460px}
.process .process-image img{width:100%;height:100%;object-fit:cover}
.step-list{display:grid;gap:14px;margin-top:20px}
.step{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.step b{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#e8f0ed;color:var(--coastal)}
.step div{color:var(--muted)}
.step strong{display:block;color:var(--charcoal);margin-bottom:3px}

.gallery-section{display:grid;gap:18px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-grid.two{grid-template-columns:repeat(2,1fr)}
.gallery-grid .project-entry.tall .media{aspect-ratio:4/5}
.gallery-grid .project-entry.wide .media{aspect-ratio:16/9}

.quote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.story-card{padding:24px}
.quote-mark{font-size:3rem;line-height:1;color:var(--brass);font-family:Georgia,serif;margin-bottom:10px}
.story-card p{margin:0;color:var(--muted)}
.story-card h3{margin-top:16px;margin-bottom:6px}
.story-card .label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--sea);font-weight:800}

.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:30px;align-items:start}
.about-stack{display:grid;gap:18px}
.logo-panel{display:grid;place-items:center;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.logo-panel img{max-width:200px}
.info-list{display:grid;gap:12px;margin-top:20px}
.info-item{padding:14px 16px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.info-item strong{display:block;color:var(--coastal);margin-bottom:3px}

.contact-band{background:var(--coastal);color:#fff;border-radius:32px;padding:34px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;box-shadow:var(--shadow)}
.contact-band h2,.contact-band p{color:#fff}
.contact-band p{margin:0;color:#dce4e0}
.form-wrap{display:grid;grid-template-columns:.88fr 1.12fr;gap:26px;align-items:start}
.contact-info{background:var(--coastal);color:#fff;border-radius:28px;padding:30px;box-shadow:var(--shadow)}
.contact-info h2,.contact-info h3{color:#fff}
.contact-info p,.contact-info li,.contact-info a{color:#dce4e0}
.contact-info ul{padding-left:18px;margin:0}
.contact-info .info-card{padding:16px 0;border-top:1px solid rgba(255,255,255,.14)}
.contact-photo{margin-top:22px;border-radius:20px;overflow:hidden}
.contact-photo img{width:100%;height:270px;object-fit:cover}
.form{background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow);display:grid;gap:15px}
.field{display:grid;gap:8px}.field label{font-weight:800;color:var(--coastal)}
.field input,.field textarea,.field select{width:100%;padding:14px 15px;border-radius:14px;border:1px solid #d9d0c4;background:#fff;font:inherit;color:var(--charcoal)}
.field textarea{min-height:140px;resize:vertical}
.form-note{margin:0;font-size:14px;color:var(--muted)}

.footer{background:#172a24;color:#fff;padding:48px 0 24px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:26px}
.footer img{height:64px;width:auto;object-fit:contain}
.footer p,.footer a{color:#d8e1de}
.footer h4{font-family:Inter,ui-sans-serif,sans-serif;font-size:.92rem;margin:0 0 10px;color:#fff}
.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;color:#b7c5c0;font-size:14px}

.page-hero{padding:58px 0 22px}
.page-hero .lead{max-width:820px}
.note{color:var(--muted);font-size:.98rem}

@media (max-width: 1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .feature-grid,.quote-grid,.gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 920px){
  .menu{display:block}
  .links{position:absolute;top:84px;left:20px;right:20px;display:none;flex-direction:column;align-items:stretch;background:var(--ivory);padding:14px;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
  .links.open{display:flex}
  .links a{text-align:center}
  .hero-grid,.process,.about-grid,.form-wrap{grid-template-columns:1fr}
  .hero-visual{min-height:480px}
  .feature-grid,.grid-3,.quote-grid,.gallery-grid,.gallery-grid.two{grid-template-columns:1fr}
  .contact-band{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section-head{display:block}.section-head .btn{margin-top:16px}
}
@media (max-width: 620px){
  .container{width:min(var(--max), calc(100% - 28px))}
  .nav{min-height:78px}
  .brand img{height:50px}
  .hero{padding-top:40px}
  .hero-visual{min-height:370px}
  .hero-main{width:87%;height:68%}
  .hero-secondary{width:68%;height:38%;border-width:7px}
  .float-card{position:relative;right:auto;bottom:auto;margin-top:16px;max-width:none}
  .hero-meta{display:grid;grid-template-columns:1fr}
  .section{padding:54px 0}
  .card,.story-card,.form,.contact-info,.contact-band{padding:22px;border-radius:22px}
  .footer-grid{grid-template-columns:1fr}
}


/* Final heading size adjustment — intentionally smaller than previous pass */
h1 {
  font-size: clamp(1.95rem, 3.6vw, 3.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.018em !important;
}

h2 {
  font-size: clamp(1.45rem, 2.35vw, 2.05rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.014em !important;
}

h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.18rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.005em !important;
}

h4 {
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
}

.lead {
  font-size: clamp(0.98rem, 1.45vw, 1.15rem) !important;
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem) !important;
  }

  h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.8rem) !important;
  }

  h3 {
    font-size: 1.05rem !important;
  }
}


/* Logo sizing fix: prevent the primary logo from being cropped and keep footer text-only */
.brand {
  flex: 0 1 520px;
}

.brand img {
  height: 66px !important;
  max-width: min(520px, 58vw) !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer img {
  height: 48px !important;
  max-width: 360px !important;
  width: auto !important;
  object-fit: contain !important;
}

@media (max-width: 620px) {
  .brand {
    flex-basis: 260px;
  }

  .brand img {
    height: 48px !important;
    max-width: 245px !important;
  }

  .footer img {
    height: 38px !important;
    max-width: 270px !important;
  }
}


/* SilkTree workwear palette refinement */
.hero-meta strong,
.info-item strong,
.field label,
.links a:hover,
.links a:focus-visible {
  color: var(--coastal);
}

.kicker,
.brand-text,
.story-card .label {
  color: var(--sea);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--sea);
  color: var(--sea);
}

.contact-band .btn.secondary,
.contact-info .btn.secondary {
  color: var(--coastal);
}


/* Updated readable leaf-only logo sizing */
.brand {
  flex: 0 1 560px;
}

.brand img {
  height: 72px !important;
  max-width: min(560px, 58vw) !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer img {
  height: 70px !important;
  max-width: 520px !important;
  width: auto !important;
  object-fit: contain !important;
}

.logo-panel img {
  max-width: 220px !important;
}

@media (max-width: 620px) {
  .brand {
    flex-basis: 270px;
  }

  .brand img {
    height: 52px !important;
    max-width: 260px !important;
  }

  .footer img {
    height: 52px !important;
    max-width: 300px !important;
  }
}


/* Applied horizontally-straight SilkTree logo with transparent background */
.brand {
  flex: 0 1 620px;
}

.brand img {
  height: 72px !important;
  max-width: min(620px, 62vw) !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer img {
  height: 72px !important;
  max-width: 560px !important;
  width: auto !important;
  object-fit: contain !important;
}

.logo-panel img {
  max-width: 220px !important;
  width: auto !important;
  object-fit: contain !important;
}

@media (max-width: 620px) {
  .brand {
    flex-basis: 280px;
  }

  .brand img {
    height: 54px !important;
    max-width: 280px !important;
  }

  .footer img {
    height: 50px !important;
    max-width: 320px !important;
  }
}


/* Final size tuning requested by user */
h1 {
  font-size: clamp(1.65rem, 3vw, 2.6rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.016em !important;
}

.brand {
  flex: 0 1 500px;
}

.brand img {
  height: 60px !important;
  max-width: min(500px, 56vw) !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer img {
  height: 60px !important;
  max-width: 460px !important;
  width: auto !important;
  object-fit: contain !important;
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(1.5rem, 6.8vw, 2.1rem) !important;
    line-height: 1.1 !important;
  }

  .brand {
    flex-basis: 250px;
  }

  .brand img {
    height: 44px !important;
    max-width: 240px !important;
  }

  .footer img {
    height: 42px !important;
    max-width: 260px !important;
  }
}


/* Partner logos section */
.partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}
.partner-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:190px}
.partner-card img{width:100%;height:96px;object-fit:contain;display:block;margin:auto}
.partner-card:first-child img{height:118px;border-radius:14px;object-fit:cover;background:#d8e5ef}
.partner-card h3{margin:0;font-size:1rem !important;line-height:1.25;text-align:center;color:var(--coastal)}
.partner-card.text-only{align-items:center;justify-content:center;text-align:center;background:linear-gradient(180deg,#fff 0%, #fbf7f5 100%)}
.partner-textmark{font-family:Georgia,serif;font-weight:700;font-size:1.65rem;line-height:1;color:var(--coastal);letter-spacing:-.03em}
.partner-textmark span{display:block;font-family:Inter,ui-sans-serif,sans-serif;font-size:.88rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sea);margin-top:8px}
@media (max-width: 1024px){.partner-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width: 920px){.partner-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 620px){.partner-grid{grid-template-columns:1fr}.partner-card img{height:86px}.partner-card:first-child img{height:110px}}


/* Updated partner section with refined logo assets */
.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.partner-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:180px}
.partner-card img{width:100%;height:102px;object-fit:contain;display:block;margin:auto}
.partner-card:first-child img{height:102px;border-radius:0;object-fit:contain;background:transparent}
.partner-card h3{margin:0;font-size:1rem !important;line-height:1.25;text-align:center;color:var(--coastal)}
.partner-card.text-only{display:none}
@media (max-width: 1024px){.partner-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width: 920px){.partner-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 620px){.partner-grid{grid-template-columns:1fr}.partner-card img,.partner-card:first-child img{height:88px}}


/* Balance taller C-Fam logo */
.partner-logo-compact{height:78px !important; max-height:78px !important; width:auto !important; object-fit:contain !important;}
@media (max-width: 620px){.partner-logo-compact{height:68px !important; max-height:68px !important;}}


/* Offline webfonts for a more modern SilkTree look */
@font-face{font-family:"InterLocal";src:url("fonts/Inter-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"InterLocal";src:url("fonts/Inter-SemiBold.otf") format("opentype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"InterLocal";src:url("fonts/Inter-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"InterDisplayLocal";src:url("fonts/InterDisplay-SemiBold.otf") format("opentype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"InterDisplayLocal";src:url("fonts/InterDisplay-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}

body{font-family:"InterLocal",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;}
h1,h2,h3,h4{font-family:"InterDisplayLocal","InterLocal",Inter,ui-sans-serif,system-ui,sans-serif !important;font-weight:700 !important;color:var(--charcoal);letter-spacing:-0.028em !important;}
h1{font-size:clamp(1.62rem, 3vw, 2.54rem) !important;line-height:1.06 !important;}
h2{font-size:clamp(1.42rem, 2.25vw, 1.98rem) !important;line-height:1.08 !important;}
h3{font-size:clamp(1.02rem, 1.35vw, 1.16rem) !important;line-height:1.22 !important;}
.lead{font-size:clamp(0.98rem, 1.3vw, 1.12rem) !important;}
.eyebrow,.links a,.btn,.meta-pill strong{font-family:"InterLocal",Inter,ui-sans-serif,system-ui,sans-serif !important;}
.brand img{height:56px !important;max-width:min(460px,56vw) !important;}
.footer img{height:56px !important;max-width:420px !important;}
@media (max-width:620px){.brand img{height:42px !important;max-width:230px !important}.footer img{height:40px !important;max-width:250px !important}h1{font-size:clamp(1.46rem, 6.6vw, 2.04rem) !important;}h2{font-size:clamp(1.28rem, 5.4vw, 1.72rem) !important;}}

/* Service card icons */
.service-icon{width:54px;height:54px;border-radius:18px;background:linear-gradient(180deg,#F1E7EA 0%, #ECE5DE 100%);display:grid;place-items:center;color:var(--coastal);margin-bottom:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.service-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.card:hover .service-icon{transform:translateY(-2px);transition:transform .2s ease}


/* Font refinement: stylish but still modern */
@font-face{font-family:"SilkSerif";src:url("fonts/EBGaramond-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"SilkSerif";src:url("fonts/EBGaramond-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"SilkSerif";src:url("fonts/EBGaramond-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

h1,h2,h3,h4 {
  font-family: "SilkSerif", Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.018em !important;
}

h1 {
  font-size: clamp(1.9rem, 3.55vw, 3.05rem) !important;
  line-height: 0.98 !important;
}

h2 {
  font-size: clamp(1.65rem, 2.75vw, 2.35rem) !important;
  line-height: 1.02 !important;
}

h3 {
  font-size: clamp(1.22rem, 1.65vw, 1.42rem) !important;
  line-height: 1.08 !important;
}

.card h3,
.project-feature h3,
.project-entry h3,
.story-card h3 {
  font-weight: 600 !important;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
}

.brand img {
  height: 58px !important;
  max-width: min(500px, 58vw) !important;
}

.footer img {
  height: 58px !important;
  max-width: 460px !important;
}

@media (max-width:620px) {
  h1 {
    font-size: clamp(1.7rem, 7vw, 2.25rem) !important;
    line-height: 1.02 !important;
  }

  h2 {
    font-size: clamp(1.45rem, 5.8vw, 1.95rem) !important;
  }

  .brand img {
    height: 44px !important;
    max-width: 250px !important;
  }

  .footer img {
    height: 42px !important;
    max-width: 280px !important;
  }
}


.partner-logo-wide{height:70px !important; max-height:70px !important; width:auto !important; object-fit:contain !important;}
@media (max-width:620px){.partner-logo-wide{height:60px !important; max-height:60px !important;}}


/* Add a little more breathing room between eyebrow labels and headings */
.eyebrow{margin-bottom:16px !important;}
.section-head .eyebrow{margin-bottom:18px !important;}
.page-hero .eyebrow,.hero .eyebrow{margin-bottom:18px !important;}


/* Final heading weight adjustment */
h1,
h2,
h3,
h4 {
  font-weight: 500 !important;
}

.card h3,
.project-feature h3,
.project-entry h3,
.story-card h3,
.footer h4 {
  font-weight: 500 !important;
}


/* Footer Facebook icon */
.footer-social{display:inline-flex;align-items:center;vertical-align:middle;margin-top:8px}
.footer-facebook-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;background:rgba(255,255,255,.06);transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.footer-facebook-link:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.46);transform:translateY(-1px)}
.footer-facebook-link img{width:18px !important;height:18px !important;display:block;filter:none}
.footer p .footer-social{margin-left:0}


/* Stronger visible Facebook footer icon */
.footer-facebook-link {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.22) !important;
}

.footer-facebook-link img {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
}

.footer-facebook-link:hover,
.footer-facebook-link:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.30) !important;
}


/* H3/H4 weight refinement */
h3,
h4,
.card h3,
.project-feature h3,
.project-entry h3,
.story-card h3,
.partner-card h3,
.footer h4 {
  font-weight: 600 !important;
}

/* Footer redesign */
.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(112,136,79,.22), transparent 36%),
    linear-gradient(135deg, #14251f 0%, #1c3028 58%, #111d18 100%) !important;
  color: #fff !important;
  padding: 58px 0 26px !important;
  margin-top: 0 !important;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(520px, 1.8fr);
  gap: 48px;
  align-items: start;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand img {
  height: 58px !important;
  width: auto !important;
  max-width: min(440px, 100%) !important;
  object-fit: contain !important;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,.72) !important;
  font-size: .98rem;
  line-height: 1.65;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column h4 {
  font-family: "SilkSerif", Georgia, "Times New Roman", serif !important;
  color: #fff !important;
  font-size: 1.15rem !important;
  line-height: 1.1 !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.01em !important;
}

.footer-column a,
.footer-column span {
  color: rgba(255,255,255,.72) !important;
  font-size: .95rem;
  line-height: 1.35;
}

.footer-column a {
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff !important;
  transform: translateX(2px);
}

.footer-contact {
  gap: 10px;
}

.footer-contact .footer-facebook-link {
  margin-top: 8px;
}

.footer-facebook-link {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.28) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
}

.footer-facebook-link img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
}

.footer-facebook-link:hover,
.footer-facebook-link:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,.34) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: .88rem;
}

@media (max-width: 920px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .footer {
    padding: 44px 0 24px !important;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand img {
    height: 46px !important;
    max-width: 290px !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}


/* Mobile optimization pass + Minute Plumbers partner update */
@media (max-width: 820px){
  .container{width:min(var(--max), calc(100% - 24px));}
  .nav{min-height:74px;gap:14px;}
  .brand{flex:1 1 auto;min-width:0;}
  .brand img{height:42px !important;max-width:min(235px, 65vw) !important;}
  .links{top:72px;left:12px;right:12px;padding:12px;gap:6px;}
  .hero{padding:28px 0 42px;}
  .hero-grid{gap:22px;}
  .eyebrow{margin-bottom:12px;}
  h1{font-size:clamp(1.6rem, 8vw, 2.2rem) !important;line-height:1.08 !important;}
  .lead{font-size:1rem !important;}
  .actions{gap:10px;margin-top:20px;}
  .btn{width:100%;padding:14px 18px;}
  .hero-visual{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:12px;min-height:0;}
  .media-card,.hero-main,.hero-secondary{position:static !important;width:100% !important;height:auto !important;}
  .media-card{aspect-ratio:4/3;border-radius:22px;overflow:hidden;}
  .hero-secondary{border:7px solid rgba(255,255,255,.92) !important;}
  .float-card{position:static !important;right:auto !important;bottom:auto !important;margin-top:0;max-width:none;padding:14px 16px;font-size:.96rem;}
  .section{padding:46px 0;}
  .section-head{margin-bottom:20px;}
  .grid-3,.grid-4,.feature-grid,.quote-grid,.gallery-grid,.gallery-grid.two,.partner-grid{grid-template-columns:1fr !important;}
  .card,.project-feature,.project-entry,.story-card,.contact-info,.form,.contact-band,.partner-card{border-radius:20px;}
  .project-feature .copy,.project-entry .copy,.story-card{padding:18px;}
  .service-icon{width:44px;height:44px;border-radius:14px;}
  .process .process-image{min-height:0;}
  .step{padding:14px 16px;}
  .footer{padding:40px 0 20px;}
  .footer-grid{grid-template-columns:1fr !important;gap:20px;}
  .footer img{height:42px !important;max-width:290px !important;}
}

@media (max-width: 480px){
  body{font-size:15px;}
  h2{font-size:clamp(1.3rem, 6.4vw, 1.65rem) !important;}
  h3{font-size:1.05rem !important;}
  h4{font-size:.95rem !important;}
  .hero-meta .meta-pill{min-width:0;}
  .contact-band{padding:22px 18px;}
  .contact-photo img{height:220px;}
  .partner-card img{height:82px !important;}
  .partner-logo-compact{height:60px !important;max-height:60px !important;}
  .partner-logo-wide{height:54px !important;max-height:54px !important;}
  .copyright{font-size:13px;}
}


/* Contact form backend helper */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* Contact submission success confirmation */
.success-confirmation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 4px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #EAF3ED;
  border: 1px solid rgba(112,136,79,.28);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.success-confirmation::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.success-confirmation strong {
  color: var(--sea);
}

.success-confirmation span {
  color: var(--muted);
}

@media (max-width: 520px) {
  .success-confirmation {
    display: flex;
    align-items: flex-start;
    width: 100%;
  }
}
