/* Three Factor Security — site-wide design refresh (approved preview layer, ported 2026-10-15).
   Served at /assets/tfs-refresh.css on every page by site-build/_tools/refresh_site.py. */

/* 1. Type scale: smaller display type, normal tracking */
main h1{font-size:clamp(2.25rem,1.2rem + 2.9vw,3.5rem)!important;line-height:1.06!important;letter-spacing:-.02em!important}
main h2{font-size:clamp(1.75rem,1.15rem + 1.5vw,2.5rem)!important;line-height:1.12!important;letter-spacing:-.015em!important}
main .eyebrow{letter-spacing:.12em}
.inner-hero{padding-top:56px!important;padding-bottom:56px!important;min-height:0!important}

/* 2. Proof strip */
.pv-proof{max-width:1240px;margin:0 auto;padding:28px 4vw}
.pv-proof ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.pv-proof li{border:1px solid #ffffff1f;border-radius:14px;background:#4b525b;padding:14px 16px}
.pv-proof a{color:inherit;text-decoration:none;display:block}
.pv-proof strong{display:block;font-size:18px;color:#fbfcfd}
.pv-proof span{display:block;font-size:13px;color:#d4d9df;margin-top:2px}
.pv-proof .pv-star{display:inline;margin:0;color:#ecbb1c}
@media (max-width:960px){.pv-proof ul{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-proof li:last-child{grid-column:1/-1}}

/* 3. Reviews */
.pv-reviews{max-width:1240px;margin:0 auto}
.pv-reviews-head{margin-bottom:28px}
.pv-reviews-sub{color:#d4d9df;margin-top:8px}
.pv-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pv-review{margin:0;background:#4b525b;border:1px solid #ffffff1f;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:14px}
.pv-review blockquote{margin:0}
.pv-review blockquote p{margin:0;font-size:15px;line-height:1.55;color:#fbfcfd}
.pv-review figcaption{margin-top:auto;font-size:13px;color:#d4d9df}
.pv-review figcaption strong{color:#fbfcfd;margin-right:6px}
.pv-stars{color:#ecbb1c;letter-spacing:2px;font-size:14px}
.pv-review-links{margin-top:18px;font-size:14px;color:#d4d9df}
.pv-review-links a{color:#d2b978}
@media (max-width:960px){.pv-review-grid{grid-template-columns:1fr}}

/* 4. Quick form */
.pv-form-card{background:#4b525b;border:1px solid #ffffff24;border-radius:22px;padding:28px;box-shadow:0 20px 50px #0000002e}
.pv-form-title{font-size:24px!important;line-height:1.2!important;margin:0 0 6px}
.pv-form-sub{color:#d4d9df;margin:0 0 20px;font-size:15px}
.tfs-quick-form label,.tfs-quick-details label{display:block;font-size:14px;font-weight:600;color:#fbfcfd;margin-bottom:14px}
.tfs-quick-form input:not([type=checkbox]),.tfs-quick-details input:not([type=radio]):not([type=file]),.tfs-quick-details textarea{display:block;width:100%;margin-top:6px;padding:12px 14px;border-radius:10px;border:1px solid #8a949f;background:#353b42;color:#fbfcfd;font-size:16px}
.tfs-quick-form input:focus,.tfs-quick-details input:focus,.tfs-quick-details textarea:focus{outline:2px solid #d2b978;outline-offset:1px;border-color:#d2b978}
.tfs-quick-form [aria-invalid=true]{border-color:#ff9b8a!important}
.pv-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media (max-width:520px){.pv-grid2{grid-template-columns:1fr}}
.pv-chips,.pv-radios{border:0;margin:4px 0 18px;padding:0}
.pv-chips legend,.pv-radios legend{font-size:14px;font-weight:600;margin-bottom:8px;color:#fbfcfd;padding:0}
.pv-chip-row{display:flex;flex-wrap:wrap;gap:8px}
.pv-chip{position:relative}
.pv-chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.pv-chip span{display:inline-block;padding:9px 14px;border-radius:999px;border:1px solid #8a949f;font-size:14px;color:#fbfcfd;background:#353b42;cursor:pointer}
.pv-chip input:checked+span{background:#d2b978;border-color:#d2b978;color:#17191d;font-weight:600}
.pv-chip input:focus-visible+span{outline:2px solid #fbfcfd;outline-offset:2px}
.pv-chips[aria-invalid=true] .pv-chip span{border-color:#ff9b8a}
.pv-submit{width:100%;margin-top:6px;font-size:16px;padding:15px 20px}
.pv-status{min-height:1.2em;font-size:14px;color:#ffb4a6;margin:10px 0 0}
.pv-fine{font-size:12.5px;color:#c4cad1;margin:8px 0 0;line-height:1.5}
.pv-fine a,.pv-call a{color:#d2b978}
.pv-call{font-size:15px;margin:12px 0 0;color:#fbfcfd}
.pv-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.pv-done h2{font-size:26px!important;margin:4px 0 6px}
.pv-ref{font-family:Menlo,Consolas,monospace;color:#d2b978}
.pv-radio-row{display:flex;flex-wrap:wrap;gap:8px}
.tfs-quick-details textarea{min-height:96px}
.pv-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:6px}
.pv-skip{background:none;border:0;color:#d4d9df;text-decoration:underline;font:inherit;cursor:pointer}

/* 5. Next steps + trust */
.pv-steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;gap:14px}
.pv-steps li{counter-increment:s;position:relative;padding-left:44px;color:#d4d9df;font-size:15px;line-height:1.5}
.pv-steps li:before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:#d2b978;color:#17191d;font-weight:700;display:grid;place-items:center;font-size:14px}
.pv-steps strong{color:#fbfcfd;display:block}
.pv-trust{font-size:13.5px;color:#d4d9df;border-top:1px solid #ffffff1f;padding-top:16px;margin-top:22px}

/* 6. Assessment page layout */
.pv-assess{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);grid-template-areas:"intro form" "aside form";gap:28px 64px;align-items:start;max-width:1240px;margin:0 auto;padding:48px 4vw 72px}
.pv-assess-intro{grid-area:intro}
.pv-assess-intro h1{margin:10px 0 14px}
.pv-assess-intro>p{color:#d4d9df;font-size:17px;line-height:1.55;max-width:34rem;margin:0}
.pv-assess .pv-form-card{grid-area:form;position:sticky;top:110px}
.pv-assess-aside{grid-area:aside}
.pv-assess-aside h2{font-size:20px!important;margin:0 0 14px}
.pv-mini-reviews{display:grid;gap:12px;margin-top:24px}
.pv-mini-reviews .pv-review{padding:18px}
@media (max-width:960px){.pv-assess{grid-template-columns:1fr;grid-template-areas:"intro" "form" "aside";padding-top:24px;gap:24px}.pv-assess .pv-form-card{position:static;padding:22px}}

/* 7. Form section on homepage / service page */
.pv-form-section{max-width:1240px;margin:0 auto}
.pv-form-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:56px;align-items:start}
.pv-form-intro p{color:#d4d9df}
.pv-form-intro .pv-steps{margin-top:22px}
@media (max-width:960px){.pv-form-wrap{grid-template-columns:1fr;gap:24px}}

/* 8. Photo strip */
.pv-photos{max-width:1240px;margin:0 auto}
.pv-photo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pv-photo-row figure{margin:0}
.pv-photo-row img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;display:block}
.pv-photo-row figcaption{font-size:13px;color:#d4d9df;margin-top:8px}
@media (max-width:960px){.pv-photo-row{grid-template-columns:1fr}}

.tfs-quick-form label.pv-chip,.tfs-quick-details label.pv-chip{display:inline-block;margin:0;font-weight:400}
main h1,main h2,.pv-form-title{font-weight:600!important}
.pv-assess-aside h2{font-weight:600!important}
.tfs-quick-details input[type=file]{display:block;margin-top:8px;color:#d4d9df;font-size:14px}

/* =====================================================================
   9. Refinement layer (2026-10-15) — Apple HIG principles applied to the existing look.
   Sources: HIG Accessibility (contrast 4.5:1 <18pt, 3:1 large; 44pt default / 28pt min controls;
   ~12pt padding around bezeled controls), HIG Typography (iOS body 17, subhead 15, footnote 13,
   caption 12, 11 minimum; avoid light weights), HIG Layout (group with containers/space, align, consistent spacing),
   HIG Materials (dimming layer ~35% behind text over bright media), WWDC25 design system (concentric radii:
   inner = outer − padding; hierarchy through layout, not decoration).
   ===================================================================== */
:root{
  --hig-surface:#4b525b; --hig-surface-hover:#525a64; --hig-line:rgba(255,255,255,.12); --hig-line-strong:rgba(255,255,255,.22);
  --hig-text:#fbfcfd; --hig-text-2:#d4d9df; --hig-text-3:#c4cad1;
  --hig-gold:#d2b978;        /* brand gold: fills, icons, on page background (4.9:1) */
  --hig-gold-text:#e8d08a;   /* gold text on card surfaces (5.2:1 on #4b525b) */
  --hig-star:#f2c94c;        /* stars on cards (5.0:1) */
  --hig-r-sm:12px; --hig-r-md:20px; --hig-r-lg:28px;   /* small tiles/media · cards · panels */
  --hig-pad:24px; --hig-gap:16px; --hig-section:96px;
}
@media (max-width:760px){:root{--hig-pad:20px;--hig-gap:12px;--hig-section:64px}}

/* 9a. Section rhythm on an 8-pt scale */
html body main section.section:not(.hero):not(.inner-hero){padding-top:var(--hig-section)!important;padding-bottom:var(--hig-section)!important}
html body main .mobile-home-section{padding-top:56px!important;padding-bottom:56px!important}
html body main .pv-proof{padding-top:32px!important;padding-bottom:32px!important}
html body main :is(.section-heading,.pv-reviews-head,.mobile-home-section-heading,.flat-service-directory-heading){margin-bottom:40px!important}
@media (max-width:760px){html body main :is(.section-heading,.pv-reviews-head,.mobile-home-section-heading,.flat-service-directory-heading){margin-bottom:28px!important}}
html body main :is(.feature-grid,.process-card-grid,.service-discovery-grid,.compact-service-grid,.flat-service-grid,.pv-review-grid,.pv-photo-row){gap:var(--hig-gap)!important}

/* 9b. One card: same surface, hairline, radius, padding. No forced heights (content sets height; rows still align). */
html body main :is(.feature-grid>article,.process-card-grid>article,.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card,.location-preview article,.mobile-home-areas article,.pv-review){
  background:var(--hig-surface)!important;border:1px solid var(--hig-line)!important;border-radius:var(--hig-r-md)!important;
  padding:var(--hig-pad)!important;min-height:0!important;box-shadow:none!important;gap:12px!important}
html body main :is(.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card){transition:background-color .2s ease,border-color .2s ease}
html body main :is(.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card):hover{background:var(--hig-surface-hover)!important;border-color:var(--hig-line-strong)!important}
html body main :is(.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card):focus-visible{outline:2px solid var(--hig-gold)!important;outline-offset:3px}
/* titles sit right under their meta row; the call to action pins to the bottom so a row of cards lines up */
html body main :is(.feature-grid>article,.process-card-grid>article,.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card) h3{
  margin-top:8px!important;font-size:21px!important;line-height:1.25!important;font-weight:500!important;letter-spacing:-.01em!important}
html body main :is(.feature-grid>article,.process-card-grid>article,.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card) p:not(.eyebrow){
  font-size:15px!important;line-height:1.5!important;color:var(--hig-text-2)!important;margin:0!important}
html body main :is(.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card)>b{
  margin-top:auto!important;padding-top:12px!important;font-size:15px!important;font-weight:600!important;color:var(--hig-gold-text)!important;display:inline-flex!important;align-items:center;gap:6px;min-height:32px}
@media (max-width:760px){html body main :is(.feature-grid>article,.process-card-grid>article,.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card) h3{font-size:19px!important}}

/* 9c. Small type: nothing under 12px; labels at 12px with readable tracking */
html body main .eyebrow{font-size:12px!important;letter-spacing:.1em!important}
html body main :is(.feature-grid>article,.process-card-grid>article,.service-discovery-grid>a,.compact-service-grid>a,.flat-service-card,.pv-form-card,.location-preview article) .eyebrow{color:var(--hig-gold-text)!important}
/* card index numbers: quieter, tabular, legible */
html body main :is(.feature-grid>article>span,.process-card-grid>article>span,.numbered-card-meta>span,.flat-service-card-meta-copy>span,.process-row>span,.home-monitoring-flow ol>li>span,.row-card-symbol>span,.mobile-service-list>a>span,.mobile-home-principles>span>b,.mobile-home-shortcuts>a>span,.flat-service-category-nav>a>b){
  font-size:12px!important;letter-spacing:.06em!important;color:var(--hig-text-3)!important;font-variant-numeric:tabular-nums}
/* category labels inside cards */
html body main :is(.service-card-icon-row>span,.flat-service-card-meta-copy>small,.mobile-service-list small,.mobile-project-card>span,.flat-service-category-nav>a>span){
  font-size:12px!important;line-height:1.35!important;letter-spacing:.06em!important;color:var(--hig-gold-text)!important;font-weight:600!important}
html body main .home-monitoring-flow ol>li>p{font-size:15px!important;line-height:1.5!important;color:var(--hig-text-2)!important}
html body main .city-mini-list>a,html body main .mobile-home-areas article nav>a{font-size:13px!important}
html body main :is(.team-carousel-slide figcaption p,.team-carousel-count,.team-carousel-pause){font-size:13px!important;color:var(--hig-text-2)!important}
html body main :is(.client-experience-disclaimer,.mobile-trust-disclaimer){font-size:12px!important;line-height:1.5!important;color:var(--hig-text-3)!important}
/* the logo is the name; drop the 6–8px captions under each logo (alt text still names it for screen readers) */
html body main :is(.client-logo-wordmark,.mobile-trust-logo-card>span){display:none!important}
html body main .client-experience-name{min-height:112px!important;border-radius:var(--hig-r-sm)!important;justify-content:center!important}
html body main .client-experience-panel{border-radius:var(--hig-r-lg)!important}
/* mobile home: hero lines, shortcuts, guide card, section links */
html body main :is(.tfs-hero-category-line,.tfs-hero-system-line){font-size:12px!important}
html body main .tfs-mobile-preview-geography span{font-size:13px!important}
html body main .mobile-home-principles>span{font-size:12px!important}
html body main .mobile-home-shortcuts>a>strong{font-size:14px!important}
html body main .mobile-guided-selector-card{border-radius:var(--hig-r-md)!important;padding:20px!important}
html body main .mobile-guided-selector-card>span{font-size:12px!important}
html body main .mobile-guided-selector-card p{font-size:14px!important;line-height:1.45!important}
html body main :is(.mobile-home-section-heading>a,.mobile-home-areas article>div>a){font-size:14px!important;display:inline-flex!important;align-items:center;min-height:44px;color:var(--hig-gold-text)!important}

/* 9d. Concentric corners: media inset in a card = card radius − inset */
html body main .tfs-security-path{border-radius:var(--hig-r-lg)!important}
html body main .tfs-security-path :is(img,picture,figure,.tfs-security-path-media){border-radius:var(--hig-r-sm)!important}
html body main :is(.team-work-carousel,.process-image){border-radius:24px!important}
html body main .team-carousel-viewport{border-radius:var(--hig-r-sm)!important}
html body main .mobile-project-card{border-radius:var(--hig-r-md)!important;padding:8px 8px 16px!important}
html body main .mobile-project-image{border-radius:var(--hig-r-sm)!important}
html body main .assessment-hero-visual{border-radius:var(--hig-r-lg)!important}
html body main .pv-photo-row img{border-radius:var(--hig-r-md)!important}

/* 9e. Text over photos: a dimming layer under the words, not a heavier font */
html body main .fieldwork-location-badge.fieldwork-location-badge{font-size:12px!important;letter-spacing:.06em!important;min-height:36px!important;padding:8px 12px!important}
html body main .fieldwork-location-badge.fieldwork-location-badge :is(.fieldwork-location-label,strong){font-size:12px!important}
html body main .assessment-hero-visual figcaption{font-size:12px!important;padding:48px 20px 18px!important;
  background:linear-gradient(to top,rgba(17,20,24,.78),rgba(17,20,24,0))!important}
html body main .team-carousel-slide figcaption{background:linear-gradient(to top,rgba(17,20,24,.8),rgba(17,20,24,0))!important}
/* mobile hero: the headline sits on the lower part of a bright photo */
html body main .mobile-home-experience .tfs-mobile-preview-photo::after{display:block!important;content:"";position:absolute;left:0;right:0;bottom:0;height:62%;pointer-events:none;
  background:linear-gradient(to top,rgba(57,63,71,.94) 0%,rgba(57,63,71,.6) 45%,rgba(57,63,71,0) 100%)}

/* 9f. Ratings and gold text that clear 4.5:1 on cards */
html body main .pv-stars,html body main .pv-proof .pv-star{color:var(--hig-star)!important}
html body main :is(.pv-form-card,.pv-review) a{color:var(--hig-gold-text)!important}
html body main .pv-fine{font-size:13px!important;color:var(--hig-text-3)!important}

/* 9g. Our own preview components on the same scale */
html body main .pv-proof li{border-radius:16px!important;padding:16px!important}
html body main .pv-proof strong{font-size:17px!important}
html body main .pv-proof span:not(.pv-star){font-size:13px!important}
html body main .pv-review blockquote p{font-size:16px!important;line-height:1.55!important}
html body main .pv-review figcaption{font-size:13px!important;color:var(--hig-text-2)!important}
html body main .pv-form-card{border-radius:var(--hig-r-lg)!important;padding:32px!important}
@media (max-width:760px){html body main .pv-form-card{border-radius:24px!important;padding:24px!important}}
html body main :is(.tfs-quick-form,.tfs-quick-details) :is(input,textarea){border-radius:var(--hig-r-sm)!important;min-height:48px}

/* 9h. Touch: 44-pt targets on touch screens (HIG default control size) */
@media (pointer:coarse){
  html body main :is(a.button,button.button,.pv-submit,.pv-skip){min-height:44px!important}
  html body main .pv-chip span{padding:12px 16px!important;min-height:44px;display:inline-flex!important;align-items:center}
  html body main :is(.city-mini-list>a,.mobile-home-areas article nav>a){min-height:36px;display:inline-flex!important;align-items:center}
  html body main .pv-chip-row,html body main .pv-radio-row{gap:10px!important}
}
/* 9i. Desktop hero: a soft dimming layer behind the headline (HIG Materials: dim bright media ~35%) instead of relying on text shadows */
html body main .hero.dark-hero .tfs-video-stage::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(ellipse 58% 52% at 50% 54%,rgba(20,24,29,.42) 0%,rgba(20,24,29,.16) 70%,rgba(20,24,29,0) 100%),rgba(20,24,29,.3)}
html body main .hero.dark-hero .hero-content{position:relative;z-index:3}
html body main .hero.dark-hero .hero-content>p:not(.eyebrow){color:#fff!important}
html body main .flat-service-card h3{font-size:22px!important}
/* 9j. Headline → body spacing in page heroes (title was touching the paragraph) */
html body main :is(.inner-hero,.assessment-hero-copy) h1{margin-bottom:20px!important}
html body main :is(.inner-hero,.assessment-hero-copy) h1+p{margin-top:0!important}

/* =====================================================================
   10. Interaction + structure pass (2026-10-15), benchmarked on apple.com:
   every clickable thing answers the pointer; one row for slide indicators; cards read
   title → sentence → link (no codes or repeated category labels); footer text 12px minimum
   in three tones (apple.com footer: 12px everywhere, headings 88% / links 72% / notes 56%).
   ===================================================================== */
html body main :is(a,button,summary,label){-webkit-tap-highlight-color:transparent}
html body main :is(a,button,summary):focus:not(:focus-visible){outline:none}

/* 10a. Slide indicators: one row, always (was a 10-column grid, so 15 slides wrapped to two rows) */
html body main .team-carousel-dots{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:6px!important}
html body main .team-carousel-dots button{height:24px!important}
html body main .team-carousel-dots button:focus-visible{outline:2px solid var(--hig-gold)!important;outline-offset:2px;border-radius:4px}
html body main .team-carousel-count{font-variant-numeric:tabular-nums;white-space:nowrap}

/* 10b. Hover / pressed feedback on everything clickable */
html body main :is(.city-mini-list>a,.mobile-home-areas article nav>a){transition:background-color .18s ease,border-color .18s ease,color .18s ease}
html body main :is(.city-mini-list>a,.mobile-home-areas article nav>a):hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.42)!important;color:#fff!important}
html body main :is(.text-link,.card-link,.pv-review-links a,.pv-fine a,.pv-call a){text-underline-offset:3px;text-decoration-thickness:1px;transition:color .18s ease}
html body main :is(.text-link,.card-link):hover{text-decoration:underline}
html body main :is(.pv-review-links a,.pv-fine a,.pv-call a){text-decoration:underline;text-decoration-color:rgba(232,208,138,.45)}
html body main :is(.pv-review-links a,.pv-fine a,.pv-call a):hover{text-decoration-color:currentColor;color:#fff!important}
html body main :is(.text-link,.card-link,.flat-service-card,.service-discovery-grid>a,.compact-service-grid>a) svg{transition:transform .2s ease}
html body main :is(.flat-service-card,.service-discovery-grid>a,.compact-service-grid>a):hover>b svg{transform:translateX(3px)}
html body main .pv-proof a{border-radius:inherit;transition:color .18s ease}
html body main .pv-proof li:has(a){transition:background-color .18s ease,border-color .18s ease}
html body main .pv-proof li:has(a):hover{background:var(--hig-surface-hover)!important;border-color:var(--hig-line-strong)!important}
html body main details>summary{cursor:pointer;transition:color .18s ease}
html body main details>summary:hover{color:var(--hig-gold-text)!important}
html body main .pv-chip span{transition:background-color .18s ease,border-color .18s ease}
html body main .pv-chip:hover input:not(:checked)+span{border-color:#c4cad1!important;background:#40464e!important}
html body main :is(a,button,label.pv-chip):active{transform:translateY(1px)}
html body :is(header,footer) a.brand{transition:opacity .18s ease}
html body :is(header,footer) a.brand:hover{opacity:.82}

/* 10c. Services: grouped in place; cards read icon → title → sentence → link */
html body main .pv-service-groups{display:grid;gap:48px}
html body main .pv-service-group-title{margin:0 0 16px!important;font-size:20px!important;font-weight:600!important;letter-spacing:-.01em!important;color:var(--hig-text)!important;
  display:flex;align-items:center;gap:12px}
html body main .pv-service-group-title::after{content:"";flex:1;height:1px;background:var(--hig-line)}
html body main .pv-service-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--hig-gap)!important}
@media (max-width:1180px){html body main .pv-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html body main .pv-service-grid .flat-service-card :is(h3,h4){font-size:20px!important}
@media (max-width:620px){html body main .pv-service-grid{grid-template-columns:1fr!important}}
html body main .flat-service-card .flat-service-card-meta{display:block!important;margin:0!important}
html body main .flat-service-card .flat-service-card-icon{width:40px!important;height:40px!important}
html body main .flat-service-card :is(h3,h4){margin:16px 0 8px!important;font-size:22px!important;line-height:1.25!important;font-weight:500!important;letter-spacing:-.01em!important;color:var(--hig-text)!important}
html body main .flat-service-card-title{margin:0!important;min-height:0!important}
/* other card grids: drop meaningless codes (P01, S01, 01 on a capability list) and repeated category labels; step numbers stay */
html body main :is(.feature-grid .numbered-card-meta>span:not(.card-symbol),.service-discovery-grid .numbered-card-meta>span:not(.card-symbol)){display:none!important}
html body main .feature-grid>article h3{margin:16px 0 0!important;padding-top:0!important}
html body main .compact-service-grid .service-card-icon-row>span:not(.flat-service-card-icon){display:none!important}
html body main :is(.feature-grid>article,.compact-service-grid>a) h3{margin-top:16px!important}
/* county cards: smaller symbol, title close to it */
html body main .location-preview article .card-symbol{width:40px!important;height:40px!important;margin-bottom:0!important}
html body main .location-preview article h3{margin:16px 0 8px!important;font-size:24px!important;font-weight:500!important}
html body main .location-preview article p{font-size:15px!important;line-height:1.55!important;color:var(--hig-text-2)!important}
html body main .city-mini-list{gap:8px!important;margin:20px 0 24px!important}
/* mobile service list: icon, title, chevron — no 01–12 codes or second-line category */
html body main .mobile-service-list>a>span:first-child,html body main .mobile-service-list small{display:none!important}
html body main .mobile-service-list>a{grid-template-columns:34px minmax(0,1fr) 20px!important;gap:14px!important;min-height:60px!important}
html body main .mobile-service-list strong{font-size:16px!important;font-weight:600!important}

/* 10d. Footer: 12px minimum, three tones, nothing upscaled */
html body footer:not(#_){--f-1:#f2f4f6;--f-2:#c9ced4;--f-3:#aab1b9}
html body footer:not(#_) :is(.footer-complete-group a,.footer-bottom a,.footer-label-full,.footer-tagline,.footer-coverage-link,.footer-partner-copy a,.tfs-office-notes span,.tfs-office-notes strong){font-size:12px!important}
html body footer:not(#_) .footer-complete-group a{color:var(--f-2)!important;line-height:1.5!important}
/* directory rows already have a rule line that lights up on hover; don't add a text underline on top */
html body footer:not(#_) .footer-complete-group a:hover{color:#fff!important;text-decoration:none!important}
html body footer:not(#_) .footer-bottom a:hover{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
html body footer:not(#_) .footer-complete-group h3{font-size:12px!important;color:var(--f-1)!important}
html body footer:not(#_) .footer-complete-group span{font-size:12px!important;color:var(--f-3)!important}
html body footer:not(#_) .eyebrow{font-size:12px!important;letter-spacing:.08em!important}
html body footer:not(#_) .tfs-office-card :is(span,small){font-size:12px!important;color:var(--f-2)!important}
html body footer:not(#_) .tfs-office-card strong{font-size:13px!important}
html body footer:not(#_) .tfs-office-card b,html body footer:not(#_) .tfs-office-group span{font-size:12px!important;letter-spacing:.06em!important}
html body footer:not(#_) :is(.footer-intro p,.footer-online,.tfs-office-intro,.tfs-mobile-location-note){font-size:13px!important;line-height:1.5!important}
html body footer:not(#_) .footer-hours{font-size:14px!important}
html body footer:not(#_) .footer-bottom :is(a,span){color:var(--f-2)!important}
html body footer:not(#_) .accessibility-control-note{font-size:12px!important;color:var(--f-2)!important}
html body footer:not(#_) .accessibility-control-actions :is(a,button){font-size:12px!important}
html body footer:not(#_) .footer-brand img{image-rendering:auto}

/* 10e. Phone bottom bar: one line per button, readable, not three stacked labels at 8–10px */
@media (max-width:1023px){
  html body:not(#_) .mobile-action-bar :is(a,button)>span{display:none!important}
  html body:not(#_) .mobile-action-bar :is(a,button) strong{font-size:14px!important;line-height:1.2!important;font-weight:650!important}
  html body:not(#_) .mobile-action-bar :is(a,button){min-height:52px!important;justify-content:center;align-items:center}
  html body:not(#_) .site-header .mobile-call-copy{font-size:12px!important}
}

/* one primary action in the phone bar: ticket button becomes secondary (outline), assessment stays gold */
@media (max-width:1023px){html body:not(#_) .mobile-action-bar .mobile-ticket-action{background:transparent!important;color:#f2f4f6!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:none!important}}
html body footer:not(#_) .accessibility-tool-grid button:hover{border-color:rgba(255,255,255,.5)!important;background:rgba(255,255,255,.06)!important}
html body footer:not(#_) .footer-complete-group>div>span{display:none!important}

/* =====================================================================
   11. Motion (2026-10-15). apple.com pattern: below-the-fold content waits at opacity 0 / 30px low and
   rises in once as it enters view; groups stagger ~70ms. Everything is transform/opacity (no layout shift),
   nothing above the fold is ever hidden, and "Reduce motion" turns all of it off.
   ===================================================================== */
@media (prefers-reduced-motion:no-preference){
  html body main .tfs-r{opacity:0;transform:translate3d(0,30px,0)}
  html body main .tfs-r.tfs-in{opacity:1;transform:none;
    transition:opacity .9s cubic-bezier(.25,.1,.25,1) var(--d,0ms),transform .9s cubic-bezier(.25,.1,.25,1) var(--d,0ms)}
  /* stars fill in one by one */
  html body main .pv-stars .tfs-star{display:inline-block;opacity:.25;transform:scale(.6)}
  html body main .pv-stars.tfs-stars-in .tfs-star{opacity:1;transform:none;
    transition:opacity .35s ease calc(var(--i)*70ms + 150ms),transform .45s cubic-bezier(.34,1.56,.64,1) calc(var(--i)*70ms + 150ms)}
  /* FAQ answers ease open instead of snapping */
  html body main details[open]>:not(summary){animation:tfsFaqIn .35s cubic-bezier(.25,.1,.25,1)}
  @keyframes tfsFaqIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
  /* choosing a form option gives a small, quick acknowledgement */
  html body main .pv-chip input:checked+span{animation:tfsChip .26s cubic-bezier(.34,1.56,.64,1)}
  @keyframes tfsChip{0%{transform:scale(.94)}100%{transform:scale(1)}}
  /* confirmation after sending the form fades up */
  html body main .pv-done{animation:tfsDone .6s cubic-bezier(.25,.1,.25,1)}
  @keyframes tfsDone{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  /* buttons press in slightly */
  html body main :is(a.button,button.button,.pv-submit):active{transform:scale(.98)!important}
}
@media (prefers-reduced-motion:reduce){html body main .tfs-r{opacity:1!important;transform:none!important}}
@media print{html body main .tfs-r{opacity:1!important;transform:none!important}}

/* =====================================================================
   12. Spacing + alignment pass (2026-10-15). One page gutter for every section (the site's: max 1500px,
   4vw sides on desktop, 24px on phones), and fixed gaps: eyebrow → headline 12, headline → intro 16,
   heading block → content 40 (28 on phones), content → trailing link 24.
   ===================================================================== */
html body main :is(.pv-reviews,.pv-form-section,.pv-photos,.pv-assess,.pv-proof){max-width:1500px!important;margin-left:auto!important;margin-right:auto!important;padding-left:4vw!important;padding-right:4vw!important}
@media (max-width:760px){html body main :is(.pv-reviews,.pv-form-section,.pv-photos,.pv-assess,.pv-proof){padding-left:24px!important;padding-right:24px!important}}
html body main .flat-service-directory{max-width:none!important;margin-left:0!important;margin-right:0!important}
html body main section.tfs-security-intro{max-width:1500px!important}
/* headline rhythm */
html body main section h2:not(:last-child):not(.pv-form-title):not(.pv-done h2){margin-bottom:16px!important}
html body main section .eyebrow+h2{margin-top:12px!important}
html body main .pv-reviews-head .pv-reviews-sub{margin-top:0!important}
/* heading straight into content (no wrapper) */
html body main section>h2+:not(p):not(.eyebrow),html body main .pv-photos>h2+.pv-photo-row{margin-top:40px!important}
html body main .pv-photos>h2{margin-bottom:0!important}
@media (max-width:760px){html body main section>h2+:not(p):not(.eyebrow),html body main .pv-photos>h2+.pv-photo-row{margin-top:28px!important}}
/* content → trailing link / note */
html body main .pv-review-links{margin-top:24px!important}
html body main .warranty-panel .text-link{margin-top:16px!important}
html body main .resilience-guide h2+p{margin-top:0!important}
html body main .tfs-evidence-links>p{margin-bottom:16px!important}
html body main .tfs-evidence-links{margin-top:40px!important}
html body main .pv-assess-aside h2{margin-bottom:20px!important}
html body main .home-services-section .button-outline{margin-top:40px!important}
/* phones: trust strip + hero */
html body main .mobile-trust-heading{margin-bottom:28px!important}
html body main .mobile-trust-disclaimer{margin-top:20px!important}
html body main .mobile-home-hero-copy .mobile-home-title{margin-bottom:8px!important}
html body main .mobile-home-hero-copy .eyebrow{margin-bottom:8px!important}

/* =====================================================================
   13. Slider controls (apple.com pattern): controls arrive just after the gallery; the active indicator fills
   over the time each photo is shown (pauses with the Pause button); paddles answer hover and press.
   ===================================================================== */
@media (prefers-reduced-motion:no-preference){
  html body main .team-work-carousel.tfs-r :is(.team-carousel-controls,.team-carousel-index){opacity:0;transform:translateY(14px)}
  html body main .team-work-carousel.tfs-r.tfs-in :is(.team-carousel-controls,.team-carousel-index){opacity:1;transform:none;
    transition:opacity .7s cubic-bezier(.25,.1,.25,1) .45s,transform .7s cubic-bezier(.25,.1,.25,1) .45s}
  html body main .team-work-carousel.tfs-r.tfs-in .team-carousel-index{transition-delay:.6s}
  html body main .team-carousel-dots button.active span{position:relative;overflow:hidden;background:rgba(255,255,255,.2)!important}
  html body main .team-carousel-dots button.active span::after{content:"";position:absolute;inset:0;background:var(--accent,#d2b978);transform-origin:left center;
    animation:tfsDotFill var(--tfs-dot-dur,6s) linear forwards}
  html body main .tfs-carousel-paused .team-carousel-dots button.active span::after{animation-play-state:paused}
  html body main .team-work-carousel.tfs-r:not(.tfs-in) .team-carousel-dots button.active span::after{animation-play-state:paused}
  @keyframes tfsDotFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}
html body main .team-carousel-controls button{transition:background-color .18s ease,transform .12s ease;border-radius:999px}
html body main .team-carousel-controls button:hover{background:rgba(255,255,255,.12)!important}
html body main .team-carousel-controls button:active{transform:scale(.94)}
html body main .team-carousel-controls button:focus-visible{outline:2px solid var(--hig-gold)!important;outline-offset:2px}

/* =====================================================================
   14. Site-wide templates (2026-10-15). The same rules as sections 9–10, extended to components that only
   exist outside the three preview pages: nothing under 12px, gold text on cards uses the card gold, secondary
   text on cards/forms clears 4.5:1, document pages keep document-sized headings, light panels keep dark text.
   ===================================================================== */
/* 14a. 12px floor for labels, indexes, captions, form hints and table heads */
html body main :where(.card-symbol-label>span,.numbered-card-meta>span,.row-card-symbol>span,.directory-card-meta>span,.industry-card-footer>span,.industry-index,
  .page-section-nav>strong,.page-section-nav a,.full-frame-photo-shell>figcaption,.full-frame-photo-shell figcaption>:is(span,small),.project-gallery-stage figcaption>span,
  .project-portfolio-index span,.project-portfolio-number,.project-photo-source,.project-service-tags>span,.project-portfolio-note>p,
  .portal-section-label>span,.portal-service-options>label>span,.media-security-note>:is(strong,p),.media-dropzone>label.button,
  .form-heading>span,.assessment-media-heading>:is(span,p),.assessment-consent>span,.feedback-form-intro>span,.feedback-field-grid>label>span,
  .feedback-rating-grid>legend,.feedback-rating-grid>label>span,.feedback-comments>span,.feedback-contact-consent>span,.career-platform-grid>legend,.career-platform-grid>label>span,
  .careers-equal-opportunity>p,.support-capabilities-grid>article>span,.unifi-hero-partner>p,.unifi-platform-rail>span,.technology-unifi-capabilities>span,
  .platform-card-copy>:is(p,small),.platform-internal-link,.article-byline>:is(a,span),.service-advantage-note,.planning-sheet-notes>strong,
  .service-directory-stats span,.industry-stats span,label>small,summary>span,.manager-article-list a>b,.kicker,.notice>strong,.price-table th,.price-table small,
  .factor>span,.monitoring-factor>span,.monitoring-assessment span,.perspective-item-heading>span,.proof-index){font-size:12px!important}
html body main :where(.project-gallery-thumbs button>span){font-size:12px!important;line-height:1!important}
html body main :where(.card-symbol-label>span:first-child,.numbered-card-meta>span:first-child,.row-card-symbol>span:first-child,.kicker,.factor>span,.monitoring-factor>span){letter-spacing:.08em!important}
/* 14b. Secondary text that has to clear 4.5:1 */
html body main :where(.industry-card-footer>span,.industry-index,.directory-card-meta>span,label>small,.project-portfolio-number){color:var(--hig-text-3)!important}
html body main :where(.careers-equal-opportunity>p,.article-professional-note>p:not(.eyebrow),.review-links-label){color:var(--hig-text-2)!important}
/* gold labels inside cards, forms and notes use the card gold (5.2:1 on the card surface) */
html body main :where(article,a,aside,form,[class*=card],.service-card-icon-row,.planning-sheet-notes,.project-portfolio-story-copy) :where(.eyebrow,.card-symbol-label>span:first-child,.numbered-card-meta>span:first-child,.form-heading>span,.assessment-media-heading>span,.portal-section-label>span,.feedback-form-intro>span,.planning-sheet-notes>strong,.project-photo-source),
html body main :where(.form-heading>span,.assessment-media-heading>span,.planning-sheet-notes>strong){color:var(--hig-gold-text)!important}
/* 14c. Light panels keep dark text (credential section, AXIS panels, printable planning sheets) */
html body main :where(.platform-credential-section,.company-platforms,.planning-sheet-page) :where(.eyebrow,.card-symbol-label>span:first-child,.numbered-card-meta>span:first-child){color:#6f5716!important}
html body main :where(.platform-credential-card) :where(p,small){color:#4a5058!important}
/* 14d. Document pages (policies): document-sized section headings, not marketing display type */
html body main .policy-content h2{font-size:clamp(1.375rem,1.1rem + .6vw,1.625rem)!important;line-height:1.25!important;letter-spacing:-.01em!important;margin-top:40px!important;margin-bottom:12px!important}
html body main .policy-content h2:first-child{margin-top:0!important}
/* 14e. Footer: accessibility panel (light card) and office directory at the 12px floor */
html body footer:not(#_) .accessibility-control-panel :is(p,small,button strong,button span,.accessibility-control-status){font-size:12px!important}
html body footer:not(#_) .accessibility-control-panel .accessibility-control-note{color:#4a4f55!important}
html body footer:not(#_) :is(.tfs-office-group>header>strong,.footer-bottom>span,span>small,address>small){font-size:12px!important}
/* 14f. Long tail found by the site-wide audit (help center, storage estimator, platforms, company, AXIS, city photo notes) */
html body main :is(.contact-assessment-points>span>i,.help-task-grid a.text-link,.popular-help-section nav a>span,.help-contact-actions>p,.failure-grid>article>span,
  .recommended-service-title :is(span,p),.city-place-figure figcaption>:is(span,small),.city-place-figure figcaption small>a,.technology-axis-official,
  .platform-credential-card span>small,.platform-category-heading>span,.recommended-platform-grid article p,.platform-trademark-note,
  .company-platform-logo>span,.company-platform-disclaimer,.full-frame-photo-shell>figcaption>:is(span,small),.manager-article-list a>span,
  .camera-set-name small,.camera-set-rate,.storage-control-grid label>span,.storage-input-suffix b,.storage-math-note,.storage-math-note a,.raid-summary small,
  .storage-result-primary>span,.storage-capacity-status>span,.storage-result-grid dt,.storage-result-disclaimer,.industry-storage-selector label,
  .industry-storage-profile>span,.industry-storage-summary dt,.industry-storage-source :is(p,a),
  .axis-service-hero-partner :is(span,small),.axis-credential-rail :is(strong,span),.axis-authority-links a,.axis-specialist-art figcaption){font-size:12px!important}
html body main :is(.recommended-service-title p,.camera-set-name small,.storage-input-suffix b,.storage-math-note,.storage-math-note a,.raid-summary small,
  .storage-result-grid dt,.storage-result-disclaimer,.industry-storage-summary dt,.planning-sheet-identity span){color:var(--hig-text-3)!important}
html body main :is(.manager-responsibility-grid>article>p,.industry-storage-source p){color:var(--hig-text-2)!important}
html body main :is(.credential-verification-grid>article>strong,.manager-article-list a>span,.industry-storage-profile>span,.recommended-service-title span){color:var(--hig-gold-text)!important}
/* text on white / cream panels */
html body main :is(.company-platform-logo>span,.company-platform-disclaimer){color:#4f555c!important}
html body main :is(.axis-service-hero-partner :is(span,small),.axis-specialist-art figcaption){color:#5a524a!important}
/* 14g. Headline → text gap on pages without a page hero (404, legacy hero) */
html body main section:not(.inner-hero):not(.assessment-hero) h1+p:not(.eyebrow){margin-top:16px!important}
html body main :is(.full-frame-photo-shell>figcaption>strong,.process-record-list>span>i,.industry-priority-list>span>i,.monitoring-plan-grid li,.operational-readiness-note,.planning-sheet-identity span,
  .axis-partner-points>span,.axis-partner-copy>p,.axis-partner-link){font-size:12px!important}
html body main :is(.sector-focus-section .section-heading .eyebrow,.card-symbol~.eyebrow){color:var(--hig-gold-text)!important}
/* 14h. Paragraph rhythm in intro/story columns (consecutive paragraphs were touching) */
html body main :is(.local-intro,.industry-overview,.detail-intro,.process-story,.estimator-notes,.contact-details) p+p:not(.eyebrow){margin-top:14px!important}
html body main :is(.careers-intro-section,.careers-values-section) .section-heading>p{margin-top:16px!important}
html body main .manager-profile-note .text-link{margin-top:12px!important}
/* 14i. Hover feedback for clickable things that had none (one effect each: cards light up, text links underline) */
html body main .local-service-grid>a{transition:background-color .2s ease,border-color .2s ease}
html body main .local-service-grid>a:hover{background:var(--hig-surface-hover)!important;border-color:var(--hig-line-strong)!important}
html body main .local-service-grid>a:focus-visible{outline:2px solid var(--hig-gold)!important;outline-offset:3px}
html body main :is(p,li)>a:not([class]):hover,html body main :is(.technology-axis-official,.contact-number,.contact-service-links>a):hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html body main .policy-content :is(ul,ol)+p{margin-top:16px!important}
html body main :is(.nearby-section div>a,.tfs-evidence-links>div>a):hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
/* links that are already underlined (policies, form privacy notes) brighten instead */
html body main :is(.policy-content,.portal-privacy-note,form p,.tfs-planning-links) a:not([class]){transition:color .18s ease}
html body main :is(.policy-content,.portal-privacy-note,form p,.tfs-planning-links) a:not([class]):hover{color:#fff!important}
html body main .company-field-grid figure.full-frame-photo-shell>figcaption :is(span,strong),html body main .case-study-delivery-list>span>i{font-size:12px!important}

/* 15. Integration pass (2026-10-15): header/footer leftovers found after the site-wide port */
html body:not(#_) .site-header .mobile-call-copy strong{font-size:12px!important}
html body footer:not(#_) .footer-phone-primary .eyebrow{color:#e8d08a!important}
html body footer:not(#_) .footer-coverage-title h2 span{color:rgba(255,255,255,.7)!important}
/* proof strip: license numbers never break mid-number (moved here from tfs-home.css so every page gets it) */
html body .pv-proof strong{white-space:nowrap}
@media (max-width:1100px) and (min-width:961px){html body .pv-proof strong{font-size:16px}}
@media (max-width:480px){html body .pv-proof li{padding:14px}html body .pv-proof strong{font-size:16px}}
@media (max-width:370px){html body .pv-proof strong{white-space:normal}}

/* 16. Flagship design pass (2026-10-15): alignment, card media, logo colours */
:root{
  --tfs-green:#43AF40; --tfs-yellow:#ECBA08; --tfs-blue:#2F5EAA;          /* the three logo colours */
  --tfs-green-text:#9FE09C; --tfs-blue-text:#B3CDF8;                      /* text tints, >=4.1:1 on every surface */
  --tfs-stripe:linear-gradient(90deg,var(--tfs-green) 0 33.333%,var(--tfs-yellow) 33.333% 66.666%,var(--tfs-blue) 66.666% 100%);
}
/* 16a. brand stripe: the three factors, once per page, under the header */
html body:not(#_) .site-header{border-bottom:2px solid transparent!important;border-image:var(--tfs-stripe) 1!important}
/* (footer stripe removed 2026-10-16: one brand stripe per page, under the header) */
/* 16b. colour roles: gold = action + key figures; blue = section labels + text links; green = small category labels */
/* section labels on the dark page surface only; labels inside cards and on the light credential panels keep their tuned colours */
html body:not(#_) main .eyebrow:not(.pv-svc-title):not(:is(article,a,aside,form,[class*=card],[class*=panel],.platform-credential-section,.company-platforms,.planning-sheet-page,.service-card-icon-row,.pv-form-card) .eyebrow),html body:not(#_) footer .eyebrow{color:var(--tfs-blue-text)!important}
html body:not(#_) main :is(p,li,dd,td,figcaption) a:not(.button):not([class*=button]):not(.pv-chip){color:var(--tfs-blue-text);text-decoration-color:rgba(155,189,242,.45)}
html body:not(#_) main :is(p,li,dd,td,figcaption) a:not(.button):not([class*=button]):hover{text-decoration-color:currentColor}
html body:not(#_) main :is(.audience-service-card-copy,.flat-service-card) small{color:var(--tfs-green-text)!important}
/* service icons take one logo colour per family (regrouped services) or rotate through the three (galleries) */
html body main .flat-service-card-icon svg{stroke:var(--tfs-icon,var(--hig-gold))!important}
html body main .flat-service-card-icon{border-color:color-mix(in srgb,var(--tfs-icon,#d2b978) 55%,transparent)!important;
  background:radial-gradient(circle at 32% 24%,color-mix(in srgb,var(--tfs-icon,#d2b978) 22%,transparent),transparent 42%),rgba(255,255,255,.02)!important}
html body main .flat-service-card-icon::after{background:var(--tfs-icon,#d2b978)!important;box-shadow:0 0 10px var(--tfs-icon,#d2b978)!important}
html body main .pv-service-group-title{padding-left:14px;border-left:3px solid rgba(255,255,255,.28)}
/* proof strip: a hairline of the tile's logo colour on top */
html body main .pv-proof li{border-top:2px solid color-mix(in srgb,var(--tfs-icon,#d2b978) 70%,transparent)!important}
/* photos were globally desaturated (saturate .94) - give the colour back */
html body .full-frame-photo-primary,html body .audience-visual-section:hover figure .full-frame-photo-primary{filter:none!important}

/* 16c. audience galleries (Residential / Business): every card photo the same shape, so captions and titles line up */
html body:not(#_) main .audience-service-card-media.full-frame-photo-shell{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important;flex:0 0 auto!important}
html body:not(#_) main .audience-service-card>a{grid-template-rows:auto 1fr!important;align-content:start!important}
html body main .audience-service-card-media .full-frame-photo-primary{object-fit:cover!important;padding:0!important}
html body main .audience-service-card-media .full-frame-photo-backdrop{display:none!important}
html body main .audience-service-card-meta>span:not(.flat-service-card-icon){display:none!important}
html body main .audience-service-card-copy{display:flex;flex-direction:column}
html body main .audience-service-card-copy>b{margin-top:auto!important;padding-top:20px}

/* 16d. footer: one left edge for every panel, readable addresses, a calm bottom bar */
html body footer:not(#_) .tfs-office-directory-v11{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:none!important}
html body footer:not(#_) .tfs-office-directory-v11 :is(p,span,address,a){letter-spacing:normal!important}
html body footer:not(#_) .footer-bottom{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:flex-start!important;column-gap:24px!important;row-gap:8px!important}
html body footer:not(#_) .footer-bottom>nav{display:flex!important;flex-wrap:wrap!important;column-gap:18px!important;row-gap:8px!important;flex:1 1 auto!important}
html body footer:not(#_) .footer-bottom>.footer-tagline{flex:1 0 100%!important;order:-1!important;width:auto!important;max-width:none!important;text-align:left!important;white-space:normal!important}
/* 16e. services hub + shared blocks */
html body:not(#_) footer:not(#_) .eyebrow{color:var(--tfs-blue-text)!important}
html body main .integrated-system-principles>article:nth-child(3n+1){--tfs-icon:#8ED68B}
html body main .integrated-system-principles>article:nth-child(3n+2){--tfs-icon:#F2CD4B}
html body main .integrated-system-principles>article:nth-child(3n){--tfs-icon:#9BBDF2}
html body:not(#_) main .specialty-link-grid .numbered-card-meta>span:not(.flat-service-card-icon){display:none!important}
html body:not(#_) main .specialty-link-grid .numbered-card-meta{justify-content:flex-start!important}
@media (min-width:761px){html body:not(#_) main .specialty-link-grid>a:last-child:nth-child(odd){grid-column:1/-1}}
html body:not(#_) main .integrated-system-principles .numbered-card-meta>span:not(.flat-service-card-icon){color:var(--tfs-icon)!important}
/* field-work feature: the photo fills its column on the site gutter instead of floating small in the middle */
@media (min-width:961px){
  html body:not(#_) main .authentic-field-feature{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(40px,5vw,80px)!important;align-items:center!important}
  html body:not(#_) main .authentic-field-feature-media{width:100%!important;max-width:none!important;justify-self:stretch!important;margin:0!important}
}
/* closing CTA band: heading left, the three actions on one line to the right (wrap only when there is no room) */
html body:not(#_) main .cta-band,html body:not(#_) .cta-band{display:block!important}
html body:not(#_) .cta-band .cta-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:12px!important;margin-top:28px!important;width:auto!important;max-width:none!important;grid-template-columns:none!important}
html body:not(#_) .cta-band .cta-actions .button{white-space:nowrap!important}
html body:not(#_) footer:not(#_) .footer-complete-directory-heading small{color:var(--tfs-blue-text)!important}
/* priority / layer cards: content sits together at the top instead of title pinned to the bottom of a tall empty box */
html body:not(#_) main .premium-card-grid>article{min-height:0!important;justify-content:flex-start!important}
html body:not(#_) main .premium-card-grid>article h3{margin-top:28px!important}
html body:not(#_) main .premium-card-grid .numbered-card-meta>span:not(.flat-service-card-icon){display:none!important}
/* feature photos fill their frame (no black letterbox bars around portrait photos) */
html body:not(#_) .full-frame-photo-primary{object-fit:cover!important;padding:0!important}

/* 17. Colour language (2026-10-16, see the "Three Factor Security - Color Language" doc):
   logo colours = the three factors only (green Secure, yellow Reliable, blue Professional); gold = clickable; the rest neutral. */
:root{--tfs-secure:#9FE09C;--tfs-reliable:#F2CD4B;--tfs-pro:#B3CDF8}
html body:not(#_) main .eyebrow:not(.pv-svc-title):not(:is(article,a,aside,form,[class*=card],[class*=panel],.platform-credential-section,.company-platforms,.planning-sheet-page,.service-card-icon-row,.pv-form-card) .eyebrow),html body:not(#_) footer .eyebrow,html body:not(#_) footer:not(#_) .eyebrow,html body:not(#_) footer:not(#_) .footer-complete-directory-heading small{color:var(--hig-text-3)!important}
html body:not(#_) main :is(p,li,dd,td,figcaption) a:not(.button):not([class*=button]):not(.pv-chip){color:var(--hig-gold-text)!important;text-decoration-color:rgba(232,208,138,.45)!important}
html body:not(#_) main :is(.audience-service-card-copy,.flat-service-card) small{color:var(--hig-text-3)!important}
/* proof strip: proof of staying power = Reliable; licences = Professional */
html body main .pv-proof li:nth-child(-n+3){--tfs-icon:#F2CD4B}
html body main .pv-proof li:nth-child(n+4){--tfs-icon:#B3CDF8}
/* business priorities: each card takes the factor its content proves */
html body main .business-priority-grid>article:is(:nth-child(1),:nth-child(2),:nth-child(4)){--tfs-icon:var(--tfs-secure)}
html body main .business-priority-grid>article:nth-child(3){--tfs-icon:var(--tfs-reliable)}
html body main .business-priority-grid>article:is(:nth-child(5),:nth-child(6)){--tfs-icon:var(--tfs-pro)}
/* residential "See, detect, control, respond" layers = what the system does = Secure */
html body main .audience-layer-section .premium-card-grid:not(.business-priority-grid)>article{--tfs-icon:var(--tfs-secure)}
/* how the work is done = Professional: the home process steps and the AXIS partner band */
html body:not(#_) main .process-section .process-row>:first-child{color:var(--tfs-pro)!important}
html body footer:not(#_) .footer-company-partners{border-left:3px solid var(--tfs-blue)!important}
/* labels inside cards: neutral too (light credential panels keep their dark tuned colour) */
html body:not(#_) main :is(article,a,aside,[class*=card],[class*=panel]) .eyebrow:not(:is(.platform-credential-section,.company-platforms,.planning-sheet-page) .eyebrow):not(.pv-svc-title){color:var(--hig-text-2)!important}
/* links on the light panels keep the dark tuned colour */
html body:not(#_) main :is(.accessibility-help,.platform-credential-section,.company-platforms,.planning-sheet-page) :is(p,li,dd,td,figcaption) a:not(.button):not([class*=button]):not(.pv-chip){color:#6f5716!important;text-decoration-color:rgba(111,87,22,.5)!important}
/* audience galleries + business comparison table: 12px floor and readable table text */
html body:not(#_) main .audience-service-card-copy>small{font-size:12px!important}
html body:not(#_) main .audience-service-card-copy>b{font-size:13px!important}
html body:not(#_) main .comparison-section :is(td,th){color:var(--hig-text-2)!important}
html body:not(#_) main .comparison-section td:first-child,html body:not(#_) main .comparison-section th{color:var(--hig-text)!important}
html body:not(#_) main .comparison-section th{font-size:12px!important}
html body:not(#_) main article>span:first-child:not(.flat-service-card-icon){font-size:max(12px,1em)!important}

/* 18. Layout audit fixes (2026-10-16): found by an automated pass over all 68 page templates.
   18a. Card grids never leave a half-empty last row: the last row's cards share the full width. */
@media (min-width:900px){
  html body:not(#_) main :is(.service-discovery-grid,.compact-service-grid,.sector-card-grid,.city-card-grid,.recommended-platform-grid){display:flex!important;flex-wrap:wrap!important;gap:16px!important}
  html body:not(#_) main :is(.service-discovery-grid,.compact-service-grid,.sector-card-grid,.city-card-grid,.recommended-platform-grid)>*{flex:1 1 calc((100% - 32px)/3)!important;min-width:0!important;max-width:none!important;grid-column:auto!important}
  html body:not(#_) main :is(.installation-stage-grid,.resource-grid,.article-directory-grid,.industry-directory-grid){display:flex!important;flex-wrap:wrap!important;gap:14px!important}
  html body:not(#_) main :is(.installation-stage-grid,.resource-grid,.article-directory-grid,.industry-directory-grid)>*{flex:1 1 calc((100% - 14px)/2)!important;min-width:0!important;max-width:none!important;grid-column:auto!important}
}
/* 18b. Photo grids: every photo in a row is the same shape */
html body:not(#_) main :is(.industry-project-proof-grid,.industry-field-grid,.location-field-media)>figure.full-frame-photo-shell,
html body:not(#_) main .project-proof-grid .full-frame-photo-shell{aspect-ratio:4/3!important;height:auto!important;min-height:0!important;max-height:none!important}
html body:not(#_) main :is(.industry-project-proof-grid,.industry-field-grid,.location-field-media,.project-proof-grid){align-items:start!important}
/* 18c. Text cards: content sits together at the top instead of a title stranded under a big empty gap */
html body:not(#_) main :is(.service-advantage-grid,.operational-readiness-grid,.lpr-principle-grid,.response-responsibility-grid,.security-action-flow-grid,.technology-layer-grid,.industry-directory-grid,.county-grid)>*{min-height:0!important;justify-content:flex-start!important}
html body:not(#_) main :is(.service-advantage-grid,.operational-readiness-grid,.lpr-principle-grid,.response-responsibility-grid,.security-action-flow-grid,.technology-layer-grid,.industry-directory-grid,.county-grid)>* :is(h3,h4){margin-top:20px!important}
/* 18d. Numbered cards everywhere: the 01/02/03 counters carry no meaning (not steps), and content sits at the top */
html body:not(#_) main :is(article,a):has(>.numbered-card-meta):not(.integrated-system-principles>*){min-height:0!important;justify-content:flex-start!important}
html body:not(#_) main :is(article,a):not(.integrated-system-principles>*)>.numbered-card-meta>span:not(.flat-service-card-icon){display:none!important}
html body:not(#_) main :is(article,a):has(>.numbered-card-meta):not(.integrated-system-principles>*)>:is(h3,h4){margin-top:24px!important}
/* 18e. Photo-card grids (solutions library, case studies): every card the same build - photo of one fixed height on top,
   copy below - three to a row, and a short last row shares the width instead of leaving a hole */
@media (min-width:900px){
  html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid){display:flex!important;flex-wrap:wrap!important;gap:16px!important;align-items:stretch!important}
  html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>*{flex:1 1 calc((100% - 32px)/3)!important;min-width:0!important;max-width:none!important;grid-column:auto!important;grid-row:auto!important}
}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a>figure.full-frame-photo-shell{position:relative!important;flex:0 0 auto!important;width:100%!important;height:clamp(240px,21vw,300px)!important;aspect-ratio:auto!important;min-height:0!important;max-height:none!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a>figure .full-frame-photo-primary{object-fit:cover!important;padding:0!important}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a>div{flex:1 1 auto!important;display:flex!important;flex-direction:column!important}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a>div>:last-child{margin-top:auto!important;padding-top:16px}
html body:not(#_) main :is(.specialty-solution-grid,.case-study-card-grid)>a :is(h2,h3){font-size:clamp(20px,1.6vw,24px)!important;line-height:1.2!important}
/* card counters (01, 02 ...) are hidden everywhere they are not real steps */
html body:not(#_) main .numbered-card-meta>span:not(.flat-service-card-icon):not(.integrated-system-principles *){display:none!important}
/* 18f: featured solution card matches its siblings once the grid is uniform */
html body:not(#_) main .specialty-solution-grid>a.specialty-solution-card--featured{border-color:var(--tfs-line,#ffffff1f)!important}
html body:not(#_) main .specialty-solution-grid>a.specialty-solution-card--featured>div{padding:25px!important;min-height:0!important}
html body:not(#_) main .specialty-solution-grid>a.specialty-solution-card--featured figure{border-right:0!important;border-bottom:1px solid #ffffff1a!important}
@media (max-width:899px){html body:not(#_) main .specialty-solution-grid>a.specialty-solution-card--featured>div{padding:22px!important}}

/* 19: header phone — Alex: make the number pop like "Create a Ticket" (label neutral, number bold gold, icon after it like the arrow) */
html body:not(#_) .header-phone{gap:12px;color:#c5ccd2;font-size:12px;font-weight:450}
html body:not(#_) .header-phone strong{display:inline-flex;align-items:center;gap:6px;color:#d1b978;font-size:12px;font-weight:650}
html body:not(#_) .header-phone strong .header-phone-icon{width:14px;height:14px;color:currentColor}
html body:not(#_) .header-phone:hover{color:#c5ccd2;text-decoration:none}
html body:not(#_) .header-phone:hover strong{color:#f0dba9;text-decoration:underline;text-underline-offset:4px}
/* 20: mobile home "Service areas" cards ran off the right edge (Alex, 10/16). The city chips were a
   no-wrap side-scroller and the grid track grew to fit them. Chips now wrap; tracks can't exceed the screen. */
html body:not(#_) .mobile-county-list{grid-template-columns:minmax(0,1fr)!important}
html body:not(#_) .mobile-county-list>article{min-width:0!important;max-width:100%!important}
html body:not(#_) .mobile-home-areas .mobile-county-list nav{flex-wrap:wrap!important;overflow:visible!important}
html body:not(#_) .mobile-county-list article>div{flex-direction:column!important;align-items:flex-start!important;gap:2px!important}   /* same layout on every card: title, then link */
/* 21: phone homepage clean-up (Allen 10/16) */
/* shortcut tabs: no counters, label scales so "Residential" fits a 320–375px phone */
html body:not(#_) .mobile-home-shortcuts>a>strong{font-size:clamp(11px,3.5vw,14px)!important;overflow:visible!important;text-overflow:clip!important;max-width:100%}
html body:not(#_) .mobile-home-shortcuts a{min-height:56px!important;gap:0!important}
/* Secure · Reliable · Professional = the three factors, in their colours (see the colour-language doc) */
html body:not(#_) .mobile-home-principles>span.tfs-factor{gap:7px!important;font-weight:600}
html body:not(#_) .mobile-home-principles>span.tfs-factor::before{content:"";width:7px;height:7px;border-radius:50%;flex:0 0 auto}
html body:not(#_) .tfs-factor--secure{color:#9FE09C!important}
html body:not(#_) .tfs-factor--secure::before{background:#43AF40}
html body:not(#_) .tfs-factor--reliable{color:#F2CD4B!important}
html body:not(#_) .tfs-factor--reliable::before{background:#ECBA08}
html body:not(#_) .tfs-factor--professional{color:#B3CDF8!important}
html body:not(#_) .tfs-factor--professional::before{background:#2F5EAA}
/* the line under the hero buttons is a label, not a link: neutral, not gold */
html body:not(#_) .tfs-mobile-preview-geography,html body:not(#_) .tfs-mobile-preview-geography span{color:#c8ced5!important}
/* lifecycle list without step numbers */
html body:not(#_) .mobile-home-process .row-card-symbol{gap:0!important}
/* header phone button now shows the number: keep it on one line */
html body:not(#_) .mobile-call-copy strong{white-space:nowrap}
