/* ==========================================================================
   Onesto Global: homepage styles
   Source of truth: Canva design "Onesto Global Website Structure" (1366 px wide
   frames). Desktop sizes below are the Canva values multiplied by --s, a scale
   unit equal to 1px at 1366px wide, so the layout matches the frames 1:1 and
   shrinks proportionally on smaller laptops. Tablet and mobile get their own
   rules further down.

   Accessibility pass: cream or white text on the brand green is only 2.3:1,
   so text on green sections uses --color_green_deep (5:1) and buttons use
   --color_green_dark with cream labels (7.4:1). The bright green stays as the
   section background and accent colour.
   ========================================================================== */

/* ---------- 1. Design tokens (taken from the Canva file) ---------- */
:root {
  /* Palette */
  --color_yellow: #efcd5e;      /* page background, alternate sections */
  --color_green: #1cbc7c;       /* alternate sections and accents; too light for text */
  --color_green_dark: #0e5e3e;  /* primary buttons, icons and accents on cream (7.4:1) */
  --color_green_deep: #0b3d2c;  /* text on green sections (5:1), button hover */
  --color_cream: #fff8ed;       /* cards */
  --color_white: #ffffff;       /* form fields */
  --color_ink: #3a393c;         /* headings and card text */
  --color_ink_soft: #353535;    /* office card text */
  --color_muted: #6d6a66;       /* secondary text on cream and white only (5:1) */
  --color_line: rgba(58, 57, 60, 0.16);
  --color_field_border: #8f8a84;/* form inputs, 3.2:1 on cream */
  --color_error: #b3261e;

  /* Typography: Canva fonts mapped to the closest Google Fonts */
  --font_display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --font_body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Scale unit: 1px at the 1366px Canva width, never larger */
  --s: min(1px, calc(100vw / 1366));

  /* Font sizes (Canva px values) */
  --fs_display: max(44px, calc(93.3 * var(--s)));
  --fs_h2: max(36px, calc(73.3 * var(--s)));
  --fs_h2_small: max(30px, calc(60 * var(--s)));
  --fs_h3: max(26px, calc(40 * var(--s)));
  --fs_body: max(17px, calc(24 * var(--s)));
  --fs_small: max(16px, calc(21.3 * var(--s)));
  --fs_button: max(17px, calc(22 * var(--s)));
  --fs_ui: max(15px, calc(17 * var(--s)));   /* nav, chips, labels */

  /* Letter spacing and line height. Canva uses -0.075em / 0.02em with its own
     typefaces; these values give the same text widths with the web substitutes. */
  --ls_display: -0.045em;
  --ls_body: 0;
  --lh_display: 0.89;
  --lh_body: 1.5;
  --lh_list: 1.4;

  /* Spacing and shapes */
  --gutter: max(16px, calc(60 * var(--s)));   /* frame side margin */
  --gap: max(10px, calc(11 * var(--s)));      /* gap between tiles */
  --gap_wide: max(16px, calc(23 * var(--s))); /* gap between three-column cards */
  --radius: max(12px, calc(18 * var(--s)));   /* cards and tiles */
  --radius_button: max(8px, calc(10 * var(--s)));
  --content_max: 1366px;

  /* Depth, motion and layering */
  --shadow_header: 0 1px 0 rgba(58, 57, 60, 0.08), 0 8px 24px rgba(58, 57, 60, 0.08);
  --shadow_button: 0 6px 18px rgba(11, 61, 44, 0.22);
  --shadow_lift: 0 26px 50px rgba(11, 61, 44, 0.24);
  --ease_out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --z_header: 50;
  --z_skip: 100;
  --header_h: 80px;  /* updated from the real header height by js/main.js */
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color_yellow);
  color: var(--color_ink);
  font-family: var(--font_body);
  font-weight: 400;
  font-size: var(--fs_body);
  line-height: var(--lh_body);
  letter-spacing: var(--ls_body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p { text-wrap: pretty; }

::selection { background: var(--color_green_deep); color: var(--color_cream); }

/* Anchored sections land below the sticky header */
[id] { scroll-margin-top: var(--header_h); }
.company_card .h3[id] { scroll-margin-top: calc(var(--header_h) + 48px); }

:focus-visible {
  outline: 3px solid var(--color_ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.bg_green :focus-visible { outline-color: var(--color_green_deep); }

.visually_hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip_link {
  position: absolute; left: 16px; top: -100px; z-index: var(--z_skip);
  padding: 10px 16px;
  background: var(--color_cream); color: var(--color_ink);
  border-radius: var(--radius_button);
  font-weight: 600; text-decoration: none;
}
.skip_link:focus { top: 16px; }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--content_max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  overflow: clip;  /* keeps the background art and orbit rings inside the band */
  padding-block: max(40px, calc(57 * var(--s)));
}
.section > .wrap { position: relative; z-index: 1; }
.bg_yellow { background: var(--color_yellow); --art_bg: var(--color_yellow); }
.bg_green { background: var(--color_green); --art_bg: var(--color_green); }

.card {
  background: var(--color_cream);
  border-radius: var(--radius);
  --art_bg: var(--color_cream);
}

.media_tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color_cream);
}
.media_tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease_out), scale 1.4s var(--ease_out); }
@media (hover: hover) {
  .media_tile:hover img { transform: scale(1.05); }
}

