/* Contact reference layer. It changes visual hierarchy only: the existing form,
   validation, submitted data flow, headings, links, and metadata are retained. */
body:has(.contact-brief-wrap) { --pb-navy:#031a43; --pb-blue:#0757e8; --pb-ink:#0b234e; --pb-copy:#52627c; --pb-line:#d7e2f0; background:#fff; color:var(--pb-ink); }
body:has(.contact-brief-wrap) .site-header { position:relative; z-index:8; background:#fff; border-bottom:1px solid #dce5f2; }
body:has(.contact-brief-wrap) .site-header a, body:has(.contact-brief-wrap) .site-header button { color:#071d45; }
body:has(.contact-brief-wrap) .site-header .menu-item > a:hover, body:has(.contact-brief-wrap) .site-header .menu-item.current-menu-item > a { color:var(--pb-blue); }
body:has(.contact-brief-wrap) .page-hero { position:relative; min-height:250px; padding:60px 0 54px; overflow:hidden; background:linear-gradient(110deg,#031a43 0%,#06285f 60%,#0a3f94 100%); color:#fff; }
body:has(.contact-brief-wrap) .page-hero::after { content:""; position:absolute; inset:0; opacity:.24; pointer-events:none; background:radial-gradient(circle at 78% 28%,#4582ef 0 2px,transparent 3px) 0 0/30px 30px,linear-gradient(30deg,transparent 48%,rgba(136,180,255,.5) 49% 51%,transparent 52%) 0 0/66px 57px; mask-image:linear-gradient(90deg,transparent 15%,#000 65%); }
body:has(.contact-brief-wrap) .page-hero .content-wrap, body:has(.contact-brief-wrap) .contact-brief-wrap { width:min(1280px,calc(100% - 96px)); max-width:none; margin-inline:auto; }
body:has(.contact-brief-wrap) .page-hero .content-wrap { position:relative; z-index:1; display:flex; align-items:end; justify-content:space-between; gap:30px; }
body:has(.contact-brief-wrap) .page-hero-copy .eyebrow { color:#a9c7ff; font-size:11px; font-weight:800; letter-spacing:.13em; }
body:has(.contact-brief-wrap) .page-hero h1,
body:has(.contact-brief-wrap) .page-hero .page-hero-copy h1 { margin:10px 0 0; color:#fff; font-family:Italiana,Georgia,serif; font-size:clamp(47px,5.5vw,72px); font-weight:400; letter-spacing:-.035em; }
body:has(.contact-brief-wrap) .page-hero-status { display:flex; align-items:center; gap:11px; min-width:210px; padding:16px 19px; border:1px solid rgba(160,194,255,.6); border-radius:5px; color:#dceaff; font-size:11px; font-weight:800; letter-spacing:.08em; }
body:has(.contact-brief-wrap) .page-hero-status .status-dot { width:8px; height:8px; border-radius:50%; background:#f3c537; }
body:has(.contact-brief-wrap) .page-hero-status b { margin-left:auto; color:#f3c537; font-size:18px; }
body:has(.contact-brief-wrap) .secondary-section { padding:48px 0 66px; background:#fff; }
body:has(.contact-brief-wrap) .contact-brief { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr); gap:20px; align-items:stretch; }
body:has(.contact-brief-wrap) .contact-brief-intro, body:has(.contact-brief-wrap) .contact-form { border:1px solid var(--pb-line); border-radius:6px; background:#fff; box-shadow:0 11px 32px rgba(20,55,111,.045); }
body:has(.contact-brief-wrap) .contact-brief-intro { padding:31px; background:linear-gradient(145deg,#f5f9ff,#fff 62%); }
body:has(.contact-brief-wrap) .contact-brief-intro .section-kicker { margin:0 0 12px; color:var(--pb-blue); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
body:has(.contact-brief-wrap) .contact-brief-intro h2 { margin:0; color:var(--pb-ink); font-family:Italiana,Georgia,serif; font-size:34px; font-weight:400; line-height:1.08; }
body:has(.contact-brief-wrap) .contact-brief-intro > p { color:var(--pb-copy); font-size:14px; line-height:1.65; }
body:has(.contact-brief-wrap) .contact-brief-divider { height:1px; margin:28px 0; background:var(--pb-line); }
body:has(.contact-brief-wrap) .contact-brief-route { display:grid; gap:7px; }
body:has(.contact-brief-wrap) .contact-brief-route strong { color:var(--pb-ink); font-size:16px; }
body:has(.contact-brief-wrap) .contact-brief-route span { color:var(--pb-copy); font-size:13px; line-height:1.55; }
body:has(.contact-brief-wrap) .contact-brief-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:24px; padding:0 17px; border:1px solid var(--pb-blue); border-radius:4px; background:#fff; color:var(--pb-blue); font-size:13px; font-weight:800; text-decoration:none; }
body:has(.contact-brief-wrap) .contact-form { padding:29px; }
body:has(.contact-brief-wrap) .contact-form-heading h3 { margin:0; color:var(--pb-blue); font-size:22px; }
body:has(.contact-brief-wrap) .contact-form-heading p { margin:8px 0 22px; color:var(--pb-copy); font-size:12px; }
body:has(.contact-brief-wrap) .lead-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
body:has(.contact-brief-wrap) .lead-form label { display:grid; gap:7px; color:var(--pb-ink); font-size:12px; font-weight:800; }
body:has(.contact-brief-wrap) .lead-form em { color:#c38200; font-style:normal; }
body:has(.contact-brief-wrap) .lead-form input, body:has(.contact-brief-wrap) .lead-form select, body:has(.contact-brief-wrap) .lead-form textarea { width:100%; min-height:43px; padding:11px 12px; border:1px solid #cbd8ea; border-radius:4px; background:#fff; color:var(--pb-ink); font:500 13px/1.4 Manrope,sans-serif; outline:none; }
body:has(.contact-brief-wrap) .lead-form textarea { min-height:150px; resize:vertical; }
body:has(.contact-brief-wrap) .lead-form input:focus, body:has(.contact-brief-wrap) .lead-form select:focus, body:has(.contact-brief-wrap) .lead-form textarea:focus { border-color:var(--pb-blue); box-shadow:0 0 0 3px rgba(7,87,232,.13); }
body:has(.contact-brief-wrap) .lead-form-message { margin-top:15px; }
body:has(.contact-brief-wrap) .lead-form-actions { display:flex; align-items:center; gap:14px; margin-top:20px; }
body:has(.contact-brief-wrap) .lead-form-actions .button { min-width:190px; min-height:46px; border:1px solid var(--pb-blue); border-radius:4px; background:var(--pb-blue); color:#fff; font-size:13px; font-weight:800; }
body:has(.contact-brief-wrap) .lead-form-status { color:var(--pb-copy); font-size:12px; }
body:has(.contact-brief-wrap) .contact-brief-link:hover, body:has(.contact-brief-wrap) .contact-brief-link:focus-visible { background:#f2f7ff; }
body:has(.contact-brief-wrap) .lead-form-actions .button:hover { background:#0349c2; }
body:has(.contact-brief-wrap) .contact-brief-link:focus-visible, body:has(.contact-brief-wrap) .lead-form-actions .button:focus-visible { outline:3px solid #f3c53b; outline-offset:3px; }

/* Reset the retired dark routing-shell beneath the two panels.  It was still
   visible as a heavy perimeter and central seam even after the panel skins had
   moved to the confirmed white / pale-blue system. */
body:has(.contact-brief-wrap) .contact-brief { gap:0; overflow:hidden; border:1px solid var(--pb-line); border-radius:6px; background:#fff; box-shadow:0 14px 38px rgba(20,55,111,.07); }
body:has(.contact-brief-wrap) .contact-brief-intro,
body:has(.contact-brief-wrap) .contact-form { border:0; border-radius:0; box-shadow:none; }
body:has(.contact-brief-wrap) .contact-brief-intro::after { display:none; }
body:has(.contact-brief-wrap) .contact-form { border-left:1px solid var(--pb-line); }

/* The contact form keeps the existing fields and submission flow, but every
   invalid required field now receives a visible, local error state. */
body:has(.contact-brief-wrap) .lead-form [aria-invalid="true"] { border-color:#b42318 !important; box-shadow:0 0 0 3px rgba(180,35,24,.13) !important; }
body:has(.contact-brief-wrap) .lead-field-error { color:#b42318; font-size:12px; font-weight:700; line-height:1.45; }

@media (max-width:760px) { body:has(.contact-brief-wrap) .page-hero .content-wrap,body:has(.contact-brief-wrap) .contact-brief-wrap { width:min(100% - 36px,560px); } body:has(.contact-brief-wrap) .page-hero .content-wrap,body:has(.contact-brief-wrap) .contact-brief { display:block; } body:has(.contact-brief-wrap) .page-hero-status { width:max-content; margin-top:24px; } body:has(.contact-brief-wrap) .contact-form { margin-top:0; border-top:1px solid var(--pb-line); border-left:0; } body:has(.contact-brief-wrap) .lead-form-grid { grid-template-columns:1fr; } }
