/* Opportunity Engine on chivvy.co.uk: the product's own look (white ground, charcoal ink, amber,
   Manrope headings, Inter body). Shared by the whole /opportunity-engine/ section; everything is
   scoped under .oe. The hub's own parts are at the end; the other pages' parts are in oe-section.css. */
.oe{--ink:#1c1917;--ink2:#44403c;--muted:#6b6b6b;--line:#e7e7e4;--paper:#ffffff;--soft:#f7f7f5;--card:#ffffff;
  --amb:#c2610c;--amb-br:#f59e0b;--amb-lt:#fdf1e2;--ok:#3f7d4e;--ok-lt:#e6f1e8;--law:#5a4a8c;--law-lt:#ece8f6;--grey-lt:#eef0f2;
  background:var(--paper);color:var(--ink);font:400 17px/1.65 'Inter',system-ui,sans-serif;overflow-x:clip}
.oe img{max-width:100%;height:auto;display:block}
.oe h1,.oe h2,.oe h3{font-family:'Manrope','Inter',sans-serif;font-weight:800;letter-spacing:-.03em;line-height:1.08;margin:0 0 .45em;color:var(--ink)}
.oe h1{font-size:clamp(2.4rem,5vw,4.3rem)}
.oe h2{font-size:clamp(1.8rem,3vw,2.6rem)}
.oe h3{font-size:1.12rem;letter-spacing:-.01em;line-height:1.3}
.oe p{margin:0 0 1em;color:var(--ink2)}
.oe .w{max-width:1200px;margin:0 auto;padding:0 24px}
.oe .tag{display:inline-flex;align-items:center;gap:8px;font:700 12px/1.3 'Inter';letter-spacing:.08em;text-transform:uppercase;color:var(--amb);margin-bottom:18px}
.oe .tag i{width:8px;height:8px;border-radius:50%;background:var(--amb-br);display:inline-block;flex:none}
.oe .lede{font-size:1.15rem;max-width:34rem}
.oe .btn{display:inline-flex;align-items:center;gap:8px;padding:14px 22px;border-radius:10px;background:var(--ink);color:#fff;
  font:700 15px/1 'Inter';text-decoration:none;border:0;cursor:pointer}
.oe .btn:hover{background:#000}
.oe .btn.amb{background:var(--amb)}
.oe .btn.amb:hover{background:#a8520a}
.oe .btn.line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.oe .btn.line:hover{background:var(--ink);color:#fff}
.oe .who{display:inline-block;font:700 12px/1 'Inter';padding:6px 10px;border-radius:6px;white-space:nowrap}
.oe .who.firm{background:var(--grey-lt);color:var(--ink2)}
.oe .who.fa{background:var(--ok-lt);color:var(--ok)}
.oe .who.law{background:var(--law-lt);color:var(--law)}
.oe .who.fund{background:var(--amb-lt);color:var(--amb)}
.oe .note{font:600 12.5px/1.4 'Inter';color:var(--muted);margin:12px 0 0}

/* app window round a real screen */
.oe .app{margin:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 40px 80px -34px rgba(28,25,23,.32);overflow:hidden}
.oe .bar{display:flex;align-items:center;gap:8px;padding:11px 16px;border-bottom:1px solid var(--line);background:#f8f8f7}
.oe .bar span{width:10px;height:10px;border-radius:50%;background:#dcdcd8;flex:none}
.oe .bar b{margin-left:10px;font:600 12.5px/1.2 'Inter';color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oe .app img{width:100%}

/* hub: headline left, the overview screen running off the right edge */
.oe .open{padding:64px 0 96px;background:linear-gradient(180deg,#fffaf3 0,#fff 70%)}
.oe .open .w{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.oe .acts{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0}
.oe .open .app.bleed{margin-right:-180px}

/* hub: one opportunity with numbered pins on the real screen */
.oe .anatomy{background:var(--soft);padding:100px 0}
.oe .anatomy .w{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:64px;align-items:start}
.oe .pinned{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -34px rgba(28,25,23,.3)}
.oe .pin{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--amb);color:#fff;
  font:800 14px/1 'Manrope';box-shadow:0 0 0 4px rgba(194,97,12,.18);flex:none}
.oe .pinned .pin{position:absolute;transform:translate(-50%,-50%)}
.oe .pinnotes{position:sticky;top:150px}
.oe .pinnotes ol{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:22px}
.oe .pinnotes li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:16px;align-items:start}
.oe .pinnotes h3{margin:3px 0 4px}
.oe .pinnotes p{margin:0;font-size:15.5px}

/* hub: the rest of the section, two by two */
.oe .map{padding:100px 0 40px}
.oe .mapg{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}
.oe .mapc{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;padding:28px;text-decoration:none;color:inherit;background:#fff;transition:border-color .15s,box-shadow .15s}
.oe .mapc:hover{border-color:var(--amb);box-shadow:0 20px 40px -30px rgba(194,97,12,.5)}
.oe .mapc h3{font-size:1.35rem}
.oe .mapc .chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 20px}
.oe .mapc .chips span{font:600 12.5px/1 'Inter';color:var(--ink2);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:7px 10px}
.oe .mapc .chips span.who{border:0;border-radius:6px}
.oe .mapc b{margin-top:auto;font:700 14.5px/1 'Inter';color:var(--amb)}

/* the enquiry form, closing every page */
.oe .join{padding:96px 0 110px}
.oe .join .w{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:start}
.oe .join form{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:28px;display:grid;gap:12px}
.oe .join input{font:400 15px/1.3 'Inter';padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);width:100%;box-sizing:border-box}
.oe .join .hidden{display:none}
.oe .join form .btn{justify-self:start}
.oe .join h2{margin-bottom:24px}

@media (max-width:980px){
  .oe .open .w,.oe .anatomy .w,.oe .join .w{grid-template-columns:1fr;gap:36px}
  .oe .open .app.bleed{margin-right:0}
  .oe .open,.oe .anatomy,.oe .join{padding:56px 0}
  .oe .pinnotes{position:static}
  .oe .pinned .pin{width:22px;height:22px;font-size:11px;box-shadow:0 0 0 3px rgba(194,97,12,.18)}
  .oe .mapg{grid-template-columns:1fr}
  .oe .map{padding:56px 0 8px}
}
.oe section{border-bottom:0}
