/* Approved TEXTURA design, edition 20261022. */
.hm-home { --hm-ease: cubic-bezier(.22, 1, .36, 1); }
.hm-home .hm-work-peek { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; width: fit-content; margin-top: 24px; color: var(--ink); text-decoration: none; font-size: .875rem; }
.hm-work-peek__photos { display: flex; align-items: center; padding-right: 8px; }
.hm-work-peek__photos img { width: 42px; height: 48px; object-fit: cover; display: block; border: 2px solid var(--paper); border-radius: 10px; }
.hm-work-peek__photos img + img { margin-left: -10px; }
.hm-work-peek > span:last-child { text-decoration: underline; text-underline-offset: 5px; }
.hm-home .hm-work-peek:hover .hm-work-peek__photos img { transform: translateY(-2px); }
.hm-work-peek__photos img { transition: transform 180ms var(--hm-ease); }
.hm-home .b-proof { padding-block: clamp(72px, 8vw, 112px); }
.hm-home .b-proof__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.hm-home .b-proof__inner > .b-kicker { grid-column: 1/-1; }
.hm-home #proof-title { grid-column: 1/7; margin-bottom: 0; max-width: none; text-wrap: balance; }
.hm-home .b-proof__inner > .b-lede { grid-column: 8/-1; align-self: end; font-size: 1rem; line-height: 1.65; margin: 0; color: var(--white); }
.hm-home .b-proof__grid { grid-column: 1/-1; margin-top: 48px; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hm-home .b-proof__collection { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.hm-home .b-proof__case { grid-template-columns: 1fr; display: grid; align-content: start; }
.hm-home .b-proof__case > img { width: 100%; height: auto; max-height: none; aspect-ratio: 3/4; object-fit: cover; }
.hm-home .b-proof__case .b-ledger__step { padding: 24px 20px; gap: 12px; }
.hm-home .b-proof__case .b-ledger__step strong { font: 500 clamp(1.4rem, 2.2vw, 2rem)/1.08 var(--font-display); text-wrap: balance; margin-bottom: 12px; }
.hm-home .b-proof__case .b-ledger__step p { font-size: .875rem; line-height: 1.6; }
.hm-home .b-proof__case .b-ledger__label { font-size: .8125rem; letter-spacing: .06em; }
.hm-home .b-proof__collection > .compare__note, .hm-home .b-proof__collection > .b-proof__actions { grid-column: 1/-1; }
.hm-home .compare__note { font-size: .875rem; line-height: 1.6; color: var(--champagne); }
.hm-home .b-proof__case:focus-visible, .hm-home .b-proof :is(a, button):focus-visible { outline-color: var(--champagne); }
.hm-home .b-proof__actions .b-cta { font-size: .8125rem; min-height: 44px; }
.hm-home .hm-compare-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hm-compare-actions button { min-height: 44px; border: 1px solid var(--frame-frost-edge); border-radius: 999px; background: var(--frame-satin-dark); color: var(--white); padding: 10px 18px; font: 500 .875rem/1.3 var(--font-body); cursor: pointer; }
.hm-glass-surface { position: relative; }
.hm-glass-light { position: absolute; z-index: 4; pointer-events: none; inset: 0; padding: 6px; border-radius: inherit; background: radial-gradient(260px circle at var(--hm-light-x, 50%) var(--hm-light-y, 50%), var(--white), transparent 75%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 0; transition: opacity 180ms ease-out; }
/* Replace the earlier whole-card glow with a precise edge light. */
html[data-ui-edition="20261022"] .hm-home .b-approach__card::after { opacity: 0; background: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hm-glass-surface:hover > .hm-glass-light { opacity: .8; }
}
.hm-glass-surface:focus-visible > .hm-glass-light { opacity: .8; }
.hm-home .hm-service-status { margin: 16px 0 24px; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); min-height: 21px; }
.hm-home :is(.b-service-filters button, .b-deck__cell) { transition: transform 140ms var(--hm-ease), background-color 180ms ease-out; }
.hm-home .b-deck__cell:active { transform: scale(.985); }
@media (max-width: 1040px) {
  .hm-home .hm-work-peek { display: none; }
  .hm-home .b-proof__grid { gap: 24px; }
  .hm-home .b-proof__case .b-ledger__step { padding: 20px 16px; }
  .hm-home .b-proof__case .b-ledger__step p { font-size: .8125rem; }
}
@media (max-width: 760px) {
  .hm-home .hm-work-peek { display: none; }
  .hm-home .b-proof__inner { grid-template-columns: 1fr; }
  .hm-home .b-proof__inner > .b-kicker, .hm-home #proof-title, .hm-home .b-proof__inner > .b-lede { grid-column: 1; }
  .hm-home #proof-title { max-width: 14ch; margin-bottom: 24px; }
  .hm-home .b-proof__inner > .b-lede { font-size: 1rem; }
  .hm-home .b-proof__grid { grid-column: 1; grid-template-columns: 1fr; margin-top: 32px; gap: 40px; }
  .hm-home .b-proof__grid > div:first-child { max-width: 100%; }
  .hm-home .b-proof__collection { gap: 20px 12px; }
  .hm-home .b-proof__case .b-ledger__step { padding: 20px 14px; }
  .hm-home .b-proof__case .b-ledger__step strong { font-size: clamp(1.3rem, 5.6vw, 1.65rem); }
  .hm-home .b-proof__case .b-ledger__label { font-size: .8125rem; }
  .hm-home .b-service-filters button { font-size: .8125rem; }
}
@media (max-width: 360px) {
  .hm-home .b-proof__collection { grid-template-columns: 1fr; gap: 24px; }
  .hm-home .b-proof__case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hm-home .b-proof__case .b-ledger__step p { display: block; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-home .hm-glass-light { display: none; }
  .hm-home .hm-work-peek__photos img { transition: none; transform: none !important; }
  .hm-home .b-deck__cell:active { transform: none; }
}

/* Compact only the approved mobile layout; all type and image assets stay locked. */
@media (max-width: 760px) {
  html[data-ui-edition="20261022"] .hm-home .b-hero__frame {
    min-height: 0;
    grid-template-rows: auto 194px;
  }
  html[data-ui-edition="20261022"] .hm-home .b-hero__copy { padding: 18px 14px 0; }
  html[data-ui-edition="20261022"] .hm-home .b-hero__title { margin-bottom: 10px; }
  html[data-ui-edition="20261022"] .hm-home .b-hero__portrait {
    height: 208px;
    width: min(72%, 252px);
  }
  html[data-ui-edition="20261022"] .hm-home .b-deck__cell { padding: 12px; }
}

@media (max-width: 360px) {
  html[data-ui-edition="20261022"] .hm-home .b-hero { padding-inline: 12px; }
  html[data-ui-edition="20261022"] .hm-home .b-hero__frame { grid-template-rows: auto 156px; }
  html[data-ui-edition="20261022"] .hm-home .b-hero__portrait { height: 170px; width: 64%; }
  html[data-ui-edition="20261022"] .hm-home .b-deck__cell { padding: 10px; }
}
