/* Homepage colors follow the portal appearance preference. */
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

body[data-portal-view] {
  --portal-font: "Instrument Sans", system-ui, sans-serif;
  --portal-header-gutter: 24px;
  --home-paper: #f7f6ef;
  --home-surface: #fffdf7;
  --home-ink: #152b22;
  --home-muted: #445b50;
  --home-green: #194737;
  --home-on-green: #fff;
  --home-hover: #103a2a;
  --home-line: #dce3d9;
  --home-control: #75877a;
  --home-soft: #eaf0e7;
  --home-focus: #256849;
  --home-panel: #143b2d;
  --home-panel-text: #f3f7ee;
  --home-panel-muted: #d6e4d7;
  --home-ochre: #805319;
  --home-plum: #6a437e;
  --home-rust: #983e32;
  --home-slate: #345d75;
  --home-olive: #476a28;
  background: var(--home-paper);
  color: var(--home-ink);
}

html[data-theme="dark"] body[data-portal-view] {
  --home-paper: #111e18;
  --home-surface: #172820;
  --home-ink: #f1f5eb;
  --home-muted: #bdcdc2;
  --home-green: #c7dfad;
  --home-on-green: #142b20;
  --home-hover: #e0edce;
  --home-line: #3a5043;
  --home-control: #8da598;
  --home-soft: #21362b;
  --home-focus: #e2ed9a;
  --home-panel: #1a3328;
  --home-ochre: #f5ca79;
  --home-plum: #e9b9f4;
  --home-rust: #f2a997;
  --home-slate: #a5cee7;
  --home-olive: #bddf94;
}

body[data-portal-view] { font-family: var(--portal-font); }

.portal-nav, .portal-menu-icon { display: none; }
.fm-home [hidden] { display: none !important; }


body[data-portal-view] .fm-site-header {
  background: var(--home-surface);
  border-color: var(--home-line);
}

body[data-portal-view] .fm-site-header .head {
  height: auto;
  min-height: 78px;
  gap: 18px;
  flex-wrap: nowrap;
}

body[data-portal-view] .fm-site-header .fm-site-brand {
  box-sizing: border-box;
  inline-size: clamp(148px, 15vw, 204px);
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 6px;
}

body[data-portal-view] .fm-site-header .fm-site-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 704 / 188;
  object-fit: contain;
}

body[data-portal-view] .portal-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(2px, 1vw, 12px);
  min-width: 0;
}

.portal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--home-ink);
  font-size: .875rem;
  font-weight: 590;
  line-height: 1.35;
  text-decoration: none;
}

.portal-nav a:is(:hover, [data-current]) { background: var(--home-soft); }
body[data-portal-view] .portal-menu-icon { display: block; }

body[data-portal-view] #mobileToggle {
  color: var(--home-ink);
  border: 1px solid var(--home-control);
  border-radius: 7px;
  background: transparent;
}

body[data-portal-view] #mobileToggle:is(:hover, [aria-expanded="true"]) {
  background: var(--home-soft);
}

body[data-portal-view] #mobileToggle .portal-menu-close,
body[data-portal-view] #mobileToggle[aria-expanded="true"] .portal-menu-open { display: none; }
body[data-portal-view] #mobileToggle[aria-expanded="true"] .portal-menu-close { display: block; }

body[data-portal-view="home"] #main {
  max-width: none;
  padding: 0;
}

