/* Imagine Monkey Studio Folio: R2B homepage creative-direction refinement (v0.3.78).
   Opt-in ONLY when page JSON contains .im-home-r2. Does not style other pages,
   shared header/footer, or change the Portfolio/Contact plugins' behavior. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2{--im2-ink:#102e4b;--im2-deep:#0b2b48;--im2-blue:#0b6ec5;--im2-bright:#117ddd;--im2-ice:#eaf4fc;--im2-copy:#425f79;--im2-rule:#c9dce9;color:var(--im2-ink)}
:is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 .im2-section{max-width:none!important;margin:0!important;padding:clamp(64px,7vw,108px) clamp(20px,4.6vw,75px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-section>.im-inner{width:100%;max-width:var(--im-wide,1240px);margin:0 auto!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .wp-block-group{box-sizing:border-box}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(.im2-hero-grid,.im2-board-main,.im2-intro,.im2-services-grid,.im2-personal-story,.im2-quality-grid,.im2-work-proof,.im2-contact-intro)>*{min-width:0;margin-top:0!important;margin-bottom:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-eyebrow{display:flex;align-items:center;gap:11px;font:800 11px/1.55 system-ui,sans-serif!important;letter-spacing:.145em;color:#326487!important;margin:0 0 18px!important;text-transform:uppercase}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-eyebrow::before{content:"";display:block;width:22px;height:2px;flex:0 0 22px;background:linear-gradient(90deg,#1891ee,#ff9e55)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h2.im2-title{font:400 clamp(39px,4.5vw,61px)/1.095 Georgia,'Times New Roman',serif!important;letter-spacing:-.041em;color:var(--im2-ink);margin:0!important;max-width:100%;text-wrap:balance}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(h2.im2-title,h1.im2-hero-title) strong{font-weight:400;color:var(--im2-blue)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-support-copy{font:400 16px/1.76 system-ui,sans-serif;color:var(--im2-copy);max-width:52ch;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-text-link{margin:15px 0 0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(.im2-text-link,.im2-service-cta,.im2-packages-link) a{display:inline-flex;gap:13px;align-items:center;color:#085fab!important;font:750 14px/1.6 system-ui,sans-serif;text-decoration:none!important;border-bottom:1px solid #a4cce4;min-height:34px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 a:focus-visible{outline:3px solid #1977c9;outline-offset:4px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-intro{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:45px;align-items:end;margin-bottom:37px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-intro-right{max-width:425px;justify-self:end}

/* 1 — A composed studio folio, not tilted polaroids. */
:is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 #im-home{background:radial-gradient(ellipse at 0% 0%,#f9fcff 0%,transparent 49%),linear-gradient(135deg,#edf6fd,#e3f1fb);padding-top:clamp(34px,4vw,65px);padding-bottom:clamp(42px,5vw,80px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-canvas{position:relative;background:#fff;border:1px solid #c9dfed;border-radius:20px;overflow:hidden;box-shadow:0 32px 60px -50px #0b375f8b}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-canvas::before{content:"";height:4px;position:absolute;top:0;left:0;right:0;z-index:3;background:linear-gradient(90deg,#197dd6 0%,#6abaff 35%,#ec7da4 67%,#ff9e42 100%)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:clamp(25px,4vw,62px);align-items:stretch;padding:clamp(30px,4vw,58px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-copy{align-self:center;padding:10px 0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-copy .im2-eyebrow{font-size:10px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h1.im2-hero-title{font:400 clamp(45px,4.55vw,67px)/1.055 Georgia,'Times New Roman',serif!important;letter-spacing:-.045em;color:var(--im2-ink);margin:0 0 21px!important;text-wrap:initial}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h1.im2-hero-title strong{white-space:nowrap;letter-spacing:-.048em}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-lead{font:400 16px/1.75 system-ui,sans-serif;color:#456680;max-width:46ch;margin:0 0 26px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons .wp-block-button{margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons .wp-element-button{min-height:49px;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:13px 17px;border-radius:8px;font:750 13px/1.4 system-ui,sans-serif;text-decoration:none!important;transition:transform .2s,box-shadow .2s;white-space:nowrap}
:is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 .im2-btn-solid .wp-element-button{color:#fff!important;background:#076bcc!important;border:1px solid #076bcc!important;box-shadow:0 7px 17px -12px #124e9b}
:is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 .im2-btn-outline .wp-element-button{color:#134f7d!important;background:transparent!important;background-image:none!important;border:1px solid #b8d3e6!important;box-shadow:none!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons .wp-element-button:hover{transform:translateY(-1px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-footnote{font:500 13px/1.65 system-ui,sans-serif;color:#52748b;max-width:50ch;margin:23px 0 0!important;padding-top:18px;border-top:1px solid #dfebf3}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-identity-board{height:100%;min-height:455px;border-radius:14px;overflow:hidden;display:grid!important;grid-template-rows:auto 1fr auto;background:radial-gradient(ellipse at 85% 22%,#1d5278,#103656 55%,#0c2947 110%);color:#fff;border:1px solid #194968;box-shadow:0 16px 34px -25px #13365e8f}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-top{display:flex!important;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px 13px;border-bottom:1px solid #9cc6e126}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(.im2-board-label,.im2-board-index,.im2-board-small,.im2-board-footer-left){font:750 10px/1.5 system-ui,sans-serif;letter-spacing:.135em;color:#afcce1;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-index{color:#f5b375}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-main{display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:0;min-height:0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-type{padding:clamp(22px,2.5vw,38px) 15px 24px 27px;display:flex!important;flex-direction:column;justify-content:space-between}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-aa{font:400 clamp(91px,9.4vw,134px)/.86 Georgia,serif;letter-spacing:-.105em;color:#fff;margin:21px 0!important;text-shadow:0 8px 24px #051c3030}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-line{font:400 clamp(20px,2vw,27px)/1.2 Georgia,serif;color:#edf7ff;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-notes{display:flex!important;flex-direction:column;gap:14px;padding:clamp(22px,2.5vw,38px) 25px 25px 12px;border-left:1px solid #accde133}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;min-height:110px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch{position:relative;border-radius:6px;min-width:0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-navy{background:#12395b;border:1px solid #94beda55}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-blue{background:#0a71cb}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-ice{background:#dbf0fc}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-orange{background:#ff982e}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-text{position:absolute;inset:auto 0 10px;display:block;width:100%;transform:none;text-align:center;font:800 9px/1.2 system-ui,sans-serif!important;letter-spacing:.035em;color:#fff;margin:0!important;white-space:nowrap}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-ice .im2-swatch-text{color:#143c5e}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-orange .im2-swatch-text{color:#16334b}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-detail-label{margin-top:auto!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-detail{border-top:1px solid #afcce13b;padding-top:13px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-detail-copy{font:400 18px/1.28 Georgia,serif;color:#bce1fa;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-footer{display:flex!important;justify-content:space-between;gap:13px;align-items:center;padding:16px 24px;background:#0b2743;border-top:1px solid #9cc9e534}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-footer-right{color:#d9eefa;font:400 13px/1.5 Georgia,serif;margin:0!important;text-align:right}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-bottom{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #d4e4ef;background:#f4f9fd}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-chip{display:flex;gap:9px;align-items:center;padding:17px clamp(10px,2vw,30px);margin:0!important;font:800 11px/1.4 system-ui,sans-serif;letter-spacing:.08em;color:#466b84;min-width:0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-chip+.im2-hero-chip{border-left:1px solid #d5e5f0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-chip::before{content:"";display:block;width:7px;height:7px;border-radius:50%;background:#116ec8;flex:0 0 7px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-chip-dev::before{background:#ff982e}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-chip-care::before{background:#85bdea}

/* 2 — Living portfolio from the portfolio plugin; no asset duplication. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-selected-work{background:#fff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid{display:grid!important;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-project-card{display:flex!important;flex-direction:column;min-width:0;min-height:0;margin:0!important;position:relative;overflow:hidden;border:1px solid #d1e3ee!important;border-radius:13px!important;background:#fff!important;box-shadow:0 11px 32px -25px #163c6388!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child{grid-row:1 / span 2;grid-column:1}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-project-link{display:flex!important;flex-direction:column;height:100%;align-items:stretch;text-decoration:none!important;width:100%;color:var(--im2-ink)!important;background:transparent!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-media{display:block!important;position:relative;overflow:hidden;width:100%;height:clamp(150px,14vw,205px);min-height:0;flex:0 0 auto;background:#e6f1f8;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child .imp-card-media{height:auto;min-height:385px;flex:1 1 auto}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center top}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-body{display:flex!important;flex-direction:column;flex:1;min-width:0;padding:18px 21px 21px!important;background:#fff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child .imp-card-body{flex:0 0 auto;padding:28px 28px 25px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-services{font:800 10px/1.55 system-ui,sans-serif!important;letter-spacing:.11em;text-transform:uppercase;color:#53718b!important;margin:0 0 11px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-body h3{font:400 clamp(23px,2.3vw,33px)/1.18 Georgia,serif!important;letter-spacing:-.026em;color:var(--im2-ink)!important;margin:0 0 15px!important;text-align:left!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-action{margin-top:auto!important;display:flex!important;align-items:center;justify-content:space-between;width:100%;padding-top:13px!important;border-top:1px solid #dce9f1;font:750 13px/1.5 system-ui,sans-serif!important;color:#0668bf!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-project-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;z-index:2;background:linear-gradient(90deg,#1284dc,#a9d6f4,#fa9591,#ff9d42)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-work-proof{display:grid!important;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);gap:clamp(20px,5vw,65px);align-items:center;margin-top:52px!important;padding:34px 6px 0;border-top:1px solid #d1e2ed}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-stars{font:700 19px/1.4 system-ui,sans-serif;letter-spacing:.13em;color:#e98536;margin:0 0 13px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-proof-sub{font:400 15px/1.65 system-ui,sans-serif;color:#54748b;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quote{margin:0!important;padding:0 0 0 clamp(20px,3vw,42px)!important;border:0!important;border-left:2px solid #0f7ccf!important;background:none!important;box-shadow:none!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quote p{font:400 clamp(25px,2.6vw,37px)/1.29 Georgia,serif;letter-spacing:-.025em;color:var(--im2-ink);margin:0 0 13px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quote cite{font:750 12px/1.5 system-ui,sans-serif;color:#42708d;font-style:normal}

/* 3 — Deliberately unequal cards and an expressive visual tile, inspired by inner pages. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-services{background:linear-gradient(138deg,#edf6fc,#e6f2fb)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-services-grid{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:21px;align-items:stretch}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead{position:relative;overflow:hidden;display:flex!important;flex-direction:column;min-height:520px;padding:clamp(30px,4.1vw,53px);background:#fff;border:1px solid #cbddea;border-radius:14px;box-shadow:0 18px 37px -32px #173a5e82}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead::before{content:"";height:3px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#157fe1,#95c9f5,#f69bb5,#ff922b)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-card-kicker{font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.125em;color:#436f90;margin:0 0 21px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead h3{font:400 clamp(34px,3.55vw,49px)/1.12 Georgia,serif;letter-spacing:-.035em;color:var(--im2-ink);margin:0 0 15px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead h3 em{font-style:normal;color:var(--im2-blue)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-card-desc{font:400 15px/1.7 system-ui,sans-serif;color:#49677f;margin:0!important;max-width:48ch}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-links{display:flex!important;flex-direction:column;gap:0;width:100%;max-width:420px;margin:24px 0 0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-links p{margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-links a{display:flex;gap:12px;justify-content:space-between;align-items:center;text-decoration:none!important;color:#0b63aa;font:760 13px/1.5 system-ui,sans-serif;min-height:41px;border-bottom:1px solid #d2e5f0}
/* More deliberate personality: one editorial design-note footer, not an arbitrary star. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:end;gap:24px;margin-top:auto!important;padding-top:24px;min-height:133px;border-top:1px solid #d6e7f1}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-copy{min-width:0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-label{font:800 9px/1.6 system-ui,sans-serif!important;letter-spacing:.14em;color:#587d98;margin:0 0 11px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-text{font:400 clamp(21px,2.15vw,27px)/1.2 Georgia,'Times New Roman',serif!important;letter-spacing:-.015em;color:#244760;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-text strong{font-weight:400;color:#0670c8}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-notes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-design-note{display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-width:0;gap:9px;margin:0!important;border-top:3px solid #123f66;padding:13px 0 0;color:#456983;font:700 clamp(10px,1vw,12px)/1.35 system-ui,sans-serif!important;letter-spacing:.01em;white-space:nowrap}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-design-note span{font:800 10px/1 system-ui,sans-serif;letter-spacing:.08em;color:#718ea3}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-note-structure{border-top-color:#157ed3}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-note-detail{border-top-color:#ff982f}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-side{display:grid!important;grid-template-rows:1fr 1fr;gap:21px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;border-radius:14px;min-height:220px;padding:clamp(24px,2.5vw,35px);overflow:hidden}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor h3{font:400 clamp(27px,2.7vw,36px)/1.17 Georgia,serif;letter-spacing:-.03em;margin:0 0 10px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor .im2-card-kicker{margin-bottom:12px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor .im2-card-desc{font-size:14px;line-height:1.62}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor .im2-service-cta{margin:auto 0 0!important;padding-top:12px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-dev{background:radial-gradient(ellipse at 100% 15%,#1c527b,transparent 66%),#0c2c49;border:1px solid #2e5d81;color:#f7fbff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-dev :is(h3,.im2-card-kicker){color:#f8fbff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-dev .im2-card-desc{color:#d4e7f5}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-dev .im2-service-cta a{color:#dff3ff!important;border-color:#6b9abb}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-care{background:#f8fcff;border:1px solid #c9ddea}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-care h3{color:var(--im2-ink)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-strip{display:grid!important;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;margin-top:22px!important;border:1px solid #c9ddea;border-radius:11px;background:#f9fcff;padding:17px 24px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-strip p{margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-prompt{font:400 20px/1.4 Georgia,serif;color:var(--im2-ink)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-detail{font:400 13px/1.5 system-ui,sans-serif;color:#607b91}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-link a{white-space:nowrap;font-size:13px}

/* 4 — Personal story as a singular illustrated feature. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-approach{background:#fff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-story{display:grid!important;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);border:1px solid #cee0eb;border-radius:15px;overflow:hidden;box-shadow:0 20px 38px -34px #0b36598d}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-art{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:space-between;padding:29px 22px 28px;min-height:385px;background:radial-gradient(circle at 50% 44%,#236086 0%,#143f65 37%,#092744 100%);color:#fff;text-align:center;overflow:hidden}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-art::before{content:"";position:absolute;width:210px;height:210px;top:22%;left:50%;transform:translateX(-50%);border:1px solid #bedefa29;border-radius:50%;box-shadow:0 0 0 28px #a2d0f812,0 0 0 56px #a2d0f809}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-art-eyebrow{z-index:1;font:760 10px/1.6 system-ui,sans-serif;letter-spacing:.125em;color:#c1e2f6;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-rocket{z-index:1;margin:0 auto!important;width:clamp(120px,13vw,172px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-rocket img{display:block;width:100%;height:auto;max-height:225px;object-fit:contain}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-art-caption{z-index:1;margin:0!important;font:400 21px/1.24 Georgia,serif;color:#f5faff}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-content{display:flex!important;flex-direction:column;justify-content:center;padding:clamp(36px,5.2vw,74px)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-copy{font:400 16px/1.78 system-ui,sans-serif;color:#486780;max-width:52ch;margin:21px 0 20px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-rule{display:flex!important;gap:20px;align-items:center;border-top:1px solid #d9e6ee;padding-top:18px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-rule p{margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-rule-top{font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.1em;color:#075fab;white-space:nowrap}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-rule-bottom{font:500 13px/1.5 system-ui,sans-serif;color:#5c7992}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process{margin-top:39px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:23px!important;border-top:1px solid #cee1ee;border-bottom:1px solid #cee1ee}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-step{display:grid!important;grid-template-columns:42px 1fr;gap:6px 15px;align-content:start;padding:25px 23px 24px 0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-step+.im2-process-step{padding-left:24px;border-left:1px solid #d7e5ef}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-step-number{grid-row:1 / span 2;font:800 12px/1.7 system-ui,sans-serif;color:#0b70bc;margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-step h3{font:400 clamp(21px,2vw,27px)/1.2 Georgia,serif;color:var(--im2-ink);margin:0!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-step-desc{grid-column:2;margin:0!important;font:400 14px/1.6 system-ui,sans-serif;color:#57768e}

/* 5 — A functional-quality chapter with confident colour cues and clear reading. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-performance{background:#f0f7fc}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-grid{display:grid!important;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(35px,6vw,85px);align-items:start}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-message .im2-support-copy{margin-top:22px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-items>.im2-quality-item{margin:0!important;align-self:stretch;min-width:0}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-item{position:relative;min-height:174px;padding:20px 0 14px;border-top:3px solid #1a527f}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-accent-blue{border-color:#1882d6}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-accent-ice{border-color:#83bce6}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-accent-orange{border-color:#ff942f}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-index{font:800 11px/1.5 system-ui,sans-serif;color:#477d9f;letter-spacing:.1em;margin:0 0 14px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-item h3{font:400 clamp(22px,2.2vw,29px)/1.2 Georgia,serif;color:var(--im2-ink);margin:0 0 10px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-copy{font:400 14px/1.68 system-ui,sans-serif;color:#527089;margin:0!important}

/* 6 — Contact plugin stays in charge of all form controls and CleanTalk. */
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-contact{background:linear-gradient(155deg,#e6f3fc,#f5faff)}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-contact-intro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:35px;align-items:end;margin:0 0 37px!important}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-contact-intro-right{max-width:410px;justify-self:end}
:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 #im-contact .imcf{width:100%;max-width:none;margin:0;border-radius:17px;overflow:hidden;box-shadow:0 15px 33px -29px #0b395d85}
/* Crucial: NO broad h2/h3 rules for .im2-section, which would recolor the
   Contact plugin's white-on-navy title (a defect in the R1 implementation). */

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-project-card{transition:transform .2s ease,box-shadow .2s ease}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-project-card:hover{transform:translateY(-3px);box-shadow:0 26px 44px -30px #092e508c!important}
}
@media(max-width:1100px){
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-grid{gap:23px;padding:34px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h1.im2-hero-title{font-size:clamp(42px,4.6vw,56px)!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-identity-board{min-height:415px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-type{padding-right:7px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-notes{padding-left:9px;padding-right:13px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-aa{font-size:clamp(84px,9.4vw,118px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-strip{grid-template-columns:1fr auto}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-detail{grid-column:1;grid-row:2}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-link{grid-column:2;grid-row:1 / 3}
}
@media(max-width:920px){
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-grid{grid-template-columns:1fr;gap:28px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-copy{max-width:690px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h1.im2-hero-title{font-size:clamp(48px,7.3vw,65px)!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-identity-board{min-height:360px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-aa{font-size:clamp(90px,13vw,124px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-services-grid{grid-template-columns:1fr}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead{min-height:420px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-side{grid-template-rows:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor{min-height:285px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-grid{grid-template-columns:1fr;gap:36px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-items{max-width:730px}
}
@media(min-width:681px) and (max-width:920px){
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child{grid-row:auto;grid-column:1/-1}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child .imp-card-media{flex:0 0 auto;height:clamp(250px,40vw,400px);min-height:0}
}
@media(max-width:680px){
 :is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 .im2-section{padding:61px 20px}
 :is(body.imf-site,.editor-styles-wrapper) .im-page-content .im-home-r2 #im-home{padding:25px 14px 44px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-canvas{border-radius:14px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-grid{padding:29px 23px 19px;gap:25px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h1.im2-hero-title{font-size:clamp(26px,8.35vw,54px)!important;letter-spacing:-.045em}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-lead{font-size:15px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons{gap:8px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons .wp-block-button{width:100%}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-buttons .wp-element-button{width:100%}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-identity-board{min-height:330px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-top{padding:15px 17px 10px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-main{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-type{padding:20px 5px 20px 16px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-aa{font-size:clamp(70px,19vw,101px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-line{font-size:clamp(16px,4.1vw,22px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-notes{padding:20px 13px 20px 10px;gap:10px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-grid{min-height:93px;gap:3px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-detail-copy{font-size:16px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-footer{padding:12px 17px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-footer-right{display:none}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-bottom{grid-template-columns:1fr}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-chip{padding:12px 22px;font-size:10px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-hero-chip+.im2-hero-chip{border-left:0;border-top:1px solid #d8e8f1}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-intro{grid-template-columns:1fr;gap:19px;margin-bottom:29px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-intro-right{justify-self:start;max-width:100%}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 h2.im2-title{font-size:clamp(35px,8vw,49px)!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important;gap:15px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child{grid-column:auto;grid-row:auto}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-media,:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child .imp-card-media{height:clamp(180px,55vw,285px);min-height:0;flex:0 0 auto}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-card-body,:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-gallery .imp-featured-project-grid>:first-child .imp-card-body{padding:20px!important;min-height:0}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-work-proof{grid-template-columns:1fr;gap:19px;margin-top:38px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quote{padding-left:17px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quote p{font-size:clamp(24px,6vw,32px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead{min-height:450px;padding:29px 25px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art{grid-template-columns:1fr;gap:21px;min-height:0;padding-top:23px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-notes{max-width:450px;width:100%}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-art-text{font-size:24px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-lead h3{font-size:clamp(32px,7vw,42px)}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-side{grid-template-columns:1fr}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-service-minor{min-height:250px;padding:26px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-strip{grid-template-columns:1fr;gap:9px;padding:21px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-detail,:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-packages-link{grid-column:auto;grid-row:auto}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-story{grid-template-columns:1fr}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-art{min-height:315px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-rocket{width:120px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-content{padding:34px 27px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-personal-rule{align-items:flex-start;flex-direction:column;gap:7px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-steps{grid-template-columns:1fr}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-step{padding:21px 6px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-process-step+.im2-process-step{border-left:0;border-top:1px solid #d7e5ef;padding-left:6px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-items{grid-template-columns:1fr;gap:17px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-quality-item{min-height:0;padding:16px 0 11px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-contact-intro{grid-template-columns:1fr;gap:19px;margin-bottom:28px!important}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-contact-intro-right{max-width:none;justify-self:start}
}
@media(max-width:350px){
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-notes{padding-right:8px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-line{font-size:15px}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-swatch-text{font-size:7px!important;letter-spacing:0}
 :is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-board-detail-copy{font-size:14px}
}
@media(prefers-reduced-motion:reduce){:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 *{transition:none!important;animation:none!important}}
@media(forced-colors:active){:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-section{background:Canvas!important;color:CanvasText!important}:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(.im2-hero-canvas,.im2-identity-board,.im2-service-lead,.im2-service-minor,.im2-personal-story){border:1px solid CanvasText!important;background:Canvas!important;color:CanvasText!important}:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 :is(.im2-hero-title,.im2-title){color:CanvasText!important}}
@media print{:is(body.imf-site,.editor-styles-wrapper) .im-home-r2 .im2-section{background:#fff!important;color:#000!important;padding:22px!important}}
