/* =====================================================================
   AGENCY 83 — Editorial Precision design for Bricks 2.4.4
   Loaded by the Agency 83 Site plugin. Style edits belong in this file.
   This file is the single source of truth for the design.
   Every rule is scoped to #brx-header / #brx-content / #brx-footer so it
   outranks Bricks' default element styles without !important.
   Colours live in the :root variables at the top.
   Optional accessibility tweak (slight visual change):
     --a83-num:#767b82;  --a83-cta-eyebrow:#fff;  --a83-cta-text:#fff;
   ===================================================================== */
:root{
  --a83-blue:#0864ff;
  --a83-blue-hover:#004ed0;
  --a83-ink:#101216;
  --a83-muted:#60656d;
  --a83-line:#e5e7eb;
  --a83-paper:#fff;
  --a83-light:#f5f6f8;
  --a83-max:1240px;
  --a83-num:#9ba0a6;
  --a83-cta-eyebrow:#cfe0ff;
  --a83-cta-text:#e3edff;
  --a83-cta-accent:#071e43;
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html body{margin:0;font-family:'DM Sans',Arial,sans-serif;font-size:16px;color:var(--a83-ink);background:var(--a83-paper);line-height:1.55}

/* Footer wrapper that Bricks outputs around the Footer template: the design owns its
   colour and spacing, whatever older custom CSS or Theme Styles say */
html body #brx-footer{background:#090b0e;margin:0;padding:0;border:0}

/* Header wrapper that Bricks outputs around the Header template */
#brx-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--a83-line);backdrop-filter:blur(12px)}

/* Neutralise default section spacing from Bricks or Theme Styles; the design classes below still win */
:is(#brx-header,#brx-content,#brx-footer) :where(section,.brxe-section){display:block;width:100%;margin:0;padding:0}

:is(#brx-header,#brx-content,#brx-footer) *,
:is(#brx-header,#brx-content,#brx-footer) *:before,
:is(#brx-header,#brx-content,#brx-footer) *:after{box-sizing:border-box}
:is(#brx-header,#brx-content,#brx-footer) a{color:inherit;text-decoration:none}
:is(#brx-header,#brx-content,#brx-footer) img{max-width:100%;display:block}
:is(#brx-header,#brx-content,#brx-footer) button,
:is(#brx-header,#brx-content,#brx-footer) input,
:is(#brx-header,#brx-content,#brx-footer) select,
:is(#brx-header,#brx-content,#brx-footer) textarea{font:inherit}
:is(#brx-header,#brx-content,#brx-footer) button{cursor:pointer}
:is(#brx-header,#brx-content,#brx-footer) h1,
:is(#brx-header,#brx-content,#brx-footer) h2,
:is(#brx-header,#brx-content,#brx-footer) h3,
:is(#brx-header,#brx-content,#brx-footer) h4,
:is(#brx-header,#brx-content,#brx-footer) p{margin-top:0}
:is(#brx-header,#brx-content,#brx-footer) h1,
:is(#brx-header,#brx-content,#brx-footer) h2,
:is(#brx-header,#brx-content,#brx-footer) h3,
:is(#brx-header,#brx-content,#brx-footer) h4{color:inherit}
:is(#brx-header,#brx-content,#brx-footer) h1,
:is(#brx-header,#brx-content,#brx-footer) h2,
:is(#brx-header,#brx-content,#brx-footer) h3{font-family:Manrope,Arial,sans-serif;line-height:1.1;letter-spacing:-.055em}
:is(#brx-header,#brx-content,#brx-footer) h1{font-size:clamp(44px,5.2vw,84px);font-weight:800;margin-bottom:.67em}
:is(#brx-header,#brx-content,#brx-footer) h2{font-size:clamp(36px,4vw,60px);font-weight:800;margin-bottom:.83em}
:is(#brx-header,#brx-content,#brx-footer) h3{font-size:26px;font-weight:700;margin-bottom:1em}
:is(#brx-header,#brx-content,#brx-footer) h4{font-weight:700;margin-bottom:1.33em}
:is(#brx-header,#brx-content,#brx-footer) p{margin-bottom:1em}

:is(#brx-header,#brx-content,#brx-footer) .a83-wrap{width:min(calc(100% - 88px),var(--a83-max));margin-left:auto;margin-right:auto}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}
:is(#brx-header,#brx-content,#brx-footer) .a83-logo{width:125px;display:block}
:is(#brx-header,#brx-content,#brx-footer) .a83-logo img{width:100%;height:auto}
/* Menus: Bricks Nav Menu elements showing WordPress menus (Appearance > Menus).
   Bricks' own mobile menu is switched off; the template's dropdown panel is used instead. */
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu-wrapper{display:block!important}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-mobile-menu-toggle,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-mobile-menu-wrapper,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-mobile-menu-overlay,
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-menu .bricks-mobile-menu-toggle,
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-menu .bricks-mobile-menu-wrapper,
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-menu .bricks-mobile-menu-overlay{display:none!important}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-menu .bricks-nav-menu-wrapper{display:block!important}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links{display:flex;align-items:center}
:is(#brx-header,#brx-content,#brx-footer) .bricks-nav-menu{list-style:none;margin:0;padding:0}
:is(#brx-header,#brx-content,#brx-footer) .bricks-nav-menu li{margin:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu{display:flex;flex-direction:row;align-items:center;gap:34px}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > li{position:relative;padding:12px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links a{font-size:13px;font-weight:700;color:var(--a83-ink);padding:0;transition:color .2s}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links a:hover,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > a,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > .brx-submenu-toggle > a{color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > a,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > .brx-submenu-toggle > a{border-bottom:2px solid var(--a83-blue);padding-bottom:6px}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .brx-submenu-toggle{display:flex;align-items:center;gap:4px}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .brx-submenu-toggle button{background:none;border:0;padding:0 2px;color:inherit;line-height:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .brx-submenu-toggle svg{width:10px;height:10px}
/* Dropdowns: compact rows; deeper levels sit indented inside the same panel instead of flying out */
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu{list-style:none;margin:0;padding:6px 0;left:-16px;min-width:180px;width:max-content;max-width:280px;background:#fff;border:1px solid var(--a83-line);box-shadow:0 12px 24px #0000000f}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu li{padding:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu a{display:block;padding:7px 16px;font-size:13px;font-weight:600;line-height:1.4}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .brx-submenu-toggle button{display:none}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .sub-menu{position:static!important;visibility:visible!important;opacity:1!important;transform:none!important;display:block!important;left:auto;min-width:0;width:auto;padding:0 0 4px 12px;border:0;box-shadow:none;background:none}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .sub-menu a{padding:5px 16px;font-weight:500;color:var(--a83-muted)}
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .sub-menu a:hover{color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-menu .bricks-nav-menu{display:flex;flex-direction:column;align-items:flex-start;gap:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer .a83-footer-menu a{display:block;margin:6px 0;padding:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-bottom .a83-footer-menu .bricks-nav-menu{flex-direction:row;flex-wrap:wrap;gap:18px}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-bottom .a83-footer-menu a{display:inline;margin:0;font-size:11px;color:#9298a0}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-bottom .a83-footer-menu a:hover{color:#fff}
:is(#brx-header,#brx-content,#brx-footer) .a83-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--a83-blue);color:#fff;border:1px solid var(--a83-blue);padding:13px 21px;font-size:13px;font-weight:800;line-height:1.55;transition:transform .2s,background .2s}
:is(#brx-header,#brx-content,#brx-footer) .a83-btn:hover{transform:translateY(-2px);background:var(--a83-blue-hover)}
:is(#brx-header,#brx-content,#brx-footer) .a83-btn.a83-outline{background:transparent;color:var(--a83-ink);border-color:#8d929b}
:is(#brx-header,#brx-content,#brx-footer) .a83-btn.a83-outline:hover{border-color:var(--a83-blue);color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-btn.a83-dark{background:var(--a83-ink);border-color:var(--a83-ink)}
:is(#brx-header,#brx-content,#brx-footer) .a83-menu-toggle{display:none;background:none;border:1px solid var(--a83-line);width:46px;height:46px;align-items:center;justify-content:center;font-size:24px;color:var(--a83-ink);padding:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-eyebrow{display:block;text-transform:uppercase;letter-spacing:.19em;font-size:11px;font-weight:800;color:#707782}
:is(#brx-header,#brx-content,#brx-footer) .a83-eyebrow.a83-blue{color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-accent{color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-lead{font-size:17px;max-width:540px;color:#444a53}
:is(#brx-header,#brx-content,#brx-footer) .a83-section{padding:100px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-section-tight{padding:66px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-rule{border-top:1px solid var(--a83-line)}
:is(#brx-header,#brx-content,#brx-footer) .a83-bg-light{background:#f6f7f9}
:is(#brx-header,#brx-content,#brx-footer) .a83-mt-35{margin-top:35px}
:is(#brx-header,#brx-content,#brx-footer) .a83-mt-36{margin-top:36px}
:is(#brx-header,#brx-content,#brx-footer) .a83-split{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center}
:is(#brx-header,#brx-content,#brx-footer) .a83-split.a83-no-gap{gap:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-split-head{margin-bottom:35px}
:is(#brx-header,#brx-content,#brx-footer) .a83-align-right{text-align:right}
:is(#brx-header,#brx-content,#brx-footer) .a83-teaser-copy{padding:60px max(24px,8%)}

/* Hero */
:is(#brx-header,#brx-content,#brx-footer) .a83-hero{min-height:620px;display:grid;grid-template-columns:48% 52%;align-items:stretch}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-copy{padding:90px 6% 80px max(44px,calc((100vw - var(--a83-max))/2));align-self:center}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-copy h1{margin:18px 0 24px}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-copy .a83-lead{font-size:16px}
:is(#brx-header,#brx-content,#brx-footer) .a83-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:28px}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-visual{min-height:540px;background:#e9ebee;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-visual:before{content:'';position:absolute;inset:0;background:linear-gradient(145deg,#f9f9fa,#d6d9dd)}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-visual .a83-shot{width:88%;transform:rotate(-3deg);position:relative;z-index:1}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-tag{position:absolute;bottom:22px;left:7%;z-index:2;background:#fff;padding:15px 22px;font-size:12px;box-shadow:0 8px 40px #0001}
:is(#brx-header,#brx-content,#brx-footer) .a83-hero-tag-title{font-weight:700}

/* Browser-frame screenshot (replaces the CSS mock-ups) */
:is(#brx-header,#brx-content,#brx-footer) .a83-shot{display:flex;flex-direction:column;background:#101317;border:8px solid #1b1e22;border-radius:15px 15px 7px 7px;box-shadow:0 25px 55px #0003;overflow:hidden;aspect-ratio:1.58}
:is(#brx-header,#brx-content,#brx-footer) .a83-shot-bar{flex:0 0 32px;background-color:#16191e;background-image:radial-gradient(circle,#ff5f57 4px,transparent 4.5px),radial-gradient(circle,#febc2e 4px,transparent 4.5px),radial-gradient(circle,#28c840 4px,transparent 4.5px);background-size:12px 12px;background-repeat:no-repeat;background-position:14px 50%,32px 50%,50px 50%}
:is(#brx-header,#brx-content,#brx-footer) .a83-shot img{flex:1 1 auto;width:100%;height:100%;min-height:0;object-fit:cover;object-position:top center}
:is(#brx-header,#brx-content,#brx-footer) .a83-shot-link{display:block}

/* Stats */
:is(#brx-header,#brx-content,#brx-footer) .a83-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--a83-line);border-bottom:1px solid var(--a83-line);padding:25px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-stat{padding:16px 32px;border-right:1px solid var(--a83-line)}
:is(#brx-header,#brx-content,#brx-footer) .a83-stat:first-child{padding-left:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-stat:last-child{border:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-stat-value{font-size:25px;font-weight:700;display:block;line-height:1.3}
:is(#brx-header,#brx-content,#brx-footer) .a83-stat-label{display:block;font-size:12px;color:var(--a83-muted)}

/* Service rows */
:is(#brx-header,#brx-content,#brx-footer) .a83-services-list{border-top:1px solid var(--a83-line)}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-row{display:grid;grid-template-columns:65px 1fr 1.3fr 30px;align-items:center;gap:20px;border-bottom:1px solid var(--a83-line);padding:24px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-row .a83-number{font-size:26px;color:var(--a83-num)}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-row h3{font-size:21px;margin:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-row p{margin:0;color:var(--a83-muted);font-size:14px}
:is(#brx-header,#brx-content,#brx-footer) .a83-arrow{color:var(--a83-blue);font-size:25px}

/* Dark panel + project cards */
:is(#brx-header,#brx-content,#brx-footer) .a83-dark-panel{background:#0b0d11;color:#fff}
:is(#brx-header,#brx-content,#brx-footer) .a83-dark-panel .a83-eyebrow{color:#a9b0ba}
:is(#brx-header,#brx-content,#brx-footer) .a83-dark-panel .a83-lead{color:#d5d9df}
:is(#brx-header,#brx-content,#brx-footer) .a83-portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
:is(#brx-header,#brx-content,#brx-footer) .a83-project-card .a83-shot{margin-bottom:20px}
:is(#brx-header,#brx-content,#brx-footer) .a83-project-card h3{font-size:20px;margin:0 0 4px}
:is(#brx-header,#brx-content,#brx-footer) .a83-project-card .a83-project-cat{font-size:13px;color:#a9b0ba;margin:0 0 10px}
:is(#brx-header,#brx-content,#brx-footer) .a83-project-card a.a83-link{font-size:13px;color:#5c9bff;font-weight:800}

/* Founder photo (shows placeholder until you drop an Image element inside) */
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo{min-height:460px;background:linear-gradient(135deg,#232b35,#666c72);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo:before{content:'A.83';font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(100px,18vw,260px);color:#ffffff14;letter-spacing:-.12em}
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo:after{content:'FOUNDER PHOTO PLACEHOLDER';position:absolute;bottom:22px;left:25px;font-size:11px;letter-spacing:.2em;color:#ffffffaa}
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo:has(img):before,
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo:has(img):after{display:none}
:is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

:is(#brx-header,#brx-content,#brx-footer) .a83-blue-note{background:var(--a83-blue);color:#fff;padding:24px;max-width:270px;font-weight:700}
:is(#brx-header,#brx-content,#brx-footer) .a83-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
:is(#brx-header,#brx-content,#brx-footer) .a83-step{border-top:1px solid var(--a83-line);padding-top:24px}
:is(#brx-header,#brx-content,#brx-footer) .a83-step .a83-number{font-size:29px;color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-step h3{font-size:22px;margin:16px 0 10px}
:is(#brx-header,#brx-content,#brx-footer) .a83-step p{color:var(--a83-muted);font-size:14px}

/* CTA band (in the Footer template) */
:is(#brx-header,#brx-content,#brx-footer) .a83-cta{background:var(--a83-blue);color:#fff;padding:75px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta .a83-split{align-items:center}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta h2{margin-bottom:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta .a83-eyebrow{color:var(--a83-cta-eyebrow)}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta-accent{color:var(--a83-cta-accent)}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta p{color:var(--a83-cta-text)}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta .a83-btn{background:#fff;color:var(--a83-blue);border-color:#fff}
:is(#brx-header,#brx-content,#brx-footer) .a83-cta .a83-btn.a83-outline{background:transparent;color:#fff;border-color:#ffffff88}

/* Footer */
:is(#brx-header,#brx-content,#brx-footer) .a83-footer{background:#090b0e;color:#fff;padding:65px 0 30px}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-grid{display:grid;grid-template-columns:2fr 1fr 1.5fr 1fr;gap:45px}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer .a83-logo{width:145px}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer h4{font-size:13px}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer p,
:is(#brx-header,#brx-content,#brx-footer) .a83-footer a{font-size:13px;color:#bdc1c8}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer a{display:block;margin:6px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer a:hover{color:#fff}
:is(#brx-header,#brx-content,#brx-footer) .a83-footer-bottom{border-top:1px solid #33383d;margin-top:45px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#9298a0;font-size:11px}

/* Inner pages */
:is(#brx-header,#brx-content,#brx-footer) .a83-page-hero{padding:90px 0 65px;border-bottom:1px solid var(--a83-line)}
:is(#brx-header,#brx-content,#brx-footer) .a83-page-hero h1{max-width:900px}
:is(#brx-header,#brx-content,#brx-footer) .a83-page-hero p{max-width:650px}
:is(#brx-header,#brx-content,#brx-footer) .a83-back{color:var(--a83-blue);font-weight:800;font-size:13px}

/* Showcase */
:is(#brx-header,#brx-content,#brx-footer) .a83-filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0 45px}
:is(#brx-header,#brx-content,#brx-footer) .a83-filter-btn{border:1px solid var(--a83-line);background:#fff;color:var(--a83-ink);padding:11px 16px;font-size:13px;font-weight:700}
:is(#brx-header,#brx-content,#brx-footer) .a83-filter-btn.a83-active,
:is(#brx-header,#brx-content,#brx-footer) .a83-filter-btn:hover{background:var(--a83-blue);color:#fff;border-color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-list{counter-reset:case}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-row{counter-increment:case;display:grid;grid-template-columns:40% 1fr;gap:7%;align-items:center;padding:45px 0;border-top:1px solid var(--a83-line)}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-list:not(.a83-is-filtered) > .a83-case-row:nth-child(even) .a83-case-copy,
:is(#brx-header,#brx-content,#brx-footer) .a83-case-list.a83-is-filtered > .a83-case-row.a83-is-flipped .a83-case-copy{order:2}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-copy .a83-number{font-size:26px;color:var(--a83-num)}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-number:before{content:counter(case,decimal-leading-zero)}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-cat:after{content:' website'}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-copy h2{font-size:clamp(32px,3.5vw,54px);margin:12px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-copy p{color:#59616b;max-width:470px}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-copy .a83-link{font-size:14px;color:var(--a83-blue);font-weight:800}

/* Case-study description (from your custom field) */
:is(#brx-header,#brx-content,#brx-footer) .a83-case-desc{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-desc-body{margin:0 0 1.1em}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-desc-body:not(:has(p)){white-space:pre-line}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-desc-body:empty{display:none}

/* Services */
:is(#brx-header,#brx-content,#brx-footer) .a83-service-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card{border:1px solid var(--a83-line);padding:36px;min-height:260px;display:flex;flex-direction:column;justify-content:space-between}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card .a83-num{display:block;color:var(--a83-num);font-size:27px}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card h3{margin:14px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card p{color:var(--a83-muted);font-size:14px}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card a{color:var(--a83-blue);font-weight:800;font-size:13px}
:is(#brx-header,#brx-content,#brx-footer) .a83-service-card.a83-highlight{background:#f3f7ff}

/* Contact */
:is(#brx-header,#brx-content,#brx-footer) .a83-contact-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:7%}
:is(#brx-header,#brx-content,#brx-footer) .a83-h2-sm{font-size:38px}
:is(#brx-header,#brx-content,#brx-footer) .a83-info-card{padding:26px;background:var(--a83-light);margin-bottom:18px}
:is(#brx-header,#brx-content,#brx-footer) .a83-info-card h3{font-size:19px}
:is(#brx-header,#brx-content,#brx-footer) .a83-info-card p{font-size:14px}
:is(#brx-header,#brx-content,#brx-footer) .a83-info-card a{color:var(--a83-blue);font-weight:700;overflow-wrap:anywhere}
:is(#brx-header,#brx-content,#brx-footer) .a83-notice{font-size:12px;color:var(--a83-muted)}
:is(#brx-header,#brx-content,#brx-footer) .a83-faq details{border-bottom:1px solid var(--a83-line);padding:20px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-faq summary{cursor:pointer;font-weight:700}
:is(#brx-header,#brx-content,#brx-footer) .a83-faq p{color:var(--a83-muted);margin:1em 0 0}

/* Bricks Form element, styled like the template form */
:is(#brx-header,#brx-content,#brx-footer) .a83-form{display:grid!important;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:18px;margin-top:10px}
:is(#brx-header,#brx-content,#brx-footer) .a83-form > *{grid-column:1/-1}
:is(#brx-header,#brx-content,#brx-footer) .a83-form > .form-group:nth-child(-n+4 of .form-group){grid-column:auto}
:is(#brx-header,#brx-content,#brx-footer) .a83-form .form-group{width:auto!important;padding:0!important;margin:0 0 18px!important;display:flex;flex-direction:column;gap:8px}
:is(#brx-header,#brx-content,#brx-footer) .a83-form label{font-size:13px;font-weight:700;margin:0;padding:0;color:var(--a83-ink)}
:is(#brx-header,#brx-content,#brx-footer) .a83-form input,
:is(#brx-header,#brx-content,#brx-footer) .a83-form select,
:is(#brx-header,#brx-content,#brx-footer) .a83-form textarea{padding:13px 14px;border:1px solid #cdd1d6;background:#fff;width:100%;border-radius:0;min-height:49px;color:var(--a83-ink);font:inherit;line-height:1.4}
:is(#brx-header,#brx-content,#brx-footer) .a83-form textarea{min-height:145px;resize:vertical}
:is(#brx-header,#brx-content,#brx-footer) .a83-form input:focus,
:is(#brx-header,#brx-content,#brx-footer) .a83-form select:focus,
:is(#brx-header,#brx-content,#brx-footer) .a83-form textarea:focus{outline:2px solid #8eb9ff;outline-offset:1px}
:is(#brx-header,#brx-content,#brx-footer) .a83-form .submit-button-wrapper{margin:0!important;align-items:flex-start}
:is(#brx-header,#brx-content,#brx-footer) .a83-form button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:14px;width:auto;background:var(--a83-blue);color:#fff;border:1px solid var(--a83-blue);border-radius:0;padding:13px 21px;font-size:13px;font-weight:800;line-height:1.55;transition:transform .2s,background .2s}
:is(#brx-header,#brx-content,#brx-footer) .a83-form button[type=submit]:hover{transform:translateY(-2px);background:var(--a83-blue-hover)}

/* Case study single */
:is(#brx-header,#brx-content,#brx-footer) .a83-case-detail .a83-shot{max-width:900px;margin:35px auto}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-study-cat:before{content:'Case study / '}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-top:1px solid var(--a83-line);border-bottom:1px solid var(--a83-line);padding:20px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-meta-label{font-size:11px;color:var(--a83-muted);display:block;text-transform:uppercase;letter-spacing:.12em}
:is(#brx-header,#brx-content,#brx-footer) .a83-meta-value{display:block;font-size:14px;font-weight:700}
:is(#brx-header,#brx-content,#brx-footer) a.a83-meta-value{color:var(--a83-blue)}
:is(#brx-header,#brx-content,#brx-footer) .a83-content-narrow{max-width:780px;margin-left:auto;margin-right:auto}
:is(#brx-header,#brx-content,#brx-footer) .a83-content-narrow h2{font-size:35px;margin-top:48px}
:is(#brx-header,#brx-content,#brx-footer) .a83-content-narrow p,
:is(#brx-header,#brx-content,#brx-footer) .a83-content-narrow li{color:#4c535d}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-content{margin:20px 0 32px}

/* Expanded case studies */
:is(#brx-header,#brx-content,#brx-footer) .a83-case-headline{font-family:Manrope,Arial,sans-serif;font-size:clamp(24px,2.6vw,34px);font-weight:700;letter-spacing:-.035em;line-height:1.2;color:var(--a83-ink);max-width:820px;margin:-6px 0 18px}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-headline:empty,
:is(#brx-header,#brx-content,#brx-footer) .a83-lead:empty{display:none}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-meta{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-meta > div:has(.a83-meta-value:empty){display:none}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-content.a83-prose h2{font-size:35px;margin:56px 0 16px;letter-spacing:-.045em}
:is(#brx-header,#brx-content,#brx-footer) .a83-case-content.a83-prose p{font-size:17px}

/* Long text: legal pages, case-study write-ups, new text pages */
:is(#brx-header,#brx-content,#brx-footer) .a83-prose{font-size:16px;line-height:1.7;color:#3d434b}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose > :first-child,
:is(#brx-header,#brx-content,#brx-footer) .a83-prose .brxe-post-content > :first-child{margin-top:0}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose :is(h2,h3,h4){color:var(--a83-ink);font-family:Manrope,Arial,sans-serif;letter-spacing:-.03em;line-height:1.25}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose h2{font-size:28px;margin:48px 0 14px}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose h3{font-size:21px;margin:32px 0 10px}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose h4{font-size:17px;margin:24px 0 8px}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose p,
:is(#brx-header,#brx-content,#brx-footer) .a83-prose li{color:#3d434b}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose p{margin:0 0 1.1em}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose ul,
:is(#brx-header,#brx-content,#brx-footer) .a83-prose ol{margin:0 0 1.2em;padding-left:1.4em}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose ul{list-style:disc}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose ol{list-style:decimal}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose li{margin:.35em 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose a{color:var(--a83-blue);text-decoration:underline;text-underline-offset:2px}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose strong,
:is(#brx-header,#brx-content,#brx-footer) .a83-prose b{color:var(--a83-ink)}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose img{max-width:100%;height:auto;margin:24px 0}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose th,
:is(#brx-header,#brx-content,#brx-footer) .a83-prose td{border:1px solid var(--a83-line);padding:10px 12px;text-align:left;vertical-align:top}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose blockquote{border-left:3px solid var(--a83-blue);margin:24px 0;padding:4px 0 4px 18px;color:var(--a83-ink)}
:is(#brx-header,#brx-content,#brx-footer) .a83-prose hr{border:0;border-top:1px solid var(--a83-line);margin:36px 0}

:is(#brx-header,#brx-content,#brx-footer) .a83-hidden{display:none!important}

@media (max-width:1000px){
  :is(#brx-header,#brx-content,#brx-footer) .a83-wrap{width:min(calc(100% - 48px),var(--a83-max))}
  :is(#brx-header,#brx-content,#brx-footer) .a83-hero-copy{padding-left:24px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links{gap:18px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-portfolio-grid{gap:15px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-footer-grid > div:last-child{display:none}
}
@media (max-width:760px){
  :is(#brx-header,#brx-content,#brx-footer) .a83-wrap{width:calc(100% - 36px)}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-inner{min-height:70px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-logo{width:110px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-menu-toggle{display:flex}
  :is(#brx-header,#brx-content,#brx-footer) .a83-header-cta{display:none}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:22px 18px 28px;border-bottom:1px solid var(--a83-line);box-shadow:0 16px 25px #0001;flex-direction:column;align-items:stretch;gap:0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links.a83-open{display:flex}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu{flex-direction:column;align-items:stretch;gap:0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > li{padding:0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links a{display:block;padding:15px 8px;border-bottom:1px solid var(--a83-line)!important}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > a,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .bricks-nav-menu > :is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor) > .brx-submenu-toggle > a{padding-bottom:15px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .brx-submenu-toggle{display:block}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .brx-submenu-toggle button{display:none}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu{position:static!important;visibility:visible!important;opacity:1!important;transform:none!important;display:block!important;min-width:0;padding:0 0 0 16px;border:0;box-shadow:none}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu a{padding:13px 8px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .sub-menu{width:auto;max-width:none;left:auto}
  :is(#brx-header,#brx-content,#brx-footer) .a83-nav-links .sub-menu .sub-menu a{padding:13px 8px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-hero{grid-template-columns:1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-hero-copy{padding:65px 18px 40px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-hero-visual{min-height:350px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-hero-visual .a83-shot{width:80%}
  :is(#brx-header,#brx-content,#brx-footer) .a83-section{padding:65px 0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-section-tight{padding:45px 0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-split,
:is(#brx-header,#brx-content,#brx-footer) .a83-contact-grid,
:is(#brx-header,#brx-content,#brx-footer) .a83-case-row{grid-template-columns:1fr;gap:35px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-align-right{text-align:left}
  :is(#brx-header,#brx-content,#brx-footer) .a83-stats{grid-template-columns:1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-stat{border-right:0;border-bottom:1px solid var(--a83-line);padding:16px 0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-service-row{grid-template-columns:35px 1fr 25px;gap:10px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-service-row p{grid-column:2/3}
  :is(#brx-header,#brx-content,#brx-footer) .a83-service-row .a83-arrow{grid-column:3;grid-row:1}
  :is(#brx-header,#brx-content,#brx-footer) .a83-portfolio-grid,
:is(#brx-header,#brx-content,#brx-footer) .a83-steps,
:is(#brx-header,#brx-content,#brx-footer) .a83-service-cards{grid-template-columns:1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-feature-photo{min-height:340px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-footer-grid{grid-template-columns:1fr 1fr;gap:25px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-footer-grid > div:last-child{display:block}
  :is(#brx-header,#brx-content,#brx-footer) .a83-footer-bottom{display:block}
    :is(#brx-header,#brx-content,#brx-footer) .a83-page-hero{padding:60px 0 40px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-case-list:not(.a83-is-filtered) > .a83-case-row:nth-child(even) .a83-case-copy,
:is(#brx-header,#brx-content,#brx-footer) .a83-case-list.a83-is-filtered > .a83-case-row.a83-is-flipped .a83-case-copy{order:initial}
  :is(#brx-header,#brx-content,#brx-footer) .a83-case-row .a83-shot-link{grid-row:1}
  :is(#brx-header,#brx-content,#brx-footer) .a83-case-meta{grid-template-columns:1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-form{grid-template-columns:1fr}
  :is(#brx-header,#brx-content,#brx-footer) .a83-form > .form-group:nth-child(-n+4 of .form-group){grid-column:1/-1}
  :is(#brx-header,#brx-content,#brx-footer) .a83-cta{padding:55px 0}
  :is(#brx-header,#brx-content,#brx-footer) .a83-prose h2{font-size:24px;margin-top:36px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-case-content.a83-prose h2{font-size:28px;margin-top:40px}
  :is(#brx-header,#brx-content,#brx-footer) .a83-case-content.a83-prose p{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  :is(#brx-header,#brx-content,#brx-footer) .a83-btn,
:is(#brx-header,#brx-content,#brx-footer) .a83-nav-links a,
:is(#brx-header,#brx-content,#brx-footer) .a83-form button[type=submit]{transition:none}
}

/* Demos page */
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 28px}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card{display:flex;flex-direction:column;align-items:flex-start}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card .a83-shot-link{width:100%}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card .a83-shot{margin-bottom:22px;transition:transform .25s}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card:hover .a83-shot{transform:translateY(-4px)}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card h3{font-size:22px;margin:10px 0 8px}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card .a83-demo-desc{color:var(--a83-muted);font-size:14px;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-card .a83-link{font-size:13px;color:var(--a83-blue);font-weight:800;margin-top:auto}
:is(#brx-header,#brx-content,#brx-footer) .a83-demo-type:empty{display:none}
@media (max-width:1000px){
  :is(#brx-header,#brx-content,#brx-footer) .a83-demo-grid{grid-template-columns:repeat(2,1fr);gap:40px 20px}
}
@media (max-width:760px){
  :is(#brx-header,#brx-content,#brx-footer) .a83-demo-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  :is(#brx-header,#brx-content,#brx-footer) .a83-demo-card .a83-shot{transition:none}
}
