/* Storyboard brush textures. Layered over the existing approved theme. */
:root {
    --brush-mask: url('assets/images/brush-band-alpha.png');
    --brush-orange: url('assets/images/orange-brush-sweep.png');
}
.site-header::after {
    top: calc(100% - 40px);
    height: 100px;
    background: white;
    -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
    mask: var(--brush-mask) center / 100% 100% no-repeat;
    transform: rotate(-2deg);
    transform-origin: right center;
}
.home-hero { isolation: isolate; }
.home-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: -7px;
    width: 36%;
    height: 34px;
    background: var(--brush-orange) center / 100% 100% no-repeat;
    pointer-events: none;
}
.service-media > img {
    clip-path: none;
    -webkit-mask-image: linear-gradient(#000, #000), var(--brush-mask);
    mask-image: linear-gradient(#000, #000), var(--brush-mask);
    -webkit-mask-size: 100% calc(100% - 38px), 100% 100px;
    mask-size: 100% calc(100% - 38px), 100% 100px;
    -webkit-mask-position: center top, center bottom;
    mask-position: center top, center bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.how-section {
    padding-block: 44px 52px;
    background: white;
}
.how-section::before {
    inset: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(110deg, #e2f0fb, #cce4f5 50%, #e8f4fc);
    -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
    mask: var(--brush-mask) center / 100% 100% no-repeat;
    transform: none;
}
.how-section::after {
    left: auto;
    right: 1%;
    bottom: 5px;
    top: auto;
    width: 240px;
    height: 28px;
    background: var(--brush-orange) center / 100% 100% no-repeat;
    transform: rotate(-2deg);
    opacity: .85;
}
.booking-panel::before {
    display: block;
    width: 330px;
    height: 125px;
    left: -215px;
    top: calc(50% - 62px);
    background: white;
    -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
    mask: var(--brush-mask) center / 100% 100% no-repeat;
    transform: rotate(90deg);
    clip-path: none;
}
.booking-panel::after {
    top: 2px;
    height: 22px;
    width: 85%;
    background: var(--brush-orange) center / 100% 100% no-repeat;
    opacity: .75;
}
.booking-message h2::after {
    height: 20px;
    background: var(--brush-orange) center / 100% 100% no-repeat;
}
.site-footer { position: relative; isolation: isolate; padding-top: 48px; }
.site-footer::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 55px;
    background: var(--navy);
    -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
    mask: var(--brush-mask) center / 100% 100% no-repeat;
    z-index: -1;
    pointer-events: none;
}
/* Shared storyboard treatment for standard WordPress pages. */
.page-hero {
    position: relative;
    isolation: isolate;
    padding: 92px 0 56px;
    min-height: 310px;
    display: flex;
    align-items: center;
    color: white;
    background-image: var(--page-photo);
    background-size: cover;
    background-position: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 25px 30% 15px -2%;
    background: linear-gradient(100deg, rgba(18,54,90,.98), rgba(18,54,90,.94) 65%, rgba(18,54,90,.68));
    -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
    mask: var(--brush-mask) center / 100% 100% no-repeat;
}
.page-hero::after {
    content: '';
    position: absolute;
    left: 1%;
    bottom: -9px;
    width: 38%;
    height: 45px;
    background: var(--brush-orange) center / 100% 100% no-repeat;
    pointer-events: none;
}
.page-hero h1 { max-width: 65%; font-size: clamp(32px, 4.5vw, 60px); }
.page-hero .brand-display { max-width: 62%; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.2; margin: 7px 0 0; transform: rotate(-3deg); transform-origin: left center; }
.story-page-content { position: relative; isolation: isolate; padding: 44px 0 64px; min-height: 360px; }
.story-page-content::before, .story-page-content::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 220px;
    height: 70px;
    background: var(--brush-orange) center / 100% 100% no-repeat;
    opacity: .7;
}
.story-page-content::before { left: -35px; top: 0; transform: rotate(-12deg); }
.story-page-content::after { right: 0; bottom: 9px; }
.story-page-content h2, .story-page-content h3 { margin-bottom: 14px; }
.story-page-content p { margin-bottom: 18px; }
.story-page-content input:not([type='checkbox']):not([type='radio']):not([type='submit']), .story-page-content select, .story-page-content textarea {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #c6dfee;
    border-radius: 4px;
    color: var(--navy);
    background: #f7fbff;
}
.story-page-content .wp-block-group.has-background { border-radius: 5px; }
@media (max-width: 1100px) {
    .site-header::after { height: 70px; top: calc(100% - 32px); }
}
@media (max-width: 768px) {
    .site-header::after { transform: none; height: 65px; top: calc(100% - 32px); }
    .how-section { padding-block: 42px 50px; }
    .how-section::after { width: 160px; height: 22px; }
    .booking-panel::before {
        width: 100%;
        height: 70px;
        left: 0;
        top: -35px;
        transform: none;
    }
    .booking-panel::after { display: none; }
    .page-hero { min-height: 280px; padding: 72px 0 44px; }
    .page-hero::before { inset: 24px -1% 10px; }
    .page-hero h1, .page-hero .brand-display { max-width: 100%; }
    .page-hero::after { width: 65%; height: 32px; }
}
@supports not (mask-image: linear-gradient(#000, #000)) {
    .site-header::after { background: url('assets/images/header-brush-edge.svg') center / 100% 100% no-repeat; }
    .how-section::before { background: #d9edfb; }
    .page-hero::before { background: rgba(18,54,90,.9); }
    .booking-panel::before { display: none; }
}

/* Focused refinement after storyboard review */
.site-header::after {
    top: calc(100% - 70px);
    height: 95px;
    transform: rotate(-1deg);
}
/* Keep orange underlines; remove disconnected decorative paint marks. */
.home-hero::after,
.how-section::after,
.booking-panel::after,
.page-hero::after,
.story-page-content::before,
.story-page-content::after {
    content: none;
    display: none;
}
.booking-banner {
    background: white;
    padding: 0;
}
.booking-banner::before {
    width: 60%;
    background-position: 38% center;
}
.booking-inner {
    min-height: 310px;
}
.booking-panel {
    width: 62%;
    min-height: 310px;
    background: transparent;
    grid-template-columns: minmax(0, 1fr) 155px;
    padding: 38px 0 36px 32px;
    gap: 24px;
    align-items: center;
}
.booking-panel::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: -60%;
    right: -10vw;
    top: -1px;
    bottom: -1px;
    width: auto;
    height: auto;
    background: url('assets/images/booking-white-transition.png') center / 100% 100% no-repeat;
    -webkit-mask: none;
    mask: none;
    transform: none;
    clip-path: none;
    pointer-events: none;
}
.booking-message h2 {
    font-size: clamp(44px, 3.8vw, 56px);
    line-height: 1.08;
    margin-bottom: 24px;
}
.booking-message h2 span + span {
    font-size: .82em;
    margin-top: 4px;
}
.booking-message h2::after {
    height: 12px;
    margin-top: 6px;
}
.booking-message .button-row {
    gap: 12px;
    align-items: stretch;
}
.booking-message .pg-button {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
}
.banner-benefits {
    font-size: 13px;
    line-height: 1.5;
}
@media (min-width: 769px) and (max-width: 1100px) {
    .site-header::after {
        top: calc(100% - 53px);
        height: 75px;
    }
    .booking-panel {
        width: 62%;
        display: block;
        padding: 34px 0 30px 24px;
    }
    .booking-message h2 { font-size: 46px; }
    .banner-benefits {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 20px;
        margin-top: 24px;
        font-size: 12px;
    }
    .banner-benefits li { margin: 0; }
}
@media (max-width: 768px) {
    .site-header::after {
        top: calc(100% - 46px);
        height: 65px;
        transform: none;
    }
    .booking-banner { padding-top: 205px; }
    .booking-banner::before {
        width: 100%;
        height: 250px;
        bottom: auto;
    }
    .booking-inner { min-height: 0; }
    .booking-panel {
        width: 100%;
        min-height: 0;
        display: block;
        background: white;
        padding: 28px 6% 34px;
    }
    .booking-panel::before {
        left: 0;
        right: 0;
        top: -34px;
        bottom: auto;
        width: 100%;
        height: 68px;
        background: white;
        -webkit-mask: var(--brush-mask) center / 100% 100% no-repeat;
        mask: var(--brush-mask) center / 100% 100% no-repeat;
    }
    .booking-message h2 { font-size: clamp(38px, 7.5vw, 52px); }
    .booking-message .pg-button { flex: 1 1 145px; }
    .banner-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin-top: 24px;
        font-size: 12px;
    }
}
@media (max-width: 400px) {
    .banner-benefits { grid-template-columns: 1fr; }
    .booking-message h2 { font-size: 38px; }
}
/* Keep navigation above the decorative brush */
.site-header {
    isolation: isolate;
}

.header-inner {
    position: relative;
    z-index: 2;
}

.site-header::after {
    z-index: 0;
    top: calc(100% - 28px);
    left: 0;
    right: 0;
    width: auto;
    height: 56px;
    transform: none;
}
@media (min-width: 1101px) {
    .site-logo {
        transform: translate(-55px, 8px);
    }
}
@media (min-width: 1101px) {
    .site-header {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .site-logo {
        margin-block: 0;
        transform: translate(-55px, 0);
    }
}
@media (min-width: 1101px) {
    .booking-panel {
        grid-template-columns: max-content 150px;
        justify-content: center;
        gap: 28px;
        padding-left: 20px;
    }

    .booking-message h2 {
        width: fit-content;
        font-size: 50px;
        line-height: 1;
        margin-bottom: 20px;
        transform: rotate(-5deg);
    }

    .booking-message h2 span + span {
        margin-top: 0;
        font-size: 0.8em;
    }

    .booking-message h2::after {
        width: 92%;
        height: 12px;
        margin-top: 4px;
    }

    .booking-message .button-row {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .banner-benefits {
        align-self: center;
    }
}
@media (min-width: 1101px) {
    .booking-banner::before {
        width: 68%;
    }

    .booking-panel {
        width: 52%;
        padding-left: 12px;
    }

    .booking-panel::before {
        left: -40%;
    }
}
@media (min-width: 1101px) {
    .booking-panel::before {
        left: -50%;
    }
}
@media (min-width: 1101px) {
    .site-logo {
        transform: translate(-30px, 0);
    }
}
