/* ABLENTRA Stage 08 generated bundle. Edit source files, then run npm run build. */

/* ===== Source: assets/css/launch-2026-10-28.css ===== */
/* ============================================================================
   ABLENTRA — Launch layer, 2026-10-28. Linked LAST on every page, so it wins
   without editing the older stacked stylesheets. It contains ONLY overrides:
   the 27 Oct fixes this branch lost, spacing/responsive unification, the
   Scroll-linked-pattern service-panel fix, accessibility contrast/focus fixes, and
   the per-category industry motion presets (see launch JS for the JS half).
   No new colour, font or brand change. No custom cursor anywhere.
   ========================================================================== */

/* --- 1. MERGED 27 OCT FIXES -------------------------------------------- */
/* Question cards: normal flow on EVERY viewport. Overrides the sticky
   rule in v15-split-solo.css (position:sticky; top:110px) that sliced the
   previous card's heading mid-scroll. */
.qstack-sec { padding: 2.5rem 0 !important; }
.qstack { gap: 1.25rem !important; }
.qstack .q-card, .qstack-sec .q-card {
  position: relative !important; top: auto !important; margin-bottom: 0 !important;
  transform: none !important; filter: none !important; will-change: auto !important;
}
@media (max-width: 767px) {
  .qstack-sec { padding: 2rem 0 !important; }
  .qstack { gap: 1rem !important; }
}
/* Diagonal pinstripe removed from the two dark panels (was in main.css). */
.audit-band-final, .showreel-sec { background-image: none !important; }

/* --- 2. SPACING + RESPONSIVE UNIFICATION -------------------------------- */
/* Section padding: phone 40px, tablet 56px, desktop 72px. Never below
   readability; 40/56/72 are all 8px multiples. */
