/* Approved HOME reference layout. All selectors stay scoped to HOME. */
body.external-home { background:#fff; color:#302e2b; --home-content-width:1200px; --home-section-space:80px; --home-body-size:16px; --home-card-copy-size:15px; }
body.external-home #main-content > section { border-top:0!important; border-bottom:0!important; }
body.external-home .ext-hero {
  display:grid!important; grid-template-columns:60fr 40fr!important;
  grid-template-rows:auto!important; align-items:center!important;
  width:100%!important; min-height:0!important; margin:0!important;
  padding:0!important; background:#463c34!important;
}
body.external-home .ext-hero-copy {
  grid-column:1!important; grid-row:1!important; width:100%!important;
  margin:0!important; padding:72px 32px 72px max(48px,calc((100vw - 1200px)/2))!important;
}
body.external-home .ext-hero h1 {
  width:100%!important; max-width:none!important; margin:0!important;
  font-size:clamp(40px,3.9vw,56px)!important; line-height:1.45!important;
  letter-spacing:-.055em!important; word-break:keep-all; color:#fff!important;
}
body.external-home .ext-hero h1 em { color:#f0debc!important; }
body.external-home .ext-hero::after {
  position:static!important; inset:auto!important; transform:none!important;
  grid-column:2!important; grid-row:1!important; order:initial!important;
  width:100%!important; height:460px!important; margin:0!important;
  background:#463c34 url('/assets/home-hero-editorial-desktop.png') 65% center/cover no-repeat!important;
}
body.external-home .partner-network.partner-network--trust { background:#fff!important; padding:0!important; }
body.external-home .partner-network--trust .partner-network-inner {
  display:grid!important; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr)!important;
  gap:64px!important; align-items:center!important; padding:var(--home-section-space) 0!important;
  width:min(var(--home-content-width),calc(100% - 96px))!important;
}
body.external-home .partner-network--trust .home-trust.home-trust--single {
  grid-column:1!important; grid-row:1!important; padding:0!important; background:transparent!important;
}
body.external-home .partner-network--trust .home-trust--single article { text-align:left!important; }
body.external-home .partner-network--trust .home-trust--single .home-trust-kicker { font-size:17px!important; margin-bottom:18px!important; }
body.external-home .partner-network--trust .home-trust--single article strong { font-size:clamp(44px,4.3vw,62px)!important; line-height:1.15!important; }
body.external-home .partner-network--trust .partner-network-content { grid-column:2!important; grid-row:1!important; }
body.external-home .partner-network--trust .partner-network-heading h2 { font-size:32px!important; line-height:1.4!important; }
body.external-home .partner-network--trust .partner-network-heading p { font-size:var(--home-body-size)!important; line-height:1.7!important; margin-top:16px!important; }
body.external-home .partner-network--trust .partner-network-list { margin-top:28px!important; gap:20px!important; }
body.external-home .home-services-editorial { padding:var(--home-section-space) 0!important; background:#F8F7F5!important; }
body.external-home .home-services-editorial-intro h2,
body.external-home .home-team-editorial h2,
body.external-home .home-tax-info h2,
body.external-home .home-contact-editorial h2 { font-size:42px!important; line-height:1.35!important; }
body.external-home .home-services-editorial-intro p { font-size:16px!important; margin-top:20px!important; white-space:normal!important; line-height:1.8!important; }
body.external-home .home-services-editorial-list { grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:20px!important; margin-top:32px!important; }
body.external-home .home-services-editorial-list article { min-height:224px!important; padding:26px 24px!important; border:1px solid #e2ded9!important; background:#fff!important; }
body.external-home .home-services-editorial-number { font-size:44px!important; margin-bottom:24px!important; color:#c2ad94!important; }
body.external-home .home-services-editorial-list h3 { font-size:23px!important; }
body.external-home .home-services-editorial-list p { font-size:var(--home-card-copy-size)!important; line-height:1.7!important; letter-spacing:-.045em; word-break:keep-all; }
body.external-home .home-services-editorial-list article:hover { background:#F8F7F5!important; border-color:#857b70!important; }
body.external-home .home-services-editorial-link { margin-top:10px!important; }
body.external-home .home-team-editorial.home-v2-team { padding:var(--home-section-space) 0!important; background:#fff!important; }
body.external-home .home-team-editorial .home-v2-inner { grid-template-columns:minmax(220px,.72fr) minmax(0,1.6fr)!important; column-gap:64px!important; row-gap:28px!important; }
body.external-home .home-team-editorial h2,
body.external-home .home-team-copy h3,
body.external-home .home-team-all-link { color:#463c34!important; }
body.external-home .home-team-intro p,
body.external-home .home-team-copy p,
body.external-home .home-team-progress { color:#655e56!important; }
body.external-home .home-team-visual { background:#bdb5aa!important; }
body.external-home .home-team-all-link { border-color:#857b70!important; }
body.external-home .home-team-button { color:#463c34!important; border-color:#857b70!important; }
body.external-home .home-team-button:hover,
body.external-home .home-team-button:focus-visible { color:#fff!important; background:#463c34!important; border-color:#463c34!important; }
body.external-home .home-team-button:focus-visible,
body.external-home .home-team-viewport:focus-visible { outline:2px solid #463c34!important; outline-offset:3px; }
body.external-home .home-tax-info { padding:64px 0!important; background:#fff!important; }
body.external-home .home-tax-info .home-v2-inner { grid-template-columns:1fr auto!important; gap:32px!important; align-items:center!important; }
body.external-home .home-tax-info h2 { grid-column:1; grid-row:1; }
body.external-home .home-tax-info .home-v2-inner > a { grid-column:2!important; grid-row:1!important; justify-self:end!important; margin:0!important; }
body.external-home .home-tax-info-list { grid-column:1 / -1!important; grid-row:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; border:0!important; }
body.external-home .home-tax-info-list a { padding:18px 0!important; border-top:0!important; border-bottom:1px solid #d8d2cb!important; }
body.external-home .home-tax-info-list strong { font-size:19px!important; line-height:1.6!important; word-break:keep-all; }
body.external-home .home-v2-contact.home-contact-editorial { padding:56px 0!important; background:#F1EFED!important; }
body.external-home .home-contact-editorial .home-v2-inner { min-height:100px!important; }
body.external-home .home-contact-editorial-copy p { font-size:17px!important; white-space:normal!important; }

@media (min-width:641px) and (max-width:980px) {
  body.external-home .ext-hero-copy { padding:48px 24px!important; }
  body.external-home .ext-hero h1 { font-size:36px!important; }
  body.external-home .ext-hero::after { height:360px!important; }
  body.external-home .partner-network--trust .partner-network-inner { grid-template-columns:1fr!important; gap:36px!important; }
  body.external-home .partner-network--trust .partner-network-content { grid-column:1!important; grid-row:2!important; }
  body.external-home .home-services-editorial-list { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  body.external-home .home-team-editorial .home-v2-inner { column-gap:32px!important; }
  body.external-home .home-tax-info-list { gap:20px; }
  body.external-home .home-tax-info-list strong { font-size:17px!important; }
}
@media(max-width:640px) {
  body.external-home .ext-hero { grid-template-columns:1fr!important; grid-template-rows:auto auto!important; }
  body.external-home .ext-hero-copy { padding:48px 20px!important; }
  body.external-home .ext-hero h1 { font-size:36px!important; line-height:1.42!important; }
  body.external-home .ext-hero::after { grid-column:1!important; grid-row:2!important; height:200px!important; background-image:url('/assets/home-hero-editorial-mobile.png')!important; }
  body.external-home .partner-network--trust .partner-network-inner { display:flex!important; width:calc(100% - 40px)!important; padding:32px 0!important; gap:0!important; }
  body.external-home .partner-network--trust .home-trust.home-trust--single { padding:0 0 24px!important; }
  body.external-home .partner-network--trust .home-trust--single article { text-align:center!important; }
  body.external-home .partner-network--trust .home-trust--single .home-trust-kicker { font-size:16px!important; }
  body.external-home .partner-network--trust .home-trust--single article strong { font-size:42px!important; }
  body.external-home .partner-network--trust .partner-network-heading h2 { font-size:28px!important; }
  body.external-home .partner-network--trust .partner-network-heading p { font-size:14px!important; }
  body.external-home .home-services-editorial { padding:56px 0!important; }
  body.external-home .home-services-editorial-intro h2,
  body.external-home .home-team-editorial h2,
  body.external-home .home-tax-info h2,
  body.external-home .home-contact-editorial h2 { font-size:32px!important; }
  body.external-home .home-services-editorial-intro p { font-size:16px!important; }
  body.external-home .home-services-editorial-list { grid-template-columns:1fr!important; gap:12px!important; margin-top:28px!important; }
  body.external-home .home-services-editorial-list article { grid-template-columns:34px minmax(0,1fr)!important; gap:0 14px!important; min-height:0!important; padding:20px 18px!important; }
  body.external-home .home-services-editorial-number { font-size:30px!important; margin:0!important; }
  body.external-home .home-services-editorial-list h3 { font-size:21px!important; }
  body.external-home .home-team-editorial.home-v2-team { padding:56px 0!important; }
  body.external-home .home-team-editorial-shell { margin-top:32px!important; }
  body.external-home .home-team-visual { aspect-ratio:1.25!important; }
  body.external-home .home-tax-info { padding:48px 0!important; }
  body.external-home .home-tax-info .home-v2-inner { grid-template-columns:1fr!important; gap:24px!important; }
  body.external-home .home-tax-info-list { grid-column:1!important; grid-row:2!important; grid-template-columns:1fr; gap:0; }
  body.external-home .home-tax-info-list a { padding:16px 0!important; }
  body.external-home .home-tax-info-list strong { font-size:18px!important; }
  body.external-home .home-tax-info .home-v2-inner > a { grid-column:1!important; grid-row:3!important; justify-self:start!important; }
  body.external-home .home-v2-contact.home-contact-editorial { padding:48px 0!important; }
  body.external-home .home-contact-editorial-copy p { font-size:16px!important; }
}
/* Override the existing compound HOME selector, and keep tablet titles intact. */
body.external-home .home-v2-focus.home-services-editorial { padding:var(--home-section-space) 0!important; background:#F8F7F5!important; }
body.external-home .partner-network--trust .home-trust--single article strong { text-align:left!important; }
body.external-home .home-team-editorial h2 { word-break:keep-all; }
@media (min-width:641px) and (max-width:980px) {
  body.external-home .ext-hero { grid-template-columns:1fr!important; grid-template-rows:auto auto!important; }
  body.external-home .ext-hero-copy { padding:48px!important; }
  body.external-home .ext-hero h1 { font-size:44px!important; }
  body.external-home .ext-hero::after { grid-column:1!important; grid-row:2!important; height:240px!important; }
  body.external-home .home-team-editorial .home-v2-inner { display:block!important; }
  body.external-home .home-team-editorial-shell { margin-top:40px!important; }
  body.external-home .home-team-all-link { display:inline-block!important; margin-top:28px!important; }
}
@media(max-width:640px) {
  body.external-home .home-v2-focus.home-services-editorial { padding:56px 0!important; }
  body.external-home .partner-network--trust .home-trust--single article strong { text-align:center!important; }
}

/* Preserve desktop flow; let the mobile introduction wrap at a readable size. */
body.external-home .home-services-editorial-intro .home-services-intro-line { display:block; white-space:nowrap; }
@media(max-width:640px) {
  body.external-home .home-services-editorial-intro p { font-size:16px!important; letter-spacing:-.035em!important; }
  body.external-home .home-services-editorial-intro .home-services-intro-line { white-space:normal; }
}

/* Preserve desktop card line breaks; let mobile copy use its available width. */
body.external-home .home-services-editorial-list .home-service-copy-line { display:block; white-space:nowrap; }
@media(min-width:641px) and (max-width:1100px) {
  body.external-home .home-services-editorial-list { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}

/* Fit the mobile service link underline to its text and arrow. */
@media (max-width:640px) {
  body.external-home .home-services-editorial-link { width:max-content!important; max-width:100%; justify-self:start!important; }
}

/* Make the HOME brand lettering comparable to the navigation text. */
body.external-home .ext-header .ext-brand img { height:44px!important; width:auto!important; }
@media (max-width:640px) {
  body.external-home .ext-header .ext-brand img { height:36px!important; }
}

/* Give the HOME consultation section more space and a clearer call to action. */
body.external-home .home-v2-contact.home-contact-editorial { padding:100px 0!important; }
body.external-home .home-contact-editorial .home-v2-inner { min-height:160px!important; }
body.external-home .home-contact-editorial h2 { font-size:52px!important; }
body.external-home .home-contact-editorial-link { min-width:200px!important; min-height:64px!important; padding:18px 28px!important; font-size:17px!important; }
@media (max-width:640px) {
  body.external-home .home-v2-contact.home-contact-editorial { padding:var(--home-section-space) 0!important; }
  body.external-home .home-contact-editorial .home-v2-inner { min-height:0!important; }
  body.external-home .home-contact-editorial h2 { font-size:38px!important; }
  body.external-home .home-contact-editorial-link { min-width:0!important; min-height:60px!important; padding:18px 24px!important; font-size:16px!important; }
}

/* Consultation message sits between the heading and existing guidance. */
body.external-home .home-contact-editorial-copy p.home-contact-review-message {
  margin:24px 0 0!important; max-width:620px;
  font-size:24px!important; font-weight:600!important; line-height:1.6!important;
  letter-spacing:-.035em!important; color:#302e2b!important;
  white-space:normal!important; word-break:keep-all; overflow-wrap:break-word; text-wrap:balance;
}
body.external-home .home-contact-review-message + p { margin-top:14px!important; }
@media (max-width:640px) {
  body.external-home .home-contact-editorial-copy p.home-contact-review-message {
    margin-top:22px!important; font-size:21px!important; line-height:1.55!important;
  }
  body.external-home .home-contact-review-message + p { margin-top:12px!important; }
}

/* Keep telephone contact directly beneath the consultation button. */
body.external-home .home-contact-actions { display:flex; flex-direction:column; align-items:stretch; gap:16px; flex:0 0 auto; }
body.external-home .home-contact-actions .home-contact-editorial-link { margin:0!important; }
body.external-home .home-contact-phone { display:block; text-align:center; color:#655e56; font-size:16px; line-height:1.6; text-decoration:none; white-space:nowrap; }
body.external-home .home-contact-phone span { color:#302e2b; font-weight:600; }
body.external-home .home-contact-phone:hover { text-decoration:underline; text-underline-offset:4px; }
@media (max-width:640px) {
  body.external-home .home-contact-actions { width:100%; margin-top:30px; gap:14px; }
  body.external-home .home-contact-phone { font-size:15px; }
}
body.external-home .home-contact-actions .home-contact-phone {
  background:transparent!important; color:#655e56!important; margin:0!important;
  padding:0!important; min-height:0!important; min-width:0!important;
  font-size:16px!important; font-weight:400!important;
}
@media (max-width:640px) {
  body.external-home .home-contact-actions .home-contact-phone { font-size:15px!important; }
}

/* Match telephone contact to the consultation button. */
body.external-home .home-contact-actions .home-contact-phone {
  display:flex; align-items:center; justify-content:center; gap:5px;
  background:#302e2b!important; color:#fffdf9!important;
  min-height:64px!important; padding:18px 16px!important;
  font-size:17px!important; font-weight:600!important; text-decoration:none;
}
body.external-home .home-contact-actions .home-contact-phone span { color:inherit; }
body.external-home .home-contact-actions .home-contact-phone:hover,
body.external-home .home-contact-actions .home-contact-phone:focus-visible { background:#4a443f!important; }
@media (max-width:640px) {
  body.external-home .home-contact-actions .home-contact-phone { min-height:60px!important; font-size:16px!important; }
}

/* Separate the online consultation label and arrow. */
body.external-home .home-contact-actions .home-contact-editorial-link { column-gap:8px; }

/* Give both desktop consultation buttons a wider, more prominent area. */
@media (min-width:981px) {
  body.external-home .home-contact-actions { width:340px; gap:18px; }
  body.external-home .home-contact-actions .home-contact-editorial-link,
  body.external-home .home-contact-actions .home-contact-phone {
    width:100%; min-height:76px!important; font-size:19px!important; padding:22px 20px!important;
  }
}

/* Read the services introduction as one sentence on desktop. */
@media (min-width:981px) {
  body.external-home .home-services-editorial-intro .home-services-intro-line { display:inline; }
  body.external-home .home-services-editorial-intro .home-services-intro-line + .home-services-intro-line::before { content:' '; }
}

/* HOME finishing rules: share reading widths and type without changing assets or content. */
body.external-home:has(#top) .home-team-intro p { font-size:var(--home-body-size); line-height:1.7; margin-top:20px; }
body.external-home:has(#top) .home-team-editorial-shell { padding-top:56px; }
body.external-home:has(#top) .home-team-controls { top:0; gap:16px; }
body.external-home:has(#top) .home-team-buttons { gap:8px; }
body.external-home:has(#top) .home-team-button { width:44px; height:44px; }
body.external-home:has(#top) .home-team-progress { font-size:13px; }
@media(min-width:641px) and (max-width:980px) {
  body.external-home:has(#top) .external-consultation h2 { font-size:42px; }
}
body.external-home:has(#top) .external-consultation p:not(.external-consultation-message) { font-size:var(--home-body-size); }
@media(min-width:641px) {
  body.external-home:has(#top) .partner-network--trust .partner-network-list li img {
    width:auto!important; height:80px!important; max-width:100%!important; max-height:80px!important;
    object-fit:contain; transform:none!important;
  }
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:first-child img,
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:nth-child(4) img {
    height:100px!important; max-height:100px!important;
  }
}
@media(min-width:641px) and (max-width:980px) {
  body.external-home .partner-network--trust .partner-network-inner,
  body.external-home .home-services-editorial > .home-v2-inner,
  body.external-home .home-team-editorial > .home-v2-inner,
  body.external-home:has(#top) .external-consultation-inner { width:calc(100% - 64px)!important; }
}
@media(max-width:640px) {
  body.external-home { --home-section-space:56px; }
  /* Balance the original logos optically without changing their image boxes. */
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:first-child img { transform:scale(1.8)!important; }
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:nth-child(2) img { transform:scale(1.4)!important; }
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:nth-child(3) img { transform:scale(1.7)!important; }
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:nth-child(4) img { transform:scale(1.8)!important; }
  body.external-home:has(#top) .partner-network--trust .partner-network-list li:nth-child(5) img { transform:scale(1.3)!important; }
  body.external-home .partner-network--trust .partner-network-heading p { font-size:16px!important; line-height:1.7!important; }
  body.external-home .partner-network--trust .partner-network-list { margin-top:20px!important; gap:16px!important; }
  body.external-home .home-services-editorial-intro p { line-height:1.7!important; }
  body.external-home .home-services-editorial-list p { font-size:16px!important; }
  body.external-home .home-services-editorial-list .home-service-copy-line { display:inline; white-space:normal; }
  body.external-home .home-service-copy-line + .home-service-copy-line::before { content:' '; }
  body.external-home:has(#top) .home-team-intro p { margin-top:20px; }
  body.external-home:has(#top) .home-team-editorial-shell { margin-top:28px!important; }
  body.external-home:has(#top) .external-consultation h2 { font-size:32px; }
  body.external-home:has(#top) .external-consultation .external-consultation-actions { margin-top:28px; }
}