.fm-home-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.fm-home :is(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
.fm-home :is(h1, h2, h3, h4) { color: var(--home-ink); overflow-wrap: anywhere; }
.fm-home p { color: var(--home-muted); }
.fm-home ul { list-style: none; padding: 0; }

.fm-home svg, .portal-menu-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fm-home-intro .fm-home-actions { margin-top: 27px; }

.fm-home .fm-home-audience {
  max-width: 51ch;
  margin-top: 20px;
  font-size: .875rem;
  line-height: 1.55;
}

.fm-home .fm-home-button, .fm-home .fm-home-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.fm-home .fm-home-button {
  background: var(--home-green);
  color: var(--home-on-green);
}

.fm-home .fm-home-button:hover { background: var(--home-hover); }
.fm-home .fm-home-button:active { box-shadow: inset 0 0 0 2px currentColor; }

.fm-home .fm-home-button-outline {
  background: transparent;
  color: var(--home-ink);
  border-color: var(--home-control);
}

.fm-home .fm-home-button-outline:hover { background: var(--home-soft); }
.fm-home .fm-home-button svg { width: 17px; height: 17px; }

.fm-home .fm-home-text-link { color: var(--home-green); text-decoration: underline; text-underline-offset: 4px; }
.fm-home .fm-home-text-link:hover { background: var(--home-soft); }

.fm-home-benefits { padding-block: clamp(32px, 4.7vw, 60px); }
.fm-home :is(.fm-home-benefits, .fm-home-access) h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.fm-home-benefits ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 25px; }
.fm-home-benefits li { display: flex; gap: 13px; }
.fm-home-benefits li > svg { margin-top: 3px; color: var(--home-green); }
.fm-home-benefits h3 { margin-bottom: 7px; font-size: 1rem; line-height: 1.4; }
.fm-home-benefits p { font-size: .9375rem; line-height: 1.55; }

.fm-home-access {
  display: grid;
  grid-template-columns: minmax(0, .67fr) repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--home-line);
  padding-block: clamp(28px, 4vw, 54px);
}
.fm-home-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-inline-start: clamp(13px, 2vw, 28px);
  border-inline-start: 1px solid var(--home-line);
}
.fm-home-offer h3 { font-size: 1.125rem; line-height: 1.3; }
.fm-home-offer p { font-size: .9375rem; line-height: 1.55; }
.fm-home .fm-home-offer .fm-home-text-link { margin-top: auto; padding-inline: 0; text-align: start; }
.fm-home-offer .fm-home-text-link svg { width: 15px; height: 15px; }

.fm-home-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: clamp(32px, 5vw, 66px);
  padding: clamp(22px, 4vw, 47px);
  border-radius: 10px;
  background: var(--home-panel);
}

