/* ==========================================================================
   JSP Limited – landing page + division pages
   Plain CSS, no build step. Geometry is driven by two variables:
     --slant : tan of the slash angle (0.274 ≈ 15.3°, measured from the banner)
     --s     : horizontal run of that slant across the current element's height
   ========================================================================== */

:root {
    --navy: #0b1d3a;
    --navy-soft: #16305c;
    --gold: #c8932f;
    --gold-hi: #e8b95a;
    --gold-grad: linear-gradient(180deg, #ecc064 0%, #b8832a 100%);
    --blue: #5f93c9;
    --paper: #f3f4f7;
    --ink: #0b1d3a;
    --muted: #4a5a75;

    --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --slant: 0.274;
    --lift: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--ink);
    background: var(--navy);
}

a { color: inherit; }

:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   The slashes (shared by the landing page and the "other divisions" strip)
   -------------------------------------------------------------------------- */

.slashes { display: flex; }

.slash {
    position: relative;
    display: block;
    flex: 1 1 0;
    min-width: 0;
    margin-left: calc(var(--s) * -1);
    color: #fff;
    text-decoration: none;
    /* "/" parallelogram: top edge shifted right by --s */
    clip-path: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
}
.slash:first-child { margin-left: 0; }
/* the last slash bleeds off the right edge, so its right side is vertical */
.slash:last-child { clip-path: polygon(var(--s) 0, 100% 0, 100% 100%, 0 100%); }

.slash__bg {
    position: absolute;
    inset: 0;
    /* photo on top; if the file is missing, the gradient shows instead */
    background-image: var(--photo), var(--fallback);
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.slash__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 29, 58, .9) 0%, rgba(11, 29, 58, .35) 32%, rgba(11, 29, 58, 0) 58%);
    transition: opacity .3s;
}
.slash__line {
    position: absolute;
    inset: 0;
    background: var(--gold-grad);
    clip-path: polygon(var(--s) 0, calc(var(--s) + 3px) 0, 3px 100%, 0 100%);
}
.slash__label {
    position: absolute;
    left: calc(var(--s) * .08 + .75rem);
    width: calc(100% - var(--s) - 1.5rem);
    bottom: calc(var(--lift) + 1.1rem);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(.95rem, 1.35vw, 1.5rem);
    line-height: 1.2;
    text-wrap: balance;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
    transition: color .25s;
}

.slash:last-child .slash__label { width: calc(100% - var(--s) * .08 - 1.5rem); }

.slash:hover .slash__bg,
.slash:focus-visible .slash__bg { transform: scale(1.06); }
.slash:hover .slash__label { color: var(--gold-hi); }

/* clip-path would cut off a normal outline, so focus is shown on the label */
.slash:focus-visible { outline: none; }
.slash:focus-visible .slash__label {
    color: var(--navy);
    background: var(--gold-hi);
    padding: .3em .55em;
    text-shadow: none;
}

/* --------------------------------------------------------------------------
   Landing page hero
   -------------------------------------------------------------------------- */

.hero {
    --h: max(100vh, 640px);
    --s: calc(var(--h) * var(--slant));
    --bar: clamp(36px, 7vh, 60px);
    --panel: 54%;
    --lift: var(--bar);

    position: relative;
    height: var(--h);
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
}
@supports (height: 100svh) {
    .hero { --h: max(100svh, 640px); }
}

/* white brand panel with slanted right edge */
.hero__left {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--panel);
    z-index: 3;
    background: linear-gradient(120deg, #ffffff 0%, #eceef3 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
}
/* gold line along that edge */
.hero__edge {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--panel);
    z-index: 4;
    background: var(--gold-grad);
    clip-path: polygon(calc(100% - 5px) 0, 100% 0, calc(100% - var(--s)) 100%, calc(100% - var(--s) - 5px) 100%);
}

/* navy corner, top left */
.hero__corner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    width: clamp(70px, 7.5vw, 140px);
    height: clamp(95px, 10vw, 190px);
}
.hero__corner-fill {
    position: absolute;
    inset: 0;
    background: var(--navy);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero__corner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 14px);
    height: calc(100% + 20px);
    background: var(--gold-grad);
    clip-path: polygon(100% 0, calc(100% - 3px) 0, 0 calc(100% - 4px), 0 100%);
}

