/* ABLENTRA signature redesign — shared refinements for every route.
   Keeps the supplied orange/ink/ivory palette, fonts, art direction and existing motion stack. */
:root {
  --abl-brand: #ff5a1f;
  --abl-brand-strong: #e94a14;
  --abl-ink: #0e0e0f;
  --abl-paper: #f7f7f5;
  --abl-white: #fff;
  --abl-copy: #55565a;
  --abl-line: rgba(14, 14, 15, .12);
  --abl-radius: 22px;
  --abl-shadow-soft: 0 18px 46px -34px rgba(14, 14, 15, .28);
  scroll-padding-top: 6.5rem;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  color: var(--abl-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(255, 90, 31, .24); color: var(--abl-ink); }

h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img, svg, video { max-width: 100%; }
img { height: auto; }

/* Strong, visible keyboard focus without changing the existing interaction language. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--abl-brand) !important;
  outline-offset: 4px !important;
  border-radius: 8px;
}

/* Header/menu: retain the floating pill identity, with quieter glass and crisp controls. */
.site-header.v12-nav { z-index: 1000; }
.v12-pill {
  border-color: rgba(14, 14, 15, .11) !important;
  box-shadow: 0 10px 34px -24px rgba(14, 14, 15, .28) !important;
  -webkit-backdrop-filter: saturate(145%) blur(16px);
  backdrop-filter: saturate(145%) blur(16px);
}
.v12-menu-toggle, .v12-menu-close { transition: background-color .22s ease, color .22s ease, transform .22s ease, border-color .22s ease; }
.v12-menu-toggle:hover, .v12-menu-close:hover { transform: translateY(-1px); }
.v12-menu a, .site-footer a { text-underline-offset: .2em; }
.v12-menu a:hover, .site-footer a:hover { text-decoration-thickness: 2px; }

/* Hero rhythm and text measures stay specific to each route. */
.page-hero { scroll-margin-top: 6.5rem; }
.page-hero .wrap, .home-hero .wrap { width: min(100% - 2.5rem, 1200px); }
.page-hero h1, .home-hero h1 { max-width: 18ch; }
.page-hero .lede, .home-hero .lede { max-width: 61ch; }
.page-hero-visual, .hero-visual, .service-hero-visual { isolation: isolate; }
.page-hero-visual img, .service-hero-visual img, .hero-visual .hero-frame,
.hero-visual .hero-frame img, .page-hero .annotated img {
  border-radius: clamp(18px, 2vw, 28px);
}
.page-hero-visual img, .service-hero-visual img, .hero-frame img {
  display: block;
  box-shadow: 0 24px 65px -42px rgba(14, 14, 15, .46);
}

/* Restore the dark-hero reading order: word-by-word scroll copy is intentionally
   excluded from the light-to-dark ink animation here because it sits on charcoal. */
.home-hero .lede, .home-hero .lede .abl-w,
.home-hero .hero-copy .lede, .home-hero .hero-copy .lede .abl-w {
  color: rgba(255, 255, 255, .84) !important;
}
.home-hero .hero-review-check { gap: .5rem !important; }
.home-hero .hero-review-check li {
  color: rgba(255, 255, 255, .9) !important;
  background: rgba(255, 255, 255, .075) !important;
  border: 1px solid rgba(255, 255, 255, .19) !important;
  box-shadow: 0 8px 24px -20px rgba(0, 0, 0, .7);
}
.home-hero .hero-review-check li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .45rem;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--abl-brand);
}

/* On-page anchors are useful on long service and industry guides. */
.anchor-nav {
  position: sticky;
  top: 5.7rem;
  z-index: 20;
  -webkit-backdrop-filter: saturate(145%) blur(14px);
  backdrop-filter: saturate(145%) blur(14px);
}
.anchor-nav a { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.anchor-nav a:hover { transform: translateY(-1px); border-color: rgba(255, 90, 31, .42); }

/* Cards: calm borders, depth only where it helps, no blanket animation. */
.svc-card, .hub-card, .post-card, .model-card, .disc-card, .prob-card,
.fit-card, .approach-card, .p2-card, .p2-faq, .ix-card, .sv-core,
.ind-incl-card, .ind-decision-card, .val-card, .job-card, .quote,
.accordion, .tier, .contact-card, .tech-card {
  border-color: var(--abl-line);
  border-radius: var(--abl-radius);
}
.svc-card, .hub-card, .post-card, .disc-card, .model-card, .p2-card,
.approach-card, .fit-card, .ix-card, .sv-core, .val-card, .tech-card {
  box-shadow: var(--abl-shadow-soft);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
}
.svc-card:hover, .hub-card:hover, .post-card:hover, .disc-card:hover,
.model-card:hover, .p2-card:hover, .approach-card:hover, .fit-card:hover,
.ix-card:hover, .sv-core:hover, .val-card:hover, .tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 56px -38px rgba(14, 14, 15, .42);
  border-color: rgba(255, 90, 31, .46);
}

