/* CivilBrothers — Option B light design system (converted from Option A) */

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; font-family: 'Barlow', system-ui, sans-serif; background: #ffffff; color: #4A5261; }
    a { color: #2E62D9; text-decoration: none; }
    a:hover { color: #1E4BB8; }
    img, svg { max-width: 100%; }
    .oswald { font-family: 'Barlow', system-ui, sans-serif; }

    div.page { width: 100%; margin: 0 auto; background: #ffffff; color: #4A5261; overflow-x: hidden; }

    /* ---------- NAV ---------- */
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 0 max(80px, calc((100% - 1280px) / 2)); height: 84px; background: #ffffff; border-bottom: 1px solid #E7EAF0; }
    .brand { display: flex; align-items: center; gap: 14px; color: inherit; }
    .brand:hover { color: inherit; }
    .brand-logo { height: 46px; width: auto; display: block; }
    .brand-mark { width: 44px; height: 44px; border: 2px solid #10151F; background: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; letter-spacing: 0.5px; flex-shrink: 0; }
    .brand-mark .c { color: #10151F; }
    .brand-mark .b { color: #2E62D9; }
    .brand-word { display: flex; flex-direction: column; line-height: 1; }
    .brand-top { font-weight: 700; font-size: 21px; letter-spacing: 3px; color: #10151F; }
    .brand-bottom { font-weight: 600; font-size: 13px; letter-spacing: 5px; color: #2E62D9; }
    .nav-links { display: flex; align-items: center; gap: 36px; }
    .nav-link { font-weight: 500; font-size: 15px; color: #5A6475; }
    .nav-link:hover { color: #10151F; }
    .nav-link.active { color: #10151F; font-weight: 600; }
    .nav-cta { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; background: #2E62D9; color: #ffffff; font-weight: 600; font-size: 15px; }
    .nav-cta:hover { background: #1E4BB8; color: #ffffff; }
    .nav-phone { display: none; align-items: center; justify-content: center; height: 42px; padding: 0 18px; background: #2E62D9; color: #ffffff; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
    .nav-phone:hover { background: #1E4BB8; color: #ffffff; }

    /* ---------- SERVICES DROPDOWN (desktop) ---------- */
    .nav-item { position: relative; display: flex; align-items: center; align-self: stretch; }
    .nav-caret { display: inline-block; margin-left: 6px; font-size: 10px; color: #2E62D9; transition: transform 0.2s ease; }
    .nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
    .nav-drop { position: absolute; top: 100%; left: -20px; min-width: 250px; z-index: 1100; display: flex; flex-direction: column; background: #ffffff; border: 1px solid #E7EAF0; border-top: 2px solid #2E62D9; box-shadow: 0 20px 50px rgba(16,21,31,0.14); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
    .nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
    .nav-drop a { display: block; padding: 11px 20px; font-weight: 500; font-size: 14.5px; color: #4A5261; border-bottom: 1px solid #F0F2F6; white-space: nowrap; }
    .nav-drop a:last-child { border-bottom: none; }
    .nav-drop a:hover { color: #10151F; background: #F4F6F9; }

    /* ---------- MOBILE NAV (burger + slide-down menu) ---------- */
    .nav-actions { display: none; align-items: center; gap: 12px; }
    .nav-burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid #D4DAE4; cursor: pointer; flex-shrink: 0; }
    .nav-burger span { display: block; width: 20px; height: 2px; background: #10151F; transition: transform 0.25s ease, opacity 0.2s ease; }
    .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu { position: fixed; top: 84px; left: 0; right: 0; z-index: 990; display: flex; flex-direction: column; padding: 6px 20px 24px; background: #ffffff; border-bottom: 2px solid #2E62D9; box-shadow: 0 18px 40px rgba(16,21,31,0.16); bottom: 0; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; }
    .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
    .mm-row { display: flex; align-items: stretch; border-bottom: 1px solid #EDF0F4; }
    .mm-row .mm-link { flex: 1; border-bottom: none; }
    .mm-sub-toggle { width: 52px; background: none; border: none; border-left: 1px solid #EDF0F4; color: #2E62D9; font-size: 14px; cursor: pointer; transition: transform 0.2s ease; }
    .mm-sub-toggle.is-open { transform: rotate(180deg); border-left: none; border-right: 1px solid #EDF0F4; }
    .mm-sub { display: none; flex-direction: column; border-bottom: 1px solid #EDF0F4; padding: 4px 0 8px; }
    .mm-sub.open { display: flex; }
    .mm-sub a { font-weight: 500; font-size: 14.5px; color: #5A6475; padding: 10px 2px 10px 18px; border-left: 2px solid rgba(46,98,217,0.35); margin-left: 4px; }
    .mm-sub a:hover { color: #10151F; }
    .mobile-menu .mm-link { font-weight: 600; font-size: 16px; color: #10151F; padding: 15px 2px; border-bottom: 1px solid #EDF0F4; }
    .mobile-menu .mm-link:hover, .mobile-menu .mm-link.active { color: #2E62D9; }
    .mobile-menu .mm-phone { margin-top: auto; padding-top: 18px; font-size: 14.5px; color: #5A6475; text-align: center; }
    .mobile-menu .mm-phone:hover { color: #10151F; }
    body.mm-locked { overflow: hidden; }
    .cb-sticky-cta { display: none; }
    @media (max-width: 900px) {
      .cb-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; display: flex; align-items: center; justify-content: center; height: 58px; padding-bottom: env(safe-area-inset-bottom, 0px); box-sizing: content-box; background: #2E62D9; color: #ffffff; font-weight: 600; font-size: 15px; box-shadow: 0 -8px 24px rgba(16,21,31,0.18); }
      .cb-sticky-cta:hover, .cb-sticky-cta:active { background: #1E4BB8; color: #ffffff; }
      /* html body: outranks WP global-styles body{padding:0} printed later via wp_head */
      html body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
      .mobile-menu { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
    }
    @media (min-width: 901px) { .mobile-menu { display: none; } }
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .nav-actions { display: flex; }
      .nav-phone { display: inline-flex; }
    }
    @media (max-width: 480px) { .nav-phone-num { display: none; } }
    body.admin-bar .mobile-menu { top: 116px; }
    @media (max-width: 782px) { body.admin-bar .mobile-menu { top: 130px; } }
    @media (max-width: 640px) { body.admin-bar .mobile-menu { top: 114px; } }

    /* ---------- HERO (video hero keeps the dark treatment over footage) ---------- */
    .hero { position: relative; background: #10151F; overflow: hidden; }
    .hero-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 26px); }
    .hero-glow { position: absolute; inset: 0; background: radial-gradient(900px 500px at 82% 20%, rgba(46,98,217,0.18), transparent 65%); }
    .hero-watermark { position: absolute; right: -60px; bottom: -70px; font-weight: 700; font-size: clamp(160px, 24vw, 340px); line-height: 1; color: rgba(123,160,240,0.06); letter-spacing: -8px; pointer-events: none; }
    .hero-inner { position: relative; padding: 110px max(80px, calc((100% - 1280px) / 2)) 100px max(80px, calc((100% - 1280px) / 2)); display: flex; flex-direction: column; gap: 26px; }
    .kicker { display: flex; align-items: center; gap: 10px; }
    .kicker-line { width: 8px; height: 8px; background: #2E62D9; flex-shrink: 0; }
    .kicker-text { font-weight: 600; font-size: 14px; letter-spacing: 2px; color: #2E62D9; }
    .hero .kicker-text { color: #7BA0F0; }
    .hero-title { max-width: 820px; font-weight: 700; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.12; color: #ffffff; }
    .hero-title .accent { color: #7BA0F0; }
    .hero-lede { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.88); max-width: 560px; }
    .hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
    .btn-solid { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; background: #2E62D9; color: #ffffff; font-weight: 600; font-size: 15.5px; letter-spacing: 0.3px; }
    .btn-solid:hover { background: #1E4BB8; color: #ffffff; }
    .btn-ghost { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border: 1.5px solid rgba(255,255,255,0.65); color: #ffffff; font-weight: 600; font-size: 15.5px; letter-spacing: 0.3px; }
    .btn-ghost:hover { background: #ffffff; border-color: #ffffff; color: #10151F; }

    /* ---------- STATS BAND (white tiles on light band) ---------- */
    .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #F4F6F9; border-top: none; padding: 64px max(80px, calc((100% - 1280px) / 2)); gap: 22px; }
    .stat { display: flex; flex-direction: column; gap: 6px; background: #ffffff; border: 1px solid #E7EAF0; border-left: none; padding: 28px; }
    .stat-num { font-weight: 700; font-size: 38px; color: #2E62D9; line-height: 1; }
    .stat-label { font-weight: 500; font-size: 14.5px; letter-spacing: 0.2px; color: #4A5261; }

    /* ---------- SECTION SHELLS ---------- */
    .section { padding: 96px max(80px, calc((100% - 1280px) / 2)); display: flex; flex-direction: column; gap: 44px; }
    .section-light { background: #F4F6F9; }
    .section-white { background: #ffffff; }
    .section-head { display: flex; flex-direction: column; gap: 12px; }
    .section-head .kicker-text { font-size: 14px; letter-spacing: 2px; }
    .section-title { font-weight: 700; font-size: clamp(28px, 2.9vw, 40px); color: #10151F; line-height: 1.15; }
    .section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
    .section-head-note { font-size: 15.5px; line-height: 1.6; color: #6A7382; max-width: 420px; }

    /* ---------- WHY CHOOSE US ---------- */
    .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .why-card { display: flex; flex-direction: column; gap: 14px; background: #ffffff; padding: 30px 26px; border: 1px solid #E7EAF0; border-top: 3px solid #2E62D9; }
    .why-card-title { font-weight: 700; font-size: 17px; color: #10151F; }
    .why-card-body { font-size: 14.5px; line-height: 1.6; color: #4A5261; }
    .why-card-body a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(46,98,217,0.5); text-underline-offset: 2px; }
    .why-card-body a:hover { color: #2E62D9; }

    /* ---------- ABOUT ---------- */
    .about { background: #ffffff; padding: 96px max(80px, calc((100% - 1280px) / 2)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
    .about-copy { display: flex; flex-direction: column; gap: 22px; }
    .about-title { font-weight: 700; font-size: clamp(28px, 2.9vw, 40px); color: #10151F; line-height: 1.18; }
    .about-title .accent { color: #2E62D9; }
    .about-lede { font-size: 16.5px; line-height: 1.7; color: #4A5261; }
    .about-list { display: flex; flex-direction: column; gap: 0; }
    .about-row { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid #EDF0F4; }
    .about-row-key { font-weight: 700; font-size: 14.5px; letter-spacing: 0.5px; color: #10151F; width: 150px; flex-shrink: 0; }
    .about-row-val { font-size: 15px; color: #5A6475; }
    .about-media { display: flex; flex-direction: column; gap: 22px; }
    .about-photo { position: relative; height: 380px; background: linear-gradient(155deg, #EDF0F5 0%, #DDE3EC 100%); border: 1px solid #D4DAE4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .about-slider { display: block; }
    .about-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
    .about-slide.is-active { opacity: 1; }
    .about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .about-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 12px; font-size: 13.5px; color: #ffffff; background: linear-gradient(180deg, rgba(10,14,22,0) 0%, rgba(10,14,22,0.72) 100%); }
    .about-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.5); background: rgba(10,14,22,0.45); color: #ffffff; font-size: 24px; line-height: 1; cursor: pointer; transition: background 0.15s; }
    .about-slider-btn:hover { background: #2E62D9; border-color: #2E62D9; }
    .about-slider-btn.prev { left: 14px; }
    .about-slider-btn.next { right: 14px; }
    .about-slider-dots { position: absolute; top: 14px; right: 16px; z-index: 2; display: flex; gap: 7px; }
    .about-slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #ffffff; background: transparent; cursor: pointer; }
    .about-slider-dots button.is-active { background: #ffffff; }
    .about-photo-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(46,98,217,0.04) 0px, rgba(46,98,217,0.04) 2px, transparent 2px, transparent 22px); }
    .about-photo-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .placeholder-label { font-weight: 600; font-size: 12px; letter-spacing: 2.5px; color: #9AA3B2; }
    .about-banner { display: flex; align-items: center; gap: 20px; background: #2E62D9; padding: 24px 28px; }
    .about-banner svg { flex-shrink: 0; }
    .about-banner-text { display: flex; flex-direction: column; gap: 2px; }
    .about-banner-title { font-weight: 700; font-size: 17px; letter-spacing: 0.3px; color: #ffffff; }
    .about-banner-sub { font-size: 14px; color: rgba(255,255,255,0.85); }

    /* ---------- SERVICES ---------- */
    .services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .service { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #E7EAF0; background: #ffffff; padding: 26px 24px; }
    .service svg { flex-shrink: 0; margin-top: 2px; }
    .service-text { display: flex; flex-direction: column; gap: 6px; }
    .service-title { font-weight: 700; font-size: 17px; color: #10151F; }
    .service-body { font-size: 14.5px; line-height: 1.55; color: #4A5261; }
    .service-cta { display: flex; flex-direction: column; justify-content: center; gap: 10px; background: #2E62D9; padding: 26px 24px; }
    .service-cta-title { font-weight: 700; font-size: 17px; letter-spacing: 0.3px; color: #ffffff; }
    .service-cta-body { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.88); }
    .service-cta-link { font-weight: 600; font-size: 14px; color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

    /* ---------- PROJECTS ---------- */
    .btn-outline-dark { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border: 1.5px solid #10151F; color: #10151F; font-weight: 600; font-size: 15px; flex-shrink: 0; }
    .btn-outline-dark:hover { background: #10151F; border-color: #10151F; color: #ffffff; }
    .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .project { display: flex; flex-direction: column; border: 1px solid #E7EAF0; background: #ffffff; }
    .project-photo { height: 230px; background: linear-gradient(155deg, #EDF0F5 0%, #DDE3EC 100%); display: flex; align-items: center; justify-content: center; }
    .project-photo .placeholder-label { font-size: 12px; }
    .project-meta { display: flex; flex-direction: column; gap: 4px; background: #ffffff; padding: 18px 20px; }
    .project-tag { font-weight: 600; font-size: 12px; letter-spacing: 1.5px; color: #2E62D9; }
    .project-name { font-weight: 700; font-size: 17px; color: #10151F; text-transform: capitalize; }

    /* ---------- CTA BAND (dark strip like Option B) ---------- */
    .cta-band { background: #10151F; padding: 72px max(80px, calc((100% - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
    .cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
    .cta-title { font-weight: 700; font-size: clamp(26px, 2.7vw, 36px); color: #ffffff; line-height: 1.15; }
    .cta-sub { font-size: 16.5px; line-height: 1.6; color: #9AA3B2; }
    .cta-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 32px; background: #2E62D9; color: #ffffff; font-weight: 600; font-size: 16px; flex-shrink: 0; white-space: nowrap; }
    .cta-btn:hover { background: #1E4BB8; color: #ffffff; }

    /* ---------- FOOTER ---------- */
    .footer { background: #0C1018; padding: 64px max(80px, calc((100% - 1280px) / 2)) 0 max(80px, calc((100% - 1280px) / 2)); display: flex; flex-direction: column; }
    .footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; padding-bottom: 50px; }
    .footer-col { display: flex; flex-direction: column; gap: 14px; }
    .footer-brand-col { display: flex; flex-direction: column; gap: 18px; }
    .footer-brand { display: flex; align-items: center; gap: 12px; }
    .footer-logo-chip { background: #ffffff; padding: 10px 14px; display: inline-flex; align-self: flex-start; }
    .footer-logo-chip img { height: 34px; width: auto; display: block; }
    .footer-blurb { font-size: 14.5px; line-height: 1.65; color: #8A93A3; max-width: 320px; }
    .footer-heading { font-weight: 700; font-size: 14px; letter-spacing: 2px; color: #ffffff; }
    .footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #8A93A3; }
    .footer-list a { color: #8A93A3; }
    .footer-list a:hover { color: #ffffff; }
    .footer-list a.footer-accent, .footer-list .footer-accent { color: #5B8DEF; }
    .footer-list a.footer-accent:hover { color: #ffffff; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); gap: 12px; }
    .footer-bottom span { font-size: 13px; color: #5A6475; }

    /* ---------- BREAKPOINTS ---------- */
    @media (max-width: 1024px) {
      .nav { padding: 0 40px; }
      .nav-links { gap: 24px; }
      .hero-inner { padding: 84px 40px 76px 40px; }
      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 40px; }
      .section, .about, .footer { padding-left: 40px; padding-right: 40px; }
      .section { padding-top: 72px; padding-bottom: 72px; }
      .about { padding-top: 72px; padding-bottom: 72px; grid-template-columns: 1fr; gap: 48px; }
      .cta-band { padding: 56px 40px; }
      .footer { padding-top: 56px; }
      .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-grid { gap: 40px; }
    }

    @media (max-width: 640px) {
      .nav { padding: 0 20px; height: 68px; }
      .nav-links { display: none; }
      .nav-phone { height: 40px; padding: 0 14px; }
      .mobile-menu { top: 68px; padding: 2px 20px calc(78px + env(safe-area-inset-bottom, 0px)); }
      .brand-logo { height: 38px; }
      .hero-inner { padding: 60px 20px 60px 20px; gap: 22px; }
      .hero-lede { font-size: 16px; }
      .hero-actions .btn-solid, .hero-actions .btn-ghost { width: 100%; }
      .hero-watermark { right: -30px; bottom: -30px; letter-spacing: -4px; }
      .kicker-text { font-size: 13px; letter-spacing: 1.5px; }
      .stats { grid-template-columns: 1fr; padding: 36px 20px; gap: 16px; }
      .stat-num { font-size: 32px; }
      .section, .about, .footer { padding-left: 20px; padding-right: 20px; }
      .section { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
      .about { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
      .section-head-row { flex-direction: column; align-items: flex-start; }
      .why-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .projects-grid { grid-template-columns: 1fr; }
      .about-row { flex-direction: column; align-items: flex-start; gap: 4px; }
      .about-row-key { width: auto; }
      .about-photo { height: 240px; }
      .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 20px; gap: 28px; }
      .cta-btn { width: 100%; }
      .footer { padding-top: 48px; }
      .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    }

    /* ---------- HERO BACKGROUND VIDEO ---------- */
    .hero { position: relative; overflow: hidden; isolation: isolate; }
    .hero-video { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
    .hero-video iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; aspect-ratio: 16 / 9; border: 0; }
    .hero-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,22,0.82) 0%, rgba(10,14,22,0.60) 55%, rgba(10,14,22,0.40) 100%); }
    @media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