/* Illustrations placed inside cream cards: soften their inner edges so the
   generated paper tone never shows as a visible rectangle on the card. */
.fade_edges_tl {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%), linear-gradient(to bottom, transparent 0, #000 7%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%), linear-gradient(to bottom, transparent 0, #000 7%);
  mask-composite: intersect;
}
.fade_edges_all {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.fade_edges_top {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%);
  mask-composite: intersect;
}

/* ---------- 4. Typography ---------- */
.display,
.h2,
.h2_small,
.h3 {
  font-family: var(--font_display);
  font-weight: 400;
  letter-spacing: var(--ls_display);
  color: var(--color_ink);
  text-wrap: balance;
}
.display { font-size: var(--fs_display); line-height: var(--lh_display); }
.h2 { font-size: var(--fs_h2); line-height: var(--lh_display); }
.h2_small { font-size: var(--fs_h2_small); line-height: 1.02; }
.h3 { font-size: var(--fs_h3); line-height: var(--lh_display); }

.body_text { font-size: var(--fs_body); line-height: var(--lh_body); }
.small_text { font-size: var(--fs_small); line-height: var(--lh_body); }

.text_on_green { color: var(--color_green_deep); }
.text_center { text-align: center; }

.placeholder { font-style: italic; opacity: 0.85; }

/* ---------- 5. Buttons and links ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius_button);
  font-family: var(--font_body);
  font-weight: 600;
  font-size: var(--fs_button);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease_out), translate 0.35s var(--ease_out);
}
.btn_primary { background: var(--color_green_dark); color: var(--color_cream); }
.btn_primary:hover { background: var(--color_green_deep); }
/* Light sweep across primary buttons on hover */
.btn_primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 248, 237, 0.24) 50%, transparent 70%);
  translate: -110% 0;
  transition: translate 0.7s var(--ease_out);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn_icon {
  width: 1.05em; height: 1.05em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s var(--ease_out);
}
.btn_large {
  min-width: calc(247 * var(--s));
  min-height: max(52px, calc(66 * var(--s)));
  padding-inline: max(24px, calc(32 * var(--s)));
}
.btn_block { width: 100%; min-height: max(50px, calc(58 * var(--s))); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow_button); }
  .btn:hover .btn_icon { transform: translateX(3px); }
  .btn_primary:hover::after { translate: 110% 0; }
}

/* Secondary text action */
.btn_link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs_ui);
  color: var(--color_green_dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(14, 94, 62, 0.35);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.btn_link:hover { color: var(--color_green_deep); text-decoration-color: currentColor; }

/* ---------- 6. Header (not in the Canva frames: logo, section links, language and CTA) ---------- */
.site_header {
  position: sticky;
  top: 0;
  z-index: var(--z_header);
  background: rgba(239, 205, 94, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow 0.25s ease;
}
.site_header.is_scrolled { box-shadow: var(--shadow_header); }
/* Reading progress along the bottom edge of the header */
.scroll_progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color_green), var(--color_green_dark));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}
.header_inner {
  display: flex;
  align-items: center;
  gap: max(12px, calc(24 * var(--s)));
  padding-block: max(10px, calc(14 * var(--s)));
}
.header_logo { display: block; flex-shrink: 0; margin-right: auto; }
.header_logo img { height: max(36px, calc(50 * var(--s))); width: auto; }

.header_nav ul { display: flex; gap: 4px; }
.header_nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 999px;
  font-size: var(--fs_ui);
  font-weight: 500;
  text-decoration: none;
  color: var(--color_ink);
  transition: background-color 0.2s ease;
}
.header_nav a:hover { background: rgba(255, 248, 237, 0.55); }
.header_nav a[aria-current="true"] { background: var(--color_cream); }

.header_actions { display: flex; align-items: center; gap: max(10px, calc(16 * var(--s))); }
.header_cta { min-height: 44px; padding-inline: 20px; font-size: max(15px, calc(17 * var(--s))); }

