/* Keep the original desktop design; compact components apply below the navigation breakpoint. */
@media (max-width:1000px){
/* Homepage overview; expanded services, stories and enquiry form live on their own pages. */
.homepage .section{padding-block:64px}
.homepage .section-heading{gap:14px;margin-bottom:30px}
.homepage .section-heading .eyebrow{margin-bottom:16px}
.homepage .section-heading h2{font-size:clamp(2rem,3.2vw,2.75rem)}
.home-services{max-width:1120px}
.home-service-list{border-top:1px solid var(--line)}
.home-service{display:grid;align-items:center;padding:25px 0;border-bottom:1px solid var(--line)}
.home-service>*{min-width:0}
.home-service-number{font-size:.75rem;color:var(--muted)}
.home-service h3{margin:0;line-height:1.35}
.home-service p{font-size:1rem;color:var(--muted);margin:0;line-height:1.6;max-width:54ch}
.home-link-arrow{font-size:1.5rem;justify-self:end}
.home-service:hover h3{text-decoration:underline;text-underline-offset:5px}
.home-service:hover .home-link-arrow{color:#4d722f}
.home-difference{max-width:1120px}
.home-comparison{width:100%;border-spacing:0;border-collapse:separate;text-align:left;border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:1rem;table-layout:fixed}
.home-comparison th,.home-comparison td{vertical-align:middle;line-height:1.6;overflow-wrap:anywhere;hyphens:auto}
.home-comparison thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;font-weight:600;padding-block:17px}
.home-comparison th:first-child{width:24%}
.home-comparison tbody th{font-size:.9375rem;font-weight:600}
.home-comparison td:nth-child(2),.home-comparison thead th:nth-child(2){background:var(--soft);color:var(--muted)}
.home-comparison td:last-child,.home-comparison thead th:last-child{background:var(--green);color:#f0f5ec}
.home-comparison thead th:last-child{color:var(--lime)}
.home-comparison tbody th,.home-comparison tbody td{border-top:1px solid var(--line)}
.home-comparison tbody td:last-child{border-color:#456456}
.home-mobile-label{display:none}
.home-contact{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;background:var(--green);color:white;border-radius:18px;margin-bottom:64px}
.home-contact-copy h2{font-size:clamp(2rem,3vw,2.5rem);max-width:23ch;margin-bottom:18px}
.home-contact-copy>.eyebrow{color:var(--lime);margin-bottom:18px}
.home-contact-copy>p:not(.eyebrow){font-size:1rem;color:#d8e3d9;max-width:52ch;margin-bottom:24px}
.home-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 26px}
.home-contact-actions .button{background:var(--lime);color:var(--green);font-size:.875rem}
.home-contact-actions .button:hover{background:#e3f4c6}
.home-contact-actions .text-link{color:var(--lime);font-size:.8125rem;border-color:#789575}
.home-contact-direct{border-left:1px solid #456456;min-width:0}
.home-contact-direct .contact-person{margin:0 0 25px;align-items:center}
.home-contact-direct .contact-person img{width:72px;height:72px}
.home-contact-direct .contact-person strong{font-size:1rem}
.home-contact-direct .contact-person div>span{color:#d8e3d9;font-size:.75rem;max-width:27ch;line-height:1.6}
.home-contact-direct>p{font-size:.875rem;color:#d8e3d9;margin-bottom:8px}
.home-contact-phone{display:inline-flex;align-items:center;gap:24px;font-size:1.75rem;letter-spacing:-.035em;line-height:1.6}
.home-contact-phone span{font-size:1.375rem}
.home-contact-direct .home-contact-hours{font-size:.75rem;margin-block:7px 14px}
.home-contact-email{font-size:.8125rem;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;line-height:1.8}
  .home-service{grid-template-columns:24px minmax(0,.9fr) minmax(0,1.1fr) 24px;gap:18px}
  .home-service h3{font-size:1.25rem;hyphens:auto}
  .home-comparison th,.home-comparison td{padding:20px}
  .home-contact{gap:30px;padding:35px}
  .home-contact-direct{padding-left:28px}
  .home-contact-direct .contact-person{flex-wrap:wrap;gap:10px}
@media(max-width:760px){
  .homepage .section{padding-block:40px}
  .homepage .section-heading h2{font-size:2rem}
  .homepage .section-heading{margin-bottom:26px}
  .homepage .section-heading>p{margin-top:12px}
  .home-service{grid-template-columns:22px minmax(0,1fr) 24px;column-gap:14px;row-gap:8px;padding:20px 0}
  .home-service h3{grid-column:2;font-size:1.25rem}
  .home-service p{grid-column:2;grid-row:2;font-size:1rem}
  .home-service-number{grid-row:1;align-self:center}
  .home-link-arrow{grid-column:3;grid-row:1/3;align-self:center}
  .home-contact{grid-template-columns:1fr;gap:26px;padding:28px;margin-bottom:40px}
  .home-contact-copy h2{font-size:2rem}
  .home-contact-copy>p:not(.eyebrow){font-size:1rem}
  .home-contact-direct{border-left:0;border-top:1px solid #456456;padding:25px 0 0}
  .home-contact-direct .contact-person{flex-wrap:nowrap;margin-bottom:20px}
  .home-contact-direct .contact-person img{width:60px;height:60px}
  .home-contact-actions{gap:10px}
  .home-contact-actions .button{width:100%;font-size:.875rem}
  .home-contact-phone{font-size:1.625rem}
}
@media(max-width:600px){
  .home-comparison,.home-comparison tbody{display:block;border:0;overflow:visible}
  .home-comparison thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
  .home-comparison tbody{display:grid;gap:14px}
  .home-comparison tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}
  .home-comparison th:first-child{width:auto;grid-column:1/-1;text-align:center;padding:12px 16px;background:var(--paper);font-size:.875rem;border:0}
  .home-comparison td{display:block;padding:16px;font-size:1rem;line-height:1.65;min-width:0}
  .home-mobile-label{display:block;margin-bottom:9px;font-size:.75rem;font-weight:600;line-height:1.5;color:var(--muted)}
  .home-comparison td:last-child .home-mobile-label{color:var(--lime)}
}
@media(max-width:380px){
  .home-service{column-gap:10px;grid-template-columns:18px minmax(0,1fr) 18px}
  .home-service h3{font-size:1.1875rem;overflow-wrap:anywhere}
  .home-comparison td{padding:14px 12px}
  .home-contact{padding:24px}
  .home-contact-copy h2{font-size:1.875rem}
  .home-contact-actions .button{padding-inline:15px;gap:12px}
}

.homepage [data-home-view="desktop"]{display:none}
}
@media not all and (max-width:1000px){
  .homepage [data-home-view="mobile"]{display:none}
  .homepage .hero-stamp{width:max(127px,7.9375rem);height:max(127px,7.9375rem)}
  .homepage .round-arrow{font-size:23px}
  .homepage .comparison-arrow{font-size:25px}
  .homepage .service-number{width:auto;min-width:35px}
  .homepage .service-list h3,.homepage .service-audience{min-width:0;overflow-wrap:anywhere;hyphens:auto}
}

/* Center short introductory content once the homepage becomes a single column. */
@media (max-width:760px){
  .homepage .hero-copy{text-align:center}
  .homepage .hero-copy>.hero-badge{margin-inline:auto;text-align:left}
  .homepage .hero-description{max-width:34ch;margin-inline:auto;text-wrap:pretty;hyphens:none}
  .homepage .hero-copy>.button{justify-content:center;text-align:center}
  .homepage .value-strip>span{text-align:center;padding-right:0}
  .homepage .home-contact-copy>.eyebrow{justify-content:center}
  .homepage .home-contact-copy>h2{text-align:center;margin-inline:auto}
  .homepage .home-contact-actions{justify-content:center}
  .homepage .home-contact-actions>.button{justify-content:center;text-align:center}
}

/* Hero sentences wrap into even lines and the value strip avoids lone words; phones show the introduction as one paragraph. */
.homepage .hero-description>span{display:block;text-wrap:balance}
.homepage .value-strip>span{text-wrap:pretty}
@media (max-width:760px){
  .homepage .hero-description>span{display:inline}
}
@media (max-width:359px){
  .homepage .hero-description{hyphens:auto}
}

/* Hero location badge: one line in wide columns, two balanced lines in narrow ones. */
.homepage .hero-copy{container:hero-copy/inline-size}
.homepage .hero-badge{width:fit-content;max-width:100%;gap:10px;padding:5px 18px 5px 5px;border:1px solid var(--line);border-radius:999px;background:var(--white);line-height:1.45;box-shadow:0 1px 2px #163e360a}
.hero-badge-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--lime);flex-shrink:0}
.hero-badge-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9}
.hero-badge-text{text-wrap:balance}
@container hero-copy (max-width:400px){
  .hero-badge-text{max-width:15.45em}
}

@media(max-width:1000px){
  .home-contact-email{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}
  .home-service{padding-right:4px}
}