/* brand content, centred on the panel's slanted edge */
.hero__brand {
    position: absolute;
    z-index: 6;
    inset: 0 auto 0 0;
    width: calc(var(--panel) - var(--s) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1rem, 4vh, 2.5rem) 1.5rem clamp(1.5rem, 7vh, 4rem);
    text-align: center;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-decoration: none;
}
.logo-mark { display: block; width: clamp(64px, 13vh, 128px); height: auto; }
.brand-mark__word {
    width: clamp(13rem, 24vw, 22rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    color: var(--gold);
}
.brand-mark__jsp {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    letter-spacing: .06em;
    line-height: 1.1;
}
.brand-mark__jsp::before,
.brand-mark__jsp::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(200, 147, 47, 0), var(--gold));
}
.brand-mark__jsp::after { transform: scaleX(-1); }
.brand-mark__ltd {
    font-weight: 500;
    font-size: clamp(.65rem, .95vw, .95rem);
    letter-spacing: .36em;
    text-transform: uppercase;
    padding-left: .36em; /* balances the trailing letter-space */
}

.hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.6rem, min(5.4vw, 11vh), 6.4rem);
    line-height: 1;
    letter-spacing: .01em;
    color: var(--navy);
}

.tagline {
    font-size: clamp(1rem, min(1.75vw, 3.7vh), 1.9rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy);
}
.tagline__line { margin: 0; }
.tagline__sep { margin: 0 .55em; }
.tagline a {
    text-decoration: none;
    padding-bottom: 2px;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
    transition: background-size .25s;
}
.tagline a:hover,
.tagline a:focus-visible { background-size: 100% 2px; }

/* right: the four slashes fill the full height; the navy bar sits over their base */
.hero .slashes {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--panel) - var(--s));
    right: 0;
    z-index: 1;
}
/* the panel's own gold edge already covers the first slash's line */
.hero .slash:first-child .slash__line { display: none; }

.hero__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: var(--bar);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(1rem, 3vw, 3rem);
    background: var(--navy);
    color: rgba(255, 255, 255, .62);
}
.hero__bar small { font-size: .8rem; letter-spacing: .02em; }

/* one entrance: the slashes slide in from the right, staggered */
.hero .slash { animation: slash-in .85s cubic-bezier(.2, .7, .2, 1) both; }
.hero .slash:nth-child(1) { animation-delay: .15s; }
.hero .slash:nth-child(2) { animation-delay: .25s; }
.hero .slash:nth-child(3) { animation-delay: .35s; }
.hero .slash:nth-child(4) { animation-delay: .45s; }
@keyframes slash-in {
    from { opacity: 0; transform: translateX(6%); }
}

/* --------------------------------------------------------------------------
   Landing page, tablets and phones: stack the brand panel over a 2×2 grid
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .hero {
        --s: 0px;
        --lift: 0px;
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }
    .hero__left, .hero__edge { display: none; }
    .hero__brand {
        position: relative;
        inset: auto;
        width: auto;
        order: 1;
        gap: 1.75rem;
        padding: 3.5rem 1.25rem 2.5rem;
        background: linear-gradient(120deg, #ffffff 0%, #eceef3 100%);
    }
    .hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }
    .tagline { font-size: clamp(1rem, 4vw, 1.4rem); }
    .brand-mark__word { width: min(20rem, 80vw); }

    .hero .slashes {
        position: static;
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .slash { margin-left: 0; aspect-ratio: 4 / 3; }
    .slash__label { font-size: clamp(1rem, 3.6vw, 1.35rem); }
    .hero .slash:first-child .slash__line { display: block; }
    .hero .slash { animation: none; }

    .hero__bar { position: static; order: 3; justify-content: center; }
}

@media (max-width: 480px) {
    .hero .slashes { grid-template-columns: 1fr; }
    .slash { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------------
   Division pages
   -------------------------------------------------------------------------- */