.lang_switch {
  display: inline-flex;
  padding: 3px;
  background: var(--color_cream);
  border-radius: 999px;
}
.lang_btn {
  min-width: 44px; min-height: 38px;
  padding: 0 12px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--color_ink);
  font-family: var(--font_body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang_btn:hover { background: rgba(58, 57, 60, 0.08); }
.lang_btn[aria-pressed="true"] { background: var(--color_ink); color: var(--color_cream); }

/* ---------- 7. Hero (Canva page 1, frame 1) ---------- */
.hero { padding-top: 0; padding-bottom: max(32px, calc(45 * var(--s))); }
.hero_card {
  position: relative;
  display: grid;
  grid-template-columns: calc(562 * var(--s)) 1fr;
  min-height: calc(679 * var(--s));
  overflow: hidden;
}
.hero_card > .hero_text,
.hero_card > .hero_media { position: relative; z-index: 1; }
/* Soft light that follows the pointer (position set by js/main.js) */
.hero_card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 75%) var(--my, 20%), rgba(28, 188, 124, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero_card.is_lit::after { opacity: 1; }
.hero_text {
  padding: calc(88 * var(--s)) 0 calc(88 * var(--s)) calc(52 * var(--s));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero_text .display { max-width: calc(503 * var(--s)); }
.hero_lead {
  color: var(--color_ink);
  max-width: calc(460 * var(--s));
  margin-top: calc(32 * var(--s));
  margin-bottom: calc(36 * var(--s));
}
.hero_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px max(20px, calc(28 * var(--s))); }
.hero_media { align-self: end; justify-self: end; width: calc(632 * var(--s)); }
.hero_media img { width: 100%; }

/* ---------- 8. How we help (Canva page 1, frame 2) ---------- */
.offer { padding-top: calc(70 * var(--s)); padding-bottom: calc(67 * var(--s)); }
.offer .h2 { max-width: calc(711 * var(--s)); }
.offer_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap_wide);
  margin-top: calc(48 * var(--s));
}
.offer_label {
  min-height: calc(86 * var(--s));
  max-width: calc(320 * var(--s));
  margin-bottom: calc(10 * var(--s));
  font-family: var(--font_body);
  font-weight: 500;
  line-height: 1.3;
}
.offer_card {
  height: calc(406 * var(--s));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(32 * var(--s)) calc(50 * var(--s));
}
.offer_card img { height: 100%; width: auto; object-fit: contain; transition: transform 0.6s var(--ease_out); }
@media (hover: hover) {
  .offer_card:hover { box-shadow: var(--shadow_lift); }
  .offer_card:hover img { transform: translateY(-6px) scale(1.04); }
}

/* ---------- 9. Group intro (Canva page 2, frame 1) ---------- */
.group_card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(679 * var(--s));
  padding-top: calc(80 * var(--s));
  overflow: hidden;
}
.group_card > :not(.art_layer) { position: relative; z-index: 1; }
.group_lead { max-width: calc(540 * var(--s)); margin-top: calc(26 * var(--s)); }
.group_chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: calc(30 * var(--s));
  padding-inline: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid rgba(58, 57, 60, 0.28);
  border-radius: 999px;
  background: var(--color_cream);
  font-size: var(--fs_ui);
  font-weight: 500;
  text-decoration: none;
  color: var(--color_ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease_out), box-shadow 0.25s ease;
}
.chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color_green);
  transition: transform 0.25s var(--ease_out);
}
.chip:hover { background: var(--color_yellow); border-color: var(--color_yellow); }
@media (hover: hover) {
  .chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(58, 57, 60, 0.12); }
  .chip:hover::before { transform: scale(1.5); }
}
.group_img {
  width: calc(840 * var(--s));
  height: calc(351 * var(--s));
  margin-top: auto;
  padding-top: calc(24 * var(--s));
  object-fit: contain;
  object-position: bottom;
}