/* Use the supplied, purpose-made visual library as the main design material. */
.svc-card-img, .post-card .post-img, .post-card .slot-art, .ind-card,
.ix-card .ix-img, .page-hero-visual, .service-hero-visual .annot-wrap,
.step-photo, .article-cover, .blog-feature-image {
  overflow: hidden;
  border-radius: clamp(16px, 1.8vw, 25px);
}
.svc-card-img img, .post-card img, .ind-card-img, .ix-card img, .step-photo,
.article-cover img, .blog-feature-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.svc-card:hover .svc-card-img img, .post-card:hover img,
.ind-card:hover .ind-card-img, .ix-card:hover img {
  transform: scale(1.035);
}
.hero-frame { overflow: hidden; }

/* Service, industry and editorial page sections: one cadence, distinct content. */
main > .section, main > .p2-section, main > .cta-band, main > .audit-band,
main > .call-band { scroll-margin-top: 6.5rem; }
.h-section { max-width: 23ch; }
.section .wrap, .p2-section .wrap { max-width: 1200px; }
.check-list li::marker, .fit-card li::marker { color: var(--abl-brand); }
.faq-list details, .accordion, .p2-faq { transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open], .accordion[open], .p2-faq[open] {
  border-color: rgba(255, 90, 31, .46);
  box-shadow: 0 14px 38px -30px rgba(14, 14, 15, .44);
}

/* Buttons: make every action feel deliberate and keep touch targets dependable. */
.btn, .v12-pill-cta, .v12-menu-call, .text-link, button, input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
}
.btn, .v12-pill-cta, input[type="submit"] { font-weight: 700; }
.btn-accent, .v12-pill-cta, input[type="submit"] {
  box-shadow: 0 10px 24px -16px rgba(255, 90, 31, .9);
}
.btn-accent:hover, .v12-pill-cta:hover, input[type="submit"]:hover {
  box-shadow: 0 15px 32px -18px rgba(255, 90, 31, .95);
}
.btn:active, .v12-pill-cta:active, input[type="submit"]:active { transform: translateY(1px) scale(.99); }

/* Forms: make inputs calm, clear, and consistent through enquiry paths. */
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  border-color: rgba(14, 14, 15, .18);
}
input:not([type="checkbox"]):not([type="radio"]):hover, textarea:hover, select:hover {
  border-color: rgba(14, 14, 15, .32);
}
input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus, select:focus {
  border-color: var(--abl-brand) !important;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .12);
}

/* Footer and major conversion panels. */
.site-footer { overflow: clip; }
.site-footer .footer-cta { position: relative; isolation: isolate; }
.site-footer .footer-cta-h { text-wrap: balance; }
.cta-band, .audit-band, .call-band { scroll-margin-top: 6.5rem; }