.fm-home-end h2 { color: var(--home-panel-text); font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
.fm-home-end p { max-width: 58ch; color: var(--home-panel-muted); margin-top: 10px; }
.fm-home-end .fm-home-button { background: #d5e6b9; color: #1b3529; }
.fm-home-end .fm-home-button:hover { background: #edf3db; }
.fm-home-end .fm-home-button-outline { background: transparent; border-color: #a8c3b1; color: var(--home-panel-text); }
.fm-home-end .fm-home-button-outline:hover { background: #ffffff1c; }

body[data-portal-view] .v3-footer {
  margin: 0;
  padding-block: clamp(28px, 5.5vw, 64px) 20px;
  background: #112d23;
  color: #f2f7ee;
}
.v3-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .72fr) minmax(0, .78fr);
  align-items: start;
  gap: clamp(20px, 5vw, 70px);
}
.v3-footer-grid h2 { margin: 0; color: inherit; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.v3-footer-contact { display: grid; grid-template-columns: clamp(88px, 10vw, 126px) minmax(0, 1fr); gap: clamp(13px, 2vw, 24px); align-items: start; }
.v3-footer-logo { display: block; width: 100%; }
.v3-footer-logo img { display: block; width: 100%; height: auto; }
.v3-footer-contact-copy { display: grid; gap: 5px; justify-items: start; }
.v3-footer .v3-footer-contact h2 { font-size: 1.1875rem; }
.v3-footer-contact p { margin: 0; color: #c5d7cb; font-size: .9375rem; line-height: 1.5; }
.v3-footer .v3-footer-email { color: #e6f1c9; font-weight: 650; overflow-wrap: anywhere; }
.v3-footer .v3-footer-feedback { color: #d8e6dc; font-size: .9375rem; }
.v3-footer-nav ul { margin: 10px 0 0; padding: 0; list-style: none; }
.v3-footer .v3-footer-nav a { min-height: 34px; color: #d8e6dc; font-size: .9375rem; line-height: 1.3; }
.v3-footer-nav a:hover, .v3-footer-contact a:hover { text-decoration: underline; text-underline-offset: .2em; }
.v3-footer-copyright {
  margin: clamp(18px, 4vw, 42px) 0 0;
  padding-top: 16px;
  border-top: 1px solid #ffffff32;
  color: #c5d7cb;
  font-size: .875rem;
}
@media (max-width: 760px) {
  .v3-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .v3-footer-contact { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid #ffffff32; }
  .v3-footer .v3-footer-nav a { min-height: 44px; }
}
.fm-home-visual-credit { display: none; }
body[data-portal-view="home"] .fm-home-visual-credit {
  display: inline-block;
  align-self: center;
  color: #d5e1d5;
  font-size: .8125rem;
}


body[data-portal-view] :is(a, button, select):focus-visible,
.fm-home [data-portal-anchor]:focus {
  outline: 2px solid var(--home-focus);
  outline-offset: 4px;
}

.fm-home [data-portal-anchor] { scroll-margin-block: 24px; }
.fm-home [data-portal-anchor]:focus { border-radius: 2px; }
body[data-portal-view] :is(.fm-home-end, .v3-footer) :focus-visible { outline-color: #e2ed9a; }

@media (900px < width <= 1080px) {
  body[data-portal-view] .fm-site-header .head { gap: 12px; }
  body[data-portal-view] .fm-site-header .portal-nav { gap: 2px; }
  .fm-site-header .portal-nav a {
    padding-inline: 7px;
    font-size: .8125rem;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  body[data-portal-view] .fm-site-header .head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(var(--portal-control-row, 78px), auto);
    row-gap: 0;
    padding-block: 0;
  }
  body[data-portal-view] .fm-site-header .fm-site-brand { justify-self: start; max-inline-size: 100%; }
  body[data-portal-view] .fm-site-header .portal-nav { display: none; }
  body[data-portal-view] .fm-site-header #mobileToggle { display: inline-flex; margin-inline-start: 6px; }
  body[data-portal-view] .fm-site-header .portal-nav[data-expanded] {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 4px;
    max-block-size: calc(100dvh - 90px);
    overflow-y: auto;
    padding: 6px var(--portal-header-gutter);
    background: var(--home-surface);
    border-block: 1px solid var(--home-line);
    box-shadow: 0 8px 18px #0b1b1626;
  }
  .fm-site-header .portal-nav[data-expanded] a {
    justify-content: center;
    padding: 6px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  body[data-portal-view] .fm-site-header .portal-nav[data-expanded] a[data-current] {
    background: var(--home-soft);
    color: var(--home-green);
    text-decoration: none;
  }
}

@media (640px <= width <= 900px) {
  body[data-portal-view] .fm-site-header .portal-nav[data-expanded] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (width > 900px) {
  body[data-portal-view] #mobileToggle { display: none; }
}

@media (max-width: 760px) {
  .fm-home-shell { width: calc(100% - 40px); }
  .fm-home-access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-home-access h2 { grid-column: 1 / -1; }
}

@media (max-width: 550px) {
  body[data-portal-view] { --portal-header-gutter: 12px; --portal-control-row: 52px; }
  body[data-portal-view] .fm-site-header .head { column-gap: 6px; min-height: 64px; padding: 6px var(--portal-header-gutter); }
  body[data-portal-view] .fm-site-header .fm-site-brand { inline-size: clamp(96px, calc(100vw - 226px), 156px); flex-shrink: 1; }
  body[data-portal-view] .fm-site-header .tools { gap: 4px; }
  body[data-portal-view] .fm-site-header .fm-controls .fm-menu {
    position: fixed;
    top: 66px;
    right: var(--portal-header-gutter);
    box-sizing: border-box;
    max-inline-size: calc(100vw - 2 * var(--portal-header-gutter));
    max-block-size: calc(100dvh - 66px - var(--portal-header-gutter));
    overflow: auto;
  }

  .fm-home-shell { width: calc(100% - 32px); }
  .fm-home-benefits ul, .fm-home-access { grid-template-columns: minmax(0, 1fr); }
}

@media (forced-colors: active) {
  .fm-home :is(.fm-home-button, .fm-home-status) { border-color: ButtonText; }
}

/* Marketing homepage */
.fm-landing {
  --landing-forest: #123024;
  --landing-lime: #d9eea8;
  --landing-white: #f7faef;
  --landing-light: #dceadc;
  --landing-line: #a9c2ae58;
  padding-bottom: clamp(40px, 6vw, 84px);
}

.fm-landing .fm-home-button {
  padding-inline: 20px;
  min-height: 48px;
  border-radius: 8px;
  text-align: center;
}

.fm-landing .fm-home-text-link { padding-inline: 0; }
.fm-landing a:focus-visible { outline: 2px solid var(--home-focus); outline-offset: 3px; }

.home-landing-hero {
  --home-ink: var(--landing-white);
  --home-muted: var(--landing-light);
  --home-green: var(--landing-lime);
  --home-on-green: #162d22;
  --home-hover: #eff7d5;
  --home-control: #d6e5d4a6;
  --home-soft: #eaf2e526;
  --home-focus: var(--landing-lime);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 44vw, 615px);
  margin-block: clamp(16px, 2.6vw, 38px) clamp(22px, 3vw, 42px);
  padding: clamp(30px, 5vw, 69px);
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: clamp(14px, 2vw, 24px);
  background: #10271d;
  box-shadow: 0 16px 34px #102b2029;
}

.home-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #0d261bef 0%, #0d261be2 23%, #0d261bbd 46%, #0d261b43 70%, #0d261b08 100%);
}

.home-hero-copy { width: min(62%, 670px); }
.fm-landing .home-kicker {
  margin-bottom: 16px;
  color: var(--landing-lime);
  font-size: .875rem;
  font-weight: 710;
  letter-spacing: .105em;
  text-transform: uppercase;
  line-height: 1.45;
}

.fm-landing .home-hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 690;
  letter-spacing: -.06em;
  line-height: .99;
  overflow-wrap: normal;
  hyphens: auto;
}
.fm-landing .home-hero-copy h1:lang(fr) { font-size: clamp(2.5rem, 4.7vw, 4.7rem); }

.home-hero-accent { display: block; color: var(--landing-lime); }
.fm-landing .home-hero-lead {
  max-width: 30ch;
  color: var(--landing-white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 660;
  line-height: 1.22;
  letter-spacing: -.023em;
}
.fm-landing .home-hero-detail { max-width: 40ch; margin-top: 11px; font-size: 1.0625rem; line-height: 1.45; }
.fm-landing .home-hero-copy .fm-home-actions { margin-top: 27px; }
.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  overflow: hidden;
}

.home-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 52%;
}

.fm-landing .home-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--home-line);
}

.home-trust li {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.8vw, 18px);
  min-width: 0;
  padding: 18px clamp(10px, 2vw, 25px);
}

.home-trust li:first-child { padding-inline-start: 4px; }
.home-trust li + li { border-inline-start: 1px solid var(--home-line); }
.home-trust li strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.fm-landing .home-trust li p { margin-top: 3px; font-size: .9375rem; line-height: 1.35; }
.home-trust li svg { width: 30px; height: 30px; color: var(--home-green); }
.home-trust li > svg { flex-shrink: 0; }
.home-trust li .home-swiss-outline { width: clamp(34px, 3.8vw, 49px); height: auto; aspect-ratio: 64 / 44; stroke-width: 1.45; }
#home-swiss-outline path { fill: currentColor; fill-opacity: .16; }

.home-landing-section { margin-top: clamp(42px, 6vw, 82px); }
.home-landing-heading { margin-bottom: clamp(16px, 2.3vw, 26px); }
.fm-landing .home-landing-heading h2 {
  font-size: clamp(1.875rem, 3.45vw, 3rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.047em;
}
.fm-landing .home-landing-heading p { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.home-spotlight-grid, .home-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(13px, 1.7vw, 22px); }

.home-spot-card, .home-work-card, .home-access-card {
  border: 1px solid var(--home-line);
  border-radius: 15px;
  background: var(--home-surface);
}

.home-spot-card {
  --spotlight-accent: #b58a2f;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(15px, 2vw, 26px);
}

.home-spot-site { --spotlight-accent: #5b9faa; }
.home-spot-heading { display: flex; align-items: start; gap: clamp(12px, 1.6vw, 17px); margin-bottom: 19px; }
.home-spot-heading > div { min-width: 0; }
.home-spot-logo {
  width: clamp(46px, 5vw, 59px);
  height: clamp(46px, 5vw, 59px);
  flex: none;
  padding: 3px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  object-fit: contain;
  background: #fcfdfb;
}

.fm-landing .home-spot-heading h3, .fm-landing .home-work-copy h3, .fm-landing .home-access-card h3 {
  font-size: clamp(1.3rem, 2.15vw, 1.72rem);
  line-height: 1.13;
  letter-spacing: -.031em;
}

.fm-landing .home-spot-heading p { margin-top: 5px; font-size: 1rem; line-height: 1.42; }
.home-spot-preview {
  position: relative;
  display: block;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--spotlight-accent);
  border-radius: 9px;
  background: #f8fbf8;
}
.home-spot-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1.846; object-fit: contain; }
.home-spot-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 14px; }
.home-spot-actions > span { color: var(--home-muted); font-size: .875rem; }

.home-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 22px); }
.home-work-card { display: flex; flex-direction: column; min-width: 0; }
.home-work-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2.23;
  background: var(--home-soft);
  border-radius: 14px 14px 0 0;
}
.home-work-picture { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.home-work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.home-work-icon {
  position: absolute;
  left: clamp(15px, 2vw, 25px);
  bottom: -11px;
  display: grid;
  place-content: center;
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: var(--home-surface);
  color: var(--home-green);
  box-shadow: 0 2px 8px #13291e3d;
}
.home-work-icon svg { width: 23px; height: 23px; }
.home-work-copy { display: flex; flex: 1; flex-direction: column; padding: 25px clamp(15px, 2vw, 25px) 10px; }
.fm-landing .home-work-copy p { margin: 8px 0 7px; font-size: 1rem; line-height: 1.45; }
.home-jobs-actions { display: flex; flex-wrap: wrap; gap: 0 17px; margin-top: auto; }

.home-access { padding-top: clamp(23px, 3.4vw, 38px); border-top: 1px solid var(--home-line); }
.home-access-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; }
.home-access-card {
  display: flex;
  align-items: start;
  gap: clamp(12px, 1.8vw, 21px);
  padding: clamp(17px, 2.3vw, 29px);
  color: var(--home-ink);
  text-decoration: none;
}
.home-access-card > div { min-width: 0; }
.home-access-card > svg { width: 32px; height: 32px; color: var(--home-green); }
.fm-landing .home-access-card p { margin-top: 5px; font-size: 1rem; line-height: 1.45; }
.home-access-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--home-green);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-access-card:hover { border-color: var(--home-green); }
.home-access-pro {
  --home-ink: var(--landing-white);
  --home-muted: var(--landing-light);
  --home-green: var(--landing-lime);
  border-color: #557252;
  background: var(--landing-forest);
  color: var(--landing-white);
}