/* ---------- 10. Companies (Canva page 2, frames 2 and 3) ---------- */
.company_block { padding-block: calc(57 * var(--s)) calc(45 * var(--s)); }
.company_block + .company_block { padding-top: calc(57 * var(--s)); }
/* One row per company: its card and illustration side by side, alternating sides */
.company_row {
  position: relative;  /* the name link covers the whole row */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(calc(327 * var(--s)), auto);
  gap: var(--gap);
}
.company_row + .company_row { margin-top: var(--gap); }
.company_row_flip .company_media { order: -1; }
.company_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(40 * var(--s)) calc(48 * var(--s)) calc(36 * var(--s));
}
.company_list {
  margin-top: calc(22 * var(--s));
  font-size: max(16px, calc(21 * var(--s)));
  line-height: var(--lh_list);
  color: var(--color_ink);
}
.company_list li { position: relative; padding-left: 1.55em; }
.company_list li + li { margin-top: calc(6 * var(--s)); }
.company_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1em;
  height: 1em;
  background: var(--color_green_dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.company_media { height: 100%; }
/* The company name links to its website. The link's ::after covers the whole
   row, so a click anywhere on the card or the illustration opens it. */
.card_link { color: inherit; text-decoration: none; }
.card_link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card_link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.card_link:focus-visible { outline: none; }
.card_link:focus-visible::after { outline: 3px solid var(--color_ink); outline-offset: 3px; }
.bg_green .card_link:focus-visible::after { outline-color: var(--color_green_deep); }
.link_arrow { display: inline-block; font-size: 0.7em; vertical-align: 0.25em; transition: transform 0.2s var(--ease_out); }
.card_link:hover .link_arrow,
.presence_link:hover .link_arrow { transform: translate(2px, -2px); }
@media (hover: hover) {
  .company_row:hover .company_media img { transform: scale(1.05); }
}

/* ---------- 11. Presence (Canva page 3, frame 1) ---------- */
.presence { padding-block: calc(79 * var(--s)) calc(78 * var(--s)); }
.presence_grid {
  display: grid;
  grid-template-columns: calc(597 * var(--s)) calc(555 * var(--s));
  justify-content: space-between;
  align-items: center;
}
.presence_kicker { margin-bottom: max(14px, calc(24 * var(--s))); font-weight: 600; }
.presence_services { max-width: calc(560 * var(--s)); margin-top: max(18px, calc(28 * var(--s))); }
.presence_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: max(20px, calc(32 * var(--s)));
  padding: 0 max(20px, calc(26 * var(--s)));
  border-radius: var(--radius_button);
  background: var(--color_cream);
  color: var(--color_ink);
  font-size: var(--fs_button);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, translate 0.35s var(--ease_out);
}
.presence_link:hover { background: var(--color_white); box-shadow: var(--shadow_button); }
.presence_visual { position: relative; }
.presence_card {
  position: relative;
  z-index: 1;
  height: calc(611 * var(--s));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.presence_card img { width: calc(419 * var(--s)); height: calc(548 * var(--s)); object-fit: contain; object-position: bottom; }

/* ---------- 12. Offices (Canva page 3, frame 2) ---------- */
.offices { padding-block: calc(57 * var(--s)) calc(64 * var(--s)); }
.offices_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "title b c"
    "d e f";
  column-gap: var(--gap_wide);
  row-gap: calc(23 * var(--s));
}
.offices_title { grid-area: title; line-height: 1.1; }
/* Map art shares the title cell, sitting under the heading */
.offices_art {
  grid-area: title;
  align-self: end;
  width: 88%;
  margin-bottom: calc(6 * var(--s));
  opacity: 0.45;
}
.office_pos_b { grid-area: b; }
.office_pos_c { grid-area: c; }
.office_pos_d { grid-area: d; }
.office_pos_e { grid-area: e; }
.office_pos_f { grid-area: f; }
.office_card { display: flex; flex-direction: column; gap: 6px; border-radius: var(--radius); }
.office_media { height: calc(194 * var(--s)); }
.office_label {
  flex: 1;
  min-height: calc(84 * var(--s));  /* city and company: two lines */
  padding: calc(20 * var(--s)) calc(22 * var(--s));
  color: var(--color_ink_soft);
  line-height: 1.4;
}
.office_name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-family: var(--font_body);
  font-weight: 700;
  font-size: inherit;
  letter-spacing: var(--ls_body);
}
.office_name::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  background: var(--color_green_dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-5.5 10.2-7.4 11.8a1 1 0 0 1-1.2 0C9.5 20.2 4 15 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-5.5 10.2-7.4 11.8a1 1 0 0 1-1.2 0C9.5 20.2 4 15 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  .office_card:hover .office_name::before { animation: pin_hop 0.6s var(--ease_out); }
}

/* ---------- 13. Mosaic (Canva page 3, frame 3) ---------- */
.gallery { padding-block: max(40px, calc(57 * var(--s))) calc(48 * var(--s)); }
/* Associations and partners: one link to each */
.partners { margin-bottom: max(28px, calc(40 * var(--s))); }
.partners_lead { max-width: calc(620 * var(--s)); margin-top: max(12px, calc(18 * var(--s))); }
.partner_list {
  display: flex;
  flex-wrap: wrap;
  gap: max(8px, calc(11 * var(--s)));
  margin-top: max(20px, calc(28 * var(--s)));
}
.partner_link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 max(16px, calc(22 * var(--s)));
  border-radius: 999px;
  background: var(--color_cream);
  color: var(--color_ink);
  font-size: var(--fs_ui);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease_out), box-shadow 0.25s ease;
}
.partner_link:hover { background: var(--color_ink); color: var(--color_cream); }
@media (hover: hover) {
  .partner_link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(58, 57, 60, 0.12); }
}
/* AppAgentix leads the list: dark green with cream text (7.4:1) */
.partner_featured { background: var(--color_green_dark); color: var(--color_cream); font-weight: 600; }
.partner_tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color_cream);
  color: var(--color_ink);
  font-size: 0.8em;
  font-weight: 500;
}
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(2, calc(323 * var(--s)));
  gap: calc(10 * var(--s));
}
/* Row 1: 264 / 696 / 264, row 2: 441 / 342 / 441 (Canva px out of 1246) */
.g_a { grid-column: 1 / span 5; }
.g_b { grid-column: 6 / span 14; }
.g_c { grid-column: 20 / span 5; }
.g_d { grid-column: 1 / span 9; }
.g_e { grid-column: 10 / span 6; }
.g_f { grid-column: 16 / span 9; }

