/* Homepage: consulting-firm structure in Infinity's own brand.
   A full-width photo opening, a numbers row, results cards, photo tiles
   and a closing call. Navy and bone carry the page; brass is the one accent. */

.hm {
  --ink: #0B1F3A;
  --ink-2: #4F5B6E;
  --ink-3: #4F5B6E;
  --paper: #F5F2EA;
  --paper-2: #EDE8DC;
  --white: #FFFFFF;
  --brass: #C9A66B;
  --brass-ink: #86672F;
  --hair: rgba(11, 31, 58, 0.14);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(16px, 2vw, 28px);
  background: var(--white);
  color: var(--ink);
}

.hm-wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.hm-hero__title, .hm-h2, .hm-stat__num, .hm-card__title, .hm-tile__name, .hm-close__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 60;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* The short brass rule before a kicker label */
.hm-kicker__mark { width: 28px; height: 2px; flex: none; background: var(--brass); }

.hm-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* Buttons */
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 16px 28px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.hm-btn--brass { background: var(--brass); color: var(--ink); }
.hm-btn--brass:hover { background: #D6B67F; }
.hm-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: var(--white); }
.hm-btn--ghost:hover { background: var(--white); color: var(--ink); }
.hm a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* 1. Full-width opening: the photo carries it, navy wash on the left for the words */
.hm-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.72) 42%, rgba(11, 31, 58, 0.15) 75%),
    linear-gradient(0deg, rgba(11, 31, 58, 0.6) 0%, rgba(11, 31, 58, 0) 40%);
}
.hm-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: clamp(56px, 7vw, 96px); }
.hm-hero .hm-kicker { color: rgba(255, 255, 255, 0.85); }
.hm-hero__title { font-size: clamp(2.6rem, 4.8vw, 4.9rem); line-height: 1.03; margin: 0; max-width: 17ch; }
.hm-hero__lede { font-family: var(--sans); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, 0.88); max-width: 32em; margin: 26px 0 34px; }

/* 2. Numbers row */
.hm-stats { background: var(--white); border-bottom: 1px solid var(--hair); padding: clamp(48px, 6vw, 80px) 0; }
.hm-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hm-eyebrow .input-needed { letter-spacing: 0; text-transform: none; margin: 0; }
.hm-stats__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.hm-stat { display: block; border-top: 3px solid var(--brass); padding-top: 22px; color: inherit; text-decoration: none; }
.hm-stat__num { display: block; font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.hm-stat__label { display: block; margin-top: 14px; font-family: var(--sans); font-size: 1rem; line-height: 1.45; color: var(--ink-2); max-width: 22ch; }
.hm-stat:hover .hm-stat__label { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }

/* Shared section frame */
.hm-section { padding: clamp(72px, 8vw, 112px) 0; }
.hm-section--tint { background: var(--paper); }
.hm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 3vw, 44px); }
.hm-h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; margin: 0; }
.hm-link { font-family: var(--sans); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--brass); padding-bottom: 3px; }
.hm-link::after { content: " \2192"; }
.hm-link:hover { color: var(--brass-ink); }

/* 3. Results cards */
.hm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.hm-card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.hm-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); margin-bottom: 20px; }
.hm-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.hm-card:hover .hm-card__img img { transform: scale(1.04); }
.hm-card__tag { font-family: var(--sans); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 10px; }
.hm-card__title { font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.22; margin-bottom: 12px; }
.hm-card:hover .hm-card__title { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hm-card__client { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-3); margin-top: auto; }

