/* Homepage additions. All content is visible at rest, including without JS. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/bricolage-grotesque-500.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/bricolage-grotesque-800.woff2') format('woff2'); }
/* Milestone path: the canvas is decoration; the list below carries the content. */
.fm-home-path { margin: 0 0 2.5rem; }
.fm-home-path__canvas { --mp-bg: #10162A; --mp-ink: #FFF1E4; --mp-accent: #A57BFF; --mp-accent2: #F3C49F; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #10162A; box-shadow: 0 30px 60px -36px rgb(var(--fm-navy-rgb) / 0.55); }
.fm-home-path__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.fm-home-path__list > li { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.fm-home-path__num { font-family: 'Bricolage Grotesque', var(--fm-font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--fm-navy); }
.fm-home-path__list h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.35; }
.fm-home-path__list h3 a { display: inline-block; min-height: 44px; padding-block: 0.4rem; }
.fm-home-path__list .fm-eyebrow { font-size: 0.75rem; }
.fm-home .fm-home-path__list .fm-home-project__value { color: var(--fm-navy); font-size: 1rem; font-weight: 500; line-height: 1.6; }
.fm-home-path__list a:focus-visible { outline: 3px solid var(--fm-blue); outline-offset: 5px; }
.fm-home-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 2rem; }
.fm-home-project { margin: 0; min-width: 0; }
.fm-home-project__screen { display: block; border: 1px solid rgb(var(--fm-navy-rgb) / 0.12); border-radius: 12px; overflow: clip; background: var(--fm-cream-soft); }
.fm-home-project__screen img { display: block; width: 100%; height: auto; }
.fm-home-project figcaption { display: grid; gap: 0.65rem; padding-top: 1.25rem; }
.fm-home-project h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; }
.fm-home-project h3 a { display: inline-block; min-height: 44px; padding-block: 0.4rem; }
.fm-home-project figcaption > p:last-child { color: var(--fm-text-muted); max-width: 55ch; }
.fm-home-project .fm-eyebrow { font-size: 0.75rem; }
.fm-home-project a:focus-visible { outline: 3px solid var(--fm-blue); outline-offset: 5px; }
@media (max-width: 1099px) {
  .fm-home-path__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .fm-home-path__canvas { aspect-ratio: 4 / 5; }
  .fm-home-path__list { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .fm-home-work__grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
}
