/* ==========================================================================
   BM PARTNERS — v3 (single-font, bilingual, carousel, framed deals)
   One typeface only: Codec Pro (light / regular / bold). Ink-navy field,
   warm bone type, emerald hairline accent. Client logos rendered as clean
   white marks (no plates, no white boxes).
   ========================================================================== */
@font-face{ font-family:'Codec Pro'; font-weight:300; font-style:normal; font-display:swap;
  src:url('fonts/CodecPro-Light.woff2') format('woff2'), url('fonts/CodecPro-Light.ttf') format('truetype'); }
@font-face{ font-family:'Codec Pro'; font-weight:400; font-style:normal; font-display:swap;
  src:url('fonts/CodecPro-Regular.woff2') format('woff2'), url('fonts/CodecPro-Regular.ttf') format('truetype'); }
@font-face{ font-family:'Codec Pro'; font-weight:700; font-style:normal; font-display:swap;
  src:url('fonts/CodecPro-Bold.woff2') format('woff2'), url('fonts/CodecPro-Bold.ttf') format('truetype'); }

:root{
  --ink:#0B1E2D; --ink-2:#081824; --ink-3:#0F2838;
  --bone:#EFE9DD; --bone-dim:#CDC6B8; --mist:#9DB0BC;
  --emerald:#00C6A2; --emerald-deep:#0A8F79;
  --line:rgba(239,233,221,.12); --line-strong:rgba(239,233,221,.22);
  --font:'Codec Pro', sans-serif;
  --maxw:1240px; --gut:48px; --ease:cubic-bezier(.19,1,.22,1);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--ink); color:var(--bone); font-family:var(--font);
  font-size:17px; line-height:1.6; font-weight:400; -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility; overflow-x:hidden; }
h1,h2,h3,h4{ margin:0; font-weight:700; line-height:1.04; letter-spacing:-.02em; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
img,svg{ display:block; max-width:100%; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input,textarea{ font:inherit; color:inherit; }
::selection{ background:var(--emerald); color:var(--ink); }
:focus-visible{ outline:2px solid var(--emerald); outline-offset:3px; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gut); }
@media (max-width:820px){ :root{ --gut:26px; } }
@media (max-width:520px){ :root{ --gut:20px; } }
.section{ padding:128px 0; position:relative; }
@media (max-width:820px){ .section{ padding:88px 0; } }
@media (max-width:520px){ .section{ padding:60px 0; } }
[id]{ scroll-margin-top:96px; }

/* Eyebrow — now single-font: light weight, wide tracking, uppercase */
.eyebrow{ font-weight:300; font-size:.8rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--emerald); display:inline-flex; align-items:center; gap:14px; margin-bottom:26px; }
.eyebrow::before{ content:''; width:34px; height:1px; background:var(--emerald); display:block; }

.s-head{ max-width:760px; margin-bottom:72px; }
.s-head h2{ font-size:clamp(2rem,4.4vw,3.4rem); letter-spacing:-.03em; }
.s-head p{ color:var(--mist); font-size:1.12rem; margin-top:22px; max-width:560px; font-weight:300; }
.lead{ color:var(--mist); font-weight:300; }
h1 .serif, h2 .serif, .serif{ font-weight:300; font-style:normal; color:var(--emerald); }

/* Buttons */
.btn{ display:inline-flex; align-items:center; gap:12px; padding:16px 30px; font-size:.9rem;
  font-weight:700; letter-spacing:.02em; border-radius:2px; transition:all .4s var(--ease); white-space:nowrap; }
.btn svg{ width:15px; height:15px; transition:transform .4s var(--ease); }
.btn-primary{ background:var(--emerald); color:var(--ink); }
.btn-primary:hover{ background:var(--bone); }
.btn-primary:hover svg{ transform:translateX(5px); }
.btn-line{ border:1px solid var(--line-strong); color:var(--bone); }
.btn-line:hover{ border-color:var(--bone); }
.btn-line:hover svg{ transform:translateX(5px); }
.link-ul{ display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:.9rem;
  color:var(--bone); padding-bottom:3px; border-bottom:1px solid var(--emerald);
  transition:gap .3s var(--ease), color .3s; letter-spacing:.02em; }