body.page-division { background: #fff; }

.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 2rem;
    padding: .75rem clamp(1rem, 4vw, 3rem);
    background: var(--navy);
    color: #fff;
}
.topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
}
.topbar__brand .logo-mark { width: 38px; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.topbar__nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    color: rgba(255, 255, 255, .78);
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.topbar__nav a:hover { color: #fff; border-color: rgba(232, 185, 90, .6); }
.topbar__nav a[aria-current="page"] { color: #fff; border-color: var(--gold-hi); }

.dhero {
    --h: clamp(300px, 52vh, 520px);
    --s: calc(var(--h) * var(--slant));
    --panel: 58%;

    position: relative;
    height: var(--h);
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
}
.dhero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--photo), var(--fallback);
    background-size: cover;
    background-position: center;
}
.dhero__left {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--panel);
    z-index: 1;
    background: linear-gradient(120deg, #ffffff 0%, #eceef3 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
}
.dhero__edge {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--panel);
    z-index: 2;
    background: var(--gold-grad);
    clip-path: polygon(calc(100% - 5px) 0, 100% 0, calc(100% - var(--s)) 100%, calc(100% - var(--s) - 5px) 100%);
}
.dhero__text {
    position: absolute;
    z-index: 3;
    inset: 0 auto 0 0;
    width: calc(var(--panel) - var(--s));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 0 clamp(1.25rem, 4vw, 4.5rem);
}
.back-link {
    align-self: flex-start;
    font-size: .95rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
    padding-bottom: 2px;
    transition: background-size .25s, color .2s;
}
.back-link:hover, .back-link:focus-visible { color: var(--navy); background-size: 100% 2px; }
.dhero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 4.2rem);
    line-height: 1.08;
    color: var(--navy);
    text-wrap: balance;
}
.dhero p {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(1.05rem, 1.5vw, 1.4rem);
    line-height: 1.4;
    color: var(--muted);
}

.dbody {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.dbody__summary {
    margin: 0 0 2.5rem;
    max-width: 60ch;
    font-size: 1.25rem;
    line-height: 1.6;
}
.dbody h2, .others h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.2;
}
.services { list-style: none; margin: 0; padding: 0; }
.services li {
    display: grid;
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
    gap: .25rem 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(200, 147, 47, .55);
}
.services li:last-child { border-bottom: 1px solid rgba(200, 147, 47, .55); }
.services h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}
.services p { margin: 0; color: var(--muted); max-width: 52ch; }

