/* ============================================================
   Ascential Test & Measurement Systems — rebrand overlay
   Loaded AFTER the Sentric tailwind bundle to override brand.
   - Font: Inter (replaces Favorit / FavoritExpanded / Diatype)
   - Palette: purple #5522dd primary, orange #dd7722 accent
   - A slight modern lift: softer radii, refined shadows, smoother motion
   ============================================================ */

/* ---- Inter font, remapped onto Sentric's font-family names ---- */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
  src:url(brand/inter-regular.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;
  src:url(brand/inter-700.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;
  src:url(brand/inter-800.woff2) format("woff2")}

/* Override Sentric's faces so ALL existing text renders in Inter without markup changes */
@font-face{font-family:Favorit;font-style:normal;font-weight:300;font-display:swap;src:url(brand/inter-regular.woff2) format("woff2")}
@font-face{font-family:Favorit;font-style:normal;font-weight:400;font-display:swap;src:url(brand/inter-regular.woff2) format("woff2")}
@font-face{font-family:Favorit;font-style:normal;font-weight:700;font-display:swap;src:url(brand/inter-700.woff2) format("woff2")}
@font-face{font-family:FavoritExpanded;font-style:normal;font-weight:400;font-display:swap;src:url(brand/inter-700.woff2) format("woff2")}
@font-face{font-family:FavoritExpanded;font-style:normal;font-weight:700;font-display:swap;src:url(brand/inter-800.woff2) format("woff2")}
@font-face{font-family:Diatype;font-style:normal;font-weight:400;font-display:swap;src:url(brand/inter-regular.woff2) format("woff2")}

:root{
  --asc-purple:#5522dd;
  --asc-purple-dark:#4019b8;
  --asc-orange:#dd7722;
  --asc-orange-dark:#c4641a;
}

/* Inter benefits from slightly tighter tracking at display sizes */
body, .font-sans{font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji" !important;}
h1,h2,h3,.type-alpha,.type-beta,.type-gamma,.type-delta{letter-spacing:-.02em;}

/* ---- Recolor: Sentric orange (#ffb338) -> Ascential accent; CTAs -> purple ---- */
.bg-orange{background-color:var(--asc-purple) !important;}
.text-orange{color:var(--asc-purple) !important;}
.border-orange{border-color:var(--asc-purple) !important;}
.hover\:bg-orange\/90:hover,.active\:bg-orange\/70:active{background-color:var(--asc-purple-dark) !important;}

/* Section rhythm: a touch more breathing room (the "slight lift upward") */
.py-section{padding-top:clamp(3.5rem,6vw,6rem) !important;padding-bottom:clamp(3.5rem,6vw,6rem) !important;}

/* Images: no rounded corners; instead a subtle angled chamfer on the top-left corner */
main img:not([aria-hidden="true"]){
  border-radius:0 !important;
  clip-path:polygon(34px 0, 100% 0, 100% 100%, 0 100%, 0 34px);
}

/* Footer accent line on top */
footer.bg-lightgray{border-top:3px solid var(--asc-purple);}

/* Footer email overflow fix — the mailto inherits uppercase + wide
   tracking from the nav-label style, which overflows the viewport on
   mobile. Keep the email lowercase, normal tracking, and allow wrap. */
footer a[href^="mailto:"]{
  text-transform:none !important;
  letter-spacing:0 !important;
  max-width:100%;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}
footer a[href^="mailto:"] .text-xs{
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

/* Footer: larger logo + remove ALL-CAPS from nav links */
.footer-logo-img{ height:60px !important; }
@media (min-width:768px){ .footer-logo-img{ height:76px !important; } }
footer nav a, footer nav a .text-xs{
  text-transform:none !important;
  letter-spacing:.01em !important;
  font-size:.9rem !important;
}

/* Divider lines: add 25px breathing room below the line so content never butts against it.
   - <hr> is a standalone line -> margin-bottom.
   - .border-t containers draw the line at their top edge -> padding-top.
   - Tailwind responsive variants (md:border-t, xl:border-t) only draw the line at
     their breakpoint, so the matching padding is scoped to the same media query. */
main hr{ margin-bottom:25px !important; }
main .border-t{ padding-top:25px !important; }
@media (min-width:768px){
  main .md\:border-t{ padding-top:25px !important; }
}
@media (min-width:1280px){
  main .xl\:border-t{ padding-top:25px !important; }
}
/* Extra breathing room below the divider line, above images in two-column
   media sections (image column otherwise sits flush ~26px under the line). */
@media (min-width:768px){
  main .border-t .bp-media-inner,
  main .md\:border-t .bp-media-inner,
  main .xl\:border-t .bp-media-inner{ padding-top:2rem; }
  /* Images placed directly in the self-start image column (no media-inner wrapper) */
  main .md\:border-t > .self-start > img,
  main .xl\:border-t > .self-start > img,
  main .border-t > .self-start > img{ margin-top:2rem; }
}

/* Logo lockup spacing */
header > a:first-child{display:inline-flex;align-items:center;}

/* Quote-form placeholder: brand-tint the dashed box */
.quote-form-placeholder{border-color:var(--asc-purple) !important;background:#f5f3fe !important;color:#4019b8 !important;}

/* Selection color */
::selection{background:var(--asc-purple);color:#fff;}

/* ============================================================
   Buttons — EXACT match to adastrustednetwork.com .glassy-btn.
   primary  = .ascential-btn / a.bg-orange  (purple #5522dd)
   secondary= .ascential-btn-ghost          (orange #dd7722)
   Both: solid fill + white text -> hover transparent bg,
   colored text+border, box-shadow none. transition .3s ease.
   Hover is identical on every surface (incl. the dark hero),
   per Adam: "all styles incl. hover must match ATN."
   ============================================================ */
.ascential-btn,
.ascential-btn-ghost,
a.bg-orange{
  display:inline-flex; align-items:center; justify-content:center;
  position:relative; cursor:pointer; text-decoration:none;
  padding:12px 24px; line-height:1.4;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-weight:600; font-size:14px; text-align:center;
  color:#fff !important;
  background-image:none !important;
  background-color:var(--asc-purple) !important;
  border:2px solid var(--asc-purple) !important; border-radius:8px !important;
  box-shadow:0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06) !important;
  clip-path:none !important;
  transition:all .3s ease !important;
}
/* primary (purple) hover -> transparent bg, purple text+border */
.ascential-btn:hover,
a.bg-orange:hover{
  background-color:transparent !important;
  color:var(--asc-purple) !important;
  border-color:var(--asc-purple) !important;
  box-shadow:none !important;
}
.ascential-btn:hover span,
a.bg-orange:hover span{ color:var(--asc-purple) !important; }

/* Catch-all: ANY purple-filled button/link gets white text (kills the
   leftover Sentric `text-black` on cloned CTAs). Resting state only —
   transparent-hover states above override back to colored text. */
.bg-orange:not(:hover), button.bg-orange:not(:hover), a.bg-orange:not(:hover),
.bg-purple:not(:hover), button.bg-purple:not(:hover), a.bg-purple:not(:hover){
  color:#fff !important;
}
.bg-orange:not(:hover) *, button.bg-orange:not(:hover) *, a.bg-orange:not(:hover) *,
.bg-purple:not(:hover) *, button.bg-purple:not(:hover) *, a.bg-purple:not(:hover) *{
  color:#fff !important;
}

/* secondary (orange) — orange fill, hover -> transparent + orange text+border */
.ascential-btn-ghost{
  background-color:var(--asc-orange) !important;
  border-color:var(--asc-orange) !important;
}
.ascential-btn-ghost:hover{
  background-color:transparent !important;
  color:var(--asc-orange) !important;
  border-color:var(--asc-orange) !important;
  box-shadow:none !important;
}
.ascential-btn-ghost:hover span{ color:var(--asc-orange) !important; }



/* ============================================================
   Fixed scroll-aware header (transparent over hero -> solid white)
   ============================================================ */
.site-header{
  position:fixed !important; top:0; left:0; width:100%; z-index:9000;
  transition:background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header > .container{ padding-top:1.1rem !important; padding-bottom:1.1rem !important; }
/* transparent over hero: a soft text-shadow keeps white legible, no harsh band */
.site-header.is-transparent{ background:transparent !important; background-color:transparent !important; box-shadow:none !important; -webkit-backdrop-filter:none; backdrop-filter:none; }
.site-header.is-transparent .site-logo img,
.site-header.is-transparent nav a span{ filter:drop-shadow(0 1px 6px rgba(0,0,0,.45)); text-shadow:0 1px 6px rgba(0,0,0,.45); }
/* on scroll: frosted glass (matches adastrustednetwork) */
.site-header.is-solid{
  background:rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px);
  box-shadow:0 10px 40px -10px rgba(85,34,221,.15), 0 4px 6px -2px rgba(0,0,0,.05);
  border-bottom:1px solid rgba(221,119,34,.2);
}
/* logo sizing + swap (Tailwind h-8/h-9 not present in cloned build) */
.site-logo{ display:inline-flex; align-items:center; position:relative; }
.site-logo img{ height:46px !important; width:auto !important; }
@media (min-width:768px){ .site-logo img{ height:56px !important; } }
.site-logo .logo-light{ display:none; }
.is-transparent .site-logo .logo-dark{ display:none; }
.is-transparent .site-logo .logo-light{ display:inline-block; }
/* nav link colors over hero */
.is-transparent nav a span{ color:#fff !important; }
.is-transparent nav a{ color:#fff !important; }
.is-solid nav a span{ color:#111 !important; }
/* push non-hero pages below the fixed header */
body:not(.has-hero) #content-wrapper{ padding-top:84px; }

/* ============================================================
   Fullscreen hero with dark overlay + white copy
   ============================================================ */
.hero-full{
  position:relative; min-height:100svh; display:flex; align-items:center;
  overflow:hidden; isolation:isolate;
}
.hero-full-bg{
  position:absolute; inset:0; z-index:-2;
  background-size:cover; background-position:center 65%; background-repeat:no-repeat;
  transform:scale(1.04);
}
.hero-full-overlay{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(8,7,18,.78) 0%, rgba(8,7,18,.42) 28%, rgba(8,7,18,.45) 70%, rgba(8,7,18,.72) 100%),
    linear-gradient(90deg, rgba(8,7,18,.72) 0%, rgba(8,7,18,.30) 55%, rgba(8,7,18,0) 100%);
}
.hero-full-inner{ width:100%; padding-top:7rem; padding-bottom:5rem; }
.hero-full .hero-copy{ max-width:760px; }
.hero-full .hero-eyebrow{
  font-family:Inter,sans-serif; font-weight:700; font-size:.82rem;
  letter-spacing:.16em; text-transform:uppercase; color:#fff; opacity:.85; margin:0 0 1.1rem;
}
.hero-full .hero-title{
  font-family:Inter,sans-serif; font-weight:800;
  font-size:clamp(2.4rem,5.6vw,4.6rem); line-height:1.02;
  letter-spacing:-.03em; color:#fff; margin:0 0 1.5rem; text-wrap:balance;
}
.hero-full .hero-lede{
  font-family:Inter,sans-serif; font-size:clamp(1.05rem,1.5vw,1.32rem);
  line-height:1.6; color:rgba(255,255,255,.88); max-width:54ch; margin:0 0 2.2rem;
}
.hero-full .hero-actions{ display:flex; flex-wrap:wrap; gap:1rem; }
.hero-scroll-cue{
  position:absolute; left:50%; bottom:2rem; transform:translateX(-50%);
  width:24px; height:38px; border:2px solid rgba(255,255,255,.55); border-radius:13px;
}
.hero-scroll-cue::before{
  content:""; position:absolute; left:50%; top:7px; transform:translateX(-50%);
  width:4px; height:8px; border-radius:2px; background:#fff;
  animation:scrollcue 1.6s ease-in-out infinite;
}
@keyframes scrollcue{ 0%,100%{opacity:0;transform:translate(-50%,0);} 50%{opacity:1;transform:translate(-50%,7px);} }

/* shared hero text helpers (kept for any other use) */
.hero-eyebrow{ font-family:Inter,sans-serif; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--asc-purple); }

/* ============================================================
   Locations page
   ============================================================ */
.loc-hero{
  padding:clamp(3.5rem,7vw,6rem) 0 clamp(2rem,4vw,3rem);
  background:#fafafe;
  border-bottom:1px solid #eee;
  text-align:center;
}
.loc-hero-title{
  font-family:Inter,sans-serif; font-weight:800;
  font-size:clamp(2.1rem,4.6vw,3.6rem); line-height:1.05;
  letter-spacing:-.03em; color:#0c0c0f; margin:.6rem auto 1.1rem; max-width:18ch;
  text-wrap:balance;
}
.loc-hero-lede{
  font-family:Inter,sans-serif; font-size:clamp(1.02rem,1.4vw,1.22rem);
  line-height:1.55; color:#3f3f46; max-width:60ch; margin:0 auto;
}
.loc-section{ padding-top:clamp(2.5rem,5vw,4rem); padding-bottom:clamp(3.5rem,7vw,6rem); }
.loc-grid{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:clamp(1.5rem,3vw,2.5rem); max-width:1040px; margin:0 auto;
}
@media (max-width:860px){ .loc-grid{ grid-template-columns:1fr; } }

.loc-card{
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border-radius:18px;
  box-shadow:0 1px 2px rgba(20,16,60,.06), 0 18px 40px -24px rgba(20,16,60,.28);
  border:1px solid #f0eefb; transition:transform .25s ease, box-shadow .25s ease;
}
.loc-card:hover{ transform:translateY(-4px); box-shadow:0 1px 2px rgba(20,16,60,.06), 0 28px 60px -26px rgba(85,34,221,.45); }
.loc-card-map{
  position:relative; height:190px; overflow:hidden;
  background:#eef0f4;
}
/* Mapbox container fills the card top, fully non-interactive */
.loc-map{
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none !important;
}
.loc-map canvas{ pointer-events:none !important; }
/* hide mapbox logo/attribution inside the decorative card map */
.loc-card-map .mapboxgl-ctrl-logo,
.loc-card-map .mapboxgl-ctrl-attrib,
.loc-card-map .mapboxgl-ctrl-bottom-left,
.loc-card-map .mapboxgl-ctrl-bottom-right{ display:none !important; }
/* subtle gradient scrim at the bottom for the card seam */
.loc-card-map::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:40px; z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 100%);
}
.loc-pin{
  position:absolute; left:50%; top:44%; transform:translate(-50%,-50%); z-index:3;
  width:46px; height:46px; border-radius:50%; background:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 22px -8px rgba(0,0,0,.5);
}
.loc-card-body{ padding:clamp(1.5rem,2.4vw,2rem); display:flex; flex-direction:column; flex:1; }
.loc-region{
  font-family:Inter,sans-serif; font-weight:700; font-size:.72rem;
  letter-spacing:.13em; text-transform:uppercase; color:var(--asc-purple);
}
.loc-card-title{
  font-family:Inter,sans-serif; font-weight:800; letter-spacing:-.02em;
  font-size:clamp(1.5rem,2.4vw,2rem); color:#0c0c0f; margin:.3rem 0 .1rem;
}
.loc-card-sub{ font-weight:600; color:#52525b; margin:0 0 .9rem; }
.loc-card-copy{ color:#3f3f46; line-height:1.55; margin:0 0 1.1rem; }
.loc-feats{ list-style:none; padding:0; margin:0 0 1.6rem; display:flex; flex-direction:column; gap:.5rem; }
.loc-feats li{
  position:relative; padding-left:1.6rem; color:#27272a; font-size:.96rem;
}
.loc-feats li::before{
  content:""; position:absolute; left:0; top:.34em; width:14px; height:14px;
  background:var(--asc-purple);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
}
.loc-cta{ margin-top:auto; align-self:flex-start; }

.loc-bottom{
  max-width:1040px; margin:clamp(3rem,5vw,4.5rem) auto 0; text-align:center;
  padding:clamp(2.2rem,4vw,3.2rem); border-radius:20px;
  background:#0c0c0f; color:#fff;
}
.loc-bottom-title{ font-family:Inter,sans-serif; font-weight:800; letter-spacing:-.02em;
  font-size:clamp(1.5rem,2.6vw,2.2rem); margin:0 0 .6rem; color:#fff; }
.loc-bottom-copy{ color:#c8c4d6; margin:0 0 1.6rem; }

/* ============================================================
   ATN site-wide style match (adastrustednetwork.com)
   Bold purple section headings, Inter, clean light sections.
   Applies to ALL pages via the cloned .type-* heading classes.
   ============================================================ */
/* Section headings -> bold purple, like ATN's H2s */
main .type-alpha,
main h2.type-alpha,
main .type-beta{
  color:var(--asc-purple) !important;
  font-family:Inter,sans-serif !important;
  font-weight:800 !important; letter-spacing:-.02em !important;
  line-height:1.05 !important;
}
/* But keep headings white when on a dark section */
main .bg-black .type-alpha,
main .bg-black .type-beta,
main .bg-black h2,
main .bg-black h3,
.loc-bottom .loc-bottom-title{ color:#fff !important; }

/* Body prose: ATN's comfortable gray */
main .prose p,
main .prose li{ color:#3f3f46; line-height:1.65; }
main .bg-black .prose p,
main .bg-black .prose-invert p{ color:rgba(255,255,255,.85) !important; }

/* Light section background tone (ATN uses very light gray) */
main section.bg-lightgray{ background:#f7f7fb !important; }

/* Inter everywhere for headings (kill any residual display face) */
main h1, main h2, main h3, main h4,
main .type-alpha, main .type-beta, main .type-gamma, main .type-delta,
main .font-expanded{ font-family:Inter,sans-serif !important; }

/* Links in body -> purple, like ATN */
main .prose a:not(.ascential-btn):not(.bg-orange){ color:var(--asc-purple); text-underline-offset:3px; }

/* Generous section rhythm to match ATN's airy spacing */
main section{ scroll-margin-top:90px; }

/* ============================================================
   Mobile nav: hamburger + dropdown (ATN-clean)
   ============================================================ */
/* Hamburger button: bare icon only — no box, no fill */
.site-header .xl\:hidden button[\@click],
.site-header button[type="button"][\@click]{
  background:transparent !important; color:inherit !important;
  border-radius:0 !important; padding:0 !important;
}
/* toggle is a bare icon: never a frosted/colored box */
.site-header button[type="button"][\@click],
.site-header.is-transparent button[type="button"][\@click],
.site-header .mobile-toggle{
  background:transparent !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  box-shadow:none !important; border:0 !important;
}
/* ---- Animated hamburger -> X toggle (no Sentric flourish) ---- */
.mobile-toggle{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; padding:0; margin:0; border:0; background:transparent;
  cursor:pointer; -webkit-appearance:none; appearance:none;
}
.mobile-toggle-bars{ position:relative; display:block; width:26px; height:18px; }
.mobile-toggle-bars span{
  position:absolute; left:0; height:2.5px; width:100%; border-radius:2px;
  background:var(--asc-purple); transition:transform .3s cubic-bezier(.16,1,.3,1),
  opacity .2s ease, background .2s ease, top .3s cubic-bezier(.16,1,.3,1);
}
.mobile-toggle-bars span:nth-child(1){ top:0; }
.mobile-toggle-bars span:nth-child(2){ top:50%; transform:translateY(-50%); }
.mobile-toggle-bars span:nth-child(3){ top:100%; transform:translateY(-100%); }
/* on transparent (hero) nav, bars are white */
.site-header.is-transparent .mobile-toggle-bars span{ background:#fff; }
/* OPEN state -> morph into an X (white, sits above overlay) */
.site-header.menu-open .mobile-toggle-bars span{ background:#fff; }
.site-header.menu-open .mobile-toggle-bars span:nth-child(1){ top:50%; transform:translateY(-50%) rotate(45deg); }
.site-header.menu-open .mobile-toggle-bars span:nth-child(2){ opacity:0; }
.site-header.menu-open .mobile-toggle-bars span:nth-child(3){ top:50%; transform:translateY(-50%) rotate(-45deg); }

/* ============================================================
   Full-screen mobile overlay menu with staggered link reveal
   ============================================================ */
.mobile-overlay{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:stretch; justify-content:flex-start;
  background:radial-gradient(120% 90% at 0% 0%, #181232 0%, #0c0a18 55%, #08060f 100%);
  -webkit-backdrop-filter:blur(26px); backdrop-filter:blur(26px);
}
/* dedicated close (X) button, top-right of the overlay */
.mobile-overlay-close{
  position:absolute; top:18px; right:18px; z-index:10000;
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:0; padding:0; cursor:pointer; -webkit-appearance:none; appearance:none;
}
.mobile-overlay-close .mobile-toggle-bars{ position:relative; display:block; width:26px; height:18px; }
.mobile-overlay-close .mobile-toggle-bars span{
  position:absolute; left:0; height:2.5px; width:100%; border-radius:2px; background:#fff;
  transition:transform .3s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}
.mobile-overlay-close .mobile-toggle-bars span:nth-child(1){ top:50%; transform:translateY(-50%) rotate(45deg); }
.mobile-overlay-close .mobile-toggle-bars span:nth-child(2){ opacity:0; }
.mobile-overlay-close .mobile-toggle-bars span:nth-child(3){ top:50%; transform:translateY(-50%) rotate(-45deg); }
/* brand logo, top-left of the overlay */
.mobile-overlay-logo{
  position:absolute; top:22px; left:clamp(1.75rem,7vw,3rem); z-index:10000;
  display:inline-flex; align-items:center;
}
.mobile-overlay-logo img{ height:30px; width:auto; display:block; }
/* Alpine transition classes: overlay fade */
.mo-enter{ transition:opacity .35s ease; }
.mo-enter-start{ opacity:0; }
.mo-enter-end{ opacity:1; }
.mo-leave{ transition:opacity .3s ease; }
.mo-leave-start{ opacity:1; }
.mo-leave-end{ opacity:0; }

.mobile-overlay-nav{
  width:100%; max-width:560px;
  padding:clamp(6rem,16vh,9rem) clamp(1.75rem,7vw,3rem) 2.5rem;
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
  margin-top:auto; margin-bottom:auto;
}
.mobile-overlay-nav ul{ list-style:none; margin:0 0 2rem; padding:0; width:100%; text-align:left; }
.mobile-overlay-nav li{
  opacity:0; transform:translateY(18px);
  animation:moItem .55s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:calc(var(--i) * .07s + .14s);
  border-top:1px solid rgba(255,255,255,.09);
}
.mobile-overlay-nav li:last-child{ border-bottom:1px solid rgba(255,255,255,.09); }
.mobile-overlay-nav li a{
  position:relative; display:flex; align-items:baseline; gap:1rem;
  padding:1.25rem .25rem; text-decoration:none;
  font-family:Inter,sans-serif; font-weight:600; letter-spacing:-.02em;
  font-size:clamp(1.9rem,8.5vw,2.7rem); line-height:1; color:#fff;
  transition:padding-left .35s cubic-bezier(.16,1,.3,1), color .25s ease;
}
/* thin index numeral, eg 01 02 03 */
.mobile-overlay-nav li a::before{
  content:counter(navidx,decimal-leading-zero);
  font-size:.72rem; font-weight:500; letter-spacing:.12em; line-height:1;
  color:rgba(170,150,255,.55); transform:translateY(-.55em);
  transition:color .25s ease;
}
.mobile-overlay-nav ul{ counter-reset:navidx; }
.mobile-overlay-nav li{ counter-increment:navidx; }
/* sliding arrow that fades in on hover */
.mobile-overlay-nav li a::after{
  content:"→"; margin-left:auto; align-self:center;
  font-size:1.4rem; font-weight:400; color:var(--asc-orange);
  opacity:0; transform:translateX(-12px);
  transition:opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.mobile-overlay-nav li a:hover,
.mobile-overlay-nav li a:active{ padding-left:1rem; color:#fff; }
.mobile-overlay-nav li a:hover::before,
.mobile-overlay-nav li a:active::before{ color:var(--asc-orange); }
.mobile-overlay-nav li a:hover::after,
.mobile-overlay-nav li a:active::after{ opacity:1; transform:translateX(0); }
.mobile-overlay-nav li a span{ transition:color .25s ease; }
.mobile-overlay-cta{
  opacity:0; transform:translateY(18px);
  animation:moItem .55s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:calc(var(--i) * .07s + .14s);
  margin-top:.5rem; align-self:flex-start; min-width:0; width:100%;
  justify-content:center;
}
@keyframes moItem{ to{ opacity:1; transform:translateY(0);} }
/* when overlay is open, morph hamburger into an X (handled by Alpine !rotate-45) */

/* ============================================================
   Prose list bullets -> ATN purple checkmarks
   ============================================================ */
main .prose ul{ list-style:none !important; padding-left:0 !important; }
main .prose ul > li{ list-style:none !important;
  position:relative; padding-left:2rem; margin-bottom:.7rem; line-height:1.6;
}
main .prose ul > li::marker{ content:"" !important; color:transparent !important; font-size:0 !important; }
main .prose ul > li::before{
  content:""; position:absolute; left:0; top:.28em; width:18px; height:18px;
  background:var(--asc-purple);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
}
/* On dark sections, checkmarks go orange for contrast */
main .bg-black .prose ul > li::before,
main .prose-invert ul > li::before{ background:var(--asc-orange); }
/* don't restyle the empty absolute-positioned helper ULs */
main .prose ul.inset-0,
main ul.inset-0{ list-style:none !important; }
main ul.inset-0 > li::before{ display:none !important; }

/* ============================================================
   KILL Sentric remnant: the four-square "S" logo baked into
   blockquote::before (orange #FFB338) by the cloned Tailwind
   bundle. Replace with the Ascential mark in purple.
   ============================================================ */
main .prose blockquote::before,
.prose blockquote::before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none'><path fill='%235522dd' d='M13 7.794V5.32H7.948a.242.242 0 0 0-.243.242v1.992c0 .133.11.241.243.241H13ZM0 5.322v2.474h5.052a.242.242 0 0 0 .243-.242V5.562a.242.242 0 0 0-.243-.241H0ZM5.252 13H7.75V7.993a.242.242 0 0 0-.244-.24h-2.01a.242.242 0 0 0-.244.24V13h.001ZM7.747 0H5.251v5.123c0 .133.11.24.244.24h2.01a.242.242 0 0 0 .243-.24V0Z'/></svg>") !important;
}
/* Tailwind focus-ring + any leftover Sentric orange -> Ascential accent */
*{ --tw-ring-color:rgba(85,34,221,.5) !important; }
.focus\:ring-orange:focus{ --tw-ring-color:rgba(85,34,221,1) !important; }
.text-orange{ color:var(--asc-purple) !important; }

/* Overlay is teleported to <body>; nav + menu sit above everything. */
@media (max-width:1279px){
  .site-header{ z-index:9000 !important; }
  .mobile-overlay{ z-index:9999 !important; }     /* above the header */
  .site-header .mobile-toggle{ position:relative; z-index:9001; }
}
/* Lock body scroll + kill horizontal overflow while the menu is open */
body.mobile-menu-open{ overflow:hidden !important; }
html, body{ overflow-x:hidden; }
.mobile-overlay{ width:100vw; max-width:100%; overflow-y:auto; -webkit-overflow-scrolling:touch; }

/* ============================================================
   Quote request form (styled, ATN-clean)
   ============================================================ */
.bp-form-wrap{
  background:#fff; border:1px solid #ece9fb; border-radius:18px;
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 24px 50px -30px rgba(20,16,60,.30);
  padding:clamp(1.5rem,3vw,2.5rem); margin-top:.5rem;
}
.bp-form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1rem 1.25rem; }
@media (max-width:640px){ .bp-form-grid{ grid-template-columns:1fr; } }
.bp-field{ display:flex; flex-direction:column; gap:.4rem; }
.bp-field-full{ grid-column:1 / -1; }
.bp-field > span{
  font-family:Inter,sans-serif; font-weight:600; font-size:.82rem;
  letter-spacing:.01em; color:#3f3f46;
}
.bp-field input,
.bp-field select,
.bp-field textarea{
  font-family:Inter,sans-serif; font-size:.98rem; color:#18181b;
  background:#fafafe; border:1.5px solid #e4e1f5; border-radius:10px;
  padding:.7rem .85rem; transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
  width:100%;
}
.bp-field input::placeholder,
.bp-field textarea::placeholder{ color:#a1a1aa; }
.bp-field input:focus,
.bp-field select:focus,
.bp-field textarea:focus{
  outline:none; border-color:var(--asc-purple); background:#fff;
  box-shadow:0 0 0 3px rgba(85,34,221,.12);
}
.bp-field textarea{ resize:vertical; min-height:96px; }
.bp-form-submit{ margin-top:1.4rem; width:100%; }
.bp-form-note{
  margin:.9rem 0 0; text-align:center; font-size:.82rem; color:#71717a;
  font-family:Inter,sans-serif;
}

/* ============================================================
   Vertical rhythm normalization — kill redundant my-* margins
   that stack on top of py-section padding (uneven big gaps).
   Dark feature bands now sit flush with consistent inner padding.
   ============================================================ */
main section.py-section{ margin-top:0 !important; margin-bottom:0 !important; }
/* Slightly tighter, consistent section padding site-wide */
main section.py-section{ padding-top:clamp(2rem,4vw,3.25rem) !important; padding-bottom:clamp(2rem,4vw,3.25rem) !important; }
/* Dark feature bands: a touch more presence, but no external margin */
main section.bg-black{ padding-top:clamp(2.5rem,4.5vw,3.75rem) !important; padding-bottom:clamp(2.5rem,4.5vw,3.75rem) !important; }

/* ============================================================
   Testimonial cards (home) — lift the plain quotes into cards
   ============================================================ */
.bp-testimonials > div{ border-top:0 !important; gap:1.5rem !important; }
.bp-testimonials > div > div{
  background:#fff; border:1px solid #efedfa; border-radius:16px;
  padding:clamp(1.5rem,2.5vw,2rem) !important;
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 16px 36px -26px rgba(20,16,60,.30);
  border-top:1px solid #efedfa !important;
  transition:transform .25s ease, box-shadow .25s ease;
}
.bp-testimonials > div > div:hover{
  transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 26px 50px -28px rgba(85,34,221,.40);
}
/* quote-mark icon bubble -> brand tint */
.bp-testimonials .bg-gray-200{ background:#efe9fe !important; }
.bp-testimonials .bg-gray-200 svg path{ fill:var(--asc-purple) !important; }
/* attribution name */
.bp-testimonials header.type-delta{ color:#0c0c0f !important; font-weight:700; }
/* quote body */
.bp-testimonials .prose p{ color:#3f3f46; font-size:1.02rem; line-height:1.6; font-style:italic; }

/* ============================================================
   Recolor the Sentric-orange flat illustration -> brand purple
   (hue-rotate shifts orange #FFB338 toward Ascential purple)
   ============================================================ */
.bp-recolor-illo{ filter:hue-rotate(212deg) saturate(1.15); }

/* === NAV-V2 OVERRIDES === */
/* Hamburger on ALL screen sizes; kill the old desktop inline nav remnants */
.site-header .container nav:not(.mobile-overlay-nav){ display:none !important; }

/* ---- 2-line hamburger that slides horizontally on hover / when active ---- */
.mobile-toggle-bars{ position:relative; display:block; width:26px; height:12px; }
/* hide any 3rd bar if present, keep exactly two lines */
.mobile-toggle .mobile-toggle-bars span:nth-child(3){ display:none !important; }
.mobile-toggle .mobile-toggle-bars span{
  position:absolute; left:0; height:2.5px; width:100%; border-radius:2px;
  background:var(--asc-purple);
  transition:transform .3s cubic-bezier(.16,1,.3,1), width .3s cubic-bezier(.16,1,.3,1),
             opacity .2s ease, background .2s ease, top .3s cubic-bezier(.16,1,.3,1);
}
.mobile-toggle .mobile-toggle-bars span:nth-child(1){ top:0; transform:none; }
.mobile-toggle .mobile-toggle-bars span:nth-child(2){ top:100%; transform:translateY(-100%); }
/* white bars over the hero */
.site-header.is-transparent .mobile-toggle .mobile-toggle-bars span{ background:#fff; }

/* horizontal slide on hover: top bar slides right, bottom bar slides left */
.mobile-toggle:hover .mobile-toggle-bars span:nth-child(1){ transform:translateX(8px); width:calc(100% - 8px); }
.mobile-toggle:hover .mobile-toggle-bars span:nth-child(2){ transform:translateY(-100%) translateX(-8px); width:calc(100% - 8px); }

/* OPEN/active state: same horizontal slide motion (bars stay 2 lines, shifted) */
.site-header.menu-open .mobile-toggle .mobile-toggle-bars span{ background:var(--asc-purple); }
.site-header.menu-open .mobile-toggle .mobile-toggle-bars span:nth-child(1){ transform:translateX(10px); width:calc(100% - 10px); }
.site-header.menu-open .mobile-toggle .mobile-toggle-bars span:nth-child(2){ transform:translateY(-100%) translateX(-10px); width:calc(100% - 10px); }

/* ---- z-index sanity (all sizes) ---- */
.site-header{ z-index:9000 !important; }
.mobile-overlay{ z-index:9999 !important; }
.site-header .mobile-toggle{ position:relative; z-index:9001; }

/* ============================================================
   Mobile / tablet (<1024px): full-screen overlay (base default
   width:100vw already applies). Desktop gets the slideout below.
   ============================================================ */

/* ============================================================
   Desktop (>=1024px): right-anchored slideout panel, 400px max,
   dimmed + blurred page behind it, slide-in from the right.
   ============================================================ */
@media (min-width:1024px){
  .mobile-overlay{
    inset:0 0 0 auto !important;                 /* pin to the right edge */
    width:min(400px, 92vw) !important; max-width:400px !important;
    justify-content:flex-start !important;
    background:radial-gradient(120% 90% at 100% 0%, #181232 0%, #0c0a18 55%, #08060f 100%) !important;
    box-shadow:-30px 0 80px -20px rgba(0,0,0,.55);
    overflow-y:auto;
  }
  /* dim + blur the rest of the page to the LEFT of the panel */
  .mobile-overlay::before{
    content:""; position:fixed; inset:0; right:min(400px,92vw);
    background:rgba(8,6,15,.5); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
    z-index:-1;
  }
  /* nav fills the panel */
  .mobile-overlay-nav{
    max-width:none !important; width:100% !important;
    padding:clamp(5.5rem,9vh,7rem) 2.75rem 2.5rem !important;
  }
  .mobile-overlay-nav li a{ font-size:1.55rem !important; padding:1rem .25rem; }
  .mobile-overlay-nav li a::after{ font-size:1.15rem; }
  .mobile-overlay-logo{ display:none; }
  .mobile-overlay-close{ top:22px; right:22px; }

  /* slide-in from the right (overrides the base fade on desktop) */
  .mo-enter{ transition:transform .4s cubic-bezier(.16,1,.3,1), opacity .35s ease !important; }
  .mo-enter-start{ opacity:0; transform:translateX(100%); }
  .mo-enter-end{ opacity:1; transform:translateX(0); }
  .mo-leave{ transition:transform .3s cubic-bezier(.7,0,.84,0), opacity .3s ease !important; }
  .mo-leave-start{ opacity:1; transform:translateX(0); }
  .mo-leave-end{ opacity:0; transform:translateX(100%); }
}


/* ============================================================
   GLASSMORPHISM SPRUCE-UP  (Burke Porter ADAS)
   Frosted cards + ambient depth. Brand tokens only.
   ============================================================ */
:root{
  --glass-bg: rgba(255,255,255,.55);
  --glass-bg-strong: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.65);
  --glass-shadow: 0 1px 2px rgba(20,16,60,.04), 0 24px 60px -28px rgba(85,34,221,.40);
  --glass-blur: 18px;
  --glass-dark-bg: rgba(26,18,56,.42);
  --glass-dark-border: rgba(170,150,255,.22);
}

/* ---- Continuous full-bleed ambient gradient field (flows between sections, never clipped) ----
   Single fixed layer behind the whole page so brand glows bleed to the viewport edges and
   flow continuously across section boundaries instead of being clipped inside each .container. */
body{ position:relative; background-color:#ffffff; }
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(60rem 60rem at 100% 0%,   rgba(85,34,221,.13), rgba(85,34,221,0) 60%),
    radial-gradient(52rem 52rem at 0% 38%,    rgba(221,119,34,.10), rgba(221,119,34,0) 60%),
    radial-gradient(56rem 56rem at 92% 72%,   rgba(85,34,221,.11), rgba(85,34,221,0) 60%),
    radial-gradient(48rem 48rem at 8% 100%,   rgba(221,119,34,.09), rgba(221,119,34,0) 60%);
}
/* keep page content above the fixed field */
.site-header, main, footer{ position:relative; z-index:1; }
/* light sections are transparent so the field shows through; no overflow clip, no per-section orb */
main section.py-section:not(.bg-black){ position:relative; background:transparent; }

/* ---- Dark bands: deep brand gradient + glow orbs instead of flat black ---- */
main section.bg-black{
  position:relative; isolation:isolate; overflow:hidden;
  background:linear-gradient(135deg,#120c2b 0%,#0c0a1c 55%,#08060f 100%) !important;
}
/* dark bands are full-bleed already; their inner orbs stay clipped to the full-width band (fine) */
main section.bg-black::before{
  content:""; position:absolute; z-index:0; pointer-events:none;
  width:42rem; height:42rem; border-radius:50%; top:-14rem; left:-10rem;
  background:radial-gradient(circle at 50% 50%, rgba(85,34,221,.55), rgba(85,34,221,0) 68%);
  filter:blur(10px);
}
main section.bg-black::after{
  content:""; position:absolute; z-index:0; pointer-events:none;
  width:34rem; height:34rem; border-radius:50%; bottom:-12rem; right:-8rem;
  background:radial-gradient(circle at 50% 50%, rgba(221,119,34,.30), rgba(221,119,34,0) 70%);
  filter:blur(12px);
}
main section.bg-black > *{ position:relative; z-index:1; }

/* ---- Value-prop items (6-Hour Turnaround etc.) -> frosted glass cards ---- */
main .prose ul > li:has(> h3){
  background:var(--glass-bg); -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  border:1px solid var(--glass-border); border-radius:18px;
  padding:1.4rem 1.5rem !important; margin-bottom:1.1rem !important;
  box-shadow:var(--glass-shadow);
  transition:transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
main .prose ul > li:has(> h3)::before{ display:none !important; }  /* drop the checkmark bullet on card items */
main .prose ul > li:has(> h3):hover{
  transform:translateY(-4px);
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 34px 70px -30px rgba(85,34,221,.55);
}
main .prose ul > li:has(> h3) h3{ margin-top:0; }

/* ---- Feature icon bubbles -> glass tint ---- */
.bg-gray-200.rounded-full{
  background:linear-gradient(150deg, rgba(85,34,221,.14), rgba(255,255,255,.45)) !important;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid rgba(85,34,221,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 10px 24px -16px rgba(85,34,221,.5);
}
/* in dark bands the bubble goes frosted-light */
main section.bg-black .bg-gray-200.rounded-full{
  background:linear-gradient(150deg, rgba(170,150,255,.22), rgba(255,255,255,.10)) !important;
  border:1px solid var(--glass-dark-border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 12px 30px -18px rgba(0,0,0,.6);
}

/* ---- Dark-band feature columns -> subtle frosted glass panels ---- */
main section.bg-black .py-6.space-y-2{
  background:var(--glass-dark-bg);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid var(--glass-dark-border); border-radius:18px;
  padding:1.5rem 1.6rem !important;
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 28px 60px -34px rgba(0,0,0,.7);
}

/* ---- Testimonial cards -> frosted glass ---- */
.bp-testimonials > div > div{
  background:var(--glass-bg-strong) !important;
  -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  border:1px solid var(--glass-border) !important; border-top:1px solid var(--glass-border) !important;
  border-radius:18px !important;
  box-shadow:var(--glass-shadow) !important;
}
.bp-testimonials > div > div:hover{
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 34px 70px -30px rgba(85,34,221,.5) !important;
}

/* ---- Quote form -> frosted glass card ---- */
.bp-form-wrap{
  background:var(--glass-bg-strong) !important;
  -webkit-backdrop-filter:blur(22px); backdrop-filter:blur(22px);
  border:1px solid var(--glass-border) !important; border-radius:22px !important;
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 40px 90px -40px rgba(85,34,221,.55) !important;
}
.bp-field input, .bp-field select, .bp-field textarea{
  background:rgba(255,255,255,.6) !important;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border:1.5px solid rgba(255,255,255,.7) !important;
  box-shadow:inset 0 1px 2px rgba(20,16,60,.04);
}
.bp-field input:focus, .bp-field select:focus, .bp-field textarea:focus{
  background:rgba(255,255,255,.92) !important;
  border-color:var(--asc-purple) !important;
}

/* ---- Location cards (home + locations) get the glass lift ---- */
.loc-card{
  background:var(--glass-bg-strong) !important;
  -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  border:1px solid var(--glass-border) !important;
  box-shadow:var(--glass-shadow) !important;
}

/* ---- Header gets a frosted bar once you scroll ---- */
.site-header.is-solid{
  background:rgba(255,255,255,.72) !important;
  -webkit-backdrop-filter:saturate(160%) blur(16px); backdrop-filter:saturate(160%) blur(16px);
  border-bottom:1px solid rgba(85,34,221,.10);
  box-shadow:0 8px 30px -22px rgba(20,16,60,.5);
}

/* ---- Reduced transparency / motion safety ---- */
@media (prefers-reduced-transparency: reduce){
  .bp-form-wrap, .bp-testimonials > div > div, main .prose ul > li:has(> h3), .loc-card{
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    background:#fff !important;
  }
}
@media (prefers-reduced-motion: reduce){
  main .prose ul > li:has(> h3){ transition:none; }
}

/* ---- Dark-band body text: lift contrast over the new gradient ---- */
main section.bg-black p,
main section.bg-black .prose p,
main section.bg-black li{ color:rgba(255,255,255,.90) !important; }
main section.bg-black .prose strong{ color:#fff !important; }

/* Tighter horizontal spacing between adjacent buttons (button groups) */
main .flex.flex-wrap.gap-4{ gap:.5rem !important; }
.hero-actions{ gap:.5rem !important; }
.header-actions{ gap:.45rem !important; }

/* ============================================================
   Header actions: phone + CTAs + call icon (responsive)
   ============================================================ */
.header-actions{ gap:.6rem; }

/* Phone dropdown (per-location numbers) */
[x-cloak]{ display:none !important; }
.header-phone-dd{ position:relative; display:inline-flex; }

/* Trigger — default (mobile/<1024): icon-only square #5522dd button */
.header-phone-trigger{
  display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  width:42px; height:42px; padding:0; border-radius:8px; cursor:pointer;
  background-color:var(--asc-purple); color:#fff;
  border:2px solid var(--asc-purple);
  box-shadow:0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  font-family:Inter,sans-serif; font-weight:700; font-size:13px; line-height:1;
  transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}
.header-phone-trigger:hover{
  background-color:transparent; color:var(--asc-purple); border-color:var(--asc-purple);
}
.header-phone-trigger-icon{ display:block; }
.header-phone-trigger-label{ display:none; }
.header-phone-caret{ display:none; transition:transform .2s ease; }
.header-phone-caret.is-open{ transform:rotate(180deg); }

/* Dropdown menu */
.header-phone-menu{
  position:absolute; top:calc(100% + 10px); right:0; z-index:60;
  min-width:230px; padding:.4rem; border-radius:14px;
  background:rgba(255,255,255,.92); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 1px 2px rgba(20,16,60,.06), 0 24px 50px -20px rgba(85,34,221,.45);
}
.header-phone-item{
  display:flex; flex-direction:column; gap:.1rem;
  padding:.6rem .8rem; border-radius:10px; text-decoration:none;
  transition:background-color .18s ease;
}
.header-phone-item:hover{ background:rgba(85,34,221,.08); }
.header-phone-loc{
  font-family:Inter,sans-serif; font-weight:700; font-size:12px; letter-spacing:.02em;
  color:#6b6580;
}
.header-phone-num{
  font-family:Inter,sans-serif; font-weight:800; font-size:16px; color:var(--asc-purple);
}

/* ---- Default (mobile / <1024px): phone-icon dropdown + Talk to an Expert + hamburger ----
   Hide: Explore Services. */
.header-cta-explore{ display:none; }
.header-cta-quote{
  display:inline-flex; align-items:center;
  padding:9px 16px !important; font-size:13px !important; line-height:1 !important; white-space:nowrap;
}

/* ---- Desktop (>=1024px): text "Call Us" dropdown trigger + Explore Services + Talk to an Expert + hamburger ---- */
@media (min-width:1024px){
  .header-phone-trigger{
    width:auto; height:auto; padding:9px 14px;
    background-color:transparent; color:#fff !important; border-color:transparent;
    box-shadow:none;
  }
  .header-phone-trigger .header-phone-trigger-label,
  .header-phone-trigger .header-phone-trigger-icon,
  .header-phone-trigger .header-phone-caret{ color:#fff !important; stroke:currentColor; }
  .header-phone-trigger:hover{
    background-color:rgba(255,255,255,.12); color:#fff !important; border-color:transparent;
  }
  .header-phone-trigger-label{ display:inline; }
  .header-phone-caret{ display:block; }
  /* On the scrolled solid (near-white) header, switch to readable purple */
  .site-header.is-solid .header-phone-trigger,
  .site-header.is-solid .header-phone-trigger .header-phone-trigger-label,
  .site-header.is-solid .header-phone-trigger .header-phone-trigger-icon,
  .site-header.is-solid .header-phone-trigger .header-phone-caret{ color:var(--asc-purple) !important; }
  .site-header.is-solid .header-phone-trigger:hover{ background-color:rgba(85,34,221,.08); color:var(--asc-purple-dark) !important; }
  .header-cta-explore{
    display:inline-flex; align-items:center;
    padding:9px 18px !important; font-size:13px !important; line-height:1 !important; white-space:nowrap;
  }
  .header-cta-quote{ padding:9px 18px !important; font-size:13px !important; }
  .header-actions{ gap:.75rem; }
}
/* Over the transparent hero, ghost button readable on dark image */
.site-header.is-transparent .header-cta.ascential-btn-ghost{
  color:#fff !important; border-color:rgba(255,255,255,.7) !important; background:transparent !important;
}
.site-header.is-transparent .header-cta.ascential-btn-ghost:hover{
  background:rgba(255,255,255,.12) !important; border-color:#fff !important; color:#fff !important;
}

/* ============================================================
   Remove ALL transform effects on buttons (no scale/translate)
   ============================================================ */
.ascential-btn, .ascential-btn-ghost, a.bg-orange, .bg-orange, .bg-purple,
.header-cta, .header-phone-trigger, .bp-form-submit, button.ascential-btn,
.ascential-btn:hover, .ascential-btn-ghost:hover, a.bg-orange:hover,
.header-cta:hover, .header-phone-trigger:hover{
  transform:none !important;
}

/* ============================================================
   Step-by-step process flow (responsive HTML, replaces graphic)
   ============================================================ */
.bp-process{
  list-style:none; margin:0; padding:0; width:100%;
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.75rem 2rem; counter-reset:none;
}
.bp-process-step{
  position:relative;
  display:flex; flex-direction:column; gap:.85rem;
  padding:1.85rem 1.9rem 2rem;
  background:rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid rgba(85,34,221,.16); border-radius:18px;
  box-shadow:0 1px 2px rgba(20,16,60,.05), 0 18px 40px -28px rgba(85,34,221,.5);
}
.bp-process-head{ display:flex; align-items:flex-start; gap:1rem; }
.bp-process-num{
  flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:12px;
  font-family:Inter,sans-serif; font-weight:800; font-size:22px; line-height:1;
  color:var(--asc-purple); background:rgba(85,34,221,.1);
  border:2px solid var(--asc-purple);
}
.bp-process-title{
  margin:0; padding-top:.4rem; font-family:Inter,sans-serif; font-weight:800;
  font-size:1.15rem; line-height:1.2; color:#1a1530;
}
.bp-process-lead{
  margin:0; padding-left:calc(46px + 1rem); font-family:Inter,sans-serif; font-weight:700;
  font-size:.95rem; line-height:1.45; color:#2a2440;
}
.bp-process-body{
  margin:0; padding-left:calc(46px + 1rem); font-family:Inter,sans-serif; font-weight:400;
  font-size:.9rem; line-height:1.55; color:#56506b;
}
/* connector arrow between steps (desktop) — REMOVED per review (read as a folded corner) */
.bp-process-step::after{ content:none !important; display:none !important; }
/* (original arrow rules disabled)
.bp-process-step__arrow-disabled{
  content:""; position:absolute; z-index:2;
  width:11px; height:11px; border-right:2px solid var(--asc-purple);
  border-bottom:2px solid var(--asc-purple); opacity:.55;
}
.bp-process-step:nth-child(odd):not(:last-child)::after{
  top:30px; right:-1.05rem; transform:rotate(-45deg);
}
.bp-process-step:nth-child(even):not(:last-child)::after{
  bottom:-1.05rem; left:30px; transform:rotate(45deg);
}
*/
@media (max-width:767px){
  .bp-process{ grid-template-columns:1fr; gap:1rem; }
}
@media (prefers-reduced-transparency:reduce){
  .bp-process-step{ background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; }
}

/* ===================================================================
   Remove decorative divider lines site-wide (Adam, 2026-06-18)
   1) the short partial-width <hr> rules above section headings
   2) the border-top "divider" lines on content rows / cards / footer
   Reversible: delete this block to restore.
   =================================================================== */
hr { display: none !important; }
.border-t,
.md\:border-t,
.lg\:border-t,
.xl\:border-t { border-top-width: 0 !important; }
@media (min-width:768px)  { .md\:border-t { border-top-width: 0 !important; } }
@media (min-width:1024px) { .lg\:border-t { border-top-width: 0 !important; } }
@media (min-width:1280px) { .xl\:border-t { border-top-width: 0 !important; } }

/* ============================================================
   CLEANUP PASS (Adam): lock logo aspect ratio + drop white
   frosted card backgrounds behind text bits.
   ============================================================ */

/* --- Logo: lock 2867x600 (4.778:1) so it can never squish in flex --- */
.site-logo img,
.footer-logo-img,
.mobile-overlay-logo img{
  aspect-ratio: 2867 / 600 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* --- Remove the white/frosted background behind value-prop + testimonial
       text bits; keep spacing, let text sit cleanly on the page --- */
main .prose ul > li:has(> h3),
.bp-testimonials > div > div{
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
main .prose ul > li:has(> h3):hover,
.bp-testimonials > div > div:hover{
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   Mobile header fit (2026-07-01): keep a compact Quote button
   + restore the hamburger. Request-a-Quote overflowed off-screen
   at <=430px and pushed the mobile toggle out of the viewport.
   Fix: short "Quote" label + tighter padding + hide the redundant
   phone dropdown on mobile (phone/contact still in the menu).
   ============================================================ */
/* label swap: default (mobile) shows the short label */
.header-cta-quote .cta-label-full{ display:none; }
.header-cta-quote .cta-label-short{ display:inline; }
/* compact the quote button + actions row on mobile */
.header-cta-quote{ padding:9px 14px !important; }
.header-actions{ gap:.5rem !important; }
/* drop the phone dropdown on mobile to reclaim space */
.header-phone-dd{ display:none !important; }

@media (min-width:1024px){
  /* desktop: full label back, short hidden, phone restored */
  .header-cta-quote .cta-label-full{ display:inline; }
  .header-cta-quote .cta-label-short{ display:none; }
  .header-phone-dd{ display:block !important; }
  .header-actions{ gap:.75rem !important; }
}

/* ---- Mobile header fit follow-up (2026-07-01): kill the 150px min-width
   on the quote button so the short "Quote" label actually shrinks it, and
   trim the mobile logo a touch so the hamburger sits fully on-screen. ---- */
.header-cta-quote{ min-width:0 !important; width:auto !important; }
.site-logo img{ height:38px !important; }
@media (min-width:1024px){
  /* desktop: restore original button min-width + logo size */
  .header-cta-quote{ min-width:150px !important; }
  .site-logo img{ height:56px !important; }
}