/* ---------- 14. Contact form (Canva page 4) ---------- */
.contact { padding-block: calc(67 * var(--s)) calc(56 * var(--s)); }
.contact_grid {
  display: grid;
  grid-template-columns: calc(600 * var(--s)) calc(586 * var(--s));
  justify-content: space-between;
  align-items: start;
}
.contact_text { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; }
.contact_text .h2_small { max-width: calc(600 * var(--s)); }
.contact_lead { max-width: calc(506 * var(--s)); margin-top: calc(26 * var(--s)); }
.contact_img { width: calc(340 * var(--s)); margin-top: auto; margin-left: calc(240 * var(--s)); padding-top: 24px; }

.form_host { position: relative; }
.contact_form {
  position: relative;
  z-index: 1;
  padding: calc(32 * var(--s)) calc(32 * var(--s)) calc(22 * var(--s));
  border-radius: var(--radius);
  font-size: max(15px, calc(17 * var(--s)));
  line-height: 1.4;
  box-shadow: 0 20px 50px rgba(11, 61, 44, 0.18);
}
.form_intro { margin-bottom: calc(20 * var(--s)); font-size: 14px; color: var(--color_muted); }
.field_row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.field { margin: 0 0 calc(20 * var(--s)); padding: 0; border: 0; min-width: 0; }
.field label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--color_ink);
  font-weight: 600;
}
.req { color: var(--color_error); }
.optional { font-weight: 400; color: var(--color_muted); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--color_field_border);
  border-radius: 8px;
  background-color: var(--color_white);
  color: var(--color_ink);
  font: inherit;
  letter-spacing: var(--ls_body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--color_muted); opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--color_ink); }
