/* Agency review: Impact on primary page titles, Montserrat on all other copy.
   Impact is used locally when available. Anton (OFL) is the bundled fallback. */
@font-face { font-family: "Roque Condensed"; src: url("./assets/anton-regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
:root { --heading-font: Impact, "Roque Condensed", "Arial Narrow", sans-serif; --footer-height: 90px; }
html body h1 { font-family: var(--heading-font); font-weight: 400 !important; font-synthesis: none; letter-spacing: .006em !important; }
.bip-page .bip-name { font-family: var(--heading-font); font-weight: 400; letter-spacing: .006em; }
.bip-full-name { font-family: var(--font); }
.insights-heading [data-insights-i18n="headingIndustries"] { font-family: var(--font); }
.bip-features small { font-weight: 700; color: #354e62; }
.bip-features small strong { font-weight: 700; }

/* The blue service phrase is secondary to the solution name, in both languages. */
.service-page h1 > .service-verb { font-size: .72em; }

/* Two balanced title lines leave room for breathing space below the logo. */
.hero-copy { width: min(43vw, 490px); padding-top: clamp(188px, calc(17vh + 56px), 228px); padding-bottom: 24px; }
.hero-description { max-width: 490px; margin-top: 28px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; font-weight: 400; }
.hero-geography { max-width: 485px; margin: 17px 0 0; color: #536c80; font-size: 12px; line-height: 1.65; }
.hero-copy .query-form { margin-top: 23px; }
.hero-copy h1 { line-height: 1.04; }
.hero-title-line2 { white-space: nowrap; }

/* The links follow the main composition rather than being pushed to the footer.
   Their compact row sits toward the right, clear of the hand and fingerprint. */
@media (min-width: 721px) {
  .hero-art { max-height: min(740px, calc(100svh - var(--footer-height) - 110px)); transform: scale(1.08); transform-origin: top right; }
  .hero-inner {
    --art-floor: calc(min(740px, 100vw * 885 / 1777, 100svh - var(--footer-height) - 110px) - 30px);
    display: grid; grid-template-rows: minmax(var(--art-floor), auto) auto; align-content: start;
  }
  .hero .solutions { width: min(1030px, 82%); justify-self: end; margin: 0 0 0 auto; padding: 24px 0 22px; gap: clamp(22px, 3.3vw, 50px); }
  .hero .solution-title { min-height: 52px; font-size: clamp(15px, 1.37vw, 20px); line-height: 1.35; }
  .hero .solution-line { margin-top: 10px; }
}

/* Visible, selectable contact information on every page, without hiding overflow. */
.site-footer { display: block; height: auto; min-height: 0; padding: 14px clamp(32px, 5vw, 92px) 10px; font-size: 10px; line-height: 1.6; }
.footer-offices { display: grid; grid-template-columns: 1.25fr 1.15fr .75fr; gap: 18px 35px; max-width: 1500px; margin: 0 auto; }
.office-name { display: block; margin: 0 0 3px; color: #304f69; font-size: 10px; font-weight: 600; }
.office-address { margin: 0; font-style: normal; color: #536c80; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.site-footer .footer-contact a { min-height: 18px; }
.footer-bottom { max-width: 1500px; margin: 6px auto 0; padding-top: 5px; border-top: 1px solid #edf1f5; color: #657887; font-size: 9px; }
.contact-offices { display: grid; gap: 15px; margin-top: 24px; padding-top: 21px; border-top: 1px solid #e1eaf1; }
.contact-offices .office-address { font-size: 11px; line-height: 1.65; }
.contact-phone { margin: 0; color: #536c80; font-size: 11px; }
.contact-phone a { display: inline-block; padding: 4px 0; color: var(--blue); }
.contact-panel { padding-bottom: 30px; }
.contact-panel h2 { font-size: 28px; margin-top: 19px; }
.contact-options { margin-top: 20px; }
.contact-dialog { max-height: calc(100svh - 32px); }

/* Original reference arrows, now in the ROQUÉ blue. */
.bip-connectors path { stroke: var(--blue); }

@media (min-width: 1001px) {
  .service-visual img { height: min(660px, calc(100svh - var(--footer-height) - 175px)); min-height: 0; }
  .service-page--action .service-visual img { width: min(100%, calc((100svh - var(--footer-height) - 175px) * .976)); height: auto; }
  .logo-window { height: min(580px, calc(100svh - var(--footer-height) - 175px)); }
  .case-art[data-health="true"] { max-height: min(480px, calc(100svh - var(--footer-height) - 175px)); }
  .bip-layout { padding-bottom: 28px; }
  .bip-monitor { max-height: min(430px, calc(100svh - var(--footer-height) - 300px)); }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .hero-copy { padding-top: 166px; padding-bottom: 14px; }
  .hero-copy h1 { font-size: clamp(40px, 4vw, 53px); }
  .hero-description { margin-top: 24px; font-size: 15px; line-height: 1.43; }
  .hero-geography { margin-top: 14px; font-size: 11px; line-height: 1.5; }
  .hero-copy .query-form { margin-top: 18px; min-height: 64px; }
  .solutions { padding-bottom: 14px; }
  .solution-title { min-height: 40px; font-size: 15px; }
  .solution-line { margin-top: 8px; }
  .hero .solution-title { min-height: 48px; font-size: clamp(15px, 1.25vw, 18px); }
  .hero .solution-line { margin-top: 8px; }
  .service-layout, .bip-layout { padding-top: 126px; padding-bottom: 23px; }
  .service-description { font-size: 14px; line-height: 1.5; margin-top: 21px; }
  .service-question { margin-bottom: 20px; }
  .service-cta { margin-top: 20px; padding-block: 12px; }
  .insights-layout { padding-top: 130px; padding-bottom: 22px; }
  .insights-index { padding-top: 28px; }
  .insights-heading, html[lang="en"] .insights-heading { font-size: clamp(34px, 2.75vw, 40px); }
  .sector-tabs { margin-top: 22px; }
  .case-title { font-size: clamp(23px, 2vw, 29px); }
  .case-body { font-size: 12.5px; line-height: 1.55; margin-top: 17px; }
  .case-body p + p { margin-top: 10px; }
  .case-subtitle { margin-top: 13px; font-size: 14px; }
  .case-contact { margin-top: 16px; }
}
@media (min-width: 1001px) and (max-height: 650px) {
  .service-page:not([data-service]) .service-layout { padding-bottom: 8px; }
  .hero-copy { padding-top: 136px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-description { font-size: 13px; margin-top: 18px; }
  .hero-geography { font-size: 10.5px; margin-top: 10px; }
  .hero-copy .query-form { margin-top: 15px; min-height: 58px; }
  .query-form textarea { font-size: 12px; }
  .solution-title { font-size: 13px; min-height: 34px; }
  .solutions { padding-top: 6px; padding-bottom: 8px; }
  .service-layout, .bip-layout { padding-top: 112px; padding-bottom: 17px; }
  .hero-copy { padding-bottom: 8px; }
  .solutions { padding-bottom: 2px; }
  .hero .solutions { padding: 8px 0 12px; gap: 24px; }
  .hero .solution { padding-top: 4px; }
  .hero .solution-title { min-height: 40px; font-size: 15px; line-height: 1.3; }
  .hero .solution-line { margin-top: 6px; }
  .insights-layout { padding-top: 112px; }
  .insights-index { padding-top: 18px; }
  .insights-heading, html[lang="en"] .insights-heading { font-size: 29px; }
  .sector-tabs { margin-top: 16px; gap: 5px 6px; }
  .sector-tab { min-height: 31px; padding-block: 6px; }
  .case-body { font-size: 12px; line-height: 1.45; }
  .case-body p + p { margin-top: 8px; }
  .case-title { font-size: 22px; }
  .case-subtitle { font-size: 12.5px; }
  .service-description { font-size: 12.5px; margin-top: 14px; }
  .bip-intro { font-size: 12.5px; }
  .bip-features { gap: 6px; margin-top: 13px; }
  .bip-workflow { padding-top: 64px; padding-bottom: 64px; }
  .bip-monitor { max-height: max(180px, calc(100svh - var(--footer-height) - 290px)); }
}
@media (max-width: 1000px) {
  .hero .solutions { width: 100%; }
  .hero .solution-title { font-size: 16px; }
  .hero-copy { width: min(52vw, 490px); padding-top: 203px; }
  .footer-offices { grid-template-columns: 1fr 1fr; gap: 17px 26px; }
  .footer-contact { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 25px; }
}
@media (max-width: 720px) {
  .hero-copy { width: 100%; padding-top: clamp(344px, calc(82vw + 24px), 474px); padding-bottom: 0; }
  .hero-copy h1 { font-size: clamp(43px, 11vw, 62px); }
  html[lang="en"] .hero-copy h1 { font-size: clamp(29px, 8.4vw, 42px); }
  .hero-description { margin-top: 24px; font-size: 16px; line-height: 1.55; }
  .hero-geography { font-size: 12px; margin-top: 16px; }
  .hero-copy .query-form { margin-top: 26px; }
  .hero .solutions { margin-top: 28px; }
  .hero .solution-title { font-size: 16px; }
  .site-footer { padding: 18px 25px 16px; }
  .footer-offices { grid-template-columns: 1fr; gap: 16px; }
  .office-name { font-size: 11px; }
  .office-address, .footer-contact { font-size: 11px; }
  .footer-contact { grid-column: auto; flex-direction: column; gap: 6px; }
  .footer-bottom { margin-top: 12px; padding-top: 8px; }
  .contact-panel h2 { font-size: 25px; }
}
