/* ============================================================
   ABLENTRA fixes bundle — generated 2026-11-02
   Consolidates (in this exact cascade order, later wins):
     1. ablentra-az-fixes-2026-10-31.css
     2. ablentra-rebuild-2026-11-01.css
   Do NOT reorder: rebuild rules intentionally override az rules
   on 5 overlapping selectors (.hero-dot, .kicker, .p2-faq,
   .services-hero-visual, .services-hero-visual figcaption).
   Replaces the two separate <link> tags on every page.
   ============================================================ */

/* ==== ablentra-az-fixes-2026-10-31.css ==== */
/* ============================================================
   ABLENTRA A-Z IMPLEMENTATION — global fixes (2026-10-31)
   Loaded LAST on every page. Do not edit earlier stylesheets.
   ============================================================ */

/* ---------- 5-step rows: force 5-across on desktop (auto-fit was wrapping 4+1) ---------- */
@media (min-width:1101px){
.steps-row:has(> .step:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))!important}
.steps-row:has(> .step:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* ---------- problems grids: force full-width 3-across (beats all competing rules) ---------- */
#problems .split-media{grid-template-columns:1fr!important}
#problems .split-media > .split-copy{grid-column:1 / -1!important;max-width:none!important}
#problems .prob-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){#problems .prob-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){#problems .prob-grid{grid-template-columns:1fr}}

/* ---------- checklist sections: full-width, no dead columns (audit: narrow col + empty space) ---------- */
#deliverables .wrap.split,
#shapes .wrap.split,
#compare-quotes .wrap.split,
#expectations .wrap.split{grid-template-columns:1fr!important;gap:1.3rem!important}
#deliverables .check-list,
#shapes .check-list,
#compare-quotes .check-list,
#expectations .check-list{display:grid!important;grid-template-columns:1fr 1fr;gap:.55rem 2.5rem;margin-top:.2rem}
#deliverables .check-list li,
#shapes .check-list li,
#compare-quotes .check-list li,
#expectations .check-list li{margin:0}
@media (max-width:700px){
#deliverables .check-list,#shapes .check-list,#compare-quotes .check-list,#expectations .check-list{grid-template-columns:1fr}
}
/* questions/people-should-ask faq grids: single column, no narrow heading col */
.p2-faq-grid{grid-template-columns:1fr!important;gap:1.4rem!important}

/* ---------- p2 intro (The real job): single column, no empty space under heading ---------- */
.p2-intro-grid{grid-template-columns:1fr!important;gap:1rem!important}
.p2-intro-grid > div + div{max-width:78ch}

/* ---------- heroes: never start hidden — kills first-paint flash (audit) ---------- */
html.js:not(.ms-failsafe) .page-hero [data-reveal],
html.js:not(.ms-failsafe) .home-hero [data-reveal],
html.js:not(.ms-failsafe) .page-hero h1,
html.js:not(.ms-failsafe) .home-hero h1{opacity:1!important;transform:none!important}

/* ---------- sticky anchor nav: solid backdrop, no see-through overlap ---------- */
.anchor-nav{background:var(--bg,#fff)!important;border-bottom:1px solid var(--line);margin-bottom:0!important;padding:.55rem 0!important}

/* ---------- p2 faq items: kill any stuck slide-in transform (audit: staircase) ---------- */
.p2-faq{transform:none!important;animation:none!important;opacity:1!important;margin-left:0!important}

/* ---------- industry FAQ: wider container, no narrow-column dead space ---------- */
.industry #faq .wrap.narrow,#faq .wrap.narrow{max-width:960px}

/* ---------- industries hub: kill sticky stacking ghosting (audit critical) ---------- */
.hub-grid.abl-stack-group{position:static!important}
.hub-grid.abl-stack-group > .hub-card{position:relative!important;top:auto!important;transform:none!important;opacity:1!important;z-index:auto!important}

/* ---------- SERVICES PAGE REBUILD 2026-11-01: professional image sizing ---------- */
/* Hub cards: consistent 16/10, no overflow */
.services .hub-card-visual,.p2-hub .hub-card-visual{aspect-ratio:16/10!important;overflow:hidden}
.services .hub-card-visual img,.p2-hub .hub-card-visual img{width:100%!important;height:100%!important;object-fit:cover!important}
/* Problem articles: consistent sizing */
.p2-hub-visual{aspect-ratio:16/10!important;overflow:hidden;margin-bottom:1.25rem}
.p2-hub-visual img{width:100%!important;height:100%!important;object-fit:cover!important}
/* Hero: already constrained, ensure caption doesn't overlap */
.services-hero-visual figcaption{font-size:.8rem}
/* Mobile: stack cleanly */
@media(max-width:767px){
.hub-grid{grid-template-columns:1fr!important}
.p2-hub-grid{grid-template-columns:1fr!important}
}

/* ---------- hero orange dot cursor + spacing (owner: live site jaisa) ---------- */
.hero-dot{display:inline-block;width:14px;height:14px;border-radius:50%;background:#FF5A1F;box-shadow:0 0 0 6px rgba(255,90,31,.15);margin-bottom:1rem}
.hero-copy{padding-top:1.5rem}

/* ---------- process number: smaller (owner: "yaha bi" - too big) ---------- */
.proc-num{font-size:clamp(4rem,10vw,8rem)!important}

/* ---------- services cards: smaller step numbers (owner: "itne bare hain") ---------- */
.svc-num{font-size:clamp(2.5rem,4vw,3.5rem)!important}

/* ---------- stats band: contained width with rounded corners (owner: "bohat bara hai") ---------- */
.stats-strip{margin:0 clamp(.5rem,1.5vw,1.25rem)!important;border-radius:28px!important;overflow:hidden}

/* ---------- process: BLACK background restored (owner final order 2026-11-01) ---------- */
.proc{background:#0E0E0F!important;color:#fff!important}
.proc-kicker{color:rgba(255,255,255,.55)!important}
.proc-text h3{color:#fff!important}
.proc-text p{color:rgba(255,255,255,.65)!important}
.proc-num{color:#fff!important}
.proc-dot{color:rgba(255,255,255,.5)!important}
.proc-dot i{background:rgba(255,255,255,.15)!important}
.proc-dot.is-on{background:rgba(255,255,255,.08)!important}
.proc-dot.is-on span{color:#fff!important}
.proc-dot.is-on i,.proc-dot.is-done i{background:#FF5A1F!important}
.proc-dot.is-done{color:rgba(255,255,255,.7)!important}
@media(max-width:900px){
.proc-step,.proc-step.is-active{background:#171718!important;border-color:rgba(255,255,255,.12)!important}
}

/* ---------- process: Averlo layout match (image center, text right-narrow, number bottom-left) ---------- */
.proc-step{grid-template-columns:1.4fr .6fr!important}
.proc-text{max-width:280px!important}
.proc-num{grid-column:1!important;justify-self:start!important}
/* ---------- services hero: smaller image (owner: "itni bari image") ---------- */
.services-hero-visual{aspect-ratio:16/10!important;max-width:520px!important;justify-self:end!important}

/* ---------- kicker pills: never stretch full width ---------- */
.kicker{width:fit-content!important;align-self:flex-start!important}
/* ---------- marquee: prevent glyph clipping ---------- */
.marquee-band,.ticker-band{padding-top:.35em!important;padding-bottom:.35em!important;overflow:visible!important}

/* ---------- header: hamburger overflow fix on mobile (owner: "bahir ja raha hai") ---------- */
@media(max-width:767px){

.header-ctas .btn-accent{display:none!important}
.brand-word{font-size:1rem!important}
}

/* process on phones: handled in ablentra-mobile-pro.css (stacked cards, no scroll-jacking) */

/* ---------- process: Averlo light theme + design photo (owner order 2026-11-01) ---------- */
/* LIGHT THEME FULLY REMOVED 2026-11-01 — owner final order: black Discovery restored.
   The white-text-on-black bug: leftover light text colors overrode the black-theme
   rules above (later !important wins). All removed so black theme (lines 88-102) wins. */
/* design step: show the photo, hide the wireframe SVG */
.proc-card--wireframe{display:none!important}

/* ---------- services hero: single column on mobile (owner: images too big) ---------- */
@media(max-width:767px){
.page-hero .wrap:has(.services-hero-visual){grid-template-columns:1fr!important}
.page-hero .wrap:has(.services-hero-visual)>.services-hero-visual{grid-column:1!important;grid-row:auto!important;max-width:100%}
}

/* ---------- hero: kill duplicate spec-chips (hero-pills is the single source) ---------- */
.hero-visual .spec-chip{display:none!important}

/* ---------- blog listing: uniform card images (owner order — all same size) ---------- */
.post-card .slot-art{aspect-ratio:16/10!important;height:auto!important;min-height:0!important}
.post-card .slot-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:640px){.post-card .slot-art{aspect-ratio:16/10}}

/* ---------- Averlo-style process rail (2026-11-01, owner order) ---------- */
.proc-rail{gap:.55rem}
.proc-dot i{width:11px;height:11px;border-radius:3px;border:0;background:rgba(255,255,255,.22);transition:background .4s var(--ease-final),transform .4s var(--ease-final),width .4s var(--ease-final)}
.proc-dot span{font-size:.85rem;letter-spacing:.02em;opacity:0;max-width:0;overflow:hidden;white-space:nowrap;transition:opacity .4s var(--ease-final),max-width .4s var(--ease-final),margin .4s var(--ease-final)}
.proc-dot.is-on{background:rgba(255,255,255,.1);border-radius:999px;padding:.45rem .9rem .45rem .55rem}
.proc-dot.is-on i{background:#FF5A1F;transform:none}
.proc-dot.is-on span{opacity:1;max-width:120px;margin-left:.15rem;color:#fff}
.proc-dot.is-done i{background:#FF5A1F}
.proc-dot.is-done{color:rgba(255,255,255,.75)}
@media (max-width:820px){
  .proc-dot.is-on{padding:.4rem .7rem .4rem .5rem}
  .proc-dot.is-on span{max-width:90px;font-size:.78rem}
}

/* ---------- mercuryai.io best applied (2026-11-01, owner order) ---------- */
/* 1. gradient keyword in headlines (their purple-gradient keyword → our brand gradient) */
.hero-stacked .hl-accent{background:linear-gradient(100deg,#2563EB 10%,#06B6D4 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
/* 2. pill eyebrows, consistent everywhere (their lime pills → our neutral pill) */
.kicker{display:inline-block;max-width:100%;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:.5rem 1rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.65);color:var(--ink-2);margin-bottom:1.25rem;line-height:1.6}
.kicker.light{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff}
.story .kicker,.showreel-sec .kicker,.assembly-sec .kicker{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff}
.kicker-caps{letter-spacing:.18em}
/* 3. dark CTA moment (their dark aurora pricing block → our agency band) */
.agency-band{position:relative;overflow:hidden;background:#0B1220;border-radius:28px;padding:clamp(2.5rem,5vw,4rem) clamp(1.5rem,4vw,3.5rem);text-align:center}
.agency-band::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(65% 85% at 50% 118%,rgba(255,90,31,.13),transparent 58%),linear-gradient(180deg,rgba(255,255,255,.025),transparent 38%)}
.agency-band>*{position:relative}
.agency-band .h-section{color:#fff}
.agency-band .lede{color:rgba(255,255,255,.74)}
.agency-band .kicker{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.07);color:#fff}
.agency-band .cta-row{justify-content:center}
/* 4. hero layered depth (their product-on-gradient stack → gradient card behind our tilted frame) */
/* hero gradient backdrop REMOVED 2026-11-01 — owner rejected the blue */
/* (floating pill nav already exists — verified, no change) */

/* ---------- offline banner (reel #4: say what still works) ---------- */
#offline-banner{position:fixed;top:0;left:0;right:0;z-index:99999;background:#0B1220;color:#fff;text-align:center;padding:.7rem 1rem;font-size:.88rem;line-height:1.4;display:none;box-shadow:0 2px 12px rgba(0,0,0,.25)}
#offline-banner.show{display:block}
#offline-banner strong{color:#fbbf24}
/* ---------- image skeletons (reel #2: shape of what's coming) ---------- */
img.skel{background:linear-gradient(90deg,#e6ebf2 25%,#f5f8fb 37%,#e6ebf2 63%);background-size:400% 100%;animation:skel-shimmer 1.15s ease-in-out infinite;min-height:100px}
@keyframes skel-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
img.skel.img-loaded{animation:none;background:none;min-height:0}
@media (prefers-reduced-motion:reduce){img.skel{animation:none}}

/* ---------- form validation: inline errors with specific advice (UX reel) ---------- */
.field.has-error input,.field.has-error textarea,.field.has-error select,
label.has-error input,label.has-error textarea,label.has-error select{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)}
.field-error-msg{color:#b91c1c;font-size:.82rem;margin:.35rem 0 0;line-height:1.4}
.form-status.is-error{color:#b91c1c}

/* ---------- disciplines section (compact, 4 cards) ---------- */
.disc-sec-compact .disc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.6rem}
.disc-sec-compact .disc-card{background:var(--surface,#fff);border:1px solid var(--line,rgba(0,0,0,.08));border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.disc-sec-compact .disc-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.disc-sec-compact .disc-card>div{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.4rem}
.disc-sec-compact .disc-card .kicker{font-size:.72rem;margin:0}
.disc-sec-compact .disc-card h3{font-size:1.02rem;margin:0}
.disc-sec-compact .disc-card p:last-child{font-size:.86rem;line-height:1.55;margin:0;color:var(--muted,inherit)}
@media (max-width:1023px){.disc-sec-compact .disc-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.disc-sec-compact .disc-grid{grid-template-columns:1fr}}

/* ---------- P0: mega menu panels were display:none with no .open override ---------- */


/* ---------- P0-1: pricing "investment" section full width ---------- */
#proposal .wrap.split{grid-template-columns:1fr}
#proposal .quote-breakdown{margin-top:1.5rem}

/* ---------- P1-1: problems grid full width (all service pages) ---------- */
.split-media:has(.prob-grid) > .split-copy{grid-column:1 / -1}
.split-media:has(.prob-grid){grid-template-columns:1fr}

/* ---------- P1-2: anchor targets clear the sticky chip bar ---------- */
section[id], div[id]{scroll-margin-top:112px}

/* ---------- P1-3: footer link separators ---------- */
.site-footer .fcol li a{display:block;padding:.32rem 0;line-height:1.5}
.site-footer .footer-legal a{position:relative}
.site-footer .footer-legal a + a{margin-left:.9rem;padding-left:.9rem}
.site-footer .footer-legal a + a::before{content:"";position:absolute;left:0;top:50%;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.45;transform:translateY(-50%)}

/* ---------- HERO: production parity (stacked 3-line, orange accent) ---------- */
.kicker-caps{text-transform:uppercase;letter-spacing:.16em;font-weight:800}
.hero-stacked .hl-line{display:block}
.hero-stacked .hl-accent{color:var(--accent,#FF5A1F)}
/* line-by-line entrance (safe: no base opacity, animation-only) */
.hero-stacked .hl-line{animation:hl-rise .9s cubic-bezier(.2,.7,.2,1) backwards}
.hero-stacked .hl-line:nth-child(2){animation-delay:.18s}
.hero-copy .kicker-caps{animation:hl-rise .7s ease backwards}
@keyframes hl-rise{from{opacity:0;transform:translateY(.6em)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .hero-stacked .hl-line,.hero-copy .kicker-caps{opacity:1;transform:none;animation:none}
}
/* tilted hero card + floating pills */
.home-hero .hero-frame{transform:perspective(1400px) rotateY(-6deg) rotateX(1.5deg);transform-style:preserve-3d;position:relative}
@media (max-width:1023px){.home-hero .hero-frame{transform:none}}

/* ---------- P2: marquee aria-label leak ---------- */
.marquee{overflow:hidden}
.marquee [aria-hidden="true"]{pointer-events:none}

/* ---------- About: principles sticky heading ---------- */
.stage5-split > div:first-child{position:sticky;top:112px;align-self:start}

/* ---------- restaurants: empty-tables single column ---------- */
.sec-empty-tables .wrap.split{grid-template-columns:1fr}
.sec-empty-tables .split-copy{max-width:72ch}
/* restaurants: cap the oversized mockup showcase */
.rest-frames{max-width:980px;margin-inline:auto}
.rest-browser img{width:100%;height:auto;object-fit:cover}

/* ---------- business-websites: detours 2-col grid ---------- */
.p2-mistakes-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,4vw,3.5rem);align-items:start}
.p2-mistakes-grid > div:first-child{position:sticky;top:112px;align-self:start}
.p2-mistakes-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.p2-mistakes-grid ul li{border:1px solid rgba(20,25,30,.1);border-radius:14px;padding:1rem 1.2rem;background:#fff;line-height:1.55}
@media (max-width:900px){.p2-mistakes-grid{grid-template-columns:1fr}.p2-mistakes-grid > div:first-child{position:static}}

/* ---------- Generic premium rhythm ---------- */
/* TEAM 3 (2026-11-02): .section now lives in the spacing-rescue block at end of file (single source of truth) */
.h-section{letter-spacing:-.03em;text-wrap:balance}
.lede{max-width:62ch}

/* ---------- Card polish: no layout shift on hover ---------- */
.prob-card,.svc-card,.ind-card{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s;will-change:transform}
@media (hover:hover) and (pointer:fine){
  .prob-card:hover,.svc-card:hover,.ind-card:hover{transform:translateY(-5px)}
}

/* ---------- industry process: 5 steps, consistent, with images ---------- */
.mini-steps{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.mini-step-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;margin:.85rem 0 .2rem;display:block}
@media (max-width:1100px){.mini-steps{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.mini-steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.mini-steps{grid-template-columns:1fr}}

/* ---------- Images: consistent frames, no blowouts ---------- */
img{max-width:100%;height:auto}
.hero-frame img,.hslide img{aspect-ratio:3/2;object-fit:cover;width:100%}

/* ===== Process draw line (reel-inspired, 2026-11-02) =====
   Glowing orange progress line drawn through the .proc-rail step dots,
   fill height driven by --proc-progress (0..1) set from JS as steps activate.
   Desktop vertical rail only; hidden on the mobile horizontal rail. */
.proc-rail{position:relative}
.proc-rail-line{position:absolute;left:4.5px;top:22px;bottom:22px;width:2px;border-radius:2px;background:rgba(255,255,255,.12);pointer-events:none;z-index:0}
.proc-rail-line::after{content:"";position:absolute;left:0;top:0;width:100%;height:calc(var(--proc-progress,0)*100%);border-radius:2px;background:linear-gradient(180deg,#FF8A3D,#FF5A1F);box-shadow:0 0 10px rgba(255,90,31,.8),0 0 22px rgba(255,90,31,.35);transition:height .6s cubic-bezier(.22,1,.36,1)}
.proc-rail>li{position:relative;z-index:1}
@media (max-width:820px){.proc-rail-line{display:none}}
@media (prefers-reduced-motion:reduce){.proc-rail-line{display:none}}

/* FIX 2026-11-02 — mobile menu open: header must go dark even when .scrolled.
   Root cause: .site-header.scrolled .header-inner (specificity 0,3,0) beat
   body.menu-open .header-inner (0,2,1), so on a scrolled page the header stayed
   #FFFFFF white while .brand switched to light #F4F4F2 = washed-out header.
   This (0,3,1) rule wins in all cases. */


/* FIX 2026-11-02 (TEAM 4 P1) — mobile menu: never center-clip scrolled content.
   .mobile-menu is display:flex;align-items:center with overflow-y:auto. On short
   phones (SE-class, ~667px) the 8 nav links + CTA can exceed the panel height;
   with align-items:center the overflowing TOP becomes unreachable by scroll
   (classic flex-centering overflow bug). align-items:flex-start + nav margin
   auto keeps the centered look when content fits, and the full list scrollable
   when it doesn't. */



/* FIX 2026-11-02 (TEAM 4 P1) — footer tap targets >= 44px at tablet widths.
   At <=1020px the footer goes 2-column but .fcol li a kept min-height:36px and
   .footer-legal a only had .5rem vertical padding (~37px total). */
@media (max-width:1020px){
  .fcol li a{min-height:44px}
  .site-footer .footer-legal a{display:inline-flex;align-items:center;min-height:44px}
}
/* FIX 2026-11-02 (TEAM 4 P2) — same for phones: mobile-pro (loaded after this file)
   set 40px; the body-qualified selector below wins the cascade at 44px. */
@media (max-width:767px){
  body .site-footer a,body .fcol li a{min-height:44px}
}

/* ============================================================
   TEAM 1 — DESIGN/UX AUDIT FIXES (2026-11-02)
   Audit scope: index + work + about + contact + pricing + industries/roofing.
   CSS only, no copy/image/JS changes. P0+P1 fixed; P2 fixed where cheap.
   ============================================================ */

/* FIX 1 (P1, color consistency): homepage hero rotating headline rendered as a
   BLUE→CYAN gradient instead of the brand orange. Root cause: the mercury rule
   (.hero-stacked .hl-accent) set -webkit-text-fill-color:transparent +
   background-clip:text; the later "production parity (orange accent)" rule had
   equal specificity and only set `color` — a dead declaration in Chromium, so
   the gradient kept winning. Complete the parity override (scoped: .hl-accent
   is used only on the homepage hero). */
.hero-stacked .hl-accent{background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;-webkit-text-fill-color:currentColor!important;color:var(--accent,#FF5A1F)!important}

/* FIX 2 (P1, hierarchy): homepage hero h1 was flattened on phones. The global
   `.page-hero h1,.h-display` !important rule in ablentra-mobile-pro.css
   (<=767px) beat the owner-approved homepage-stage1 mobile size
   clamp(2.65rem,12vw,4.4rem). Restore it, scoped to the home hero only. */
@media (max-width:767px){
  .home-hero .h-display{font-size:clamp(2.65rem,12vw,4.4rem)!important;line-height:1.02!important}
}

/* FIX 3 (P1, hierarchy): contact hero "not-fit" card — the h2 inside the card
   rendered at full section-heading size (up to 3.4rem + 2.2rem bottom margin),
   overwhelming the small padded card. Size it to the card context. */
.not-fit .h-section{font-size:1.28rem!important;line-height:1.25!important;letter-spacing:-.015em!important;margin:0 0 .55rem!important;max-width:none!important}

/* FIX 4 (P2, consistency): process kicker was plain uppercase text while every
   other section uses the pill kicker. Give it the dark-variant pill treatment
   (same as .kicker.light) so the section header system reads as one. */
.proc-kicker{display:inline-block!important;padding:.5rem 1rem!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;margin:0 0 1.25rem!important;line-height:1.6!important}

/* ===== TEAM2-A11Y 2026-11-02 — contrast fix: white text on accent orange =====
   White (#fff) on accent #FF5A1F = 3.12:1, fails WCAG AA for normal/small text
   (needs 4.5:1). Fix keeps the orange background untouched and switches text to
   the palette's own --accent-ink (#0E0E0F, same as .btn-accent) = 6.19:1, passes.
   Applies only to live selectors with visible text (empty .annot-dot icons and
   dead .launch-sticky-cta/.launch-need rules intentionally untouched). */
.filter-btn.active,
.ns-n,
.rest-btn,
.hvac-tab.is-active,
.plumb-node.is-active,
.roof-hotspot.is-active,
.clean-opt.is-active,
.law-intent.is-active,
.salon-step.is-active,
.fit-filter.is-active,
.pest-choice.is-active,
.auto-choice.is-active,
.retail-route.is-active,
.prof-lens.is-active{color:var(--accent-ink)!important}

/* ==== ablentra-rebuild-2026-11-01.css (was loaded LAST, wins ties) ==== */
/* ABLENTRA rebuild 2026-11-01 — loaded LAST. Services + Industries hubs, step cards, dark-section contrast, visibility safety. */

/* ===== 0. Visibility safety: content must never stay hidden by scroll/reveal scripts ===== */
[data-reveal],[data-rise],[data-snap],[data-stack-card],[data-hero-lines],.line-inner,.hub-card,.p2-faq,.step,.ix-card,.sv-core,.sv-prob,.sv-mini{
  opacity:1!important;transform:none!important;filter:none!important;visibility:visible!important}

/* ===== 1. Services hub ===== */
.sv-section{padding-block:clamp(2.4rem,4.5vw,4rem)}
.sv-head{max-width:46rem;margin-bottom:clamp(1.5rem,3vw,2.5rem)}
.sv-head .h-section{margin-bottom:0}
.sv-head .lede{margin-top:.75rem}
.sv-core-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2vw,1.5rem)}
.sv-core{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#e6e3de);border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
.sv-core:hover{transform:translateY(-4px)!important;box-shadow:0 18px 40px -22px rgba(0,0,0,.35);border-color:var(--accent,#FF5A1F)}
.sv-media{display:block;aspect-ratio:16/10;max-height:240px;overflow:hidden;background:#eee}
.sv-media img{width:100%;height:100%;object-fit:cover;display:block}
.sv-body{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem 1.35rem 1.5rem;flex:1}
.sv-kick{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#C2410C}
.sv-title{font-size:1.55rem;line-height:1.22;font-weight:600;letter-spacing:-.015em;font-family:var(--font-d)}
.sv-desc{color:#4b4b4f;line-height:1.55;font-size:.98rem}
.sv-link{margin-top:auto;padding-top:.6rem;font-weight:600;color:#C2410C;font-size:.95rem}
.sv-prob-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2vw,1.5rem)}
.sv-prob{display:flex;flex-direction:column;gap:.6rem;background:#fff;border:1px solid var(--line,#e6e3de);border-radius:20px;padding:1.5rem;text-decoration:none;color:inherit;transition:transform .25s,border-color .2s,box-shadow .2s}
.sv-prob:hover{transform:translateY(-4px)!important;border-color:#FF5A1F;box-shadow:0 18px 40px -22px rgba(0,0,0,.35)}
.sv-pno{font-size:.72rem;letter-spacing:.12em;font-weight:600;color:#C2410C}
.sv-ptitle{font-size:1.2rem;line-height:1.3;font-weight:600;letter-spacing:-.01em;font-family:var(--font-d)}
.sv-pdesc{color:#4b4b4f;line-height:1.55;font-size:.97rem}
.sv-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.sv-mini{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:1.15rem 2.4rem 1.2rem 1.15rem;background:#fff;border:1px solid var(--line,#e6e3de);border-radius:16px;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s}
.sv-mini:hover{border-color:#FF5A1F;transform:translateY(-2px)!important;box-shadow:0 12px 30px -22px rgba(0,0,0,.35)}
.sv-mini b{font-size:1.02rem;font-weight:600;font-family:var(--font-d);letter-spacing:-.01em}
.sv-mini span{font-size:.9rem;line-height:1.45;color:#55555a}
.sv-mini i{position:absolute;right:1rem;top:1.1rem;font-style:normal;color:#C2410C}
.sv-begin{display:grid;grid-template-columns:1.6fr 1fr;gap:2rem;align-items:center}
.sv-begin-actions{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
@media(max-width:1000px){.sv-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sv-core-grid,.sv-prob-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .sv-core-grid,.sv-prob-grid,.sv-mini-grid,.sv-begin{grid-template-columns:1fr}
 .sv-core .sv-media{aspect-ratio:16/9;max-height:230px}
 .sv-core .sv-body{padding:1.2rem 1.15rem 1.35rem}
 .sv-title{font-size:1.3rem}
 .sv-core .sv-desc{font-size:.92rem}
}

/* ===== 2. Industries hub ===== */
.ix-section{padding-block:clamp(2.75rem,6vw,5rem)}
.ix-head{margin-bottom:1.25rem}
.ix-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:clamp(1.5rem,3vw,2.25rem)}
.ix-chips a{padding:.45rem .9rem;border:1px solid var(--line,#e0ddd8);border-radius:999px;background:#fff;color:#1a1a1c;font-size:.88rem;font-weight:500;text-decoration:none}
.ix-chips a:hover{border-color:#FF5A1F;color:#C2410C}
.ix-group{margin-bottom:clamp(2rem,4vw,3rem);scroll-margin-top:7rem}
.ix-group-title{display:flex;align-items:center;gap:.6rem;font-size:1.05rem;font-weight:600;margin:0 0 1rem;padding-bottom:.6rem;border-bottom:1px solid var(--line,#e6e3de)}
.ix-group-title span{font-size:.75rem;font-weight:600;background:#F1EEE9;border-radius:999px;padding:.1rem .55rem;color:#55555a}
.ix-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2vw,1.4rem)}
.ix-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#e6e3de);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s,border-color .2s}
.ix-card:hover{transform:translateY(-3px)!important;border-color:#FF5A1F;box-shadow:0 16px 36px -24px rgba(0,0,0,.4)}
.ix-media{display:block;aspect-ratio:16/9;max-height:190px;overflow:hidden;background:#eee}
.ix-media img{width:100%;height:100%;object-fit:cover;display:block}
.ix-body{display:flex;flex-direction:column;gap:.35rem;padding:1.05rem 1.2rem 1.2rem;flex:1}
.ix-name{font-size:1.2rem;font-weight:600;line-height:1.25}
.ix-desc{font-size:.93rem;line-height:1.5;color:#4b4b4f}
.ix-link{margin-top:auto;padding-top:.5rem;font-weight:600;font-size:.92rem;color:#C2410C}
@media(max-width:1000px){.ix-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .ix-grid{grid-template-columns:1fr;gap:.75rem}
 .ix-card{flex-direction:row;align-items:stretch;border-radius:16px}
 .ix-media{width:34%;max-height:none;aspect-ratio:auto;flex:none}
 .ix-body{padding:.85rem 1rem;gap:.25rem}
 .ix-name{font-size:1.05rem}
 .ix-desc{font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .ix-link{padding-top:.25rem;font-size:.85rem}
}

/* ===== 3. "From first call to launch" step cards: readable rounded photos instead of tiny circles ===== */
.steps-row .step{display:flex;flex-direction:column;gap:.5rem}
.steps-row .step-photo{width:100%!important;height:auto!important;aspect-ratio:16/10;border-radius:16px!important;object-fit:cover;border:0!important;box-shadow:0 10px 26px -16px rgba(0,0,0,.45);margin-bottom:.4rem}
@media(max-width:700px){.steps-row .step-photo{aspect-ratio:16/9}}

/* ===== 4. Dark sections: pills/kickers must always be readable ===== */
.p2-output .kicker,.p2-output .p2-check-panel .kicker,.cta-band .kicker,.proc .kicker,.section--dark .kicker,[class*="dark"] .kicker,.p2-check-panel .kicker{
  background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important;opacity:1!important}
.p2-output .p2-check-panel .kicker{background:rgba(255,90,31,.18)!important;color:#FFB08F!important;border-color:rgba(255,90,31,.5)!important}
.p2-output h2,.p2-output h3,.p2-output p,.p2-output li{opacity:1!important}
.p2-output p,.p2-output li{color:rgba(255,255,255,.86)!important}
.p2-output h2,.p2-output h3{color:#fff!important}

/* ===== 5. Headings + industry category tag ===== */
h2.h-section,h2.h-final,.h-display,.sec-head,.kicker{opacity:1!important;transform:none!important;visibility:visible!important;animation:none!important}
.ix-cat{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#C2410C}
@media(max-width:640px){.ix-cat{font-size:.66rem}}

/* ===== 6. Hero dot removed (markup removed; hard-hide any leftover) ===== */
.hero-dot{display:none!important}

/* ===== 7. Hero video ===== */
.hero-video{position:relative;width:100%;aspect-ratio:16/10;border-radius:22px;overflow:hidden;background:#111}
.hero-video-el{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hero-video-toggle{position:absolute;left:12px;bottom:12px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(15,15,16,.62);color:#fff;font-size:.7rem;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(6px)}
.hero-video-toggle:hover{background:#FF5A1F}
.hero-video-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:767px){.hero-video{border-radius:18px;aspect-ratio:4/3}.hero-video-toggle{width:34px;height:34px}}

/* ===== 8. Custom cursor v2 (fine pointers only; JS adds .abl-cur-on) ===== */
.abl-cur-dot,.abl-cur-ring{position:fixed;left:0;top:0;pointer-events:none;z-index:2147483000;border-radius:50%;margin:0;will-change:transform;opacity:0;transition:opacity .2s ease}
.abl-cur-dot{width:7px;height:7px;margin:-3.5px 0 0 -3.5px;background:#FF5A1F}
.abl-cur-dot::before{content:"";position:absolute;inset:0;border-radius:50%;background:inherit;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.abl-cur-ring{width:38px;height:38px;margin:-19px 0 0 -19px;display:flex;align-items:center;justify-content:center}
.abl-cur-ring::before{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(255,90,31,.7);background:rgba(255,90,31,0);transition:transform .35s cubic-bezier(.2,.8,.2,1),background .3s ease,border-color .3s ease}
.abl-cur-label{position:relative;font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.04em;color:#fff;opacity:0;transform:scale(.7);transition:opacity .2s ease,transform .3s cubic-bezier(.2,.8,.2,1);white-space:nowrap}
html.abl-cur-on:not(.abl-cur-hide):not(.abl-cur-text) .abl-cur-dot,
html.abl-cur-on:not(.abl-cur-hide):not(.abl-cur-text) .abl-cur-ring{opacity:1}
.abl-cur-ring.is-link::before{transform:scale(1.45);background:rgba(255,90,31,.12);border-color:#FF5A1F}
.abl-cur-ring.is-card::before{transform:scale(2.3);background:#FF5A1F;border-color:#FF5A1F}
.abl-cur-ring.is-card .abl-cur-label{opacity:1;transform:scale(1)}
.abl-cur-ring.is-down::before{transform:scale(.8);background:rgba(255,90,31,.25)}
.abl-cur-ring.is-card.is-down::before{transform:scale(2);background:#e24d17}
.abl-cur-dot.is-down::before{transform:scale(.6)}
.abl-cur-ring.is-link ~ .abl-cur-dot::before,.abl-cur-ring.is-card ~ .abl-cur-dot::before{transform:scale(.5)}
.abl-cur-ring.is-card ~ .abl-cur-dot{opacity:0!important}
@media (hover:hover) and (pointer:fine){
  html.abl-cur-on:not(.abl-cur-text):not(.abl-cur-hide),
  html.abl-cur-on:not(.abl-cur-text):not(.abl-cur-hide) *{cursor:none!important}
}
@media (prefers-reduced-motion:reduce){.abl-cur-dot,.abl-cur-ring{display:none!important}}
@media print{.abl-cur-dot,.abl-cur-ring{display:none!important}}

/* video fallback: local photo shows until the video/poster loads, or if Cloudinary is unreachable */
.hero-video{background:linear-gradient(135deg,#17181a,#2a2c30)}

/* case-study grids now hold two cards: fill the row instead of leaving an empty third column */
@media (min-width:1024px){.cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== 9. Hero: highlights sit BELOW the video (never over it); stable video box; captions below images on phones ===== */
.hero-video-el{object-position:50% 40%}
.hero-video.is-fallback .hero-video-toggle{display:none}
.hero-visual .hero-pills{position:static!important;inset:auto!important;transform:none;max-width:none;list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.hero-visual .hero-pills li{transform:none!important;display:inline-flex;align-items:center;gap:.45rem;background:#fff;border:1px solid rgba(20,25,30,.1);border-radius:999px;padding:.45rem .85rem;font-size:.8rem;font-weight:700;line-height:1.2;white-space:nowrap;box-shadow:0 6px 16px rgba(15,20,25,.08)}
.hero-visual .hero-pills li::before{content:"";width:6px;height:6px;border-radius:50%;background:#FF5A1F;flex:none}
@media(max-width:480px){.hero-visual .hero-pills{gap:.4rem;margin-top:14px}.hero-visual .hero-pills li{font-size:.76rem;padding:.4rem .7rem}}
@media(max-width:767px){
  .page-hero-caption,.services-hero-visual figcaption{position:static!important;background:none!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#5b5f66!important;padding:.6rem .15rem 0!important;font-size:.8rem!important;line-height:1.45}
  .services-hero-visual{aspect-ratio:auto!important;max-height:none!important;overflow:visible!important;background:none!important;box-shadow:none!important}
  .services-hero-visual img{height:auto!important;aspect-ratio:16/10;max-height:300px;border-radius:20px}
}

/* ===== 10. Mega menu design rescue (2026-11-02) — owner order: Services panel
   read as an unbalanced white void (stacked white link list + black card with
   dead space). Desktop only: below 1021px .main-nav is display:none and
   hover-open is JS-gated at min-width:1021px, so mega panels are unreachable
   there. Rebalance: three real columns for services (vertical dividers replace
   the stacked top borders), tighter padding/gaps, fixed composed widths.
   No link text, color, or identity changes — spacing/layout only. */


/* ===== TEAM 3 — Spacing/layout rescue, PART A: ONE section rhythm (2026-11-02) =====
   Owner: "excessive spacing, poor layout balance, inconsistent styling across pages".
   Audit found (desktop, effective cascade):
     .page-hero top 104-128px — site-core-b !important regressed the 2026-10-24
       "top/section space too large" fix (site-core-a:1952); dead air on short heroes
     .home-hero top 96px vs .page-hero top 104-128px — near-miss inconsistency
     .cta-band 80-128px padding + 64-112px top margin — page-ending dark zone huge
     .audit-band on 3 scales: 64-104px / 38-61px / 2rem-1rem across breakpoints
     .markets-sec padding 0 0 .5rem — asymmetric dead sliver on homepage
     19 adjacent .section.soft pairs (18 industry pages + pricing) — merged giant
       soft blocks; fixed in HTML (2nd of pair -> plain .section)
     .section 40px (2.5rem) already consistent on all pages via site-core-c1 — kept.
   ONE scale (documented):
     --sp-hero:    clamp(4.75rem,8vw,6.5rem)  76-104px   hero tops + CTA bands
     --sp-section: 2.5rem                     40px        standard .section
     --sp-band:    clamp(3rem,5.5vw,4.5rem)   48-72px     dark bands
     --sp-strip:   clamp(1.25rem,3vw,2rem)    20-32px     thin strips               */
:root{--sp-hero:clamp(4.75rem,8vw,6.5rem);--sp-band:clamp(3rem,5.5vw,4.5rem);--sp-strip:clamp(1.25rem,3vw,2rem)}
/* inner-page hero: was 104-128px top */
.page-hero{padding-top:var(--sp-hero)!important;padding-bottom:clamp(2rem,4vw,2.75rem)!important}
/* homepage hero: same hero scale */
.home-hero{padding-top:var(--sp-hero)!important;padding-bottom:clamp(2.5rem,5vw,3.5rem)!important}
/* standard section: single source of truth (already 40px — reasserted) */
.section{padding-block:2.5rem!important}
/* final CTA band: was 80-128px padding + 64-112px top margin */
.cta-band{padding-block:var(--sp-hero)!important;margin:clamp(2.5rem,5vw,4rem) clamp(.8rem,2.5vw,2rem) 0!important}
/* audit band: one scale on every breakpoint */
.audit-band{padding-block:var(--sp-band)!important}
/* thin strips: one scale */
.strip,.ind-trust,.markets-sec{padding-block:var(--sp-strip)!important}
.industry-journey{padding-bottom:var(--sp-strip)!important}
.ind-other{padding-block:var(--sp-strip)!important}

/* ===== TEAM 3 — PART B: Flux-quality pill system (2026-11-02) =====
   Owner circled the hero pills ("Fast by default", "SEO-ready", "You own
   everything"). Flux Academy principles 3 (pill everything) + 5 (eyebrow labels)
   applied as a QUALITY BAR — never Ace's blue/fintech style. Ablentra identity:
   orange #FF5A1F on light/dark. Copy text untouched; geometry/type/spacing only.
   PILL SPEC (shared by every small pill component):
     radius 999px · type .8125rem/700/.01em/1.3 · padding .55rem 1rem
     dot 7px #FF5A1F · dot-to-text gap .5rem · pill-to-pill gap .625rem          */
:root{--pill-fs:.8125rem;--pill-fw:700;--pill-pad:.55rem 1rem;--pill-gap:.625rem;--pill-dot:7px;--pill-dot-gap:.5rem}
/* --- hero pills: the circled components (refines the earlier hero-pills rule) --- */
.hero-visual .hero-pills{gap:var(--pill-gap);margin-top:1.25rem}
.hero-visual .hero-pills li{display:inline-flex;align-items:center;gap:var(--pill-dot-gap);
  background:#fff;border:1px solid rgba(20,25,30,.1);border-radius:999px;
  padding:var(--pill-pad);font-size:var(--pill-fs);font-weight:var(--pill-fw);
  letter-spacing:.01em;line-height:1.3;white-space:nowrap;color:var(--ink);
  box-shadow:0 6px 16px rgba(15,20,25,.08)}
.hero-visual .hero-pills li::before{content:"";width:var(--pill-dot);height:var(--pill-dot);
  border-radius:50%;background:#FF5A1F;flex:none}
@media(max-width:480px){.hero-visual .hero-pills{gap:.5rem;margin-top:1rem}
  .hero-visual .hero-pills li{font-size:.76rem;padding:.45rem .8rem}}
/* --- hero review checklist: same pill geometry --- */
.hero-review-check{gap:var(--pill-gap)!important}
.hero-review-check li{padding:.5rem .95rem!important;font-size:var(--pill-fs)!important;
  font-weight:var(--pill-fw)!important;letter-spacing:.01em;line-height:1.3;border-radius:999px}
/* --- eyebrow labels: ONE spec everywhere (was .14em/700 vs .16em/800 split) --- */
.kicker{font-weight:800;letter-spacing:.15em;line-height:1.35}
.proc-kicker{font-weight:800;letter-spacing:.15em}
/* --- industry chips: harmonized to the pill system --- */
.ind-chip{font-size:.85rem;font-weight:600;letter-spacing:.01em;line-height:1.3;padding:.55rem 1.05rem}
/* --- FAQ query chips: keep the ring-dot motif, harmonized type --- */
.query-chips li{font-size:.875rem;line-height:1.4;padding:.55rem 1rem;gap:.6rem}
/* --- mockup caption pills (roofing/restaurants): same geometry --- */
.roof-mock-pills span{padding:.5rem .95rem;font-size:var(--pill-fs);font-weight:600;letter-spacing:.01em;line-height:1.3}

/* ===== TEAM 3 — Services mega-menu dead-space pass 2 (2026-11-03) =====
   Owner still sees excessive empty space in the Services mega-menu. Root cause
   (measured cascade): the dark feature card (~233px tall: 16/9 media + text)
   towers over the three link columns (~132px of real content), leaving a white
   void under the columns. Fix, spacing/layout only:
   - trim the feature card: shorter 21/9 media band, tighter padding/text gaps
   - stretch the link grid to full panel height (grid-template-rows:auto 1fr)
     so the column dividers run the full height — balanced, no void
   - slightly tighter inner padding/gaps. No link text, color, or identity changes. */


/* ===== TEAM 3 — Homepage services section spacing (2026-11-03) =====
   Owner: balance services section height/spacing. Spacing-only (no redesign):
   slightly tighter card grid and slimmer card-body padding on desktop, in line
   with the site's unified spacing scale. Desktop only — mobile keeps its own
   !important overrides (experience-polish 2026-10-29, site-core-b). */
@media (min-width:1021px){
  html body:has(.home-hero) .svc-cards{gap:1.2rem!important;margin-top:1.6rem!important}
  html body:has(.home-hero) .svc-cards .svc-card-body{padding:1.35rem 1.5rem 1.5rem!important;gap:.5rem!important}
}
