/* ==========================================================================
   Masera & Co — homepage additions to site.css (body.index-page.v2 only):
   per-photo focal points and the few layouts that exist only on the home page.
   ========================================================================== */

/* 01 What we do: opens straight under the hero, so a slightly shorter top */
body.v2 .home-wwd {
  padding-top: var(--mc-pad);
  padding-bottom: var(--mc-pad);
}

body.v2 .home-wwd .mc-h2 { margin-top: -0.12em; }
body.v2 .home-wwd .mc-lead { margin-top: clamp(24px, 2.6vw, 40px); }
body.v2 .home-wwd .mc-body { margin-top: 20px; }

/* 02 Why direct execution */
body.v2 .home-why-body { padding-top: clamp(40px, 4vw, 64px); }
body.v2 .home-why .mc-statement { margin-top: clamp(24px, 2.6vw, 40px); }
body.v2 .home-quote { grid-column: 2 / span 10; max-width: 54rem; margin-inline: auto; text-align: center; }
body.v2 .home-quote .mc-quote-mark { position: static; height: .6em; margin-bottom: .15em; }
body.v2 .home-quote .mc-quote blockquote p { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
body.v2 .home-quote .mc-link { margin-top: clamp(28px, 3vw, 44px); }

/* 05 Careers: the plate fills the height of the advancement list */
body.v2 .home-careers .mc-split { margin-top: 32px; row-gap: 32px; }

/* Four equal service panels keep the complete photograph visible above its
   description. Shared baselines give the section a clear business rhythm. */
body.v2 .home-services .mc-head { text-align: center; max-width: 46rem; margin-inline: auto; }
body.v2 .home-services .mc-head > * { grid-column: 1 / -1; margin-inline: auto; }
body.v2 .home-services .mc-head-intro { max-width: 36rem; }
body.v2 .home-services .mc-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
body.v2 .home-services .mc-entry {
  display: flex;
  flex-direction: column;
}
body.v2 .home-services .mc-entry > .mc-frame { aspect-ratio: 4 / 3; width: 100%; }
body.v2 .home-services .mc-entry-text { display: block; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--mc-hair-strong); }
body.v2 .home-services .mc-num { font-size: 1.65rem; }
body.v2 .home-services .mc-h3 { font-size: clamp(1.3rem, 1rem + .4vw, 1.65rem); line-height: 1.25; }
body.v2 .home-services .mc-body { font-size: 1rem; line-height: 1.65; }
body.v2 .home-services .mc-after { text-align: center; }

@media (min-width: 1200px) {
  body.v2 .home-services .mc-h3 { min-height: 2.5em; }
  body.v2 .home-careers .mc-split { align-items: stretch; }
  body.v2 .home-careers-plate { display: flex; }
  body.v2 .home-careers-plate .mc-frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
}

/* Focal points */
body.v2 .op-wwd-shop { object-position: 40% 30%; }
body.v2 .op-svc-1 { object-position: 50% 50%; }
body.v2 .op-svc-2 { object-position: 38% 50%; }
body.v2 .op-svc-3 { object-position: 58% 30%; }
body.v2 .op-svc-4 { object-position: 50% 45%; }
body.v2 .op-careers { object-position: 30% 50%; }
body.v2 .op-ex-about { object-position: 51% 50%; }
body.v2 .op-ex-team { object-position: 40% 30%; }
body.v2 .op-ex-careers { object-position: 42% 40%; }
body.v2 .home-cta .mc-cta-media img { object-position: 100% 50%; }

@media (max-width: 1199px) {
  body.v2 .home-wwd .mc-h2 { margin-top: 0; }
  body.v2 .home-quote { grid-column: 1 / -1; }
  body.v2 .home-careers-plate .mc-frame { aspect-ratio: 16 / 10; }
  body.v2 .home-services .mc-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.v2 .home-services .mc-entries { grid-template-columns: 1fr; gap: 32px; }
  body.v2 .home-services .mc-entry > .mc-frame { aspect-ratio: 16 / 9; }
  body.v2 .home-services .mc-entry-text { margin-top: 16px; padding-top: 16px; }
  body.v2 .home-services .mc-num { font-size: 1.65rem; }
  body.v2 .home-services .mc-entry-text .mc-h3 { margin-top: 10px; }
  body.v2 .home-services .mc-entry-text .mc-body { margin-top: 10px; }
  body.v2 .home-why .mc-band img { object-position: 46% 55%; }
  body.v2 .op-careers { object-position: 40% 40%; }
  body.v2 .home-cta .mc-cta-media img { object-position: 78% 50%; }
}