.enquiry {
    padding: 2rem;
    color: #fff;
    background: var(--navy);
    border-top: 4px solid var(--gold);
}
.enquiry h2 { color: #fff; font-size: 1.5rem; }
.enquiry > p { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .78); }
.enquiry dl { margin: 0 0 1.75rem; }
.enquiry dl > div { padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.enquiry dt { font-size: .85rem; color: var(--gold-hi); }
.enquiry dd { margin: 0; overflow-wrap: anywhere; }
.enquiry dd a { text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.button {
    display: inline-block;
    padding: .85rem 1.4rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    background: var(--gold-hi);
    transition: background .2s;
}
.button:hover { background: #f3cd7f; }

.others {
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 0;
    background: var(--navy);
    color: #fff;
}
.others h2 { max-width: 1120px; margin: 0 auto 1.5rem; }
.slashes--strip {
    --h: 220px;
    --s: calc(var(--h) * var(--slant));
    --lift: 0px;
    max-width: 1120px;
    height: var(--h);
    margin: 0 auto;
}
.sitefoot {
    padding: 1.25rem 1rem;
    text-align: center;
    background: var(--navy);
    color: rgba(255, 255, 255, .62);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
    .dhero {
        --s: 0px;
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }
    .dhero__bg { position: relative; inset: auto; order: 1; height: 190px; }
    .dhero__left, .dhero__edge { display: none; }
    .dhero__text {
        position: relative;
        inset: auto;
        order: 2;
        width: auto;
        padding: 2rem 1.25rem;
        background: #fff;
        border-top: 4px solid var(--gold);
    }
    .dhero p { max-width: 40ch; }

    .dbody { grid-template-columns: minmax(0, 1fr); }
    .services li { grid-template-columns: minmax(0, 1fr); }

    .slashes--strip {
        --s: 0px;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
    }
    .slashes--strip .slash { aspect-ratio: 16 / 6; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .hero .slash { animation: none; }
    .slash__bg, .slash__label, .tagline a, .back-link { transition: none; }
    .slash:hover .slash__bg, .slash:focus-visible .slash__bg { transform: none; }
}

/* ==========================================================================
   Products slider + detail modal
   ========================================================================== */

.products {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}
.products__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.products__head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.2;
    color: var(--ink);
}
.pslider__controls { display: flex; gap: .5rem; flex-shrink: 0; }
.pslider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(11, 29, 58, .2);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.pslider__nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.pslider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(280px, 78vw);
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
}
.pslider__track::-webkit-scrollbar { height: 8px; }
.pslider__track::-webkit-scrollbar-thumb { background: rgba(11, 29, 58, .25); border-radius: 8px; }

.pcard {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(11, 29, 58, .1);
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.pcard:hover, .pcard:focus-visible { box-shadow: 0 12px 28px rgba(11, 29, 58, .16); transform: translateY(-3px); }
.pcard__image {
    display: block;
    height: 170px;
    background-image: var(--photo);
    background-size: cover;
    background-position: center;
    background-color: var(--navy-soft);
}
.pcard__body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.pcard__price { font-weight: 600; color: var(--gold); font-size: .95rem; }
.pcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.pcard__desc { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.pcard__more { margin-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--navy); }

/* Modal */
.pmodal {
    border: none;
    padding: 0;
    max-width: min(760px, 92vw);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
}
.pmodal::backdrop { background: rgba(11, 29, 58, .72); }
.pmodal__close {
    position: absolute;
    top: .6rem;
    right: .75rem;
    z-index: 2;
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: 50%;
    background: rgba(11, 29, 58, .82);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.pmodal__gallery { position: relative; background: var(--navy); }
.pmodal__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.pmodal__track img {
    width: 100%;
    height: min(60vh, 420px);
    object-fit: cover;
    scroll-snap-align: start;
    display: block;
}
.pmodal__nav {
    position: absolute;
    top: 50%;
    left: .6rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
}
.pmodal__nav--right { left: auto; right: .6rem; }
.pmodal__body { padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem) 2rem; }
.pmodal__price { margin: 0 0 .3rem; font-weight: 600; color: var(--gold); }
.pmodal__name { margin: 0 0 .75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--ink); }
.pmodal__desc { color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.pmodal__desc p:first-child { margin-top: 0; }

.button--whatsapp {
    background: #25D366;
    color: #06280f;
}
.button--whatsapp:hover { background: #35e577; }

/* ==========================================================================
   Blog (real estate)
   ========================================================================== */

.blog {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}
.blog__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.blog__head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--ink);
}
.blog__all { font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.blog__all:hover { color: var(--gold); }
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.bcard { border: 1px solid rgba(11, 29, 58, .1); }
.bcard__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.bcard__image {
    display: block;
    height: 170px;
    background-image: var(--photo);
    background-size: cover;
    background-position: center;
    background-color: var(--navy-soft);
}
.bcard__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.25rem; }
.bcard__date { font-size: .8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bcard__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.bcard__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* Plain (photo-less) hero banner, used on the blog index/show pages */
.dhero--plain {
    height: auto;
    display: flex;
    align-items: center;
    background: var(--navy);
    border-top: 4px solid var(--gold);
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 4.5rem);
}
.dhero--plain .dhero__text { position: relative; inset: auto; width: auto; padding: 0; }
.dhero--plain h1 { color: #fff; }
.dhero--plain p { color: rgba(255, 255, 255, .78); }
.dhero--plain .back-link { color: var(--gold-hi); }

.blogpage {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.blogpage__empty { color: var(--muted); font-size: 1.1rem; }
.blogpage__pagination { margin-top: 2.5rem; }

/* Single post */
.post { max-width: 780px; margin: 0 auto; padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem); }
.post__head { margin-bottom: 1.75rem; }
.post__head h1 {
    margin: .75rem 0 .5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    color: var(--ink);
    line-height: 1.15;
}
.post__meta { margin: 0; color: var(--muted); font-size: .95rem; }
.post__cover {
    height: min(46vh, 380px);
    background-image: var(--photo);
    background-size: cover;
    background-position: center;
    background-color: var(--navy-soft);
    margin-bottom: 2rem;
}
.post__body { color: var(--ink); line-height: 1.75; font-size: 1.08rem; }
.post__body img { max-width: 100%; height: auto; }
.post__body h2, .post__body h3 { font-family: var(--font-display); font-weight: 600; }
.post__body a { color: var(--navy); text-decoration-color: var(--gold); }

@media (max-width: 640px) {
    .products__head, .blog__head { flex-direction: column; align-items: flex-start; }
    .pmodal__track img { height: 55vh; }
}