@media (max-width: 760px) {
  :root { scroll-padding-top: 5.5rem; }
  .page-hero .wrap, .home-hero .wrap { width: min(100% - 2rem, 1200px); }
  .page-hero, .home-hero { overflow: clip; }
  .page-hero h1, .home-hero h1 { max-width: 15ch; }
  .home-hero .hero-review-check { display: flex; flex-wrap: wrap; }
  .home-hero .hero-review-check li { min-height: 38px; }
  .anchor-nav { top: 4.75rem; overflow-x: auto; scrollbar-width: none; }
  .anchor-nav::-webkit-scrollbar { display: none; }
  .svc-card:hover, .hub-card:hover, .post-card:hover, .disc-card:hover,
  .model-card:hover, .p2-card:hover, .approach-card:hover, .fit-card:hover,
  .ix-card:hover, .sv-core:hover, .val-card:hover, .tech-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* The pinned homepage process runs on charcoal. Override the shared pale .pq-step
   card skin here so its white headings and copy remain legible on every step. */
.proc-track .proc-stage > .proc-step.pq-step {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.proc-track .proc-text, .proc-track .proc-text h3 { color: #fff !important; }
.proc-track .proc-text p { color: rgba(255, 255, 255, .78) !important; }
.proc-track .proc-text .proc-deliverable {
  color: rgba(255, 255, 255, .88) !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 14px;
  padding: .7rem .85rem;
}
.proc-track .proc-text .proc-deliverable strong { color: #fff !important; }
.proc-track .proc-num { color: var(--abl-brand) !important; }


/* VISUAL REDESIGN PASS 2 — a distinctive ink-and-copper art direction for all
   interior page heroes, so service, industry, editorial, pricing and contact
   routes no longer inherit the pale/flat top-of-page treatment. */
.page-hero:not(.home-hero) {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff !important;
  background:
    radial-gradient(ellipse 42% 80% at 82% 42%, rgba(255, 90, 31, .22), transparent 72%),
    radial-gradient(ellipse 50% 55% at 0% 100%, rgba(255, 90, 31, .10), transparent 75%),
    #0e0e0f !important;
  border-radius: 0 0 clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px);
}
.page-hero:not(.home-hero)::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  right: 8%;
  top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, .11), rgba(255, 90, 31, 0) 68%);
  filter: blur(10px);
  pointer-events: none;
}
.page-hero:not(.home-hero) h1,
.page-hero:not(.home-hero) h1 .abl-w,
.page-hero:not(.home-hero) h1 span,
.page-hero:not(.home-hero) h2,
.page-hero:not(.home-hero) h3,
.page-hero:not(.home-hero) .h-display,
.page-hero:not(.home-hero) .h-section {
  color: #fff !important;
}
.page-hero:not(.home-hero) .lede,
.page-hero:not(.home-hero) p:not(.kicker),
.page-hero:not(.home-hero) li,
.page-hero:not(.home-hero) small {
  color: rgba(255, 255, 255, .78) !important;
}
.page-hero:not(.home-hero) .kicker,
.page-hero:not(.home-hero) .kicker-pill,
.page-hero:not(.home-hero) .pq-badge {
  color: #ff8151 !important;
  background: rgba(255, 255, 255, .075) !important;
  border-color: rgba(255, 255, 255, .2) !important;
}
.page-hero:not(.home-hero) .hl,
.page-hero:not(.home-hero) h1 em { color: #ff7545 !important; }
.page-hero:not(.home-hero) .btn-dark,
.page-hero:not(.home-hero) .btn-ghost,
.page-hero:not(.home-hero) .btn-outline-light {
  color: #fff !important;
  background: rgba(255, 255, 255, .055) !important;
  border-color: rgba(255, 255, 255, .42) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.page-hero:not(.home-hero) .btn-dark:hover,
.page-hero:not(.home-hero) .btn-ghost:hover,
.page-hero:not(.home-hero) .btn-outline-light:hover {
  color: #0e0e0f !important;
  background: #fff !important;
  border-color: #fff !important;
}
.page-hero:not(.home-hero) .page-hero-visual img,
.page-hero:not(.home-hero) .service-hero-visual img,
.page-hero:not(.home-hero) .annot-wrap {
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 90px -42px rgba(255, 90, 31, .58), 0 22px 50px -30px rgba(0, 0, 0, .86);
}
.page-hero:not(.home-hero) .annot-notes,
.page-hero:not(.home-hero) figcaption {
  color: rgba(255, 255, 255, .86) !important;
  background: rgba(255, 255, 255, .075) !important;
  border: 1px solid rgba(255, 255, 255, .17) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.page-hero:not(.home-hero) .annot-notes strong,
.page-hero:not(.home-hero) figcaption strong { color: #ff8151 !important; }

@media (max-width: 760px) {
  .page-hero:not(.home-hero) {
    border-radius: 0 0 26px 26px;
    background:
      radial-gradient(ellipse 82% 42% at 95% 58%, rgba(255, 90, 31, .19), transparent 72%),
      radial-gradient(ellipse 100% 38% at 0% 100%, rgba(255, 90, 31, .10), transparent 75%),
      #0e0e0f !important;
  }
  .page-hero:not(.home-hero)::before { width: 75vw; right: -18%; top: 25%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero:not(.home-hero)::before { filter: none; }
}


/* Scroll-color split text starts dark on light pages. Recolor the split words
   inside newly charcoal hero panels as well as their parent paragraphs. */
.page-hero:not(.home-hero) p .abl-w,
.page-hero:not(.home-hero) .lede .abl-w,
.page-hero:not(.home-hero) li .abl-w,
.page-hero:not(.home-hero) .hero-copy .abl-w {
  color: rgba(255, 255, 255, .82) !important;
}
.page-hero:not(.home-hero) .kicker .abl-w,
.page-hero:not(.home-hero) .kicker-pill .abl-w {
  color: #ff8151 !important;
}


/* REFERENCE-INSPIRED SERVICE GALLERY — licensed mockup artwork, not a case study. */
.design-references {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(1.5rem, 3vw, 3rem) 0;
  padding: clamp(3.25rem, 6.5vw, 6rem) 0;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 60% at 94% 0%, rgba(255, 90, 31, .18), transparent 72%),
    radial-gradient(ellipse 45% 58% at 0% 100%, rgba(255, 90, 31, .08), transparent 75%),
    #111112;
  border: 1px solid rgba(14, 14, 15, .08);
  border-radius: clamp(24px, 3vw, 42px);
}
.design-references .wrap { position: relative; z-index: 1; }
.design-references-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(1.75rem, 3.2vw, 3rem);
}
.design-references-head .kicker { color: #ff956c !important; }
.design-references-head h2 {
  max-width: 17ch;
  margin: .6rem 0 0;
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.design-references-head > div:last-child > p:first-child {
  max-width: 54ch;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}
.design-references .design-references-disclosure {
  margin: 0;
  padding: .65rem 0 .65rem 1rem;
  border-left: 2px solid var(--abl-brand);
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
  line-height: 1.55;
}
.design-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.design-reference-card {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  box-shadow: 0 18px 48px -38px rgba(0, 0, 0, .85);
  transition: transform .32s cubic-bezier(.2,.75,.25,1), border-color .28s ease, box-shadow .28s ease;
}
.design-reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 125, 78, .55);
  box-shadow: 0 26px 60px -38px rgba(0, 0, 0, .9);
}
.design-reference-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.53 / 1;
  margin: 0;
  background: #252528;
}
.design-reference-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.design-reference-card:hover .design-reference-media img { transform: scale(1.035); }
.design-reference-media--vertical img { object-position: 50% 46%; }
.design-reference-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: .43rem .68rem;
  color: #fff;
  background: rgba(14, 14, 15, .78);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.design-reference-copy { padding: clamp(1.1rem, 2vw, 1.5rem); }
.design-reference-index {
  margin: 0 0 .58rem;
  color: #ff956c;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.design-reference-copy h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.design-reference-copy > p:not(.design-reference-index) {
  max-width: 48ch;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .94rem;
  line-height: 1.6;
}
.design-reference-copy a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #ff956c;
  font-size: .8rem;
  font-weight: 700;
  text-underline-offset: .22em;
}
.design-reference-copy a:hover { color: #fff; }
.design-reference-copy a:focus-visible {
  outline: 3px solid #ff956c !important;
  outline-offset: 4px !important;
}

@media (max-width: 760px) {
  .design-references {
    margin: 1.25rem 0;
    padding: 2.75rem 0;
    border-radius: 24px;
  }
  .design-references-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  .design-references-head h2 { max-width: 16ch; font-size: clamp(1.9rem, 8vw, 2.55rem); }
  .design-reference-grid { grid-template-columns: 1fr; gap: 1rem; }
  .design-reference-media { aspect-ratio: 1.34 / 1; }
  .design-reference-copy { padding: 1.1rem; }
  .design-reference-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .design-reference-card, .design-reference-media img { transition: none !important; }
}

/* Keep the gallery eyebrow readable against its dark stage. */
.design-references .design-references-head .kicker {
  display: inline-flex;
  padding: .43rem .72rem;
  color: #ffb79b !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 999px;
}

/* Focus the tall packaging contact preview on its most cohesive single scene. */
.design-reference-media--vertical img { object-position: 50% 61%; }

.design-reference-media--vertical img { object-position: 50% 64%; }

.design-reference-media--vertical img { object-position: 50% 66%; }
