/* Approved 941 × 1672 métiers reference. Photos and product examples are
   measured crop windows of the supplied artwork; page copy remains HTML. */
.trades-page {
  --p: min(calc(100vw / 941), 1.530287px);
  --u: var(--p);
  --trades-ink: #080f63;
  --trades-blue: #0068ff;
  --trades-orange: #ff641f;
  --trades-muted: #43538e;
  max-width: 1440px;
  margin-inline: auto;
  overflow-x: clip;
  background: #fff;
  color: var(--trades-ink);
}

.trades-page .inner-container,
.trades-page .home-container {
  width: calc(100% - 84 * var(--p));
  margin-inline: auto;
}

.trades-page h1,
.trades-page h2,
.trades-page p,
.trades-page figure {
  margin: 0;
  color: inherit;
}

.trades-page h1,
.trades-page h2 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.055em;
}

.trades-page .mock-crop {
  width: 100%;
  height: auto;
}

.trades-hero {
  padding: calc(18 * var(--p)) 0 calc(27 * var(--p));
}

.trades-hero-grid {
  display: grid;
  grid-template-columns: calc(449 * var(--p)) 1fr;
  min-height: calc(310 * var(--p));
}

.trades-hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: calc(18 * var(--p)) calc(8 * var(--p)) 0 calc(5 * var(--p));
  border-right: 1px solid #d8e4ff;
}

.trades-hero-copy .inner-eyebrow {
  margin-bottom: calc(18 * var(--p));
}

.trades-page .trades-hero h1 {
  max-width: calc(430 * var(--p));
  font-size: calc(42 * var(--p));
  font-weight: 800;
  line-height: 0.94;
}

.trades-hero h1 span {
  color: var(--trades-orange);
  white-space: nowrap;
  font-size: calc(39 * var(--p));
}

.trades-page .trades-intro {
  max-width: calc(405 * var(--p));
  margin-top: calc(13 * var(--p)) !important;
  font-size: calc(15 * var(--p));
  line-height: 1.42;
  color: var(--trades-muted);
}

.trades-hero-copy .inner-button {
  margin-top: calc(20 * var(--p));
}

.trades-hero-copy .inner-note {
  margin-top: calc(9 * var(--p));
  font-size: calc(12 * var(--p));
}

.trades-hero-copy .trades-closed {
  margin-top: calc(2 * var(--p));
}

.trades-hero-preview {
  padding-left: calc(33 * var(--p));
}

.trades-hero-preview .mock-crop,
.trades-hero-preview .trade-hero-shot {
  width: 100%;
  height: calc(310 * var(--p));
}
.trade-product-shot {
  display: block;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #d8e4ff;
  background: #fff;
}
.trade-hero-shot {
  border-radius: calc(7 * var(--p));
  box-shadow: 0 calc(8 * var(--p)) calc(20 * var(--p)) #07134512;
}

.trades-hero-preview figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.trades-profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(22 * var(--p));
  padding: 0 0 calc(17 * var(--p));
  border-bottom: 1px solid #d8e4ff;
}

.trade-profile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: calc(12 * var(--p));
  color: inherit;
  text-decoration: none;
}

.trade-profile::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(3 * var(--p));
  background: transparent;
  content: '';
}

.trade-profile:hover::after,
.trade-profile:focus-visible::after,
.trade-profile.is-active::after {
  background: var(--trades-orange);
}

.trade-profile .mock-crop,
.trade-profile .trade-profile-shot {
  width: 100%;
  aspect-ratio: 201 / 122;
  border-radius: calc(7 * var(--p));
}

.trade-profile strong {
  margin-top: calc(4 * var(--p));
  font-size: calc(14 * var(--p));
  line-height: 1.15;
}

.trade-profile > span:last-child {
  margin-top: calc(2 * var(--p));
  color: var(--trades-muted);
  font-size: calc(12 * var(--p));
  line-height: 1.25;
}

.trade-stories {
  padding-top: calc(17 * var(--p));
}

.trade-story {
  display: grid;
  grid-template-areas: 'photo copy product';
  grid-template-columns: calc(249 * var(--p)) 1fr calc(251 * var(--p));
  align-items: center;
  gap: 0;
  min-height: calc(210 * var(--p));
  border-bottom: 1px solid #d8e4ff;
  scroll-margin-top: calc(70 * var(--p));
}

.trade-story.is-reversed {
  grid-template-areas: 'product copy photo';
  grid-template-columns: calc(254 * var(--p)) 1fr calc(250 * var(--p));
}

.story-photo {
  grid-area: photo;
  width: 100%;
  height: calc(170 * var(--p));
  border-radius: calc(7 * var(--p));
}

.story-product {
  grid-area: product;
  width: 100%;
  height: calc(164 * var(--p));
  border-radius: calc(7 * var(--p));
}

.story-copy {
  grid-area: copy;
  min-width: 0;
  padding-left: calc(27 * var(--p));
}