/* 4 and 5. Photo tiles: picture fills the tile, words sit on a navy wash at the foot */
.hm-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.hm-tiles--six { grid-template-columns: repeat(3, 1fr); }
.hm-tiles--three { grid-template-columns: repeat(3, 1fr); }
.hm-tiles--four { grid-template-columns: repeat(4, 1fr); }
.hm-tile { position: relative; display: block; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); }
.hm-tile--cap { aspect-ratio: 4 / 3; }
.hm-tile--ind { aspect-ratio: 4 / 5; }
.hm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.hm-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.55) 45%, rgba(11, 31, 58, 0.05) 75%);
}
.hm-tile:hover img { transform: scale(1.05); }
.hm-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.2vw, 30px); }
.hm-tile__name { display: block; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.12; }
.hm-tile--ind .hm-tile__name { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.hm-tile__name::after { content: "\2192"; margin-left: 0.35em; color: var(--brass); font-family: var(--sans); font-size: 0.7em; display: inline-block; transition: transform 200ms ease; }
.hm-tile:hover .hm-tile__name::after { transform: translateX(5px); }
.hm-tile__line { display: block; margin-top: 8px; font-family: var(--sans); font-size: 0.98rem; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }

/* 6. Closing call */
.hm-close { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hm-close__img { position: absolute; top: 0; right: 0; width: 46%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hm-close::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 52%, rgba(11, 31, 58, 0.6) 66%, rgba(11, 31, 58, 0.1) 100%);
}
.hm-close__inner { position: relative; z-index: 2; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.hm-close .hm-kicker { color: rgba(255, 255, 255, 0.8); }
.hm-close__title { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.02; margin: 0 0 20px; }
.hm-close__text { font-family: var(--sans); font-size: 1.2rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 28em; margin: 0 0 32px; }
.hm .input-needed { vertical-align: middle; }
.hm-hero .input-needed, .hm-close .input-needed { color: #F2A99B; border-color: #F2A99B; }

/* Tablet and phone */
@media (max-width: 960px) {
  .hm-stats__row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hm-cards { grid-template-columns: 1fr 1fr; }
  .hm-cards li:last-child { grid-column: 1 / -1; }
  .hm-tiles--six, .hm-tiles--four { grid-template-columns: 1fr 1fr; }
  .hm-close__img { width: 100%; opacity: 0.35; }
  .hm-close::before { background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 31, 58, 0.75) 100%); }
}
@media (max-width: 640px) {
  .hm-hero { min-height: 640px; }
  .hm-hero::before { background: linear-gradient(0deg, rgba(11, 31, 58, 0.95) 0%, rgba(11, 31, 58, 0.75) 55%, rgba(11, 31, 58, 0.35) 100%); }
  .hm-hero__inner { padding-top: 140px; }
  .hm-stat__num { font-size: 2.8rem; }
  .hm-cards, .hm-tiles--six, .hm-tiles--three, .hm-tiles--four { grid-template-columns: 1fr; }
  .hm-cards li:last-child { grid-column: auto; }
  .hm-tile--ind { aspect-ratio: 4 / 3; }
  .hm-tile--cap { aspect-ratio: 16 / 9; }
  .hm-head { flex-direction: column; gap: 12px; }
  .hm-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hm * { transition: none !important; }
}


/* ---------- Inner pages ---------- */

/* Shorter opening for inner pages */
.hm-hero--page { min-height: min(72vh, 660px); }
.hm-hero--page .hm-hero__title { font-size: clamp(2.4rem, 4.4vw, 4.4rem); max-width: 18ch; }

.hm-btn--navy { background: var(--ink); color: var(--white); }
.hm-btn--navy:hover { background: #142C50; }
.hm-link--light { color: var(--white); }
.hm-link--light:hover { color: var(--brass); }

/* The section bar sits on white under the opening */
.hm--page .subnav { background: var(--white); }

/* One service: words beside a photo, then the exhibit and the result */
.hm-svc { padding: clamp(64px, 7vw, 96px) 0; background: var(--white); border-top: 1px solid var(--hair); }
.hm-svc:nth-child(even) { background: var(--paper); }
.hm-svc__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.hm-svc__text { grid-column: 1 / span 6; }
.hm-svc__photo { grid-column: 8 / span 5; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.hm-svc--flip .hm-svc__text { grid-column: 7 / span 6; grid-row: 1; }
.hm-svc--flip .hm-svc__photo { grid-column: 1 / span 5; grid-row: 1; }
.hm-svc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-svc__tag { display: flex; gap: 12px; align-items: baseline; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 16px; }
.hm-svc__tag span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hm-svc__name { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; letter-spacing: -0.015em; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1.04; margin: 0 0 18px; text-wrap: balance; }
.hm-svc__hook { font-family: var(--sans); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.35; color: var(--ink); margin: 0 0 12px; }
.hm-svc__line { font-family: var(--sans); font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.hm-svc__lead { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink); margin: 0 0 6px; }
.hm-svc__list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--hair); max-width: 34em; }
.hm-svc__list li { font-family: var(--sans); font-size: 1rem; line-height: 1.45; color: var(--ink-2); padding: 12px 0 12px 22px; border-bottom: 1px solid var(--hair); position: relative; }
.hm-svc__list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 2px; background: var(--brass-ink); }
.hm-actions--svc { align-items: center; gap: 24px; }
.hm-actions--svc .hm-link { white-space: normal; }