.field textarea { resize: vertical; min-height: 112px; }
.field select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--color_ink) 50%), linear-gradient(135deg, var(--color_ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--color_green_dark);
  box-shadow: 0 0 0 3px rgba(14, 94, 62, 0.3);
}
.field [aria-invalid="true"] { border-color: var(--color_error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.22); }
.field_check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.field_check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color_green_dark); cursor: pointer; }
.field_check label { margin: 0; font-weight: 400; font-size: max(14px, calc(15 * var(--s))); cursor: pointer; }
.field_check .field_error { grid-column: 1 / -1; }
.field_error { min-height: 0; margin-top: 6px; color: var(--color_error); font-size: 14px; font-weight: 500; }
.field_error:empty { display: none; }
.form_note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--color_muted); }
.form_status:empty { display: none; }
.form_status { margin-top: 12px; padding: 12px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.form_status.is_success { background: #e3f5ec; color: var(--color_green_dark); }
.form_status.is_error { background: #fbe7e5; color: var(--color_error); }

/* ---------- 15. Footer (Canva page 5) ---------- */
.site_footer { padding-block: calc(70 * var(--s)) calc(40 * var(--s)); }
.footer_top {
  display: grid;
  grid-template-columns: calc(521 * var(--s)) calc(564 * var(--s));
  align-items: start;
  padding-left: calc(8 * var(--s));
}
.footer_title { line-height: 1.1; }
.footer_intro p + p { margin-top: calc(20 * var(--s)); }
/* Contact details | brand */
.footer_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: calc(24 * var(--s));
  min-height: calc(380 * var(--s));
  margin-top: calc(36 * var(--s));
  padding: calc(40 * var(--s)) calc(44 * var(--s));
  color: var(--color_ink);
}
.footer_details { display: flex; flex-direction: column; }
.footer_item + .footer_item { margin-top: calc(36 * var(--s)); }
.footer_label {
  font-family: var(--font_display);
  font-weight: 600;
  font-size: inherit;
  margin-bottom: calc(8 * var(--s));
}
.footer_item a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.footer_item a:hover { color: var(--color_green_dark); text-decoration-color: currentColor; }
.social_list { display: flex; gap: calc(24 * var(--s)); margin-top: auto; padding-top: 28px; }
.social_link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -5px;
  border-radius: 50%;
  color: var(--color_ink);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.25s var(--ease_out);
}
.social_link svg { width: max(24px, calc(30 * var(--s))); height: max(24px, calc(30 * var(--s))); fill: currentColor; }
.social_link:hover { color: var(--color_green_dark); background: rgba(14, 94, 62, 0.08); }
@media (hover: hover) {
  .social_link:hover { transform: translateY(-3px); }
}

.footer_brand { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer_logo { width: max(180px, calc(300 * var(--s))); height: auto; }
.footer_tagline {
  font-family: var(--font_display);
  font-weight: 400;
  font-size: var(--fs_h2_small);
  line-height: var(--lh_display);
  letter-spacing: var(--ls_display);
  color: var(--color_green_dark);
  text-align: right;
  text-wrap: balance;
}
.footer_companies { display: flex; flex-wrap: wrap; gap: 4px 18px; max-width: 560px; }
.footer_legal { margin-top: 20px; font-size: 14px; color: var(--color_ink); }
.footer_legal .placeholder { display: inline-block; margin-left: 8px; }

/* ---------- 16. Background art (decorative, aria-hidden) ---------- */
.art_layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.art_layer > * { position: absolute; }

/* Soft colour glows that drift slowly */
.glow {
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  animation: drift 26s ease-in-out infinite alternate;
}
.glow_yellow { --glow: rgba(239, 205, 94, 0.5); }
.glow_cream { --glow: rgba(255, 248, 237, 0.6); }
.glow_green { --glow: rgba(28, 188, 124, 0.2); }

/* Dot grid texture, fading out at the edges */
.dots {
  width: 320px;
  height: 240px;
  color: var(--color_green_deep);
  opacity: 0.2;
  background-image: radial-gradient(currentColor 1.2px, transparent 1.7px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
}

/* Line drawings: strokes trace themselves in when scrolled into view */
.art { display: block; overflow: visible; pointer-events: none; color: var(--color_green_deep); }
.card .art { color: var(--color_green_dark); }
.art .ln { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art .thin { stroke-width: 1; }
.art .heavy { stroke-width: 2; }
.art .dash { stroke-dasharray: 3 6; }
/* Technical-drawing conventions: hidden lines, centre lines, dimension lines */
.art .hid { stroke-width: 0.9; stroke-dasharray: 4 3; }
.art .cl { stroke-width: 0.8; stroke-dasharray: 12 3 2 3; }
.art .dim { stroke-width: 0.7; }
.art .faint { opacity: 0.35; }
.art .fill { fill: currentColor; }
.art .shade { fill: currentColor; fill-opacity: 0.45; }
.art .node,
.art .hole { fill: var(--art_bg); }
.art .art_label { fill: currentColor; font: 700 14px var(--font_body); letter-spacing: 0.16em; }
.art .note { fill: currentColor; font: 600 7px var(--font_body); letter-spacing: 0.12em; }
.art .note_lg { font-size: 10px; font-weight: 700; }
.js .art [pathLength] {
  stroke-dasharray: 1 1.2;
  stroke-dashoffset: 1.1;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.5, 0.1, 0.25, 1);
}
.js .art.is_visible [pathLength] { stroke-dashoffset: 0; }
.js .art .fade { opacity: 0; transition: opacity 1.2s ease 1.2s; }
.js .art.is_visible .fade { opacity: 1; }
.spin { animation: spin 90s linear infinite; }

/* Map pins drop in one after another */
.js .art_map .pin_drop { opacity: 0; transform: translateY(-34px); }
.js .art_map.is_visible .pin_drop { animation: pin_drop 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; animation-delay: calc(1.4s + var(--pin) * 0.22s); }

/* Dashed rings with an orbiting dot around a card */
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 124%;
  aspect-ratio: 1;
  border: 2px dashed rgba(11, 61, 44, 0.45);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
  animation: spin 48s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color_yellow);
  box-shadow: 0 0 0 5px rgba(239, 205, 94, 0.32);
}
.orbit_sm { width: 108%; border-color: rgba(255, 248, 237, 0.75); animation-duration: 30s; animation-direction: reverse; }
.orbit_sm::after { top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; background: var(--color_cream); box-shadow: none; }

/* Placement, section by section */
.hero_glow_a { left: -180px; bottom: -260px; }
.hero_glow_b { right: 18%; top: -300px; width: 620px; }
.hero_dots { left: -20px; bottom: -10px; opacity: 0.14; }
.hero_compass { top: calc(-80 * var(--s)); right: calc(-80 * var(--s)); width: max(180px, calc(340 * var(--s))); opacity: 0.16; }

.offer_glow { left: 28%; bottom: -340px; width: 760px; }
.offer_dots { left: -40px; top: -30px; }
.offer_globe { top: calc(-20 * var(--s)); right: calc(-120 * var(--s)); width: max(190px, calc(340 * var(--s))); opacity: 0.42; }

.group_glow { left: 50%; bottom: -260px; width: 720px; margin-left: -360px; }
.group_dots { right: 20px; top: 10px; opacity: 0.16; }
.group_network { bottom: calc(40 * var(--s)); left: calc(40 * var(--s)); width: max(170px, calc(290 * var(--s))); opacity: 0.34; }

.company_glow_a { right: -200px; top: 10%; width: 640px; }
.company_glow_b { left: -220px; bottom: -120px; width: 640px; }
.company_dots { right: 0; top: -20px; }

.presence_glow { left: -200px; top: -160px; width: 640px; }
.presence_dots { left: 34%; bottom: -20px; }

.offices_glow { right: -160px; top: -160px; width: 600px; }

.contact_glow { right: 8%; top: -260px; width: 680px; }
.contact_dots { left: -30px; bottom: 30px; }

.footer_glow { left: 30%; top: -260px; width: 700px; }
.dot_field { inset: 0; width: 100%; height: 100%; }

/* ---------- 17. Motion: reveals, word-by-word headings, tilt ---------- */
/* Blocks rise and fade in (translate, so transform stays free for the tilt) */
.js .reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity 0.8s var(--ease_out), translate 0.9s var(--ease_out);
  transition-delay: var(--reveal_delay, 0s);
}
.js .reveal.is_visible { opacity: 1; translate: none; }
.stagger > .reveal:nth-child(2) { --reveal_delay: 0.08s; }
.stagger > .reveal:nth-child(3) { --reveal_delay: 0.16s; }
.stagger > .reveal:nth-child(4) { --reveal_delay: 0.24s; }
.stagger > .reveal:nth-child(5) { --reveal_delay: 0.32s; }
.stagger > .reveal:nth-child(6) { --reveal_delay: 0.4s; }
.stagger > .reveal:nth-child(7) { --reveal_delay: 0.48s; }

