/* Shared DIY components: load after the site's main stylesheet on any page. */
.ws-home { background: #f8faf8; }
.ws-home-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.ws-home-copy h2 { color: #07262e; font-size: clamp(32px, 4vw, 48px); margin: 0 0 20px; }
.ws-home-copy h3 { color: #185447; font-size: 22px; line-height: 1.6; margin: 0 0 16px; }
.ws-home-copy p { color: #52635f; font-size: 17px; line-height: 1.85; }
.ws-home-copy .ws-home-availability { color: #185447; font-size: 15px; margin-top: 24px; }
.ws-home-availability i { margin-right: 6px; }
.ws-home-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 220px); gap: 12px; }
.ws-home-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; filter: brightness(1.38) contrast(.94) saturate(.92); }
.ws-home-gallery img:first-child { grid-row: span 2; }
@media(max-width:991px) {
    .ws-home-layout { grid-template-columns: 1fr; gap: 28px; }
    .ws-home-gallery { grid-template-rows: repeat(2, 200px); }
}
@media(max-width:575px) {
    .ws-home-gallery { grid-template-rows: repeat(2, 150px); gap: 8px; }
    .ws-home-copy h3 { font-size: 20px; }
}
.ws-section {
    --ws-ink: var(--footer-bg-color, #07262e);
    --ws-accent: var(--primary-color, #38b083);
    padding: 80px 0;
    color: var(--ws-ink)
}

.ws-section * {
    box-sizing: border-box
}

.ws-section [id],
.ws-section[id] {
    scroll-margin-top: 110px
}

.ws-preview,
.ws-hero {
    background: #edf5f0
}

.ws-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 36px
}

.ws-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--ws-ink);
    margin-bottom: 16px
}

.ws-heading h2,
.ws-display {
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.12;
    color: var(--ws-ink);
    font-weight: 600;
    margin: 0
}

.ws-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px
}

.ws-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    border: 1px solid var(--ws-ink);
    border-radius: 30px;
    background: var(--ws-ink);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    min-height: 48px
}

.ws-button-outline {
    background: transparent;
    color: var(--ws-ink)
}

.ws-button:hover {
    background: #185447;
    border-color: #185447;
    color: #fff
}

.ws-section a:focus-visible {
    outline: 3px solid #176149;
    outline-offset: 5px
}

.ws-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px
}

.ws-grid-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.ws-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #dce6df;
    border-radius: 20px;
    overflow: hidden
}

.ws-card-image {
    position: relative;
    background: #f5f5f5
}

/* DIY photo gallery and image overlay; shared by Home and Workshops. */
.ws-gallery-open {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
    color: #173e32;
}

.ws-gallery-open[hidden] {
    display: none;
}

.ws-gallery-open>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid rgba(23, 62, 50, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #173e32;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(7, 38, 46, .08);
}

.ws-gallery-open:hover>span {
    background: #fff;
    border-color: rgba(23, 62, 50, .4);
}

.ws-gallery-open:focus-visible {
    outline: 3px solid #185447;
    outline-offset: -4px;
}

.ws-gallery-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.ws-gallery-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e1e8e3;
    gap: 20px;
}

.ws-gallery-kicker {
    font-size: 12px;
    letter-spacing: .12em;
    color: #52635f;
    margin: 0 0 8px;
}

.ws-gallery-modal .modal-title {
    font-size: clamp(20px, 3vw, 28px);
    color: #07262e;
    line-height: 1.4;
}

.ws-gallery-modal .modal-body {
    padding: 24px 28px;
}

.ws-gallery-stage {
    position: relative;
    background: #f5f7f5;
    border-radius: 12px;
    overflow: hidden;
}

.ws-gallery-modal .ws-gallery-photo {
    display: block;
    width: 100%;
    height: min(52vh, 520px);
    object-fit: contain;
    border-radius: 0;
    margin: 0;
}

.ws-gallery-prev,
.ws-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #dce6df;
    background: #fff;
    color: #173e32;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.ws-gallery-prev {
    left: 12px;
}

.ws-gallery-next {
    right: 12px;
}

.ws-gallery-caption {
    font-size: 14px;
    color: #52635f;
    margin: 14px 0;
}

.ws-gallery-thumbs {
    display: flex;
    gap: 10px;
}

.ws-gallery-thumbs button {
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
}

.ws-gallery-thumbs button[aria-pressed=true] {
    border-color: #185447;
    background: #edf5f0;
}

.ws-gallery-modal .ws-gallery-thumbs img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0;
}

.ws-gallery-modal .modal-footer {
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px;
    border-top: 1px solid #e1e8e3;
}

.ws-gallery-modal .modal-footer>span {
    font-size: 14px;
    color: #52635f;
}

.ws-gallery-book {
    border: 1px solid #b7c9bf;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    color: #185447;
    text-decoration: none;
}

.ws-gallery-book:hover {
    background: #edf5f0;
    color: #07262e;
}

.ws-gallery-modal :focus-visible {
    outline: 2px solid #185447;
    outline-offset: 3px;
}

@media(max-width:575px) {

    .ws-gallery-modal .modal-header,
    .ws-gallery-modal .modal-body,
    .ws-gallery-modal .modal-footer {
        padding: 18px;
    }

    .ws-gallery-open {
        padding: 10px;
    }

    .ws-gallery-open>span {
        padding: 0;
    }
}