.story-copy .inner-eyebrow {
  margin-bottom: calc(7 * var(--p));
}

.trades-page .story-copy h2 {
  font-size: calc(23 * var(--p));
  font-weight: 800;
  line-height: 1.02;
}

.story-copy > p:not(.inner-eyebrow) {
  margin-top: calc(10 * var(--p));
  color: var(--trades-muted);
  font-size: calc(15 * var(--p));
  line-height: 1.36;
}

.story-copy .story-detail {
  margin-top: calc(12 * var(--p));
  font-size: calc(11 * var(--p));
  line-height: 1.55;
}
.trades-page .story-copy .story-detail {
  font-size: calc(11 * var(--p));
}

.story-detail strong,
.story-badge {
  display: inline-block;
  width: fit-content;
  padding: calc(2 * var(--p)) calc(5 * var(--p));
  border-radius: calc(4 * var(--p));
  background: #dcecff;
  color: #0065e8;
  font-weight: 600;
}

.story-copy .inner-link {
  margin-top: calc(9 * var(--p));
}
.story-copy .story-badge {
  display: block;
}
.trades-page #petites-equipes h2 {
  font-size: calc(21.4 * var(--p));
}

.trades-caption {
  padding: calc(8 * var(--p)) 0 calc(12 * var(--p));
  color: var(--trades-muted) !important;
  font-size: calc(10 * var(--p));
  text-align: right;
}

.trades-cta {
  background: var(--trades-blue);
  color: #fff;
}

.trades-cta-grid {
  display: grid;
  grid-template-columns: 1fr calc(275 * var(--p));
  align-items: center;
  min-height: calc(124 * var(--p));
}

.trades-page .trades-cta h2 {
  max-width: calc(390 * var(--p));
  color: #fff;
  font-size: calc(37 * var(--p));
  font-weight: 750;
  line-height: 1.05;
}

.trades-cta .inner-button {
  width: 100%;
}

.trades-cta .inner-note {
  margin-top: calc(8 * var(--p));
  color: #fff;
  text-align: center;
}

.trades-cta .inner-note + .inner-note {
  margin-top: 0;
}

@media (max-width: 700px) {
  .trades-page {
    --p: 1px;
    width: 100%;
    max-width: none;
    font-size: 16px;
  }

  .trades-page .inner-container,
  .trades-page .home-container {
    width: calc(100% - 36px);
  }

  .trades-hero {
    padding: 28px 0 24px;
  }

  .trades-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .trades-hero-copy {
    padding: 0;
    border: 0;
  }

  .trades-page .trades-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 0.98;
  }
  .trades-hero h1 span {
    white-space: normal;
    font-size: inherit;
  }

  .trades-page .trades-intro {
    max-width: 36rem;
    margin-top: 18px !important;
    font-size: 17px;
  }

  .trades-hero-copy .inner-button {
    margin-top: 24px;
  }

  .trades-hero-copy .inner-note {
    font-size: 14px;
  }

  .trades-page .trades-hero-preview {
    margin-top: 28px;
    padding: 0;
  }

  .trades-hero-preview .mock-crop {
    width: 100%;
    height: auto;
    aspect-ratio: 388 / 310;
  }

  .trades-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding-bottom: 24px;
  }

  .trade-profile {
    padding-bottom: 12px;
  }

  .trade-profile .mock-crop {
    width: 100%;
    height: auto;
    aspect-ratio: var(--w) / var(--h);
    border-radius: 7px;
  }

  .trade-profile strong {
    margin-top: 8px;
    font-size: 16px;
  }

  .trade-profile > span:last-child {
    font-size: 14px;
  }

  .trade-stories {
    padding-top: 0;
  }

  .trade-story,
  .trade-story.is-reversed {
    display: grid;
    grid-template-areas: 'photo' 'copy' 'product';
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 32px 0;
    scroll-margin-top: 72px;
  }
  .story-copy {
    padding-left: 0;
  }

  .story-photo,
  .story-product {
    width: 100%;
    height: auto;
  }

  .story-photo {
    aspect-ratio: var(--w) / var(--h);
    border-radius: 8px;
  }

  .story-product {
    aspect-ratio: var(--w) / var(--h);
  }

  .story-copy .inner-eyebrow {
    margin-bottom: 8px;
  }

  .trades-page .story-copy h2 {
    font-size: 30px;
  }
  .trades-page #petites-equipes h2 {
    font-size: 30px;
  }

  .story-copy > p:not(.inner-eyebrow),
  .trades-page .story-copy .story-detail {
    font-size: 16px;
  }

  .story-copy .inner-link {
    margin-top: 14px;
    font-size: 16px;
  }

  .trades-caption {
    padding: 12px 0 20px;
    font-size: 14px;
  }

  .trades-cta-grid {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
    padding-block: 34px;
  }

  .trades-page .trades-cta h2 {
    max-width: 100%;
    font-size: 38px;
  }

  .trades-cta .inner-note {
    font-size: 14px;
  }
}