/* Headings: each word rises out of a soft blur (words are wrapped by js/main.js) */
.js [data-split]:not(.is_split) { opacity: 0; }
.js [data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease_out), transform 0.9s var(--ease_out), filter 0.7s var(--ease_out);
  transition-delay: calc(var(--wi, 0) * 70ms);
}
.js [data-split].is_visible .w { opacity: 1; transform: none; filter: none; }

/* Hero illustration settles in on load */
.js .hero_media { animation: rise_in 1.2s var(--ease_out) 0.25s both; }

/* Image tiles open with a wipe */
.js .reveal .company_media { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.1s var(--ease_out) 0.2s; }
.js .reveal.is_visible .company_media { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .gallery .media_tile.reveal {
  translate: none;
  clip-path: inset(35% 0 0 0 round var(--radius));
  transition: opacity 0.9s var(--ease_out), clip-path 1.2s var(--ease_out);
  transition-delay: var(--reveal_delay, 0s);
}
.js .gallery .media_tile.reveal.is_visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .gallery .media_tile.reveal img { scale: 1.18; transition-delay: 0s, var(--reveal_delay, 0s); }
.js .gallery .media_tile.reveal.is_visible img { scale: 1; }

/* Cards lean towards the pointer (angles set by js/main.js) */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--tilt_x, 0deg)) rotateY(var(--tilt_y, 0deg));
  transition: transform 0.7s var(--ease_out), box-shadow 0.4s ease;
}
[data-tilt].is_tilting { transition: transform 0.12s linear, box-shadow 0.4s ease; }
.js .reveal[data-tilt] { transition: opacity 0.8s var(--ease_out), translate 0.9s var(--ease_out), transform 0.7s var(--ease_out), box-shadow 0.4s ease; transition-delay: var(--reveal_delay, 0s), var(--reveal_delay, 0s), 0s, 0s; }
.js .reveal[data-tilt].is_tilting { transition-duration: 0.8s, 0.9s, 0.12s, 0.4s; transition-timing-function: var(--ease_out), var(--ease_out), linear, ease; }
@media (hover: hover) {
  .office_card[data-tilt]:hover { box-shadow: var(--shadow_lift); }
}

