/* Homepage, Release 3 redesign of 21 November 2026. Shared pieces (figure callouts, service sequence, cards,
   bars, steps, the Project Check card and the form) live in site.css, check.css and structure.css. */
.home main { padding: 0; }
.home main .section h2 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
.home main .dark h2 { color: var(--white); }
.m-kicker { font-size: var(--fs-meta); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-light); margin: 0 0 var(--s2); }

/* Hero: an ink panel beside the photograph, no scrim */
.m-hero { background: var(--ink); color: var(--white); display: grid; }
.m-hero-body { padding: var(--s3) var(--gutter) var(--s5); min-width: 0; }
.m-hero-photo { min-height: 240px; position: relative; }
.m-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 3% 50%; }
@media (min-width: 1100px) {
  .m-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .m-hero-body { padding: 88px var(--s5) 80px max(var(--gutter), calc((100vw - var(--container) - 2 * var(--gutter)) / 2 + var(--gutter))); }
}
@media (max-width: 719.98px) { .m-hero .ptitle { margin-bottom: var(--s3); } .m-hero .kicker { margin-bottom: var(--s1); } }
.m-hero-lead { font-size: var(--fs-h3); line-height: 1.45; margin: 0 0 var(--s3); }
@media (max-width: 719.98px) { .m-hero-lead { font-size: var(--fs-body); line-height: 1.5; } }
.m-hero-actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s2); }
.m-hero-link { color: var(--white); font-weight: 700; }
.m-hero-link:hover { color: var(--blue-light); }
.m-hero .m-btn { margin: 0; }
.m-hero .m-btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* The whole project: the five parts stacked under the cost and the date */
.m-whole { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.m-whole li { margin: 0 0 6px; background: var(--blue-pale); padding: 18px 20px 18px 72px; position: relative; font-weight: 700; color: var(--ink); line-height: 1.3; counter-increment: s; }
.m-whole li::before { content: counter(s); position: absolute; left: 0; top: 0; bottom: 0; width: 52px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: var(--fs-h3); }
.m-whole .m-whole-top { background: var(--ink); color: var(--white); padding-left: 20px; border-bottom: 6px solid var(--ochre); margin-bottom: 12px; font-size: var(--fs-h3); counter-increment: none; }
.m-whole .m-whole-top::before { content: none; }

/* Sectors */
.m-sectors { display: grid; gap: var(--s1); }
@media (min-width: 1100px) { .m-sectors { grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; } .m-sectors > :first-child { grid-row: 1 / 3; } }
.m-sector { background: var(--ink); color: var(--white); display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.m-sector-art { flex: 1; min-height: 200px; position: relative; }
.m-sector-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-sector-body { display: block; padding: 28px; }
.m-sector-body p { margin: 0; line-height: 1.45; }
.m-sector-body .m-sector-name { display: block; font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; margin-bottom: 10px; }
.m-sector-text { background: var(--white); color: var(--ink); border-top: 4px solid var(--ink); transition: border-color 0.2s ease; }
.m-sector-text:hover, .m-sector-text:focus-visible { border-top-color: var(--ochre); color: var(--ink); }
.m-sector-line { display: block; color: var(--grey-dark); line-height: 1.45; }
.m-sector-text .more { display: inline-block; margin-top: 12px; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-size: var(--fs-meta); }

/* Lead paper on an ink panel */
.m-leadpaper { display: grid; gap: var(--s4); background: var(--ink); color: var(--white); padding: var(--s3); margin-bottom: var(--s4); }
.m-leadpaper > * { min-width: 0; }
@media (min-width: 1100px) { .m-leadpaper { grid-template-columns: 6fr 5fr; gap: var(--s5); padding: 56px; align-items: center; } }
.home main .m-leadpaper h3 { font-size: var(--fs-h1); line-height: 1.08; margin-bottom: var(--s3); }
.m-leadpaper h3 a { color: var(--white); text-decoration: none; }
.m-leadpaper h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.m-leadpaper p { color: var(--blue-light); }
.m-leadpaper .byline { margin-bottom: 0; }
.home .cards-2 { margin-bottom: 0; }