.link-ul svg{ width:14px; height:14px; }
.link-ul:hover{ gap:16px; color:var(--emerald); }

/* ---- Logo mark: white-out, no plate, no background ---- */
.logo-mark{ height:100%; width:auto; max-width:100%; object-fit:contain;
  filter:brightness(0) invert(1); opacity:.9; transition:opacity .35s var(--ease); }

/* ==========================================================================
   HEADER — with language switch
   ========================================================================== */
.hdr{ position:fixed; inset:0 0 auto 0; z-index:100; padding:26px 0;
  transition:padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent; }
.hdr.small{ padding:15px 0; background:rgba(8,24,36,.8); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px); border-bottom-color:var(--line); }
.hdr .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand img{ height:26px; width:auto; transition:height .4s var(--ease); }
.hdr.small .brand img{ height:22px; }
.nav{ display:flex; align-items:center; gap:38px; margin-left:auto; }
.nav a{ font-size:.9rem; color:var(--bone-dim); position:relative; padding:6px 0; transition:color .3s; }
.nav a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--emerald); transition:width .35s var(--ease); }
.nav a:hover{ color:var(--bone); } .nav a:hover::after,.nav a.on::after{ width:100%; } .nav a.on{ color:var(--bone); }

.hdr-r{ display:flex; align-items:center; gap:22px; }
/* language switch */
.lang{ display:flex; align-items:center; gap:7px; font-size:.82rem; font-weight:700; letter-spacing:.04em;
  color:var(--bone-dim); border:1px solid var(--line-strong); border-radius:2px; padding:8px 12px; transition:.3s; }
.lang:hover{ border-color:var(--emerald); color:var(--bone); }
.lang .glb{ width:14px; height:14px; }
.lang .cur{ color:var(--emerald); }

.burger{ display:none; flex-direction:column; gap:5px; width:26px; z-index:120; }
.burger span{ height:1.5px; background:var(--bone); border-radius:2px; transition:.35s var(--ease); }
.burger.x span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.burger.x span:nth-child(2){ opacity:0; }
.burger.x span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }
.msheet{ position:fixed; inset:0; z-index:110; background:var(--ink-2);
  display:flex; flex-direction:column; justify-content:center; gap:4px; padding:0 var(--gut);
  transform:translateY(-101%); transition:transform .55s var(--ease); }