@keyframes spin { to { rotate: 1turn; } }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.1); }
  100% { transform: translate(40px, -30px) scale(0.95); }
}
@keyframes rise_in { from { opacity: 0; translate: 0 30px; scale: 0.97; } }
@keyframes pin_drop { to { opacity: 1; transform: none; } }
@keyframes pin_hop { 40% { translate: 0 -4px; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js [data-split] .w { opacity: 1; translate: none; transform: none; filter: none; transition: none; }
  .js [data-split]:not(.is_split) { opacity: 1; }
  .js .hero_media { animation: none; }
  .js .reveal .company_media,
  .js .gallery .media_tile.reveal { clip-path: none; transition: none; }
  .js .gallery .media_tile.reveal img { scale: 1; }
  .js .art [pathLength] { stroke-dashoffset: 0; transition: none; }
  .js .art .fade { opacity: 1; transition: none; }
  .js .art_map .pin_drop { opacity: 1; transform: none; animation: none; }
  .glow, .orbit, .spin { animation: none; }
  .btn, .btn_icon, .btn_primary::after, .media_tile img, .offer_card img, .chip, .social_link,
  .link_arrow, .presence_link, .partner_link { transition: none; }
  .btn:hover, .btn:hover .btn_icon, .chip:hover, .social_link:hover, .partner_link:hover,
  .card_link:hover .link_arrow, .presence_link:hover .link_arrow,
  .media_tile:hover img, .company_row:hover .company_media img, .offer_card:hover img { transform: none; }
  .btn_primary:hover::after { translate: -110% 0; }
  .office_card:hover .office_name::before { animation: none; }
}

/* ==========================================================================
   Small laptops (up to 1099px): drop the section links, the CTA stays.
   ========================================================================== */
@media (max-width: 1099px) {
  .header_nav { display: none; }
}

/* ==========================================================================
   Tablet (up to 1023px): scale unit floors are reached, so switch the
   fixed Canva geometry for fluid grids while keeping the same order.
   ========================================================================== */
@media (max-width: 1023px) {
  .section { padding-block: 40px; }
  .hero { padding-top: 0; }
  .hero_card { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero_text { padding: 40px 0 40px 32px; }
  .hero_text .display,
  .hero_lead { max-width: none; }
  .hero_lead { margin: 20px 0 24px; }
  .hero_media { width: 100%; }

  .offer .h2 { max-width: none; }
  .offer_grid { margin-top: 28px; }
  .offer_label { min-height: 3.6em; max-width: none; }
  .offer_card { height: auto; aspect-ratio: 400 / 406; padding: 20px; }
  .offer_globe { right: 24px; }

  .group_card { min-height: 0; padding: 40px 24px 0; }
  .group_lead { max-width: 560px; margin-top: 18px; }
  .group_chips { margin-top: 22px; padding-inline: 0; }
  .group_img { width: 100%; max-width: 760px; height: auto; }
  .group_network { top: 20px; left: 20px; width: 130px; }

  .company_card { padding: 28px 24px; }
  .company_list { margin-top: 16px; }
  .company_media { aspect-ratio: 612 / 329; height: auto; }
  .company_row { grid-auto-rows: auto; }

  .presence_grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .presence_services, .partners_lead { max-width: none; }
  .presence_card { height: auto; aspect-ratio: 555 / 611; }
  .presence_card img { width: 76%; height: 90%; }

  .offices_grid { grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "b c" "d e" "f f"; row-gap: 20px; column-gap: 16px; }
  .offices_title { margin-bottom: 4px; }
  .offices_art { display: none; }
  .office_media { height: auto; aspect-ratio: 400 / 194; }
  .office_label { min-height: 0; padding: 16px; }
  .office_pos_f { max-width: calc(50% - 8px); }

  .gallery_grid { grid-template-rows: repeat(2, 26vw); gap: 8px; }

  .contact_grid { grid-template-columns: 1fr 1.15fr; gap: 32px; }
  .contact_text .h2_small,
  .contact_lead { max-width: none; }
  .contact_lead { margin-top: 20px; }
  .contact_img { width: 70%; margin-left: auto; }
  .contact_form { padding: 24px 20px 16px; }
  .field_row { grid-template-columns: 1fr; }
  .field { margin-bottom: 18px; }
  .form_intro { margin-bottom: 16px; }

  .footer_top { grid-template-columns: 1fr 1.3fr; gap: 24px; padding-left: 0; }
  .footer_intro p + p { margin-top: 16px; }
  .footer_card { min-height: 0; margin-top: 28px; padding: 28px; gap: 24px; }
  .footer_item + .footer_item { margin-top: 24px; }
  .social_list { gap: 24px; }
}

/* ==========================================================================
   Mobile (up to 699px): single column, same section order as the Canva file.
   ========================================================================== */
@media (max-width: 699px) {
  .header_logo img { height: 30px; }
  .header_actions { gap: 8px; }
  .header_cta { min-height: 44px; padding-inline: 14px; font-size: 15px; }
  .lang_btn { min-width: 40px; padding: 0 10px; }

  .hero_card { grid-template-columns: 1fr; }
  .hero_text { padding: 32px 20px 8px; }
  .hero_media { width: 92%; }
  .hero_actions { width: 100%; justify-content: center; }
  .btn_large { width: 100%; }
  .hero_compass { top: -50px; right: -50px; width: 160px; }

  .offer_grid { grid-template-columns: 1fr; gap: 28px; }
  .offer_label { min-height: 0; margin-bottom: 12px; }
  .offer_card { aspect-ratio: 4 / 3.4; }
  .offer_globe { top: 8px; right: -24px; width: 130px; opacity: 0.3; }

  .group_card { padding: 32px 20px 0; }
  .group_network { display: none; }

  .company_row { grid-template-columns: 1fr; }
  .company_row_flip .company_media { order: 0; } /* card before its illustration on phones */
  .company_card { padding: 24px 20px; }

  .presence_grid { grid-template-columns: 1fr; gap: 36px; }
  .presence_card { aspect-ratio: 1 / 1; }
  .presence_card img { width: 70%; height: 92%; }
  .orbit_lg { width: 116%; }
  .orbit_sm { width: 104%; }

  .offices_grid { grid-template-columns: 1fr; grid-template-areas: "title" "b" "c" "d" "e" "f"; }
  .office_pos_f { max-width: none; }

  .gallery_grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 42vw; grid-auto-flow: dense; }
  .g_a, .g_b, .g_c, .g_d, .g_e, .g_f { grid-column: auto; }
  .g_b { grid-column: 1 / -1; }

  .contact_grid { grid-template-columns: 1fr; gap: 24px; }
  .contact_img { width: 72%; margin: 0 auto; padding-top: 20px; }

  .footer_top { grid-template-columns: 1fr; gap: 18px; }
  .footer_card { grid-template-columns: 1fr; padding: 24px 20px; }
  .footer_brand { align-items: flex-start; }
  .footer_tagline { text-align: left; }
  .footer_logo { order: -1; }

  .glow { width: 380px; }
}

/* Very narrow phones: the hero button carries the CTA */
@media (max-width: 359px) {
  .header_cta { display: none; }
}