/* Exhibit and result row */
.hm-svc__proof { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: clamp(40px, 4vw, 56px); align-items: stretch; }
.hm-exhibit { grid-column: 1 / span 7; margin: 0; background: var(--white); box-shadow: 0 1px 0 var(--hair), 0 18px 40px -24px rgba(11, 31, 58, 0.35); }
.hm-svc__proof--solo .hm-exhibit { grid-column: 1 / span 8; }
.hm-result { grid-column: 8 / span 5; background: var(--ink); color: var(--white); padding: clamp(28px, 3vw, 40px); border-top: 4px solid var(--brass); display: flex; flex-direction: column; }
.hm-result--wide { grid-column: 1 / -1; }
.hm-result__tag { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin: 0 0 16px; }
.hm-result__text { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
.hm-result__who { font-family: var(--sans); font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); margin: 0 0 24px; }
.hm-result__act { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hm-result .input-needed { color: #F2A99B; border-color: #F2A99B; margin: 0; }

@media (max-width: 960px) {
  .hm-svc__text, .hm-svc--flip .hm-svc__text { grid-column: 1 / -1; grid-row: auto; }
  .hm-svc__photo, .hm-svc--flip .hm-svc__photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .hm-exhibit, .hm-svc__proof--solo .hm-exhibit, .hm-result { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hm-hero--page { min-height: 560px; }
  .hm-actions--svc { flex-direction: column; align-items: stretch; gap: 16px; }
  .hm-actions--svc .hm-link { align-self: flex-start; }
  /* Both belts stay visible on a phone; the shared rule hides third columns. */
  .hm .train-table th:nth-child(3), .hm .train-table td:nth-child(3) { display: table-cell; }
  .hm .train-table { font-size: 0.82rem; }
  .hm .train-table td:first-child { width: 26%; }
}

/* Results */
.hm-head__note { margin: 0; }
.hm-cards--all { row-gap: clamp(40px, 4vw, 56px); }
.hm-story { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.hm-story__text { grid-column: 1 / span 5; }
.hm-story__chart { grid-column: 7 / span 6; }
.hm-story__flags { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-story__flags .input-needed { margin: 0; }
.hm-exhibit .doc__meta { gap: 16px; }
.hm-exhibit .doc__meta span:last-child { text-align: right; }
@media (max-width: 960px) {
  .hm-story__text, .hm-story__chart { grid-column: 1 / -1; }
  .hm-story__chart { margin-top: 24px; }
}
@media (max-width: 640px) {
  .hm-exhibit .doc__title { font-size: 1.2rem; line-height: 1.3; }
}

/* About section */
.hm-svc__name--md { font-size: clamp(2rem, 3vw, 2.8rem); }
.hm-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.hm-points--3 { grid-template-columns: repeat(3, 1fr); }
.hm-points--4 { grid-template-columns: repeat(4, 1fr); }
.hm-point { border-top: 3px solid var(--brass); padding-top: 22px; }
.hm-point__n { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.85rem; color: var(--brass-ink); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.hm-point__title { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
.hm-point__text { font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink-2); margin: 0; }
.hm-point__flag { margin: 12px 0 0; }
.hm-rule { margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid var(--hair); font-family: var(--sans); font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: var(--ink); }

.hm-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.hm-way__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 24px; background: var(--paper-2); }
.hm-way__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-way__badge { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; background: var(--brass); color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.hm-way__title { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 0 0 10px; }
.hm-way__when { font-family: var(--sans); font-size: 1.15rem; line-height: 1.45; color: var(--ink); margin: 0 0 16px; }
.hm-way__text { font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; }
.hm-way__label { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 6px; }
.hm-way .hm-svc__list { margin-bottom: 16px; }

.hm-leader { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.hm-leader__photo { grid-column: 1 / span 4; aspect-ratio: 4 / 5; background: var(--ink); color: rgba(255, 255, 255, 0.8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; text-align: center; }
.hm-leader__mark { width: 120px; height: 60px; fill: none; stroke: rgba(201, 166, 107, 0.6); stroke-width: 3; }
.hm-leader__photo .input-needed { color: #F2A99B; border-color: #F2A99B; }
.hm-leader__text { grid-column: 6 / span 7; }
.hm-leader__role { margin: -6px 0 20px; }
.hm-leader__bio { font-family: var(--sans); font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; max-width: 38em; }
.hm-leader__wins { margin-bottom: 24px; }
.hm-leader__note { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-3); margin: 0; }

.hm-clients { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--hair); }
.hm-clients p { margin: 0; }

@media (max-width: 960px) {
  .hm-points--4 { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .hm-points--3 { grid-template-columns: 1fr; row-gap: 32px; }
  .hm-ways { grid-template-columns: 1fr; }
  .hm-leader__photo { grid-column: 1 / span 5; }
  .hm-leader__text { grid-column: 6 / span 7; }
}
@media (max-width: 640px) {
  .hm-points--4 { grid-template-columns: 1fr; }
  .hm-leader__photo, .hm-leader__text { grid-column: 1 / -1; }
  .hm-leader__photo { aspect-ratio: 16 / 9; }
}

/* Contact */
.hm-contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.hm-form { grid-column: 1 / span 7; background: var(--white); border-top: 4px solid var(--ink); padding: clamp(28px, 3.4vw, 48px); box-shadow: 0 1px 0 var(--hair), 0 18px 40px -24px rgba(11, 31, 58, 0.35); }
.hm-form .hm-svc__name { margin-bottom: 28px; }
.hm-form .field input, .hm-form .field textarea { border-radius: 0; }
.hm-form button { border: 0; cursor: pointer; }
.hm-form__flag { margin: 16px 0 0; }
.hm-contact__side { grid-column: 9 / span 4; display: grid; gap: var(--gap); }
.hm-contact__side .hm-result { grid-column: auto; }
.hm-facts { margin: 0; border-top: 1px solid var(--hair); }
.hm-facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.hm-facts dt { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.hm-facts dd { margin: 0; font-family: var(--sans); color: var(--ink); overflow-wrap: anywhere; }

/* Plain title band for legal pages */
.hm-band { background: var(--ink); color: var(--white); padding: clamp(150px, 16vw, 200px) 0 clamp(48px, 6vw, 80px); }
.hm-band .hm-kicker { color: rgba(255, 255, 255, 0.8); }
.hm-band__title { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; margin: 0 0 16px; }
.hm-band__meta { margin: 0; font-family: var(--sans); color: rgba(255, 255, 255, 0.8); }
.hm-band .input-needed { color: #F2A99B; border-color: #F2A99B; }
.hm-legal__item { max-width: 860px; }
.hm-legal__item { padding: 24px 0; border-top: 1px solid var(--hair); }
.hm-legal__item:first-child { border-top: 3px solid var(--brass); }
.hm-legal__item h2 { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 0 0 10px; }
.hm-legal__item p { margin: 0; }

@media (max-width: 960px) {
  .hm-form, .hm-contact__side { grid-column: 1 / -1; }
}

/* The opening photo runs under the fixed header. */
body.is-bleed { padding-top: 0; }

/* Program topic tables: covers wrap, module names stay on one line */
.hm .topics-table td { white-space: normal !important; }
.hm .topics-table td:first-child { width: 8.5rem; white-space: nowrap !important; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) {
  .hm .topics-table td:first-child { width: 6.5rem; white-space: normal !important; }
}

/* Credentials on the leadership profile */
.hm-creds { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-creds li { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink); background: var(--white); border-left: 3px solid var(--brass); padding: 8px 14px; }

/* Three-figure numbers row (Training) */
.hm-stats__row--3 { grid-template-columns: repeat(3, 1fr); }
.hm-stats__note { margin: 28px 0 0; font-family: var(--sans); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }
@media (max-width: 640px) {
  .hm-stats__row--3 { grid-template-columns: 1fr; }
}

/* Contact links in the details list */
.hm-facts dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.hm-facts dd a:hover { color: var(--brass-ink); }

/* Spam trap on the contact form: hidden from people, filled in by bots */
.hm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-form { position: relative; }

/* Four-outcome exhibit on the combined frozen food result */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin: 12px 0 8px; }
.kpi-grid__tile { background: var(--white); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.kpi-grid__num { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ink); border-top: 3px solid var(--brass); padding-top: 12px; }
.kpi-grid__label { font-family: var(--sans); font-size: 0.92rem; line-height: 1.4; color: var(--ink-2); }

/* Title under the leader's name */
.hm-leader__role { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); margin: -6px 0 20px; }

/* Leader headshot */
.hm-leader__photo--img { padding: 0; margin: 0; overflow: hidden; background: var(--paper-2); }
.hm-leader__photo--img img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 28%; display: block; }
@media (max-width: 640px) {
  .hm-leader__photo--img { aspect-ratio: 4 / 5; max-width: 360px; }
}

/* Client names: a quiet typeset wall, names only */
.hm-client-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.hm-client-list li { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink); padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hair); }
@media (max-width: 960px) { .hm-client-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .hm-client-list { grid-template-columns: 1fr 1fr; } }

/* Client names as a feature band: large serif names on navy, brass diamonds between */
.hm-clientband { background: var(--ink); color: var(--white); padding: clamp(72px, 8vw, 112px) 0; text-align: center; position: relative; overflow: hidden; }
.hm-clientband::before { content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 60%); height: 3px; transform: translateX(-50%); background: var(--brass); }
.hm-clientband .hm-kicker { justify-content: center; color: rgba(255, 255, 255, 0.8); }
.hm-clientband__title { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.05; margin: 0 0 clamp(36px, 4vw, 56px); }
.hm-clientband__list { list-style: none; margin: 0 auto; padding: clamp(28px, 3vw, 40px) 0; max-width: 1120px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(32px, 4vw, 60px); border-top: 1px solid rgba(201, 166, 107, 0.45); border-bottom: 1px solid rgba(201, 166, 107, 0.45); }
.hm-clientband__list li { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 2.15rem); line-height: 1.25; color: #F5F2EA; letter-spacing: -0.01em; display: inline-flex; align-items: center; white-space: nowrap; }
@media (max-width: 640px) {
  .hm-clientband__list { gap: 12px 28px; }
}

/* Founder's training record: one figure beside its line */
.hm-record { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: center; }
.hm-record__stat .hm-stat__num { font-size: clamp(3.6rem, 7vw, 6.4rem); }
.hm-record__text .hm-eyebrow { margin-bottom: 14px; }
.hm-record__line { font-family: var(--sans); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; max-width: 34em; }
@media (max-width: 760px) { .hm-record { grid-template-columns: 1fr; } }

/* Legal body text */
.hm-legal__item p { font-family: var(--sans); font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px; max-width: 46em; }
.hm-legal__item p:last-child { margin-bottom: 0; }
.hm-legal__item a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 4px; }

/* Homepage opening with the plant montage behind it (the montage script is in js/site.js) */
.hm-hero--video .opening__media { z-index: 0; }
.hm-hero--video .opening__media::after { display: none; }
.hm-hero--video .opening__video { background: var(--ink) center / cover no-repeat; }
.hm-hero--video .opening__toggle { z-index: 3; right: var(--pad); }
.hm-hero--video.is-paused .opening__toggle-icon { width: 0; height: 0; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; margin-left: 3px; }
@media (max-width: 640px) {
  .hm-hero--video .opening__toggle { bottom: auto; top: calc(var(--header-h, 72px) + 14px); }
}

/* Closing section photo: keep the executive in frame */
.hm-close__img { object-position: 44% 35%; }

/* Photo B: keep the plant manager's face in frame in square and tile crops */
.hm-svc__photo img[src$="plant-manager-floor.jpg"] { object-position: 50% 22%; }
.hm-tile img[src$="plant-manager-floor-wide.jpg"] { object-position: 22% 30%; }

/* Photo C: keep both faces in frame */
.hm-svc__photo img[src$="exec-assessing-floor.jpg"] { object-position: 30% 30%; }
.hm-tile img[src$="exec-assessing-floor.jpg"], .hm-way__img img[src$="exec-assessing-floor.jpg"] { object-position: 30% 30%; }
.hm-tile img[src$="industrial-leader.jpg"] { object-position: 46% 30%; }

/* Photo D: keep the leader and the board in square crops */
.hm-svc__photo img[src$="daily-huddle-board.jpg"] { object-position: 22% 35%; }

/* Photo E: keep the facilitator and the group in tile and square crops */
.hm-svc__photo img[src$="facilitator-cohort.jpg"] { object-position: 62% 40%; }
.hm-tile img[src$="facilitator-cohort.jpg"] { object-position: 55% 35%; }
/* Photo I, strategy session: keep the standing leader's face in frame. */
.hm-hero__img[src$="strategy-session.jpg"] { object-position: 50% 12%; }
.hm-card__img img[src$="strategy-session.jpg"] { object-position: 50% 15%; }
/* Photo H wide, reused on the flagship result: keep both faces in frame. */
.hm-hero__img[src$="coaching-supervisor-wide.jpg"] { object-position: 65% 8%; }
.hm-card__img img[src$="coaching-supervisor-wide.jpg"] { object-position: 60% 20%; }
/* Photo K4: keep her face and the bun in the narrow section crop. */
.hm-svc__photo img[src$="bakery-line.jpg"] { object-position: 38% 30%; }
/* Photo E3: keep the presenter and her before-and-after chart in the section crop. */
.hm-svc__photo img[src$="belt-presenting.jpg"] { object-position: 88% 40%; }