.msheet.open{ transform:translateY(0); }
.msheet a{ font-size:2rem; font-weight:700; letter-spacing:-.02em; padding:11px 0; color:var(--bone); }
.msheet a.on{ color:var(--emerald); }
.msheet .m-lang{ margin-top:22px; font-size:1rem; font-weight:700; color:var(--bone-dim); letter-spacing:.04em; }
.msheet .btn{ margin-top:18px; align-self:flex-start; }
@media (max-width:980px){ .nav{ display:none; } .burger{ display:flex; } .hdr-r .btn{ display:none; } .hdr-r .lang{ display:none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ padding:210px 0 110px; position:relative; overflow:hidden;
  background:
    radial-gradient(1150px 760px at 82% 4%, rgba(0,198,162,.13), transparent 58%),
    radial-gradient(820px 620px at 6% 108%, rgba(10,143,121,.10), transparent 55%),
    linear-gradient(180deg, #0D2536 0%, var(--ink) 58%); }
.hero::before{ content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:66px 66px;
  -webkit-mask-image:radial-gradient(circle at 68% 26%, #000, transparent 72%);
  mask-image:radial-gradient(circle at 68% 26%, #000, transparent 72%); opacity:.7; }
.hero::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:160px; pointer-events:none; z-index:0;
  background:linear-gradient(180deg, transparent, rgba(8,24,36,.65)); }
.hero-inner{ position:relative; z-index:1; }
.scroll-cue{ position:absolute; left:var(--gut); bottom:38px; z-index:1; display:flex; align-items:center; gap:12px;
  color:var(--mist); font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; font-weight:300; opacity:0; }
.hero.in .scroll-cue{ opacity:1; transition:opacity 1s ease .8s; }
.scroll-cue .mouse{ width:22px; height:34px; border:1px solid var(--line-strong); border-radius:12px; position:relative; }
.scroll-cue .mouse::after{ content:''; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:2px;
  background:var(--emerald); transform:translateX(-50%); animation:scrolldot 1.7s var(--ease) infinite; }
@keyframes scrolldot{ 0%{ opacity:0; transform:translate(-50%,-3px); } 30%{ opacity:1; } 70%{ opacity:1; } 100%{ opacity:0; transform:translate(-50%,9px); } }
@media (max-width:820px){ .scroll-cue{ display:none; } }
.hero h1{ font-size:clamp(2.9rem,8vw,6.6rem); letter-spacing:-.035em; line-height:.98; max-width:16ch; }
.hero-sub{ margin-top:38px; max-width:560px; font-size:1.18rem; color:var(--mist); font-weight:300; }
.hero-cta{ margin-top:46px; display:flex; gap:16px; flex-wrap:wrap; }
.reveal-line{ display:block; overflow:hidden; }
.reveal-line > span{ display:block; transform:translateY(102%); }
.hero.in .reveal-line > span{ transform:translateY(0); transition:transform 1s var(--ease); }
.hero.in .reveal-line:nth-child(2) > span{ transition-delay:.09s; }

.stat-rail{ margin-top:92px; padding-top:40px; border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(2,1fr); gap:40px; max-width:680px; }
.stat .n{ font-size:clamp(2.6rem,5.2vw,3.8rem); font-weight:700; letter-spacing:-.03em;
  color:var(--bone); display:flex; align-items:baseline; gap:8px; line-height:1; }
.stat .n .plus{ color:var(--emerald); font-weight:300; }
.stat .n .u{ font-size:1.3rem; color:var(--emerald); font-weight:300; }
.stat .k{ margin-top:16px; font-size:.92rem; color:var(--mist); font-weight:300; max-width:24ch; }
@media (max-width:620px){ .stat-rail{ grid-template-columns:1fr; gap:30px; } }

/* ==========================================================================
   CREED
   ========================================================================== */
.creed{ background:var(--ink-2); }
.creed-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:end; }
.creed .big{ font-size:clamp(1.7rem,3.6vw,2.9rem); font-weight:300; letter-spacing:-.02em; line-height:1.28; max-width:20ch; }
.creed .big .serif{ font-weight:700; color:var(--bone); }
.creed-note{ color:var(--mist); font-size:1rem; max-width:34ch; font-weight:300; }
.creed-note .link-ul{ margin-top:22px; }
@media (max-width:820px){ .creed-grid{ grid-template-columns:1fr; gap:40px; } }

/* ==========================================================================
   DEALS — home carousel
   ========================================================================== */
.carousel{ position:relative; }
.carousel-track{ display:flex; gap:2px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; -ms-overflow-style:none; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar{ display:none; }
.deal-card{ flex:0 0 calc((100% - 4px)/3); scroll-snap-align:start; min-width:0; }
.deal-card.frame{ background:var(--ink-3); border:1px solid var(--line); }
.deal-card.frame:hover{ background:#12303f; }
@media (max-width:900px){ .deal-card{ flex-basis:calc((100% - 2px)/2); } }
@media (max-width:600px){ .deal-card{ flex-basis:88%; } }

.carousel-nav{ display:flex; gap:10px; margin-top:32px; align-items:center; justify-content:flex-end; }
.cbtn{ width:52px; height:52px; border:1px solid var(--line-strong); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--bone); transition:.3s; }
.cbtn:hover{ border-color:var(--emerald); color:var(--emerald); }
.cbtn svg{ width:18px; height:18px; }
.cbtn[disabled]{ opacity:.3; pointer-events:none; }
.carousel-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:32px; gap:20px; flex-wrap:wrap; }

/* ==========================================================================
   DEALS — framed grid (deals page, mirrors official framed tombstones)
   ========================================================================== */
.frame-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.frame{ background:var(--ink); padding:40px 32px; display:flex; flex-direction:column; align-items:center;
  text-align:center; min-height:360px; transition:background .35s; position:relative; }
.frame:hover{ background:var(--ink-3); }
.frame .f-role{ font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--emerald); margin-bottom:6px; }
.frame .f-sector{ font-size:.68rem; font-weight:300; letter-spacing:.1em; text-transform:uppercase; color:var(--mist); margin-bottom:30px; }
.frame .f-advised{ font-size:.88rem; font-weight:300; color:var(--mist); margin:14px 0; }
.frame .f-logo{ height:58px; display:flex; align-items:center; justify-content:center; margin:9px 0; }
.frame .f-logo img{ max-height:58px; max-width:172px; object-fit:contain; }
.frame .f-desc{ margin-top:18px; font-size:.86rem; font-weight:300; line-height:1.55; color:var(--bone-dim); }
.frame .f-val{ margin-top:auto; padding-top:22px; font-size:.78rem; font-weight:700; letter-spacing:.05em; color:var(--bone); }
.frame .f-val .lbl{ color:var(--mist); font-weight:300; }
@media (max-width:900px){ .frame-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .frame-grid{ grid-template-columns:1fr; } }

/* Deals page — separated white cards: rounded, soft shadow, colored category pill
   + gray sector pill, colored logos, divider footer. (keeps grid-template-columns
   + media queries from the base rule above; only overrides look) */
.frame-grid{ gap:22px; background:transparent; border:none; }
.frame-grid .frame{ background:#fff; border:1px solid #e9edf1; border-radius:16px;
  padding:26px 26px 22px; align-items:stretch; text-align:left; min-height:0;
  box-shadow:0 4px 18px rgba(8,24,36,.09); transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.frame-grid .frame:hover{ background:#fff; transform:translateY(-5px); box-shadow:0 16px 36px rgba(8,24,36,.17); }

/* badges row */
.frame-grid .f-tags{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:24px; }
.frame-grid .f-role{ margin:0; padding:6px 13px; border-radius:7px; background:#0B1E2D; color:#fff;
  font-size:.63rem; font-weight:700; letter-spacing:.1em; }
.frame-grid .frame[data-cat="captacao"] .f-role{ background:var(--emerald-deep); }
.frame-grid .frame[data-cat="credito"] .f-role{ background:#1f5a8c; }
.frame-grid .frame[data-cat="realestate"] .f-role{ background:#b8862b; }
.frame-grid .f-sector{ margin:0; padding:6px 13px; border-radius:7px; background:#eef1f4; color:#5c6b78;
  font-size:.63rem; font-weight:600; letter-spacing:.06em; }

/* logos grouped in a block that grows and vertically centers them in the card;
   single-logo deals (capital raises) sit centered, two-logo deals (seller → buyer) stay paired */
.frame-grid .f-media{ flex:1 1 auto; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:4px; margin:12px 0 18px; }
/* single-logo deals (captação/real estate) get a larger, more prominent mark */
.frame-grid .f-media .f-logo:only-child{ height:auto; }
.frame-grid .f-media .f-logo:only-child img{ max-height:120px; max-width:220px; }
.frame-grid .f-advised{ text-align:center; color:var(--emerald-deep); margin:6px 0; }
.frame-grid .f-desc{ color:#283949; text-align:left; }
/* divider footer with the value */
.frame-grid .f-val{ margin-top:auto; padding-top:18px; border-top:1px solid #e9edf1; color:#0B1E2D; text-align:left; }
.frame-grid .f-val .lbl{ color:var(--emerald-deep); }

/* ==========================================================================
   CAPABILITIES / SERVICES — with b&w finance image alongside
   ========================================================================== */
.caps{ background:var(--ink-2); }
.svc{ display:grid; grid-template-columns:.9fr 1.2fr; gap:80px; align-items:center;
  padding:0; border-top:1px solid var(--line); }
.svc:first-child{ border-top:0; }
.svc-body{ padding:104px 0; }
.svc-body .num{ font-size:1.05rem; font-weight:300; color:var(--emerald); letter-spacing:.1em; margin-bottom:24px; }
.svc-body h3{ font-size:clamp(1.9rem,3vw,2.5rem); letter-spacing:-.02em; margin-bottom:24px; }
.svc-body p{ color:var(--mist); font-size:1.1rem; font-weight:300; line-height:1.72; max-width:48ch; }
.svc-img{ height:560px; margin:56px 0; position:relative; overflow:hidden; border-radius:16px; background:var(--ink-3); }
.svc-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(1) contrast(1.05); transition:transform .7s var(--ease); }
.svc-img::after{ content:''; position:absolute; inset:0; background:linear-gradient(160deg, rgba(11,30,45,.15), rgba(8,24,36,.45)); pointer-events:none; }
.svc:hover .svc-img img{ transform:scale(1.04); }
.svc:nth-child(even) .svc-body{ order:2; }
.svc:nth-child(even) .svc-img{ order:1; }
@media (max-width:960px){ .svc{ gap:56px; } .svc-body{ padding:80px 0; } .svc-img{ height:460px; } }
@media (max-width:820px){
  .svc{ grid-template-columns:1fr; gap:0; }
  .svc-body{ padding:40px 0 24px; order:2 !important; }
  .svc-img{ order:1 !important; height:360px; margin:48px 0 0; }
}

/* compact services index (home) */
.cap{ display:grid; grid-template-columns:76px 300px 1fr; gap:40px; align-items:start;
  padding:44px 0; border-top:1px solid var(--line); transition:padding-left .4s var(--ease); }
.caps .cap:last-child{ border-bottom:1px solid var(--line); }
.cap .num{ font-size:1rem; font-weight:300; color:var(--emerald); letter-spacing:.08em; }
.cap h3{ font-size:1.35rem; letter-spacing:-.02em; }
.cap p{ color:var(--mist); font-size:1rem; font-weight:300; }
.cap:hover{ padding-left:14px; }
@media (max-width:820px){ .cap{ grid-template-columns:1fr; gap:12px; padding:32px 0; } }

/* ==========================================================================
   TEAM — smaller, full-body friendly cards
   ========================================================================== */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-grid.home{ grid-template-columns:repeat(2,1fr); max-width:660px; gap:32px; }
.team-grid.home .tmeta h3{ font-size:1.12rem; }
.team-grid.home .tmeta .role{ font-size:.9rem; }
.tcard{ cursor:pointer; display:flex; flex-direction:column; }
.tcard.flat{ cursor:default; }
.tphoto{ aspect-ratio:3/4; overflow:hidden; background:#071019; border:1px solid var(--line); }
.tphoto img{ width:100%; height:100%; object-fit:cover; object-position:top center;
  filter:grayscale(1) contrast(1.02); transition:filter .5s var(--ease), transform .8s var(--ease); }
.tcard:hover .tphoto img{ filter:grayscale(0); transform:scale(1.02); }
.tmeta{ padding:18px 2px 0; }
.tmeta h3{ font-size:.98rem; letter-spacing:-.01em; }
.tmeta .role{ color:var(--emerald); font-size:.82rem; font-weight:300; margin-top:4px; letter-spacing:.02em; }
.tmeta .more{ margin-top:12px; font-size:.78rem; font-weight:700; color:var(--mist); display:inline-flex; align-items:center; gap:7px; transition:gap .3s, color .3s; letter-spacing:.03em; }
.tcard:hover .tmeta .more{ gap:11px; color:var(--bone); }
.tmeta .more svg{ width:12px; height:12px; }
@media (max-width:900px){ .team-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:620px){ .team-grid{ grid-template-columns:repeat(2,1fr); } .team-grid.home{ grid-template-columns:repeat(2,1fr); } }

/* modal */
.modal-bg{ position:fixed; inset:0; z-index:200; background:rgba(6,17,25,.86);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition:opacity .35s var(--ease); }
.modal-bg.open{ opacity:1; pointer-events:auto; }
.modal{ background:var(--ink-2); border:1px solid var(--line-strong); max-width:860px; width:100%;
  max-height:88vh; overflow-y:auto; display:grid; grid-template-columns:320px 1fr; align-items:stretch;
  transform:translateY(18px) scale(.99); transition:transform .4s var(--ease); }
.modal-bg.open .modal{ transform:translateY(0) scale(1); }
.modal-photo{ background:#0d2230; position:relative; min-height:100%; }
.modal-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.modal-body{ padding:46px 46px 46px 40px; position:relative; }
.modal-x{ position:absolute; top:20px; right:20px; width:36px; height:36px; border:1px solid var(--line-strong);
  border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--mist); transition:.25s; }
.modal-x:hover{ border-color:var(--emerald); color:var(--emerald); transform:rotate(90deg); }
.modal-body h3{ font-size:1.5rem; padding-right:44px; letter-spacing:-.02em; }
.modal-body .role{ color:var(--emerald); font-weight:300; margin-top:8px; letter-spacing:.02em; }
.modal-li{ display:inline-flex; align-items:center; gap:8px; margin-top:18px; font-size:.85rem; font-weight:700; color:var(--mist); letter-spacing:.03em; }
.modal-li:hover{ color:var(--emerald); }
.modal-li svg{ width:15px; height:15px; }
.modal-body p{ color:var(--bone-dim); font-size:.94rem; font-weight:300; margin-top:16px; line-height:1.72; }
@media (max-width:680px){ .modal{ grid-template-columns:1fr; }
  .modal-photo{ min-height:0; height:auto; }
  .modal-photo img{ position:static; width:100%; height:auto; aspect-ratio:4/3; object-position:center 25%; }
  .modal-body{ padding:30px 26px; } }

/* ==========================================================================
   PRESS
   ========================================================================== */
.press-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.pcard{ background:var(--ink-3); border:1px solid var(--line); border-radius:14px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.pcard:hover{ transform:translateY(-5px); border-color:var(--line-strong); box-shadow:0 16px 34px rgba(0,0,0,.24); }
.pcard a{ display:flex; flex-direction:column; height:100%; padding:26px 26px 24px; gap:22px; }
.psource{ align-self:flex-start; background:#fff; border-radius:9px; height:54px; min-width:112px; max-width:180px;
  padding:10px 18px; display:inline-flex; align-items:center; justify-content:center; }
.psource img{ max-height:100%; max-width:100%; object-fit:contain; }
.ptitle{ font-size:1.05rem; line-height:1.44; color:var(--bone); flex:1; letter-spacing:-.01em; font-weight:400; transition:color .3s; }
.pcard:hover .ptitle{ color:#fff; }
.pread{ display:inline-flex; align-items:center; gap:8px; color:var(--mist); font-size:.78rem; font-weight:300;
  letter-spacing:.05em; text-transform:uppercase; transition:color .3s, gap .3s; }
.pcard:hover .pread{ color:var(--emerald); gap:12px; }
.pread svg{ width:13px; height:13px; }
@media (max-width:900px){ .press-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .press-grid{ grid-template-columns:1fr; } }

/* home — monochrome press logo strip (transparent, no color) */
.press-logos{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:40px 58px; padding:14px 0; }
.press-logos img{ height:32px; max-width:150px; width:auto; object-fit:contain; opacity:.48; transition:opacity .35s var(--ease); }
.press-logos img:hover{ opacity:.92; }
@media (max-width:560px){ .press-logos{ gap:30px 40px; } .press-logos img{ height:26px; max-width:118px; } }

/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.phero{ padding:180px 0 88px; border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.phero::before{ content:''; position:absolute; top:-30%; right:-8%; width:640px; height:640px;
  background:radial-gradient(circle, rgba(0,198,162,.09), transparent 62%); pointer-events:none; }
.crumb{ font-size:.82rem; font-weight:300; letter-spacing:.08em; text-transform:uppercase; color:var(--mist); margin-bottom:26px; }
.crumb a{ color:var(--bone-dim); } .crumb a:hover{ color:var(--emerald); }
.phero h1{ font-size:clamp(2.4rem,6vw,4.6rem); letter-spacing:-.03em; }
.phero .lead{ margin-top:24px; font-size:1.15rem; max-width:620px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{ background:linear-gradient(160deg, var(--ink-3), var(--ink-2)); text-align:center; }
.cta h2{ font-size:clamp(2rem,5vw,3.4rem); letter-spacing:-.03em; max-width:20ch; margin:0 auto; }
.cta p{ color:var(--mist); font-weight:300; margin:22px auto 0; max-width:44ch; }
.cta .btn{ margin-top:40px; }
.cta .mail{ display:block; margin-top:26px; font-weight:300; color:var(--mist); letter-spacing:.02em; }
.cta .mail:hover{ color:var(--emerald); }

/* ==========================================================================
   CONTACT — offices with building image + flag
   ========================================================================== */
.offices{ display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-bottom:70px; }
.office a.office-img{ display:block; height:440px; overflow:hidden; background:var(--ink-3); border:1px solid var(--line); position:relative; }
.office a.office-img img, .office a.office-img svg{ width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .6s var(--ease); }
.office a.office-img::after{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(8,24,36,.5), transparent 42%); pointer-events:none; }
.office a.office-img:hover img, .office a.office-img:hover svg{ transform:scale(1.04); }
.office a.office-img .pin{ position:absolute; right:16px; bottom:16px; z-index:2; background:rgba(8,24,36,.85); border:1px solid var(--line-strong);
  border-radius:2px; padding:8px 13px; font-size:.74rem; font-weight:700; letter-spacing:.06em; color:var(--bone); display:flex; align-items:center; gap:6px; }
.office-head{ display:flex; align-items:center; gap:12px; margin-top:24px; }
.office-head .flag{ font-size:1.4rem; line-height:1; }
.office-head h3{ font-size:1.4rem; letter-spacing:-.01em; }
.office-head .country{ font-size:.82rem; font-weight:300; color:var(--mist); letter-spacing:.04em; }
.office .bldg{ margin-top:8px; font-size:.95rem; font-weight:300; color:var(--emerald); letter-spacing:.02em; }
.office .addr{ margin-top:12px; }
.office .addr a{ color:var(--mist); font-size:.94rem; font-weight:300; line-height:1.55; }
.office .addr a:hover{ color:var(--emerald); }
@media (max-width:760px){ .offices{ grid-template-columns:1fr; gap:44px; } .office a.office-img{ height:340px; } }

.contact-form-band{ background:var(--ink-2); }
.cform-grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.cform-intro .eyebrow{ margin-bottom:20px; }
.cform-intro h2{ font-size:clamp(1.7rem,3vw,2.4rem); letter-spacing:-.02em; }
.cform-intro p{ color:var(--mist); font-weight:300; margin-top:18px; max-width:34ch; }
.cform-intro .cmail{ display:inline-flex; align-items:center; gap:10px; margin-top:26px; color:var(--bone-dim); font-weight:300; }
.cform-intro .cmail:hover{ color:var(--emerald); } .cform-intro .cmail svg{ width:18px; height:18px; color:var(--emerald); }
.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.field{ display:flex; flex-direction:column; gap:9px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:.78rem; font-weight:300; letter-spacing:.06em; text-transform:uppercase; color:var(--mist); }
.field input,.field textarea{ background:transparent; border:0; border-bottom:1px solid var(--line-strong);
  padding:11px 2px; color:var(--bone); transition:border-color .3s; }
.field input:focus,.field textarea:focus{ border-bottom-color:var(--emerald); }
.field textarea{ resize:vertical; min-height:90px; }
.form-ok{ display:none; padding:30px; border:1px solid var(--emerald); background:rgba(0,198,162,.06); color:var(--bone); margin-top:8px; }
.form-ok.show{ display:block; }
form.hide{ display:none; }
@media (max-width:820px){ .cform-grid{ grid-template-columns:1fr; gap:44px; } }
@media (max-width:520px){ .fgrid{ grid-template-columns:1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot{ background:var(--ink-2); padding:96px 0 34px; border-top:1px solid var(--line); }
.foot-top{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:50px; padding-bottom:60px; border-bottom:1px solid var(--line); }
.foot-brand img{ height:30px; margin-bottom:22px; }
.foot-brand p{ color:var(--mist); font-size:.95rem; font-weight:300; max-width:30ch; }
.foot-brand .soc{ display:flex; gap:12px; margin-top:24px; }
.foot-brand .soc a{ width:38px; height:38px; border:1px solid var(--line-strong); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:.3s; }
.foot-brand .soc a:hover{ border-color:var(--emerald); color:var(--emerald); }
.foot-brand .soc svg{ width:16px; height:16px; }
.fcol h4{ font-size:.78rem; font-weight:300; letter-spacing:.14em; text-transform:uppercase; color:var(--mist); margin-bottom:20px; }
.fcol ul{ display:flex; flex-direction:column; gap:13px; }
.fcol a{ color:var(--bone-dim); font-size:.95rem; font-weight:300; transition:color .25s; }
.fcol li{ color:var(--bone-dim); font-size:.95rem; font-weight:300; }
.fcol a:hover{ color:var(--emerald); }
.foot-bot{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:14px; }
.foot-bot p{ font-size:.82rem; color:rgba(239,233,221,.4); font-weight:300; }
.foot-bot a{ font-size:.82rem; color:rgba(239,233,221,.4); font-weight:300; }
.foot-bot a:hover{ color:var(--emerald); }
@media (max-width:900px){ .foot-top{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width:520px){ .foot-top{ grid-template-columns:1fr; } .foot-bot{ flex-direction:column; align-items:flex-start; } }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.rv{ transition:opacity .9s var(--ease), transform .9s var(--ease); }
.js-rv .rv{ opacity:0; transform:translateY(30px); }
.rv.seen{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){
  .rv{ opacity:1 !important; transform:none !important; transition:none !important; }
  .hero .reveal-line > span{ transform:none !important; }
  html{ scroll-behavior:auto; }
}
.press-grid .fill{ background:var(--ink-3); }

/* ==========================================================================
   DEALS FILTER
   ========================================================================== */
.deal-filter{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:38px; }
.deal-filter button{ padding:9px 20px; border:1px solid var(--line-strong); border-radius:40px;
  background:transparent; color:var(--mist); font-family:inherit; font-size:.82rem; font-weight:300;
  letter-spacing:.02em; cursor:pointer; transition:color .3s, border-color .3s, background .3s; }
.deal-filter button:hover{ color:var(--bone); border-color:var(--bone-dim); }
.deal-filter button.on{ background:var(--emerald); border-color:var(--emerald); color:var(--ink); font-weight:700; }

/* ==========================================================================
   MICRO-INTERACTIONS
   ========================================================================== */
.tcard{ transition:transform .4s var(--ease); }
.tcard:hover{ transform:translateY(-5px); }
@media (prefers-reduced-motion:reduce){
  .tcard, .pcard, .frame .f-logo{ transition:none !important; }
  .tcard:hover, .pcard:hover, .frame:hover .f-logo{ transform:none !important; }
  .scroll-cue .mouse::after{ animation:none !important; }
}

/* ==========================================================================
   CAREERS
   ========================================================================== */
.values-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background:var(--line); border:1px solid var(--line); margin-top:26px; }
.value{ background:var(--ink); padding:46px 42px; transition:background .35s; }
.value:hover{ background:var(--ink-3); }
.value-num{ color:var(--emerald); font-size:1rem; font-weight:300; letter-spacing:.1em; margin-bottom:20px; }
.value h3{ font-size:1.3rem; letter-spacing:-.01em; margin-bottom:14px; line-height:1.25; }
.value p{ color:var(--mist); font-weight:300; line-height:1.62; font-size:.98rem; }
.careers-cta{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:26px; }
.cc-card{ background:var(--ink-3); border:1px solid var(--line); border-radius:16px; padding:46px 42px;
  display:flex; flex-direction:column; align-items:flex-start; transition:border-color .35s, transform .4s var(--ease); }
.cc-card:hover{ border-color:var(--line-strong); transform:translateY(-4px); }
.cc-card .eyebrow{ margin-bottom:18px; }
.cc-card h3{ font-size:1.5rem; letter-spacing:-.01em; margin-bottom:14px; }
.cc-card p{ color:var(--mist); font-weight:300; line-height:1.62; margin-bottom:30px; flex:1; }
.cc-card .cmail{ display:inline-flex; align-items:center; gap:10px; color:var(--bone-dim); font-weight:300; word-break:break-all; }
.cc-card .cmail:hover{ color:var(--emerald); }
.cc-card .cmail svg{ width:18px; height:18px; color:var(--emerald); flex:0 0 auto; }
@media (max-width:760px){ .values-grid{ grid-template-columns:1fr; } .careers-cta{ grid-template-columns:1fr; } }
