/* PurpleTie Locations: hub-companies. Copied verbatim from the design handoff
   (Companies Hub.html); only the @import font load was removed, the plugin enqueues DM Sans once. */
:where(#pt-root), :where(#pt-root) *, :where(#pt-root) *::before, :where(#pt-root) *::after { box-sizing: border-box; margin: 0; padding: 0; }
    #pt-root {
      --purple: #6B2C91; --purple-light: #F0EAFF; --purple-mid: #8B3DB5; --purple-dark: #4A1D65;
      --near-black: #1E1D22; --gray-mid: #696969; --gray-light: #EBEBEB; --white: #FFFFFF;
      font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--near-black); background: #fff; line-height: 1.5 !important; -webkit-font-smoothing: antialiased;
    }

    #pt-root a { color: var(--purple); }
    #pt-root .btn-primary-lg { display: inline-block; font-family: inherit; font-size: 18px !important; font-weight: 600 !important; color: #fff; background: var(--purple); border: none; cursor: pointer; padding: 16px 34px; border-radius: 10px; text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
    #pt-root .btn-primary-lg:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(107,44,145,0.3); }
    #pt-root .btn-ghost-link { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 17px !important; font-weight: 600 !important; color: #fff; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,0.5); padding-bottom: 3px; transition: border-color 0.2s; }
    #pt-root .btn-ghost-link:hover { border-bottom-color: #fff; }
    #pt-root section { padding: 80px 80px; }
    #pt-root .wrap { max-width: 1120px; margin: 0 auto; }

    /* HERO */
    #pt-root .ch-hero { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; padding: 96px 80px; overflow: hidden; background: #2a1140; text-align: center; }
    #pt-root .ch-hero video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
    #pt-root .ch-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(42,17,64,0.95) 0%, rgba(74,29,101,0.88) 50%, rgba(74,29,101,0.76) 100%); }
    #pt-root .ch-hero-inner { position: relative; z-index: 2; max-width: 760px; }
    #pt-root .split-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0.02em; padding: 9px 18px; border-radius: 100px; margin-bottom: 28px; backdrop-filter: blur(8px); white-space: nowrap; }
    #pt-root .split-pill-icon { color: #D4B8FF; flex-shrink: 0; }
    #pt-root .ch-hero h1 { font-size: clamp(34px, 4vw, 56px) !important; font-weight: 700 !important; line-height: 1.08 !important; letter-spacing: -0.025em; color: #fff; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
    #pt-root .ch-hero h1 .accent { color: #E4C9F7; }
    #pt-root .ch-hero p { font-size: clamp(17px, 1.5vw, 20px) !important; color: rgba(255,255,255,0.9); line-height: 1.6 !important; max-width: 600px; margin: 0 auto 32px; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
    #pt-root .ch-hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }

    /* DIRECTORY */
    #pt-root .dir-section { background: #fff; }
    /* CORP SEO BLURB */
    #pt-root .corp-seo { background: #FBFAFE; border-bottom: 1px solid #F1ECF8; }
    #pt-root .corp-seo-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "title photo" "text photo"; column-gap: 56px; row-gap: 16px; align-items: center; }
    #pt-root .corp-seo h2 { grid-area: title; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 700 !important; letter-spacing: -0.02em; line-height: 1.2 !important; color: var(--near-black); margin: 0; }
    #pt-root .corp-seo-text { grid-area: text; }
    #pt-root .corp-seo p { font-size: 17px !important; color: var(--gray-mid); line-height: 1.75 !important; }
    #pt-root .corp-seo p + p { margin-top: 16px; }
    #pt-root .corp-seo-photo { grid-area: photo; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, #EDE3FF 0%, #DCC8FA 55%, #C9AEF2 100%); }
    #pt-root .corp-seo-photo img { width: 100%; height: 100%; object-fit: cover; }
    @media (max-width: 900px) { #pt-root .corp-seo-inner { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "text"; row-gap: 22px; } }
    #pt-root .dir-toolbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 20px 0 16px; margin-bottom: 8px; border-bottom: 1px solid #F1ECF8; }
    #pt-root .dir-search { position: relative; max-width: 520px; margin: 0 auto 16px; }
    #pt-root .dir-search input { width: 100%; font-family: inherit; font-size: 16px !important; color: var(--near-black); padding: 14px 18px 14px 46px; border: 1.5px solid #E2D8F0; border-radius: 12px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
    #pt-root .dir-search input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(107,44,145,0.12); }
    #pt-root .dir-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
    #pt-root .dir-empty { display: none; text-align: center; color: var(--gray-mid); font-size: 16px !important; padding: 40px 0; }
    #pt-root .co-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    #pt-root .co-item { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 110px; padding: 22px 22px; font-size: 18px !important; font-weight: 600 !important; color: var(--near-black); text-decoration: none; background: #FBFAFE; border: 1px solid #EFE9F7; border-radius: 16px; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
    #pt-root .co-item:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(107,44,145,0.22); }

    /* CLOSING */
    #pt-root .closing-section { position: relative; overflow: hidden; text-align: center; background: #2a1140; padding: 96px 80px; }
    #pt-root .closing-section video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
    #pt-root .closing-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 140% at 85% 10%, rgba(139,61,181,0.82) 0%, rgba(107,44,145,0.88) 45%, rgba(74,29,101,0.94) 100%); }
    #pt-root .closing-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
    #pt-root .closing-eyebrow { font-size: 22px !important; font-style: italic; font-weight: 500 !important; color: #E4C9F7; margin-bottom: 12px; }
    #pt-root .closing-title { font-size: clamp(32px, 3.4vw, 46px) !important; font-weight: 700 !important; line-height: 1.15 !important; letter-spacing: -0.02em; color: #fff; margin-bottom: 16px; }
    #pt-root .closing-sub { font-size: 18px !important; color: rgba(255,255,255,0.85); line-height: 1.6 !important; margin-bottom: 34px; }
    #pt-root .closing-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
    #pt-root .closing-section .btn-primary-lg { background: #fff; color: var(--purple); }
    #pt-root .closing-section .btn-primary-lg:hover { background: var(--purple-light); }

    /* FOOTER LINKS */
    #pt-root .links-section { background: var(--near-black); padding: 50px 80px; }
    #pt-root .links-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center; }
    #pt-root .links-inner a { font-size: 14px !important; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
    #pt-root .links-inner a:hover { color: #fff; }
    #pt-root .links-inner .links-sep { color: rgba(255,255,255,0.25); }
    #pt-root .links-inner .links-title { font-size: 14px !important; color: rgba(255,255,255,0.5); font-weight: 600 !important; }

    @media (max-width: 820px) {
      #pt-root .ch-hero { padding: 76px 24px; min-height: 400px; }
      #pt-root section { padding: 56px 24px; }
      #pt-root .co-grid { grid-template-columns: 1fr 1fr; }
      #pt-root .links-section { padding: 40px 24px; }
    }
    @media (max-width: 540px) {
      #pt-root .co-grid { grid-template-columns: 1fr; }
    }
  
    /* Pinned last and with !important: WordPress theme rules target elements
       directly and sometimes use !important, which otherwise beats this. */
    #pt-root, #pt-root *, #pt-root *::before, #pt-root *::after { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; }
  
    /* Mobile browsers hold a click for ~300ms to see if a double-tap-zoom is
       coming. touch-action: manipulation opts out, so taps fire immediately. */
    #pt-root button, #pt-root a, #pt-root [role="tab"], #pt-root [role="button"],
    #pt-root .toggle button, #pt-root .how-toggle-btn, #pt-root .how-carousel-dot,
    #pt-root .t-nav-btn, #pt-root .t-dot, #pt-root .svc-nav a, #pt-root .faq-q,
    #pt-root .svcfaq-q, #pt-root .full-toggle, #pt-root .t-more {
      touch-action: manipulation;
    }
    #pt-root .toggle button, #pt-root .how-toggle-btn { -webkit-tap-highlight-color: transparent; user-select: none; }