.home-contact {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(15px, 2.8vw, 30px);
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(20px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--landing-line, #a9c2ae58);
  border-radius: 15px;
  background: var(--landing-forest, #123024);
  --home-ink: var(--landing-white, #f7faef);
  --home-muted: var(--landing-light, #dceadc);
  --home-green: var(--landing-lime, #d9eea8);
  --home-on-green: #192d23;
  --home-hover: #ebf5d0;
  --home-focus: var(--landing-lime, #d9eea8);
}
.home-contact-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: right center;
}
.home-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #123024 24%, #123024f2 67%, #1230249c);
  pointer-events: none;
}
.home-contact-mark { flex: none; color: var(--home-green); }
.home-contact-mark svg { width: clamp(34px, 4vw, 52px); height: clamp(34px, 4vw, 52px); }
.home-contact > div { flex: 1 1 250px; }
.fm-home .home-contact h2 { margin: 0; color: var(--home-ink); font-size: clamp(1.45rem, 2.48vw, 2.1rem); line-height: 1.1; letter-spacing: -.037em; }
.fm-home .home-contact p { margin: 7px 0 0; color: var(--home-muted); line-height: 1.43; }
.catalog-offer { margin: clamp(27px, 5vw, 54px) 0 clamp(26px, 5vw, 60px); }
.catalog-offer > .fm-home-button { flex: none; }

/* Each animation has a static equivalent when motion is reduced. */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-photo { animation: home-cover-arrival 1.55s cubic-bezier(.2,.65,.28,1) both; }
  .home-hero-copy > :is(.home-kicker, h1, .home-hero-lead, .home-hero-detail, .fm-home-actions) {
    animation: home-copy-arrival .68s cubic-bezier(.22,.62,.3,1) both;
  }
  .home-hero-copy > h1 { animation-delay: 70ms; }
  .home-hero-copy > .home-hero-lead { animation-delay: 140ms; }
  .home-hero-copy > .home-hero-detail { animation-delay: 190ms; }
  .home-hero-copy > .fm-home-actions { animation-delay: 240ms; }

  @supports (animation-timeline: view()) {
    .home-landing-hero { view-timeline-name: --home-cover; }
    .home-hero-media {
      inset: -7% 0;
      animation: home-cover-depth linear both;
      animation-timeline: --home-cover;
      animation-range: exit 0% exit 100%;
    }
    .home-work-media { view-timeline-name: --home-work-photo; }
    .home-work-media img {
      inset: -6% 0;
      height: 112%;
      animation: home-work-depth linear both;
      animation-timeline: --home-work-photo;
      animation-range: cover 0% cover 100%;
    }
  }

  @media (hover: hover) and (pointer: fine) {
    .home-landing-hero .fm-home-button { transition: translate .2s ease, background-color .2s ease; }
    .home-landing-hero .fm-home-button:hover { translate: 0 -2px; }
    .home-spot-preview img, .home-work-media img { transition: scale .45s cubic-bezier(.22,.62,.3,1); }
    .home-spot-preview:hover img, .home-spot-preview:focus-visible img { scale: 1.027; }
    .home-work-card:hover .home-work-media img, .home-work-card:focus-within .home-work-media img { scale: 1.035; }
  }
}

@keyframes home-cover-arrival {
  from { scale: 1.075; }
  to { scale: 1; }
}
@keyframes home-copy-arrival {
  from { opacity: .72; translate: 0 13px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes home-cover-depth {
  from { translate: 0 0; }
  to { translate: 0 6%; }
}
@keyframes home-work-depth {
  from { translate: 0 -4%; }
  to { translate: 0 4%; }
}

@media (max-width: 900px) {
  .home-hero-copy { width: 74%; }
  .home-hero-copy .fm-home-actions { gap: 8px; }
  .fm-landing .home-hero-copy .fm-home-button { padding-inline: 13px; }
}

@media (max-width: 720px) {
  .home-landing-hero {
    padding: clamp(148px, 34vw, 225px) 20px 26px;
    min-height: 0;
  }
  .home-hero-copy { width: 100%; }
  .home-landing-hero::after {
    background: linear-gradient(180deg, #10271d0c 0%, #10271d51 75px, #10271deb 155px, #10271d 225px);
  }
  .home-hero-media { inset: 0 0 auto; height: clamp(235px, 58vw, 315px); }
  .home-hero-photo { object-position: 62% 45%; }
  .fm-landing .home-hero-copy h1, .fm-landing .home-hero-copy h1:lang(fr) { font-size: clamp(2.45rem, 8.9vw, 4rem); }
  .fm-landing .home-hero-detail { font-size: 1rem; }
  .home-spotlight-grid, .home-access-grid { grid-template-columns: 1fr; }
  .home-spot-actions { align-items: flex-start; flex-direction: column; }
  .home-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  @media (prefers-reduced-motion: no-preference) {
    .home-hero-media { animation: none; }
  }
}

@media (max-width: 510px) {
  .home-hero-copy .fm-home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .fm-landing .home-hero-copy .fm-home-button { padding-inline: 8px; }
  .fm-landing .home-trust { grid-template-columns: 1fr; }
  .home-trust li { padding: 12px 4px; }
  .home-trust li > svg { width: 34px; }
  .home-trust li + li { border-inline-start: 0; border-top: 1px solid var(--home-line); }
  .home-work-grid { grid-template-columns: 1fr; }
  .home-contact > div { flex-basis: 100%; }
}
.home-spot-caption{margin:6px 0 0;padding:0;color:var(--muted);font-size:.75rem;line-height:1.4}
.home-spot-card .home-spot-actions{justify-content:flex-end;margin-top:12px}
