
.harbor-hero {
    background: var(--brand-surface);
    position: relative;
    border: solid 1px var(--brand-border);
    margin-bottom: 4rem;
}

.harbor-hero__title {
    font-size: clamp(2.4rem, 5.2vw, 3.5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: var(--brand-primary);
}

.harbor-hero__text {
    max-width: 38rem;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--brand-text-muted);
}

.harbor-hero__button {
    min-width: 190px;
    min-height: 72px;
    border-radius: var(--brand-radius);
    font-size: 1.15rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    color: var(--brand-surface-elevated) !important;
}

    .harbor-hero__button:hover {
        background: var(--brand-accent-hover) !important;
        border-color: var(--brand-accent-hover) !important;
        color: var(--brand-surface-elevated) !important;
    }

.harbor-hero__eyebrow {
    min-height: 46px;
    font-weight: 500;
    background: var(--brand-surface-elevated) !important;
    color: var(--brand-accent);
    border: 1px solid var(--brand-border);
}

.harbor-hero__media-wrap {
    min-width: 0;
}

.harbor-hero__media-frame {
    border: 20px solid var(--brand-primary);
    border-radius: var(--brand-radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(var(--brand-shadow-color), 0.12), 0 2px 6px rgba(var(--brand-shadow-color), 0.06);
    background: var(--brand-surface-elevated);
}

.harbor-hero__media {
    aspect-ratio: 16/10;
    background: var(--brand-primary-muted);
}

.harbor-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.harbor-hero__media-accent {
    width: 22%;
    height: 16%;
    border-top: 4px double rgba(var(--brand-shadow-color), 0.35);
    border-left: 4px double rgba(var(--brand-shadow-color), 0.35);
    border-top-left-radius: 34px;
    pointer-events: none;
}

/* left layout: accent between text and image (top-right of image) */
.harbor-hero--left .harbor-hero__media-accent {
    left: auto;
    right: 0;
    border-left: none;
    border-right: 4px double rgba(var(--brand-shadow-color), 0.35);
    border-top-left-radius: 0;
    border-top-right-radius: 34px;
}

/* image bleed effect */

@media (min-width: 992px) {
    .harbor-hero--right .harbor-hero__image-col {
        margin-right: -8%;
    }

    /* extend media into the margin so the image actually bleeds right */
    .harbor-hero--right .harbor-hero__media-wrap {
        width: calc(100% + 13.71%); /* 8% of row (row = 12/7 × col) */
    }

    .harbor-hero--left .harbor-hero__image-col {
        margin-left: -8%;
    }
}

@media (max-width: 992px) {
    .harbor-hero__media-accent {
        display: none;
    }

    .harbor-hero__media-frame {
        border-width: 12px;
    }
}
/* mobile adjustments */

@media (max-width: 575px) {
    .harbor-hero__title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
        line-height: 0.98;
    }

    .harbor-hero__button {
        width: 100%;
        max-width: 260px;
        min-height: 60px;
        font-size: 1rem;
    }

    .harbor-hero__media-frame {
        border-width: 12px;
        border-radius: var(--brand-radius);
    }

    .harbor-hero__media {
        aspect-ratio: 4/3;
    }
}