.section, .qstack-sec { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
@media (min-width: 768px) {
  .section, .qstack-sec { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}
@media (min-width: 1024px) {
  .section, .qstack-sec { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
}
/* One card gap everywhere: 1.25rem desktop, 1rem phone. */
.qstack, .svc-cards, .work-grid, .studio-grid, .post-grid, .model-grid,
.hub-grid, .ind-incl, .steps-row { gap: 1rem !important; }
@media (min-width: 1024px) {
  .qstack, .svc-cards, .work-grid, .studio-grid, .post-grid, .model-grid,
  .hub-grid, .ind-incl, .steps-row { gap: 1.25rem !important; }
}
/* Orphan-heading guard: a section heading is never left alone at a break. */
h2, h3 { break-after: avoid; }
/* Service numerals capped at 120px (averlo layer allowed 190px). */
.svc-num { font-size: clamp(64px, 9vw, 120px) !important; }
/* Footer closing headline: sane size, never the 104px averlo override. */
.footer-cta-h { font-size: clamp(1.75rem, 3.4vw, 2.75rem) !important; line-height: 1.08 !important; max-width: 22ch !important; }
/* Scroll-linked hero glow: off on phones (large blurred animated layer on the hero). */
@media (max-width: 767px) {
  .home-hero::before { display: none !important; animation: none !important; }
}

/* --- 3. AVERLO SERVICE PANELS, FIXED ------------------------------------ */
/* Desktop only: full-width panels with large numerals and colour, kept.
   The silent covering is fixed in launch JS: the panel underneath scales
   to 0.96 and dims to 0.92 while the next panel arrives (see launch JS
   .launch-panel-buried). If JS fails, panels are simply non-sticky
   full-width blocks (see the no-JS rule below), so nothing is covered. */
@media (min-width: 1024px) and (hover: hover) {
  .home .svc-cards { display: block !important; }
  .home .svc-card {
    position: sticky !important; top: calc(var(--header-h, 80px) + 18px) !important;
    transition: transform .35s cubic-bezier(.16,1,.3,1), filter .35s cubic-bezier(.16,1,.3,1) !important;
  }
  .home .svc-card.launch-panel-buried {
    transform: scale(.96) !important; filter: brightness(.92) !important;
  }
}
html:not(.js) .home .svc-card { position: relative !important; top: auto !important; }

/* --- 4. PHONE MOTION (merged 27 Oct fix, CSS half) ----------------------- */
/* On phones, reveals rise at most 10px and content is never invisible:
   the rise starts at opacity 1, not 0. Reduced-motion users get nothing. */
@media (max-width: 767px) {
  html.js:not(.ms-failsafe) .ms-in.ms-in {
    animation: launch-phone-rise .45s cubic-bezier(.16,1,.3,1) var(--ms-d, 0s) backwards !important;
  }
  @keyframes launch-phone-rise {
    from { opacity: 1; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  /* Marquee visible on phones at a slow 45s, pausing on touch-hold. */
  .marquee, .marquee-words { display: block !important; }
  .marquee .marquee-track, .marquee-words .marquee-track {
    animation: v15-marquee 45s linear infinite !important; transform: none !important;
  }
  .marquee:active .marquee-track, .marquee-words:active .marquee-track { animation-play-state: paused !important; }
}

/* --- 5. PORTRAIT WORK-COVER CROPPING ------------------------------------ */
/* Portrait covers keep their top (faces/subjects) instead of a centre
   crop that cut tall cover images in half. */
.work-card .work-shot img, .studio-card .studio-shot img {
  object-fit: cover !important; object-position: top center !important;
}

/* --- 6. SMALL ORANGE TEXT CONTRAST -------------------------------------- */
/* #FF5A1F on white is 3.12:1 (fails AA). #C2410C is 5.18:1 on white and
   4.83:1 on #F7F7F5 (both pass AA). Used ONLY for small text on light
   surfaces; dark surfaces keep #FF5A1F, which passes on dark (6.19:1). */
.work-label, .post-cat, .acc-num, .step-num, .include-num, .story-num, .ptab-num {
  color: #C2410C !important;
}
.q-card-dark .step-num, .q-card-dark .acc-num, .dark .step-num, .dark .acc-num {
  color: #FF5A1F !important;
}

/* --- 7. FOCUS VISIBILITY ------------------------------------------------- */
/* Form fields: visible outline again, not the 18%-opacity halo. */
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid #C2410C !important; outline-offset: 2px !important;
  border-color: #C2410C !important;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, .25) !important;
}
.field .launch-err { display: block; color: #9A3412; font-size: .9rem; margin-top: .35rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #9A3412 !important;
}

/* --- 8. MENUS: scrollable mobile menu ------------------------------------ */

/* --- 9. MOBILE STICKY CTA (Scroll-linked pattern, own CTA) ----------------------- */
/* Phones only. Small, centred pill. Hidden while any form field is focused
   (JS adds .launch-input-focus to body) and while the audit band is in
   view (JS adds .launch-band-visible), so it never covers an input or
   the footer CTA. */
.launch-sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .launch-sticky-cta {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
    z-index: 2000; min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
    background: #FF5A1F; color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 12px 32px rgba(14, 14, 15, .28); white-space: nowrap;
  }
  body.launch-input-focus .launch-sticky-cta, body.launch-band-visible .launch-sticky-cta {
    display: none !important;
  }
}

/* --- 10. MULTI-STEP FREE-AUDIT ENQUIRY ----------------------------------- */
/* Front-end steps only. The existing FormSubmit form is untouched; steps
   only show/hide field groups, and the final step submits as before. */
.launch-step { display: none; }
.launch-step.launch-step-on { display: block; }
.launch-step-nav { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.launch-step-dots { display: flex; gap: .4rem; align-items: center; font-size: .9rem; color: #55565A; }
.launch-step-dots b { color: #0E0E0F; }

/* --- 11. INDUSTRY MOTION PRESETS (CSS half; JS adds the category class) --- */
/* All presets: transform + opacity only, 0.5-1.2s, once, reduced-motion
   respected by the JS (it never adds the class under reduced motion). */
.launch-preset-trades .ms-in { animation-duration: .6s !important; }
.launch-preset-professional .ms-in { animation-duration: .9s !important; }
.launch-preset-retail .ms-in { animation-duration: .7s !important; }
.launch-preset-health .ms-in { animation-duration: 1s !important; }
.launch-preset-creative .ms-in { animation-duration: .8s !important; }
@media (prefers-reduced-motion: reduce) {
  .launch-sticky-cta { display: none !important; }
}

/* --- 12. INDUSTRY PRESET KEYFRAMES (stronger selectors win over motion-sites) --- */
/* Presets apply on tablet/desktop only. On phones every page uses the
   phone rise (opacity never 0, rise max 10px) from section 4 above. */
@media (min-width: 768px) {
  html.js .launch-preset-trades .ms-in.ms-in { animation-name: launch-rise !important; animation-duration: .6s !important; animation-timing-function: cubic-bezier(.16,1,.3,1) !important; }
  html.js .launch-preset-professional .ms-in.ms-in { animation-name: launch-fade !important; animation-duration: .9s !important; animation-timing-function: ease-out !important; }
  html.js .launch-preset-retail .ms-in.ms-in { animation-name: launch-slide !important; animation-duration: .7s !important; animation-timing-function: cubic-bezier(.16,1,.3,1) !important; }
  html.js .launch-preset-health .ms-in.ms-in { animation-name: launch-zoom !important; animation-duration: 1s !important; animation-timing-function: cubic-bezier(.16,1,.3,1) !important; }
}
@keyframes launch-rise { from { opacity: 1; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes launch-fade { from { opacity: 0; transform: none; } to { opacity: 1; transform: none; } }
@keyframes launch-slide { from { opacity: 0; transform: translate3d(-16px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes launch-zoom { from { opacity: 0; transform: scale(.98) translate3d(0, 12px, 0); } to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); } }
/* Multi-step need buttons: selected state. */
.launch-need[aria-pressed="true"] { background: #FF5A1F !important; color: #fff !important; border-color: #FF5A1F !important; }
.launch-need { margin: 0 .5rem .5rem 0; }

/* ==========================================================================
   FINAL 2026-10-28 — correction pass. Linked last, so these win.
   Transform + opacity only. Reduced motion disables every new effect below.
   ========================================================================== */

/* 1. Navbar tightening (modest): slightly shorter pill, tighter hero top. */
.site-header { top: 10px !important; }

.brand-mark { height: 34px !important; }
.home-hero { padding-top: 5.25rem !important; }
@media (max-width: 767px) { .home-hero { padding-top: 5rem !important; } }

/* 2. Services mega-menu: live width (wider than the compact 680px panel). */


/* 3. Footer: giant wordmark kept large and outlined; industry column compacted. */
.footer-giant-v10 { display: block !important; font-size: clamp(3.5rem, 11vw, 10rem) !important; line-height: .9 !important; color: transparent !important; -webkit-text-stroke: 1px rgba(244,244,242, .18) !important; }
.site-footer .footer-cols { gap: 1.2rem 1.5rem !important; }
.site-footer .footer-cols ul { display: grid; gap: .35rem !important; }
.site-footer .footer-cols ul li a { font-size: .9rem !important; }

/* 4. Hero rotator: masked slide-up. The word rises from below the mask;
   the mask (overflow hidden on the rotator) clips it during entry. */
.h-rotator { display: inline-block !important; overflow: hidden !important; vertical-align: bottom !important; padding-bottom: .08em !important; margin-bottom: -.08em !important; }
.h-rot-word { display: inline-block !important; will-change: transform, opacity !important; }
/* Decorative hero blur removed: it was static in screenshots and read as a
   cursor effect. The real pointer follower (final JS) replaces it. */
.home-hero::before { display: none !important; animation: none !important; }

/* 5. Pointer follower (created by final JS, desktop fine-pointer only). */

/* 6. Service panels: buried panel tips back (perspective) as the next covers it. */
@media (min-width: 1024px) and (hover: hover) {
  .home .svc-card.launch-panel-buried { transform: perspective(1100px) rotateX(var(--tip-rot,10deg)) scale(var(--tip-scale,.94)) translateY(var(--tip-y,0px)) !important; transform-origin: center top !important; filter: brightness(.92) !important; transition: transform .18s ease-out, filter .18s ease-out !important; }
}

/* 7. Alternating entrances (final JS assigns up/down per card, in order).
   Entrance only: once the animation ends the card is static. */
@keyframes final-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes final-drop { from { opacity: 0; transform: translate3d(0, -24px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.final-alt-up.ms-in.ms-in { animation: final-rise .75s cubic-bezier(.16, 1, .3, 1) backwards !important; }
.final-alt-down.ms-in.ms-in { animation: final-drop .75s cubic-bezier(.16, 1, .3, 1) backwards !important; }
@media (min-width: 1024px) {
  .q-card.final-alt-up.ms-in.ms-in { animation: final-rise .75s cubic-bezier(.16, 1, .3, 1) backwards !important; }
  .q-card.final-alt-down.ms-in.ms-in { animation: final-drop .75s cubic-bezier(.16, 1, .3, 1) backwards !important; }
}

/* 8. Bottom FAQ stagger on desktop only; single column on mobile. */
@media (min-width: 1024px) {
  /* Staggered FAQ: cards step progressively right, then the cycle repeats,
     so long lists (e.g. the FAQ hub) stay staggered throughout. */
  .accordion-list .accordion:nth-child(6n+1) { margin-left: 0; width: 100%; }
  .accordion-list .accordion:nth-child(6n+2) { margin-left: 1.5rem; width: calc(100% - 1.5rem); }
  .accordion-list .accordion:nth-child(6n+3) { margin-left: 3rem; width: calc(100% - 3rem); }
  .accordion-list .accordion:nth-child(6n+4) { margin-left: 4.5rem; width: calc(100% - 4.5rem); }
  .accordion-list .accordion:nth-child(6n+5) { margin-left: 6rem; width: calc(100% - 6rem); }
  .accordion-list .accordion:nth-child(6n+6) { margin-left: 7.5rem; width: calc(100% - 7.5rem); }
}
/* 9. Case-study chapter pills: normal flow, never overlaying the cover. */
.case-steps { position: static !important; top: auto !important; }
/* 10. Case cards: smaller on phones, short description style. */
.studio-desc { font-size: .92rem; color: var(--muted); margin: .4rem 0 0; }
@media (max-width: 760px) { .studio-shot { height: 150px !important; } }
/* 11. Desktop section spacing tightened modestly (4.5rem -> 4rem). */
@media (min-width: 1024px) {
  .section, .qstack-sec { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .final-alt-up.ms-in.ms-in, .final-alt-down.ms-in.ms-in { animation: none !important; }
  .home .svc-card.launch-panel-buried { transform: none !important; filter: none !important; }
}


/* ===== Source: assets/css/polish-2026-10-28.css ===== */
/* polish-2026-10-28.css — final authority layer. Linked LAST on every page.
   Owns: case-study cards (.cs-*), one consistent hover language, mobile fixes.
   Earlier files stack conflicting card rules with !important; anything that must
   win lives here and is scoped narrowly. */

/* ---------- 0. Remove leftovers that read as gimmicks ---------- */
.cursor-dot,.cursor-ring{display:none!important}
.svc-card::before,.svc-card::after,.hub-card::before,.hub-card::after,
.post-card::before,.post-card::after,.model-card::before,.model-card::after{display:none!important}

/* ---------- 1. Case-study cards ---------- */
.cs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2vw,1.75rem);margin-top:2rem;align-items:stretch}
.cs-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  background:var(--surface,#fff);border:1px solid var(--line,rgba(14,14,15,.14));border-radius:20px;
  color:inherit;text-decoration:none;
  transition:transform .45s var(--ease,cubic-bezier(.16,1,.3,1)),box-shadow .45s var(--ease,cubic-bezier(.16,1,.3,1)),border-color .3s ease}
.cs-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#e9e7e2}
.cs-media img,.cs-media .cs-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .8s var(--ease,cubic-bezier(.16,1,.3,1))}
.cs-media .cs-video{opacity:0;transition:opacity .5s ease;pointer-events:none}
.cs-media .cs-video.is-playing{opacity:1}
.cs-body{display:flex;flex-direction:column;flex:1;gap:.55rem;padding:1.35rem 1.4rem 1.5rem}
.cs-label{font:600 .72rem/1 var(--font-b,system-ui);letter-spacing:.14em;text-transform:uppercase;color:var(--link,#C74312)}
.cs-title{font:600 clamp(1.3rem,1.6vw,1.6rem)/1.15 var(--font-d,system-ui);letter-spacing:-.02em;color:var(--ink,#0E0E0F)}
.cs-desc,.cs-demo{font-size:.95rem;line-height:1.55;color:var(--muted,#55565A)}
.cs-demo{font-size:.88rem}
.cs-note{font-size:.76rem;line-height:1.4;font-style:italic;color:var(--muted,#55565A);opacity:.85}
.cs-cta{margin-top:auto;padding-top:.9rem;display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.95rem;color:var(--ink,#0E0E0F)}
.cs-cta svg{transition:transform .35s var(--ease,cubic-bezier(.16,1,.3,1))}
.cs-card:focus-visible{outline:3px solid var(--accent,#FF5A1F);outline-offset:3px}
@media (max-width:1023px){
  .cs-grid{grid-template-columns:1fr;max-width:640px;margin-inline:auto}
}
@media (max-width:640px){
  .cs-card{border-radius:18px}
  .cs-body{padding:1.15rem 1.15rem 1.3rem}
  .cs-cta{min-height:44px;align-items:center}
}

/* ---------- 2. One hover language (fine pointers only; touch gets :active) ---------- */
@media (hover:hover) and (pointer:fine){
  .cs-card:hover{transform:translateY(-4px);border-color:var(--accent,#FF5A1F);box-shadow:0 26px 50px -26px rgba(14,14,15,.3)}
  .cs-card:hover .cs-media img{transform:scale(1.04)}
  .cs-card:hover .cs-cta svg{transform:translateX(4px)}
  .cs-card:hover .cs-cta{color:var(--accent-hover,#E94A14)}
  .svc-card,.post-card,.model-card,.disc-card,.prob-card,.fit-card,.next-steps li,.quote{translate:none!important}
}
@media (hover:none){
  .cs-card:active{transform:scale(.985)}
}

/* ---------- 3. Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .cs-card,.cs-media img,.cs-cta svg{transition:none!important}
  .cs-card:hover,.cs-card:hover .cs-media img{transform:none!important}
  .cs-media .cs-video{display:none!important}
}

/* ---------- 4. Mobile: sticky CTA never covers content ---------- */
@media (max-width:767px){
  .launch-sticky-cta{transition:opacity .3s ease,transform .3s var(--ease,cubic-bezier(.16,1,.3,1));
    bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;min-height:48px}
  body.pol-hide-cta .launch-sticky-cta{opacity:0;pointer-events:none;transform:translate(-50%,12px)!important}
  /* tighter vertical rhythm under page heroes */
  .page-hero{padding-bottom:1rem!important}
  .page-hero+.section{padding-top:1.5rem!important}
  /* room so the pill never hides the last line of a page */
  body{padding-bottom:env(safe-area-inset-bottom,0px)}
}

/* The header already carries the "Free website review" button on phones; a second floating pill only covered content. */
.launch-sticky-cta{display:none!important}

/* ---------- 5. Hero slide caption: readable on any photo ---------- */
.hslide-cap{background:rgba(14,14,15,.82)!important;color:#fff!important;opacity:1!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;max-width:calc(100% - 28px);line-height:1.3;white-space:normal}

/* ---------- 6. Service cards below desktop: small numeral chip, clean image corners ---------- */
@media (max-width:1023px),(hover:none){
  .svc-card-img{border-radius:0!important}
  .svc-cards .svc-card .svc-num{position:absolute!important;left:12px!important;top:12px!important;right:auto!important;bottom:auto!important;
    font-size:.8rem!important;font-weight:700!important;letter-spacing:.08em!important;line-height:1!important;
    padding:.45rem .7rem!important;border-radius:999px!important;background:rgba(14,14,15,.82)!important;color:#fff!important;
    text-shadow:none!important;mix-blend-mode:normal!important;width:auto!important;height:auto!important;aspect-ratio:auto!important}
}
.svc-card-img img{border-radius:0!important}

/* ---------- 7. Case-study detail pages: consistent cover size ---------- */
.case-fig.cover-capped{border-radius:20px;overflow:hidden}
.case-fig.cover-capped img{width:100%;aspect-ratio:16/10;max-height:none!important;height:auto;object-fit:cover;object-position:50% 42%;display:block}
@media (min-width:1024px){.case-fig.cover-capped img{aspect-ratio:16/9}}

/* Concept / self-initiated disclosure: quiet note, not a heavy black pill */
.concept-flag{background:transparent!important;color:var(--ink-2,#2B2B2E)!important;border:0!important;border-left:3px solid var(--accent,#FF5A1F)!important;
  border-radius:0!important;padding:.35rem 0 .35rem 1rem!important;font-size:.92rem!important;font-weight:500!important;line-height:1.5;max-width:60ch;box-shadow:none!important}