.ws-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover
}

.ws-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #fff;
    color: #173e32;
    font-size: 12px;
    font-weight: 600
}

.ws-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px
}

.ws-card h2,
.ws-card h3 {
    color: var(--ws-ink);
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 12px
}

.ws-card p {
    font-size: 16px;
    line-height: 1.6
}

.ws-card .ws-included {
    font-size: 15px;
    margin-top: 8px
}

.ws-card ul {
    padding-left: 19px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #525e58
}

.ws-card .ws-availability {
    font-size: 14px;
    font-weight: 600;
    color: #185447
}

.ws-card-body:has(.ws-card-link)>p:last-of-type {
    flex-grow: 1;
    align-self: stretch;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e1e8e3;
}

.ws-card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid #b7c9bf;
    border-radius: 999px;
    background: transparent;
    color: #185447;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    min-height: 44px
}

.ws-card-link span {
    transition: transform .2s ease;
}

.ws-card-link:hover {
    color: #07262e;
    background: #edf5f0;
    border-color: #185447;
    text-decoration: none;
}

.ws-card-link:hover span {
    transform: translateX(3px);
}

.ws-card-link:focus-visible {
    outline: 2px solid #185447;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .ws-card-link span {
        transition: none;
    }

    .ws-card-link:hover span {
        transform: none;
    }
}

.ws-more {
    text-align: center;
    margin: 28px 0 0;
    font-size: 16px
}

.ws-page .navbar {
    background: #fff
}

.ws-hero {
    padding-top: 160px;
    padding-bottom: 72px
}

.ws-hero h1 {
    font-size: clamp(36px, 5.4vw, 72px);
    line-height: 1.08;
    color: var(--ws-ink);
    max-width: 960px
}

.ws-intro {
    margin-top: 24px;
    max-width: 650px;
    line-height: 1.7
}

.ws-plan {
    background: #edf5f0
}

.ws-plan h2 {
    color: var(--ws-ink)
}

.ws-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin: 36px 0
}

.ws-steps h3 {
    font-size: 22px;
    color: var(--ws-ink)
}

/* Shared pricing panel for Home and Workshops. */
.ws-pricing {
    margin-top: 40px;
    padding: 32px;
    background: #fff;
    border: 1px solid #dce6df;
    border-radius: 20px
}

.ws-pricing-section {
    padding-bottom: 0
}

.ws-pricing-section .ws-pricing {
    margin-top: 0
}

.ws-pricing-heading,
.ws-pricing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.ws-pricing-heading {
    margin-bottom: 24px
}

.ws-pricing-heading .ws-kicker {
    margin-bottom: 8px
}

.ws-pricing h2 {
    font-size: 28px;
    color: var(--ws-ink);
    margin: 0
}

.ws-price-original {
    font-size: 15px;
    margin: 0
}

.ws-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.ws-price-tier {
    padding: 24px;
    border: 1px solid #dce6df;
    border-radius: 16px;
    background: #f8faf8
}

.ws-price-tier h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 18px;
    color: var(--ws-ink);
    margin: 0 0 16px
}

.ws-price-tier h3 span {
    font-size: 11px;
    background: #185447;
    color: #fff;
    border-radius: 20px;
    padding: 5px 9px
}

.ws-price-tier p {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    color: var(--ws-ink)
}

.ws-price-tier strong {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600
}

.ws-price-tier p span {
    font-size: 15px
}

.ws-price-best {
    background: #edf5f0;
    border-color: #69a88a
}

.ws-pricing-footer {
    margin-top: 24px
}

.ws-pricing-footer p {
    font-size: 15px;
    margin: 0
}

@media(max-width:1199px) {
    .ws-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ws-card-body {
        padding: 20px
    }
}

@media(max-width:767px) {
    .ws-section {
        padding: 48px 0
    }

    .ws-heading {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .ws-grid,
    .ws-grid-preview,
    .ws-steps {
        grid-template-columns: 1fr
    }

    .ws-grid {
        gap: 24px
    }

    .ws-hero {
        padding-top: 132px
    }

    .ws-card-image img {
        aspect-ratio: 4/3;
        object-fit: contain
    }

    .ws-actions {
        gap: 10px
    }

    .ws-button {
        padding: 12px 19px
    }

    .ws-steps {
        gap: 20px;
        margin: 28px 0
    }

    .ws-more {
        line-height: 1.7
    }
}

@media(prefers-reduced-motion:reduce) {
    .ws-section a {
        transition: none
    }
}

@media(max-width:767px) {
    .ws-grid-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .ws-preview .ws-card-body {
        padding: 14px
    }

    .ws-preview .ws-card h3 {
        font-size: 18px
    }

    .ws-preview .ws-card p {
        font-size: 14px
    }

    .ws-preview .ws-badge {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 10px
    }

    .ws-preview .ws-card-link {
        font-size: 14px
    }

    .ws-preview .ws-card-image img {
        aspect-ratio: 1;
        object-fit: cover
    }

    .ws-pricing {
        padding: 20px;
        margin-top: 28px
    }

    .ws-price-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .ws-price-tier {
        padding: 18px
    }

    .ws-price-tier strong {
        font-size: 32px
    }

    .ws-pricing h2 {
        font-size: 25px
    }
}
