
  :root{
    --brand-primary: hsl(203 88% 31%);
    --brand-dark: hsl(234 37% 22%);
    --contact-bg: rgb(241 239 238);
    --dark-gray: rgb(107 107 107);
    --gray-600: #4b5563;
    --gray-900: #111827;
    --font-head: futura-pt, "Jost", system-ui, sans-serif;
    --font-body: "Open Sans", system-ui, sans-serif;
    --img: https://www.33equity.eu;
  }
  *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{font-family:var(--font-body);color:#000;background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
  img{display:block;max-width:100%}
  a{color:inherit;text-decoration:none}
  button{font:inherit;background:none;border:0;cursor:pointer;color:inherit}

  /* ---------- Typography ---------- */
  .h1{font-family:var(--font-head);font-weight:700;font-size:3.5rem;line-height:1.1;color:var(--brand-dark)}
  .h3{font-family:var(--font-head);font-weight:700;font-size:2.25rem;line-height:1.2;color:var(--brand-dark)}
  .sub1{font-size:1.5rem;line-height:1.3}
  .sub2{font-size:1.25rem;line-height:1.3}
  .p1{font-size:1.125rem;line-height:1.8;color:var(--brand-dark)}
  .primary{color:var(--brand-primary)}
  @media (max-width:1280px){.h1{font-size:3rem}.h3{font-size:2rem}}
  @media (max-width:768px){.h1{font-size:2.25rem}.h3{font-size:1.6rem}.sub1{font-size:1.2rem}.sub2{font-size:1rem}}

  /* ---------- 12-column grid ---------- */
  .grid-container{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;padding:0 20px;max-width:1440px;margin:0 auto}
  @media (max-width:768px){.grid-container{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:0 16px}}
  @media (max-width:640px){.grid-container{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}

  .container{max-width:80rem;margin:0 auto;padding:0 1.5rem}
  @media (min-width:1024px){.container{padding:0 2rem}}

  /* ---------- Animated "dot" button ---------- */
  .btn{position:relative;display:inline-block;overflow:hidden;border:1px solid var(--brand-dark);border-radius:2px;
       padding:.5rem 1.5rem;font-weight:600;font-size:1rem;color:var(--brand-dark);background:transparent;cursor:pointer;
       transition:background .3s,color .3s}
  .btn .face{display:flex;align-items:center;gap:.5rem}
  .btn .dot{width:8px;height:8px;border-radius:50%;background:var(--brand-dark);transition:transform .3s}
  .btn .label{display:inline-block;transition:transform .3s,opacity .3s}
  .btn .hover{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:.5rem;
              color:#fff;opacity:0;transform:translateX(3rem);transition:transform .3s,opacity .3s}
  .btn .hover svg{width:16px;height:16px}
  .btn:hover .dot{transform:scale(100.8)}
  .btn:hover .label{transform:translateX(3rem);opacity:0}
  .btn:hover .hover{opacity:1;transform:translateX(0)}
  /* inverted (filled) variant */
  .btn.inverted{background:var(--brand-dark);color:#fff}
  .btn.inverted .dot{background:#fff}
  .btn.inverted .hover{color:var(--brand-dark)}
  /* ghost variant */
  .btn.ghost{border-color:transparent}

  /* Mobile block buttons */
  .mbtn{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:1rem 1.5rem;font-weight:500}
  .mbtn.solid{background:var(--brand-dark);color:#fff}
  .mbtn.outline{border:2px solid var(--brand-dark);color:var(--brand-dark)}
  .mbtn svg{width:16px;height:16px}
  .only-mobile{display:none}
  @media (max-width:767px){.only-mobile{display:block}.only-desktop{display:none!important}}

  /* ---------- Header ---------- */
  header{position:fixed;top:0;left:0;right:0;z-index:50;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:transform .3s}
  header.hide{transform:translateY(-100%)}
  .nav{display:flex;align-items:center;justify-content:space-between;padding:1rem;max-width:80rem;margin:0 auto}
  @media (min-width:768px){.nav{padding:1.5rem}}
  @media (min-width:1024px){.nav{padding:1.5rem 2rem}}
  .nav .logo{flex:1}
  .nav .logo img{height:2rem;width:auto}
  @media (min-width:768px){.nav .logo img{height:3rem}}
  .nav-links{display:none;gap:3rem}
  .nav-links a{position:relative;font-size:.875rem;line-height:1.5rem;color:var(--gray-900);font-family:var(--font-head);font-weight:500}
  .nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--brand-primary);
                      transform:scaleX(0);transform-origin:left;transition:transform .3s}
  .nav-links a:hover::after{transform:scaleX(1)}
  .nav-cta{display:none;flex:1;justify-content:flex-end}
  .burger{display:inline-flex;padding:.625rem;margin:-.625rem;color:#374151}
  .burger svg{width:24px;height:24px}
  @media (min-width:1024px){.nav-links,.nav-cta{display:flex}.burger{display:none}}

  .mobile-menu{position:fixed;inset:0;z-index:60;background:#fff;padding:1rem 1.5rem;display:none;flex-direction:column}
  .mobile-menu.open{display:flex}
  .mobile-menu .top{display:flex;justify-content:space-between;align-items:center}
  .mobile-menu .top img{height:2rem}
  .mobile-menu nav{display:flex;flex-direction:column;margin-top:2rem;border-top:1px solid #eee}
  .mobile-menu nav a{padding:1rem 0;border-bottom:1px solid #eee;font-family:var(--font-head);font-size:1.25rem;font-weight:500;color:var(--gray-900)}

  /* ---------- Hero ---------- */
  .page{padding-top:60px}
  @media (min-width:768px){.page{padding-top:6rem}}
  .hero{position:relative;overflow:hidden;background:#fff}
  @media (min-width:768px){.hero{height:100vh}}
  .hero-bg{position:absolute;inset:0;height:200px;display:none}
  .hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .hero-bg::after{content:"";position:absolute;left:0;right:0;bottom:0;height:450px;
                  background:linear-gradient(to bottom,transparent 0%,transparent 40%,#fff 100%)}
  @media (min-width:768px){.hero-bg{display:block}}
  .hero .grid-container{position:relative}
  .hero-text{grid-column:1/-1;margin-top:2rem;z-index:10;display:flex;flex-direction:column;gap:1.5rem}
  .hero-text p{color:#22284c}
  .hero-actions{display:flex;flex-direction:column;gap:1rem;width:100%}
  .hero-visual{grid-column:1/-1;position:relative}
  .hero-visual canvas{display:block}
  .hero-visual .desk{position:absolute;left:-100px;width:1000px;height:1000px;display:none}
  .hero-visual .mob{position:relative;height:420px;display:flex;justify-content:center;margin-bottom:2rem}
  @media (min-width:768px){
    .hero-text{grid-column:2/span 6;margin-top:300px}
    .hero-text .copy{min-height:14rem;display:flex;flex-direction:column;gap:1.5rem}
    .hero-actions{flex-direction:row;align-items:center;gap:1.5rem}
    .hero-visual{grid-column:8/span 5}
    .hero-visual .desk{display:block}
    .hero-visual .mob{display:none}
  }

  /* ---------- Pain / solution ---------- */
  .ps{max-width:1440px;margin:2rem auto 0;position:relative;z-index:1}
  .ps-row{display:flex;flex-direction:column}
  .ps-text{padding:0 1.5rem;display:flex;flex-direction:column;gap:1.5rem}
  .ps-img{padding:0 1.5rem}
  .ps-img img{width:100%;height:250px;object-fit:cover;border-radius:5px}
  .ps-row.first{padding-top:2rem}
  .ps-row.first .ps-text{padding-bottom:2rem}
  .ps-row.second .ps-text{padding-top:2rem;padding-bottom:2rem}
  .ps h4{font-size:1.25rem;line-height:1.3;font-weight:700;color:var(--brand-primary);margin-bottom:.5rem}
  .stack{display:flex;flex-direction:column;gap:1.5rem}
  @media (min-width:768px){
    .ps-row.first{padding-top:150px}
    .ps-text{padding:0 2rem;gap:2rem}
    .ps-img{padding:0 2rem}
    .ps-img img{border-radius:0}
    .ps-row.first .ps-text{padding-bottom:100px}
    .ps-row.second .ps-text{padding-top:100px}
    .stack{gap:2rem}
  }
  @media (min-width:1024px){
    .ps-row{flex-direction:row}
    .ps-row.first{justify-content:space-between}
    .ps-row.first .ps-text{margin-left:139px;width:452px}
    .ps-row.second .ps-text{margin-left:133px;width:452px;padding-bottom:0}
    .ps-img{padding:0;display:flex;flex-direction:column;justify-content:flex-end}
    .ps-img img{width:720px;height:600px}
    .ps-row.second .ps-img{order:1}.ps-row.second .ps-text{order:2}
  }
  @media (max-width:1023px){.ps-row.second .ps-img{order:2}.ps-row.second .ps-text{order:1}}

  /* ---------- Section heading ---------- */
  .sec-head{max-width:42rem;margin:0 auto;text-align:center}
  .sec-head .h1{margin-top:.5rem}

  /* ---------- Services ---------- */
  .services{padding:6rem 0;margin-top:100px}
  @media (min-width:640px){.services{padding:8rem 0}}
  .svc-grid{display:grid;gap:4rem 3rem;margin-top:4rem}
  @media (min-width:640px){.svc-grid{margin-top:5rem}}
  @media (min-width:768px){.svc-grid{grid-template-columns:1fr 1fr}}
  .svc{display:block}
  .svc .media{aspect-ratio:16/9;overflow:hidden}
  .svc .media img{width:100%;height:100%;object-fit:cover;transition:box-shadow .3s}
  .svc:hover .media img{box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}
  .svc .card{position:relative;margin:-4rem 1rem 0;background:#fff;padding:1.5rem;
             box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);transition:transform .3s}
  .svc:hover .card{transform:scale(1.1)}
  .svc h3{font-size:1.125rem;font-weight:500;color:var(--gray-900);transition:color .3s}
  .svc:hover h3{color:var(--brand-primary)}
  .svc p{font-size:.875rem;line-height:1.5;color:var(--gray-600);margin-top:.5rem}
  .center{display:flex;justify-content:center}

  /* ---------- Track record ---------- */
  .tr-wrap{margin-top:100px}
  .tr{padding:4rem 0}
  .deal{grid-column:span 4;padding:0 .5rem;margin-bottom:1.5rem}
  @media (min-width:640px){.deal{grid-column:span 6;padding:0 .75rem}}
  @media (min-width:768px){.deal{grid-column:span 4}}
  @media (min-width:1024px){.deal{grid-column:span 3}}
  .deal a{display:block;position:relative;overflow:hidden;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;
          padding:1.25rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.15);transition:box-shadow .3s}
  .deal a:hover{box-shadow:0 20px 25px -5px rgba(0,0,0,.2),0 8px 10px -6px rgba(0,0,0,.1)}
  .deal .meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}
  .deal .flags{display:flex;gap:.5rem}
  .deal .flags img{width:36px;height:24px;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.1);object-fit:cover}
  .deal .date,.deal .role{font-size:.875rem;color:var(--gray-600)}
  .deal .date{font-weight:500}
  .deal .logos{display:flex;flex-direction:column;align-items:center;margin-top:3rem}
  .deal .logos img{width:9rem;height:3rem;object-fit:contain}
  .deal .by{font-size:.875rem;color:#6b7280;margin:3rem 0}
  .deal .foot{margin-top:4rem;display:flex;justify-content:space-between;align-items:center}
  .deal .foot svg{width:20px;height:20px;color:var(--brand-dark);transition:transform .3s}
  .deal a:hover .foot svg{transform:translate(3px,-3px)}
  .tr-cta{margin-bottom:9rem}
  .tr-cta .only-mobile{width:100%;padding:0 1.5rem}
  .tr-cta .mbtn.outline{border-color:var(--brand-primary)}

  /* ---------- Contact ---------- */
  .contact-top{background:var(--contact-bg)}
  .contact-top .grid-container{padding-top:4rem;padding-bottom:4rem;row-gap:2rem}
  .contact-intro{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center}
  .contact-intro .h1{margin-bottom:1.5rem}
  .contact-intro > p{margin-bottom:2rem}
  .checks{list-style:none;display:flex;flex-direction:column;gap:1rem;margin-bottom:2.5rem}
  .checks li{display:flex;align-items:flex-start;gap:.75rem}
  .checks svg{flex:none;width:24px;height:24px;color:var(--brand-primary);margin-top:.25rem}
  .form-card{grid-column:1/-1;background:#fff;border-radius:.5rem;padding:2rem;position:relative;z-index:10;margin-bottom:-150px;
             box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
  @media (min-width:768px){.contact-top .grid-container{padding-bottom:2rem;column-gap:3rem}}
  @media (min-width:1024px){
    .contact-top .grid-container{column-gap:4rem}
    .contact-intro{grid-column:2/span 5}
    .form-card{grid-column:7/span 5}
  }
  form{display:flex;flex-direction:column;gap:1.5rem}
  label{display:block;font-weight:500;margin-bottom:.5rem}
  input,textarea{width:100%;padding:.75rem;background:var(--contact-bg);border:1px solid #e5e7eb;border-radius:.375rem;font:inherit}
  input:focus,textarea:focus{outline:2px solid var(--brand-primary);outline-offset:0}
  input[aria-invalid="true"],textarea[aria-invalid="true"]{border-color:#dc2626}
  .err{color:#dc2626;font-size:.875rem;margin-top:.25rem;display:none}
  [aria-invalid="true"] + .err{display:block}
  textarea{height:8rem;resize:vertical}
  .legal{font-size:.875rem;color:var(--dark-gray)}
  .legal a{color:#2563eb}.legal a:hover{text-decoration:underline}
  .submit{width:100%;background:var(--brand-dark);color:#fff;padding:.75rem 1.5rem;border-radius:.375rem;font-weight:700;transition:opacity .2s}
  .submit:hover{opacity:.9}
  .form-ok{display:none;text-align:center;padding:2rem 0;color:var(--brand-dark)}

  .contact-bottom .grid-container{align-items:start}
  .map{grid-column:1/-1;position:relative;overflow:hidden;height:400px}
  .map iframe{position:absolute;top:0;left:0;width:100vw;height:100%;border:0;margin-left:calc((100% - 100vw)/2);filter:grayscale(1)}
  .details{display:none;grid-column:1/-1;padding-top:2rem}
  .details h3{font-family:var(--font-body);font-size:1.125rem;font-weight:700;color:var(--dark-gray);margin-bottom:.5rem}
  .details p{color:var(--dark-gray)}
  .details > div + div{margin-top:2rem}
  @media (min-width:768px){.map{height:500px}.details{display:block}}
  @media (min-width:1024px){
    .map{grid-column:span 8}
    .map iframe{width:100%;margin-left:0}
    .details{grid-column:10/span 3;padding-top:7rem}
  }

  /* ---------- Footer ---------- */
  footer .container{padding-top:3rem;padding-bottom:2rem}
  @media (min-width:640px){footer .container{padding-top:4rem}}
  @media (min-width:1024px){footer .container{padding-top:6rem}}
  .f-logo{display:flex;justify-content:center;margin-bottom:2.5rem}
  .f-logo img{height:3rem}
  @media (min-width:768px){.f-logo{margin-bottom:4rem}.f-logo img{height:4rem}}
  .f-cols{display:grid;gap:2rem;text-align:center}
  @media (min-width:768px){.f-cols{grid-template-columns:repeat(3,1fr);text-align:left}}
  .f-cols h3{font-size:1.2rem;font-weight:700;color:var(--gray-600);line-height:1.5rem}
  @media (min-width:768px){.f-cols h3{font-size:.875rem;font-weight:600}}
  .f-cols ul{list-style:none;margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}
  .f-cols li,.f-cols li a{color:var(--gray-600);line-height:1.5rem}
  @media (min-width:768px){.f-cols li,.f-cols li a{font-size:.875rem}}
  .f-cols a:hover{color:var(--gray-900)}
  .f-cols .ic{display:flex;flex-direction:column;align-items:center;gap:.25rem .75rem}
  .f-cols .ic svg{flex:none;width:20px;height:20px;color:var(--gray-600);margin-top:2px}
  @media (min-width:768px){.f-cols .ic{flex-direction:row;align-items:flex-start}}
  .f-bottom{margin-top:2rem;border-top:1px solid rgba(17,24,39,.1);padding-top:1.5rem;display:flex;flex-direction:column;align-items:center;gap:1.5rem}
  .f-bottom p,.f-bottom button{font-size:.75rem;line-height:1.25rem;color:#6b7280}
  .f-bottom button:hover{color:var(--gray-900)}
  .f-bottom .sep{color:#d1d5db;font-size:.75rem}
  .f-bottom .links{display:flex;gap:1rem;align-items:center}
  @media (min-width:640px){.f-bottom{flex-direction:row;justify-content:space-between;margin-top:5rem}}
  @media (min-width:768px){.f-bottom{margin-top:4rem;padding-top:2rem}}

  /* ---------- Scroll reveal ---------- */
  .reveal{opacity:0;transform:translateY(40px);transition:opacity .7s ease,transform .7s ease}
  .reveal.in{opacity:1;transform:none}
  @media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}*{scroll-behavior:auto}}

  .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

  /* ================= Additions for sub-pages ================= */
  .nav-links a.active::after{transform:scaleX(1)}

  .narrow{max-width:56rem;margin:0 auto;padding:0 1.5rem}
  .section{padding:4rem 0}
  @media (min-width:768px){.section{padding:6rem 0}}
  .eyebrow{font-size:1.25rem;line-height:1.3;color:var(--brand-primary)}

  /* About: intro + team */
  .two-col{display:grid;gap:2rem}
  @media (min-width:1024px){.two-col{grid-template-columns:5fr 7fr;gap:5rem}}
  .team{display:flex;flex-direction:column;margin-top:4rem;border-top:1px solid #e5e7eb}
  .member{display:grid;gap:1.5rem;padding:3rem 0;border-bottom:1px solid #e5e7eb;align-items:start}
  .member .photo img{width:100%;max-width:240px;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:2px;filter:grayscale(1);transition:filter .4s}
  .member:hover .photo img{filter:none}
  .member .text{min-width:0}
  .member .who{display:flex;align-items:center;gap:1.25rem;margin:.5rem 0 1.5rem}
  .member .who span{font-weight:600;color:var(--brand-primary)}
  .member .who a{display:inline-flex;align-items:center;gap:.4rem;color:var(--brand-dark);font-size:.875rem;font-weight:500}
  .member .who a:hover{color:var(--brand-primary)}
  .member .who svg{width:18px;height:18px}
  .member .bio{display:flex;flex-direction:column;gap:1rem;max-width:44rem}
  @media (min-width:768px){.member{grid-template-columns:260px minmax(0,1fr);gap:3.5rem}.member .photo img{max-width:none}}

  /* Services detail */
  .svc-rows{display:flex;flex-direction:column;gap:6rem}
  .svc-row{display:grid;gap:2.5rem;align-items:center;scroll-margin-top:120px}
  .svc-row img{width:100%;max-height:560px;object-fit:cover}
  .svc-row .text{display:flex;flex-direction:column;gap:1.25rem}
  .svc-row .lead{font-weight:600;color:var(--brand-primary);font-size:1.25rem}
  .ticks{list-style:none;display:flex;flex-direction:column;gap:.75rem}
  .ticks li{display:flex;gap:.75rem;align-items:center;font-size:1.125rem;color:var(--brand-dark)}
  .ticks svg{width:20px;height:20px;color:var(--brand-primary);flex:none}
  @media (min-width:768px){.svc-row{grid-template-columns:7fr 5fr;gap:5rem}.svc-row:nth-child(even) .text{order:2}}

  /* Vacancies */
  .empty{text-align:center;padding:4rem 1.5rem;border:1px dashed #d1d5db;border-radius:.5rem;background:#fafafa}
  .empty .h3{margin-bottom:1rem}


  /* ================= Matched to the live site: typography ================= */
  :root{--brand-red:hsl(0 84% 60%)}
  .h1{letter-spacing:-.02em}
  .h2{font-family:var(--font-head);font-weight:700;font-size:2.75rem;line-height:1.1;letter-spacing:-.02em;color:var(--brand-dark)}
  .h4{font-family:var(--font-head);font-weight:700;font-size:1.75rem;line-height:1.2}
  @media (max-width:1280px){.h2{font-size:2.375rem}.h4{font-size:1.5rem}}
  @media (max-width:768px){.h2{font-size:1.75rem}.h4{font-size:1.375rem}}

  /* Buttons in brand-primary (e.g. "View the interactive deal map") */
  .btn.primary{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}
  .btn.primary .dot{background:#fff}
  .btn.primary .hover{color:var(--brand-primary)}
  .mbtn.primary{background:var(--brand-primary);color:#fff}

  /* ================= Page heroes (per page, as on the live site) ================= */
  .page-hero{position:relative;overflow:hidden;background:var(--contact-bg)}
  .page-hero .banner{position:absolute;inset:0;height:300px;display:none}
  .page-hero .banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
  .page-hero .banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:450px;background:linear-gradient(to bottom,transparent 0%,transparent 40%,#fff 100%)}
  .page-hero .grid-container{position:relative;z-index:1}
  .page-hero p{color:var(--brand-dark)}
  .ph-title,.ph-sub{grid-column:1/-1}
  .ph-about .ph-title{margin-top:100px;padding-bottom:4rem}
  .ph-about h1,.ph-services h1{margin-bottom:30px}
  .ph-services{padding-bottom:5rem}
  .ph-services .ph-title{margin-top:60px}
  .ph-services h1{max-width:800px}
  .ph-services p{max-width:1000px}
  .ph-vacancies{padding-bottom:4rem}
  .ph-vacancies .ph-title{margin-top:5rem}
  .ph-vacancies h1,.ph-track h1{margin-bottom:15px;filter:drop-shadow(0 4px 5px rgba(255,255,255,.7))}
  .ph-vacancies p,.ph-track .ph-sub{margin-bottom:30px}
  .ph-track{background:#fff}
  .ph-track .banner{height:250px}
  .ph-track .banner::after{background:linear-gradient(to bottom,transparent 0%,transparent 45%,#fff 100%)}
  .ph-track .ph-title{margin-top:50px}
  .ph-about .banner::after{height:500px;background:linear-gradient(to bottom,transparent 0%,transparent 50%,rgba(255,255,255,.5) 65%,#fff 90%,#fff 100%)}
  .ph-vacancies .banner::after{background:linear-gradient(to bottom,transparent 0%,transparent 50%,rgba(255,255,255,.5) 65%,rgba(255,255,255,.95) 75%,#fff 100%)}
  @media (min-width:768px){
    .page-hero{background:#fff}
    .page-hero .banner{display:block}
    .ph-about .ph-title{grid-column:2/span 5;margin-top:300px;padding-bottom:0}
    .ph-services{padding-bottom:3rem}
    .ph-services .ph-title{grid-column:2/span 10;margin-top:300px}
    .ph-vacancies{padding-bottom:0}
    .ph-vacancies .ph-title{grid-column:2/span 8;margin-top:350px}
    .ph-track .ph-title{grid-column:2/span 5;margin-top:350px}
    .ph-track .ph-sub{grid-column:2/span 10}
  }

  /* ================= Deal cards ================= */
  .grid-container.cards{padding:0 16px}
  @media (min-width:640px){.grid-container.cards{padding:0 20px}}
  @media (min-width:768px){.grid-container.cards{padding:0 24px}}
  .deal .foot svg{width:24px;height:24px;color:#9ca3af;transition:color .2s,transform .3s}
  .deal a:hover .foot svg{color:#4b5563}
  .deal .read-more{display:none;position:absolute;right:0;bottom:0;align-items:center;gap:.5rem;padding:1.25rem;background:var(--brand-dark);color:#fff;font-weight:500;font-size:1rem}
  .deal .read-more svg{width:20px;height:20px}
  @media (max-width:767px){.deal .arrow-d{display:none}.deal .read-more{display:flex}}
  /* moving border highlight on hover */
  .deal .beam{position:absolute;inset:0;border-radius:inherit;border:1px solid transparent;pointer-events:none;
    mask-clip:padding-box,border-box;mask-composite:intersect;mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)}
  .deal .beam span{position:absolute;inset:0;display:block;width:60px;aspect-ratio:1;background:#71717a;opacity:0;transition:opacity .15s;
    offset-path:rect(0 auto auto 0 round 60px);animation:beam 6s linear infinite}
  .deal a:hover .beam span{opacity:1}
  @keyframes beam{from{offset-distance:0%}to{offset-distance:100%}}
  @media (prefers-reduced-motion:reduce){.deal .beam span{animation:none}}
  .deal .value{font-size:.75rem;font-weight:700;color:var(--brand-primary);margin-top:-2rem;margin-bottom:1rem}
  .tr-page{padding:4rem 0}
  .tr-map-cta{grid-column:1/-1;display:flex;justify-content:center;padding:0 .5rem}
  .tr-map-cta .only-mobile{width:100%}
  @media (min-width:768px){.deal.three{grid-column:span 4}}

  /* ================= Deal detail page ================= */
  .dcol10,.dcol8{grid-column:1/-1;padding:0 1rem;min-width:0}
  @media (min-width:768px){.dcol10{grid-column:2/span 10;padding:0}.dcol8{grid-column:2/span 8;padding:0}}
  .deal-band{background:var(--contact-bg);padding:3rem 0 2rem}
  @media (min-width:768px){.deal-band{padding-top:3.5rem}}
  .all-deals{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--gray-600);margin-bottom:1rem;transition:color .2s}
  .all-deals:hover{color:var(--brand-dark)}
  .all-deals svg{width:16px;height:16px}
  @media (min-width:768px){.all-deals{margin-bottom:1.5rem}}
  .deal-date{margin-bottom:.5rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--gray-600)}
  .deal-band h1{margin-bottom:1rem}
  .deal-intro{color:var(--brand-dark);max-width:48rem}
  .deal-card-wrap{padding-top:2rem;padding-bottom:2rem}
  .parties-card{border-radius:.5rem;border:1px solid #f3f4f6;background:#fff;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);padding:1.5rem}
  @media (min-width:768px){.parties-card{padding:1.75rem}}
  .parties{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}
  @media (min-width:640px){.parties{flex-direction:row;gap:3rem}}
  .party{display:flex;flex-direction:column;align-items:center;gap:.5rem}
  .plogo{width:11rem;height:4rem}
  .plogo img{width:100%;height:100%;object-fit:contain}
  .pflag{width:1.75rem;height:1.25rem;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
  .pmid{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center}
  .acq{font-size:.875rem;color:#6b7280}
  .pill{border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;padding:.125rem .625rem;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.025em;color:var(--gray-600)}
  .pvalue{font-size:.875rem;font-weight:700;color:var(--brand-primary)}
  .dmap{margin-top:1.25rem;border-top:1px solid #f3f4f6;padding-top:1.25rem}
  .dmap-inner{max-width:720px;margin:0 auto}
  .dmap-svg{display:block;width:100%;height:auto;margin:0 auto}
  .dmap-cap{margin:.75rem auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:.375rem 1.25rem;font-size:11px;line-height:1rem;color:#6b7280}
  .dmap-cap span{display:inline-flex;align-items:center;gap:.5rem}
  @keyframes dealMapNodeIn{from{opacity:0}to{opacity:1}}
  @keyframes dealMapDraw{to{stroke-dashoffset:0}}
  @keyframes dealMapRingIn{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
  .deal-map-node{opacity:0;animation:dealMapNodeIn 260ms ease-out forwards}
  .deal-map-arc{stroke-dasharray:var(--deal-arc-len);stroke-dashoffset:var(--deal-arc-len);animation:dealMapDraw 820ms cubic-bezier(.32,.72,.32,1) 180ms forwards}
  .deal-map-ring{opacity:0;transform-box:fill-box;transform-origin:center;animation:dealMapRingIn 420ms cubic-bezier(.34,1.56,.64,1) 1000ms forwards}
  @media (prefers-reduced-motion:reduce){.deal-map-node{opacity:1;animation:none}.deal-map-arc{stroke-dashoffset:0;animation:none}.deal-map-ring{opacity:1;transform:none;animation:none}}
  .deal-body{padding-bottom:4rem}
  .dsec{margin-bottom:3rem}
  .dsec h2{color:var(--brand-primary);margin-bottom:1.5rem}
  .dsec p{margin-bottom:1.5rem;color:#000}
  .dsec p:last-child{margin-bottom:0}
  .deal-closing{color:var(--gray-600)!important;border-top:1px solid #f3f4f6;padding-top:2rem}
  .deal-closing a{color:var(--brand-primary);text-decoration:underline;text-underline-offset:2px;display:inline-flex;align-items:center;gap:.25rem}
  .deal-closing a svg{width:14px;height:14px}
  .more-deals{background:var(--contact-bg);padding:4rem 0}
  .more-head{grid-column:1/-1;margin-bottom:2rem;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:1rem}
  .more-head h2{color:var(--brand-dark)}
  .more-head a{font-size:.875rem;font-weight:500;color:var(--brand-primary);text-decoration:underline;text-underline-offset:2px}
  .more-head a:hover{text-decoration:none}

  /* ================= Deal map page ================= */
  .map-page{padding:2rem 0 4rem}
  @media (min-width:768px){.map-page{padding-top:3rem}}
  .mp-head,.mp-body{grid-column:1/-1;padding:0 1rem}
  @media (min-width:768px){.mp-head,.mp-body{padding:0 1.5rem}}
  .mp-head{margin-bottom:1.5rem}
  .mp-head p{margin-top:.75rem;max-width:42rem;color:var(--gray-600)}
  #dealMap{height:620px;border-radius:.5rem;border:1px solid #e5e7eb;z-index:0;margin-bottom:2rem}
  @media (max-width:767px){#dealMap{height:420px}}
  .mp-list{list-style:none;max-width:42rem;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6}
  .mp-list li + li{border-top:1px solid #f3f4f6}
  .mp-list a{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem .25rem;transition:background .15s}
  .mp-list a:hover{background:#f9fafb}
  .mflags{display:flex;gap:.375rem;padding-top:.125rem;flex:none}
  .mflag{width:1.5rem;height:1rem;overflow:hidden;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
  .mflag img{width:100%;height:100%;object-fit:cover}
  .mname{flex:1;min-width:0;display:flex;flex-direction:column}
  .mname strong{font-size:.875rem;font-weight:500;color:var(--brand-dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mname small{font-size:.75rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mdate{flex:none;font-size:.75rem;color:#6b7280}
  .mchev{width:16px;height:16px;flex:none;color:#9ca3af;margin-top:.125rem}
  .mp-back{margin-top:2rem}
  .map-note{max-width:42rem;margin-bottom:1.5rem;font-size:.875rem;line-height:1.6;color:var(--gray-600)}

  .svc-section{padding-top:2rem}
  @media (min-width:768px){.svc-section{padding-top:2.5rem}}

  /* ================= Services dropdown in the main menu ================= */
  .nav-dd{position:relative;display:flex;align-items:center}
  .nav-dd > a{display:inline-flex;align-items:center;gap:.3rem}
  .nav-dd .dd-chev{width:14px;height:14px;transform:rotate(90deg);transition:transform .2s}
  .nav-dd:hover .dd-chev,.nav-dd:focus-within .dd-chev{transform:rotate(-90deg)}
  .dd-menu{position:absolute;top:100%;left:50%;min-width:270px;margin-top:14px;padding:.5rem;display:flex;flex-direction:column;
    background:#fff;border:1px solid #f3f4f6;border-radius:.5rem;box-shadow:0 12px 28px -6px rgba(0,0,0,.14);
    opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:60}
  .dd-menu::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
  .nav-dd:hover .dd-menu,.nav-dd:focus-within .dd-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
  .nav-links .dd-menu a{padding:.65rem .8rem;border-radius:.375rem;font-size:.9rem;white-space:nowrap;color:var(--gray-900);transition:background .15s,color .15s}
  .nav-links .dd-menu a::after{display:none}
  .nav-links .dd-menu a:hover,.nav-links .dd-menu a:focus-visible{background:#f3f4f6;color:var(--brand-primary)}
  .mobile-menu nav a.sub{padding:.6rem 0 .6rem 1rem;font-family:var(--font-body);font-size:1rem;font-weight:400;color:var(--gray-600)}

  /* ================= Own deal maps (Natural Earth) ================= */
  .dm-sea{fill:#f7f9fc}
  .dm-land path{fill:#dde4ec;stroke:#fff;stroke-width:.8}
  .dm-land-hi path{fill:#bfd1e4;stroke:#fff;stroke-width:1}
  .dm-arc{fill:none;stroke:var(--brand-primary);stroke-width:2.2;stroke-linecap:round}
  .dm-arrow{fill:var(--brand-primary)}
  .dm-node{fill:var(--brand-dark);stroke:#fff;stroke-width:1.5}
  .dm-ring{fill:none;stroke:var(--brand-red);stroke-width:2}
  .dm-label{font-family:var(--font-body);paint-order:stroke;stroke:#fff;stroke-width:3.5px;stroke-linejoin:round}
  .dm-name{font-size:12.5px;font-weight:700;fill:var(--brand-dark)}
  .dm-city{font-size:10.5px;fill:#6b7280}
  .dmap-cap .dm-src{margin-left:auto;color:#9ca3af}
  .dmap-svg{border-radius:4px}
  /* overview map */
  .ov-wrap{margin-bottom:2rem}
  .ov-svg{display:block;width:100%;height:auto;border:1px solid #e5e7eb;border-radius:.5rem;background:#f7f9fc}
  .ov-arc{opacity:.5;stroke-width:1.8;transition:opacity .15s,stroke-width .15s}
  .ov-deal{cursor:pointer;transition:opacity .15s}
  .ov-label{opacity:0;transition:opacity .15s;pointer-events:none}
  .ov-svg.has-on .ov-deal:not(.on){opacity:.18}
  .ov-deal.on .ov-arc,.ov-deal:hover .ov-arc{opacity:1;stroke-width:3}
  .ov-deal.on .ov-label,.ov-deal:hover .ov-label{opacity:1}
  .ov-src{margin-top:.6rem;font-size:.75rem;color:#6b7280}
  .mp-list a.on{background:#f3f6fa}

  /* overview: world + Europe inset */
  .ov-eu-frame{fill:none;stroke:var(--brand-dark);stroke-width:1;stroke-dasharray:3 3;opacity:.55}
  .ov-connector{fill:none;stroke:#9aa8ba;stroke-width:.8;stroke-dasharray:3 3}
  .ov-inset{fill:#fff;stroke:#e2e8f0;stroke-width:1}
  .ov-inset-title{font-family:var(--font-body);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;fill:var(--brand-dark)}
  .ov-perm{opacity:1}

  /* overview: one deal at a time */
  .ov-dots circle{fill:var(--brand-dark);stroke:#fff;stroke-width:1.2;opacity:.7}
  .ov-svg .ov-deal .ov-arc{opacity:.1;stroke-width:1.6;transition:opacity .3s}
  .ov-svg.has-on .ov-deal:not(.on){opacity:1}
  .ov-head{fill:var(--brand-primary);opacity:0}
  .ov-end{fill:var(--brand-dark);stroke:#fff;stroke-width:1.5;opacity:0}
  .ov-ring{fill:none;stroke:var(--brand-red);stroke-width:2.2;opacity:0;transform-box:fill-box;transform-origin:center}
  .ov-svg .ov-deal.on .ov-arc{opacity:1;stroke-width:2.6;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:ovDraw 1.1s cubic-bezier(.32,.72,.32,1) forwards}
  .ov-deal.on .ov-end{opacity:1}
  .ov-deal.on .ov-head{animation:ovFade .2s ease-out 1s forwards}
  .ov-deal.on .ov-ring{animation:ovRing .45s cubic-bezier(.34,1.56,.64,1) 1.05s forwards}
  @keyframes ovDraw{to{stroke-dashoffset:0}}
  @keyframes ovFade{to{opacity:1}}
  @keyframes ovRing{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
  .ov-svg.ov-still .ov-deal .ov-arc{opacity:.45}
  .ov-svg.ov-still .ov-deal.on .ov-arc{animation:none;stroke-dashoffset:0;opacity:1}
  .ov-svg.ov-still .ov-deal.on .ov-head,.ov-svg.ov-still .ov-deal.on .ov-ring{animation:none;opacity:1}
  .mp-list a{transition:background .3s}

  /* 3D globe (three.js) in the homepage hero; the 2D dot globe stays as fallback */
  .hero-visual .g3d{position:absolute;inset:0}
  .hero-visual .desk .g3d{inset:auto;left:-70px;top:-40px;width:920px;height:920px}
  .hero-visual .g3d canvas{display:block;width:100%!important;height:100%!important}
  .hero-visual .g3d.g3d-on + canvas{display:none}
  @media (max-width:767px){.hero-visual .mob{width:100%}}
  @media (max-width:1280px){.hero-visual .desk .g3d{left:-60px;top:50px;width:720px;height:720px}}
  @media (max-width:767px){.hero-visual .mob{height:460px}}

  /* less white space under the hero (was a full screen height) */
  @media (min-width:768px){.hero{height:auto;min-height:820px}.ps-row.first{padding-top:110px}}
  @media (min-width:768px) and (max-width:1280px){.hero{min-height:740px}}
  @media (min-width:768px){.member.flip{grid-template-columns:minmax(0,1fr) 260px}.member.flip .photo{order:2}}
  /* team rows: same overall width, so both text blocks are equally wide and sit equally close to the photo */
  .team{max-width:1040px}
  .member .bio{max-width:none}

/* contact form: spam honeypot + send states */
#contactForm .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-fail{display:none;margin-top:1rem;padding:.75rem 1rem;border-radius:.5rem;background:#fef2f2;color:#991b1b;font-size:.9rem}
.form-fail a{color:inherit;text-decoration:underline}
#contactForm .submit:disabled{opacity:.7;cursor:progress}
.form-card.sent{display:flex;flex-direction:column;justify-content:center}
.form-card.sent .form-ok{padding:0}
.form-ok .h3{font-size:2rem;margin-bottom:.5rem}
