/* Frankly parent-brand homepage, isolated from the service properties. */
.hub-home .hub-hero { max-width: none; }
.hub-home .hub-hero h1 { max-width: 1100px; font-size: clamp(2.75rem, 5.7vw, 5.15rem); line-height: 1.04; }
.hub-home .hub-hero .lede { max-width: 800px; }
.hub-home .hub-businesses { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: clamp(32px,4vw,48px); }
.hub-home .hub-business-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hub-home .hub-business-card h2 { min-block-size: 2.4em; margin: 0; font-size: clamp(1.35rem,2vw,1.65rem); line-height: 1.2; }
.hub-home .hub-business-card p { margin: 16px 0 24px; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.hub-home .hub-business-card a { margin-top: auto; color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.hub-home .hub-business-card a span { color: #a34200; }
.hub-home .hub-business-card a:hover { color: #a34200; }
.hub-home .hub-about { border: 1px solid rgba(247,239,227,.5); border-left: 4px solid var(--accent); }
.hub-home .hub-about h2 { font-size: clamp(1.9rem,3.4vw,2.8rem); line-height: 1.08; }
.hub-home .hub-about-link { justify-self: start; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.hub-home .hub-about-link:hover { color: #ffa05a; }
.hub-home .hub-contact { align-items: center; justify-content: space-between; }
.hub-home .hub-contact .contact-button { gap: 8px; flex-shrink: 0; margin-top: 0; }
.hub-home a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.hub-home .site-footer a { font-weight: 500; }
@media(max-width:900px) { .hub-home .hub-businesses { grid-template-columns: minmax(0,1fr); } .hub-home .hub-business-card { padding: 24px; } .hub-home .hub-business-card h2 { min-block-size: 0; } }
@media(max-width:760px) { .hub-home .hub-contact { flex-direction: column; align-items: flex-start; } .hub-home .hub-contact .contact-button { max-width: 100%; white-space: normal; text-align: center; } }

.hub-home .hub-no-break { white-space: nowrap; }

/* Size the three About lines to the actual text column, including narrow screens. */
.hub-home .hub-about > div:first-child { min-width: 0; container-type: inline-size; }
.hub-home .hub-about { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.hub-home .hub-about h2 { font-size: clamp(1.9rem,3.4vw,2.8rem); }
.hub-home .hub-about h2 > span { display: block; white-space: nowrap; }

@media(max-width:760px) { .hub-home .hub-about { grid-template-columns: minmax(0,1fr); } .hub-home .hub-about h2 { font-size: clamp(1.35rem,2.6vw,2.3rem); font-size: clamp(1.25rem,10.3cqw,2.8rem); } }

/* Business previews share a consistent media area and one accessible card link. */
.hub-home .hub-business-card { padding: 0; align-items: stretch; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.hub-home .hub-business-image { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 260px; flex-shrink: 0; overflow: hidden; background: #edf2f7; border-bottom: 1px solid var(--line); }
.hub-home .hub-business-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hub-home .hub-business-image--partnerships img { object-position: right center; }
.hub-home .hub-business-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px 24px; }
.hub-home .hub-business-cue { margin-top: auto; font-weight: 600; }
.hub-home .hub-business-cue > span { color: #a34200; }
.hub-home .hub-business-card:hover, .hub-home .hub-business-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(8,32,62,.1); border-color: #b6c4d4; text-decoration: none; }
.hub-home .hub-business-card:hover .hub-business-cue { text-decoration: underline; text-underline-offset: 4px; }
.hub-home .hub-hero-accent { color: #b84c00; }
.hub-home .hub-about { padding: clamp(20px,3.5vw,32px); }
@media(prefers-reduced-motion:reduce) { .hub-home .hub-business-card { transition: none; } .hub-home .hub-business-card:hover, .hub-home .hub-business-card:focus-visible { transform: none; } }
