/* Home messages stay independent of the service and blog heading styles. */
.home-hero { position: relative; width: 100%; max-width: 1140px; margin-inline: auto; background: #fff; color: #1b1e24; }
.home-hero-slides { display: grid; }
.home-hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 440px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms ease;
}
.home-hero-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.home-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 0 36px clamp(28px, 5.6vw, 64px);
    min-width: 0;
    text-align: left;
}
body .home-hero .home-hero-title {
    margin: 0;
    color: #1b1e24 !important;
    font: 400 40px/1.2 "Roboto", Arial, sans-serif;
    letter-spacing: 0;
    text-align: left;
    width: max-content;
    max-width: none;
    overflow-wrap: normal;
}
body .home-hero .home-hero-title span { display: block; white-space: nowrap; }
body .home-hero .home-hero-title .home-hero-title-main { color: #1b1e24 !important; }
body .home-hero .home-hero-title .home-hero-title-accent { color: var(--red) !important; }
.home-hero .home-hero-subtitle {
    margin: 0;
    color: #1b1e24;
    font: 500 20px/1.5 "OpenSans", "Open Sans", Arial, sans-serif;
    letter-spacing: 1px;
    max-width: none;
    hyphens: none;
    text-align: inherit;
}
.home-hero-subtitle span { display: block; }
.home-hero-cta { width: 100%; text-align: inherit; }
.home-hero-cta .action { border-radius: 36px; font: 400 16px/1.35 "Open Sans", Arial, sans-serif; }
.home-hero-visual { position: relative; z-index: 1; min-width: 0; margin-left: -20%; overflow: hidden; background: #fff; }
.home-hero-photo-window { position: absolute; inset: 0; overflow: hidden; }
.home-hero-photo-window img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.home-hero-family { margin-left: -24%; }
.home-hero-family img { object-position: center top; }
/* Both photos share a white fade and geometric edge only on the left. */
.home-hero-visual .home-hero-photo-window { clip-path: polygon(16% 0, 100% 0, 100% 100%, 20% 100%, 0 43%); }
.home-hero-visual .home-hero-photo-window::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,.95) 5%, rgba(255,255,255,.6) 14%, rgba(255,255,255,0) 28%);
    pointer-events: none;
}
.home-hero-controls { position: absolute; z-index: 3; right: 12px; bottom: 12px; }
.home-hero [hidden] { display: none !important; }
.home-hero-dots { display: flex; }
.home-hero-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.home-hero-dots span { display: block; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #767676; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.home-hero-dots [aria-pressed="true"] span { width: 13px; height: 13px; background: var(--red); }
.home-hero-dots button:hover span { background: var(--red); }
.home-hero-dots button:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; background: rgba(255,255,255,.85); }
.home-hero-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 991px) {
    .home-hero-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 0; }
    .home-hero-copy { padding: 24px 20px; gap: 18px; align-items: center; text-align: center; }
    body .home-hero .home-hero-title { font-size: clamp(22px, 6.2vw, 40px); text-align: center; }
    .home-hero .home-hero-subtitle { font-size: clamp(16px, 4vw, 20px); letter-spacing: .25px; }
    .home-hero-visual { margin-left: 0; height: clamp(220px, 66.6667vw, 400px); }
    .home-hero-storefront img { object-position: center top; }
    .home-hero-controls { right: 8px; bottom: 8px; }
    .home-hero-visual .home-hero-photo-window { clip-path: polygon(10% 0, 100% 0, 100% 100%, 13% 100%, 0 43%); }
    .home-hero-visual .home-hero-photo-window::after { background: linear-gradient(to right, #fff, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 18%); }
    .home-hero-family .home-hero-photo-window::after { background: linear-gradient(to right, #fff, rgba(255,255,255,.65) 3%, rgba(255,255,255,0) 12%); }
}
@media (min-width: 992px) and (max-width: 1139px) {
    .home-hero-family { margin-left: -28%; }
    body .home-hero .home-hero-title { font-size: 32px; }
}
@media (min-width: 1025px) and (max-width: 1139px) {
    .home-hero-family { margin-left: calc(100% - 790px); }
    .home-hero-family img { transform: translateX(5%); }
}
@media (prefers-reduced-motion: reduce) { .home-hero-slide { transition: none; } }
