/* =============================================================
   Jastipali — design system
   Palette derived from the brand mark: terracotta + warm orange
   on a cream editorial base.
   ============================================================= */

:root {
    /* Brand */
    --brick: #C0442C;
    --brick-dark: #9C3520;
    --brick-darker: #7A2917;
    --orange: #EF9231;
    --orange-soft: #F8C288;
    --crimson: #B4232A;

    /* Neutrals — warm, not grey */
    --ink: #191512;
    --ink-soft: #2E2721;
    --body: #4E463F;
    --muted: #8A7F74;
    --line: #EBE4DA;
    --line-strong: #DBD1C3;
    --surface: #FAF6F1;
    --cream: #FDF8F2;
    --white: #FFFFFF;

    /* Feedback */
    --green: #16794C;
    --green-soft: #E8F5EE;
    --amber: #B45309;
    --amber-soft: #FEF5E7;
    --red: #B42318;
    --red-soft: #FDF0EE;
    --wa: #25D366;

    /* Type */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

    --fs-display: clamp(2.6rem, 1.7rem + 3.4vw, 4.5rem);
    --fs-h1: clamp(2.15rem, 1.45rem + 2.9vw, 3.6rem);
    --fs-h2: clamp(1.8rem, 1.35rem + 1.9vw, 2.7rem);
    --fs-h3: clamp(1.3rem, 1.15rem + .65vw, 1.6rem);
    --fs-h4: clamp(1.1rem, 1.03rem + .32vw, 1.28rem);
    --fs-lede: clamp(1.06rem, 1rem + .38vw, 1.28rem);
    --fs-body: 1.0625rem;
    --fs-sm: .9rem;
    --fs-xs: .8rem;

    /* Space */
    --gap: clamp(1.25rem, 2.4vw, 2rem);
    --section-y: clamp(4rem, 7.5vw, 7.5rem);
    --container: 1220px;
    --narrow: 740px;
    --pad-x: clamp(1.15rem, 4vw, 2.5rem);

    /* Shape */
    --r-sm: 9px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    --sh-sm: 0 1px 2px rgba(25, 21, 18, .05), 0 1px 3px rgba(25, 21, 18, .04);
    --sh-md: 0 6px 20px -6px rgba(25, 21, 18, .1), 0 2px 6px rgba(25, 21, 18, .04);
    --sh-lg: 0 28px 64px -24px rgba(25, 21, 18, .22), 0 8px 20px -12px rgba(25, 21, 18, .1);
    --sh-brick: 0 12px 28px -12px rgba(192, 68, 44, .45);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */

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

/* Components that set their own `display` would otherwise beat the user-agent
   `[hidden] { display: none }` rule. */
[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.018em; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

button { font: inherit; color: inherit; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
    outline: 2px solid var(--brick);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--orange-soft); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.jp-skip {
    position: absolute; left: -9999px;
    z-index: 999; padding: 12px 22px;
    background: var(--ink); color: #fff;
    border-radius: 0 0 var(--r-sm) 0;
}
.jp-skip:focus { left: 0; top: 0; color: #fff; }

/* ── Layout ──────────────────────────────────────────────────── */

.jp-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.jp-narrow { max-width: var(--narrow); margin-inline: auto; }

.jp-section { padding-block: var(--section-y); }
.jp-section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.jp-section--cream { background: var(--cream); }
.jp-section--surface { background: var(--surface); }
.jp-section--ink { background: var(--ink); color: #D8D0C7; }
.jp-section--ink h2, .jp-section--ink h3 { color: #fff; }

.jp-grid { display: grid; gap: var(--gap); }
.jp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jp-grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.jp-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Logo wall: fixed column counts so it never drops to a single tall column. */
.jp-grid--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .jp-grid--logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jp-grid--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }

/* ── Section heads ───────────────────────────────────────────── */

.jp-sechead { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.jp-sechead--center { margin-inline: auto; text-align: center; }

.jp-eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    margin: 0 0 .85rem;
    font-family: var(--font-display);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--brick);
}
.jp-eyebrow::before {
    content: ""; width: 22px; height: 2px;
    background: var(--orange); border-radius: 2px;
}
.jp-sechead--center .jp-eyebrow::before { display: none; }

.jp-sechead__title { margin-bottom: .55rem; }
.jp-sechead__lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.6; margin: 0; }

.jp-hl { color: var(--brick); }
.jp-hl-orange { color: var(--orange); }

/* Highlighted phrase with a marker-pen underline.
   Painted as a background gradient so it cannot fall behind the section art. */
.jp-underline {
    display: inline;
    color: var(--brick);
    background-image: linear-gradient(transparent 74%, rgba(248, 194, 136, .62) 74%);
    background-repeat: no-repeat;
    padding-bottom: .04em;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.jp-btn {
    --btn-bg: var(--brick);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8rem 1.4rem;
    font-family: var(--font-display);
    font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
    line-height: 1.2;
    color: var(--btn-fg); background: var(--btn-bg);
    border: 1px solid transparent; border-radius: var(--r-pill);
    text-decoration: none; cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
    white-space: nowrap;
}
.jp-btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.jp-btn:active { transform: translateY(0); }
.jp-btn svg { flex: none; }

.jp-btn--primary { box-shadow: var(--sh-brick); }
.jp-btn--primary:hover { background: var(--brick-dark); }

.jp-btn--orange { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.jp-btn--orange:hover { background: #E7861F; }

.jp-btn--ghost {
    --btn-bg: transparent; --btn-fg: var(--ink);
    border-color: var(--line-strong);
}
.jp-btn--ghost:hover { background: var(--surface); border-color: var(--ink); }

.jp-btn--wa { --btn-bg: #1FAF54; }
.jp-btn--wa:hover { background: #179244; }

.jp-btn--light { --btn-bg: #fff; --btn-fg: var(--brick); }
.jp-btn--light:hover { background: var(--cream); }

.jp-btn--lg { padding: 1rem 1.9rem; font-size: 1.03rem; }
.jp-btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.jp-btn--block { width: 100%; }

.jp-textlink {
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    text-decoration: none;
}
.jp-textlink svg { transition: transform .2s var(--ease); }
.jp-textlink:hover svg { transform: translateX(3px); }

.jp-cta-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.jp-cta-buttons--center { justify-content: center; }

/* ── Chips, badges, tags ─────────────────────────────────────── */

.jp-chip {
    display: inline-flex; align-items: center; gap: .35em;
    padding: .22em .7em;
    font-size: var(--fs-xs); font-weight: 600;
    color: var(--muted); background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.jp-chip--brick { color: var(--brick); background: #FDF0EC; border-color: #F5D9D1; }
.jp-chip--orange { color: #92400E; background: var(--amber-soft); border-color: #F7DFC0; }

.jp-badge {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .38em .95em;
    font-family: var(--font-display);
    font-size: .82rem; font-weight: 700;
    color: var(--badge, var(--brick));
    background: color-mix(in srgb, var(--badge, var(--brick)) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--badge, var(--brick)) 25%, #fff);
    border-radius: var(--r-pill);
    white-space: nowrap;
}

/* ── Header ──────────────────────────────────────────────────── */

.jp-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.jp-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px -8px rgba(25, 21, 18, .18);
}
/* Keep the sticky header below the WordPress admin bar when logged in. */
body.admin-bar .jp-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .jp-header { top: 46px; }
}

.jp-header__inner {
    display: flex; align-items: center; gap: 1.25rem;
    min-height: 74px;
}

.jp-logo { flex: none; text-decoration: none; display: inline-flex; align-items: center; }
.jp-logo__img { height: 42px; width: auto; object-fit: contain; }
.jp-logo__text {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em;
    color: var(--brick); line-height: 1;
}
.jp-logo__text em { font-style: normal; color: var(--orange); }

.jp-nav { margin-left: auto; }
.jp-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.jp-nav li { margin: 0; }
.jp-nav a {
    display: block; padding: .55rem .8rem;
    font-family: var(--font-display);
    font-size: .93rem; font-weight: 600; letter-spacing: -.008em;
    color: var(--ink-soft); text-decoration: none;
    border-radius: var(--r-pill);
    transition: color .16s, background .16s;
}
.jp-nav a:hover { color: var(--brick); background: var(--surface); }
.jp-nav .current-menu-item > a,
.jp-nav .current_page_parent > a { color: var(--brick); }

.jp-header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.jp-lang {
    display: inline-flex; align-items: center;
    padding: 3px; gap: 2px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
}
.jp-lang a {
    display: block; padding: .28rem .62rem;
    font-family: var(--font-display);
    font-size: .76rem; font-weight: 700; letter-spacing: .04em;
    color: var(--muted); text-decoration: none;
    border-radius: var(--r-pill);
    transition: all .16s;
}
.jp-lang a.is-active { color: #fff; background: var(--brick); }
.jp-lang a:not(.is-active):hover { color: var(--ink); background: #fff; }

.jp-burger {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink);
}
.jp-burger[aria-expanded="true"] .jp-burger__open,
.jp-burger[aria-expanded="false"] .jp-burger__close { display: none; }

/* Mobile drawer */
.jp-drawer {
    position: fixed; inset: 74px 0 0;
    z-index: 55;
    background: var(--white);
    padding: 1.5rem var(--pad-x) 3rem;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.jp-drawer.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.jp-drawer ul { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.jp-drawer li { margin: 0; border-bottom: 1px solid var(--line); }

/* Scoped to the nav list — the buttons below keep their own .jp-btn layout,
   which space-between would otherwise pull apart. */
.jp-drawer ul a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .95rem 0;
    font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
    color: var(--ink); text-decoration: none;
}
.jp-drawer__cta { display: grid; gap: .65rem; }
.jp-drawer__cta .jp-btn { padding: .95rem 1.25rem; font-size: 1rem; }

body.jp-locked { overflow: hidden; }

/* ── Hero ────────────────────────────────────────────────────── */

.jp-hero {
    position: relative;
    /* Overridable from Settings → Tampilan (hero image); falls back to theme art. */
    --hero-img: url(../img/hero-port.jpg);
    --hero-img-m: url(../img/hero-port-m.jpg);
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 6rem);
    /* Brand-duotoned port photo under a cream wash: near-solid behind the copy
       on the left, opening up toward the top-right, and fading to white at the
       bottom so the section hands off cleanly to the marquee below. */
    background:
        linear-gradient(97deg, var(--white) 0%, rgba(255, 255, 255, .93) 22%, rgba(253, 243, 234, .6) 40%, rgba(253, 243, 234, .12) 62%, rgba(253, 240, 230, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .04) 60%, rgba(255, 255, 255, .68) 84%, var(--white) 98%),
        var(--hero-img) right top / cover no-repeat,
        var(--white);
    overflow: hidden;
}
.jp-hero::before {
    content: "";
    position: absolute; inset: 0;
    /* Brick-tinted lines instead of the pale grey so the grid stays legible on
       top of the warm photo, not just over the white left edge. */
    background-image:
        linear-gradient(rgba(150, 58, 40, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 58, 40, .22) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(closest-side at 50% 34%, #000 34%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 34%, #000 34%, transparent 100%);
    opacity: .8;
    pointer-events: none;
}

.jp-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.jp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .48rem 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--sh-sm);
    font-size: .82rem; font-weight: 600; color: var(--body);
    line-height: 1.35;
}
.jp-hero__eyebrow-ico { flex: none; color: var(--brick); }
.jp-hero__eyebrow > span { min-width: 0; }

/* Rotating promises. Every line shares one grid cell, so the track is as wide
   and as tall as the longest line and the pill never jumps between lines. */
.jp-rotator { display: inline-grid; }
.jp-rotator > b {
    grid-area: 1 / 1;
    display: inline-flex; align-items: center; justify-content: center;
    gap: .45rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    /* Linear, so the outgoing line loses exactly as much opacity as the
       incoming one gains and the pill never dims mid-handover. */
    animation: jp-rotate 13.5s linear infinite;
    /* Each line waits out the ones before it: 3 lines, a third of the cycle
       each. The 0.75s head start skips the opening fade so the first line is
       already legible on load instead of the pill starting empty. */
    animation-delay: calc(var(--i) * 4.5s - 0.75s);
}
@keyframes jp-rotate {
    0%    { opacity: 0; transform: translateY(7px); }
    5.5%  { opacity: 1; transform: translateY(0); }
    33%   { opacity: 1; transform: translateY(0); }
    38.5% { opacity: 0; transform: translateY(-7px); }
    100%  { opacity: 0; transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
    .jp-rotator > b { animation: none; opacity: 0; }
    .jp-rotator > b:first-child { opacity: 1; }
}

/* Keeps the badge on one line on the narrowest phones. */
@media (max-width: 400px) {
    .jp-hero__eyebrow { font-size: .76rem; gap: .38rem; padding: .42rem .85rem; }
}
@media (max-width: 400px) { .jp-rotator > b { gap: .38rem; } }
@media (max-width: 360px) {
    .jp-hero__eyebrow { font-size: .69rem; gap: .32rem; padding: .4rem .7rem; }
    .jp-rotator > b { gap: .32rem; }
}

.jp-hero__title {
    font-size: var(--fs-display);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin-bottom: 1.15rem;
}

.jp-hero__lede {
    font-size: var(--fs-lede);
    color: var(--body);
    max-width: 46ch;
    margin-bottom: 1.85rem;
}

.jp-hero__proof {
    display: flex; flex-wrap: wrap; gap: 1.1rem 2rem;
    margin-top: 2.25rem; padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.jp-hero__proof div { display: flex; flex-direction: column; }
.jp-hero__proof strong {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 800; color: var(--ink);
    letter-spacing: -.03em; line-height: 1.1;
}
.jp-hero__proof span { font-size: var(--fs-xs); color: var(--muted); }

/* Quote card floating in the hero */
.jp-quotecard {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    padding: clamp(1.5rem, 2.6vw, 2.1rem);
}
.jp-quotecard::before {
    content: "";
    position: absolute; inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(150deg, rgba(239, 146, 49, .55), rgba(192, 68, 44, .18) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.jp-quotecard__head { margin-bottom: 1.15rem; }
.jp-quotecard__head h2 {
    font-size: 1.28rem; margin-bottom: .3rem; letter-spacing: -.02em;
}
.jp-quotecard__head p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

.jp-quotecard__foot {
    display: flex; align-items: center; gap: .45rem;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px dashed var(--line-strong);
    font-size: var(--fs-xs); color: var(--muted);
}
.jp-quotecard__foot svg { flex: none; color: var(--green); }

/* ── Marketplace marquee ─────────────────────────────────────── */

.jp-marquee {
    padding-block: 2.5rem;
    border-block: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
    /* Fade the ends so items enter and leave instead of getting chopped. */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.jp-marquee__label {
    text-align: center;
    font-family: var(--font-display);
    font-size: .74rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.9rem;
}
.jp-marquee__rows { display: grid; gap: 1.6rem; }
.jp-marquee__row { overflow: hidden; }
.jp-marquee__track {
    display: flex; align-items: center; gap: 3.5rem;
    width: max-content;
    animation: jp-scroll 52s linear infinite;
}
/* Second row travels the other way so the two rows cross each other. */
.jp-marquee__track.is-reverse { animation-direction: reverse; }
.jp-marquee:hover .jp-marquee__track { animation-play-state: paused; }

.jp-marquee__item {
    display: flex; align-items: center;
    height: 46px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800; letter-spacing: -.025em;
    color: #B3A798;
    white-space: nowrap;
    transition: color .22s var(--ease);
}
.jp-marquee__item:hover { color: var(--brick); }

/* Logo-wall treatment: muted by default, true colour on hover, so a mix of
   full-colour and monochrome source logos still reads as one row. */
.jp-marquee__item.has-logo { flex: none; }
.jp-marquee__item img {
    max-height: 42px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    /* Slight contrast lift keeps the muted logos as visually heavy as the
       text items sitting next to them. */
    filter: grayscale(1) contrast(1.15);
    opacity: .62;
    transition: filter .22s var(--ease), opacity .22s var(--ease);
}
.jp-marquee__item:hover img { filter: none; opacity: 1; }

@media (max-width: 640px) {
    .jp-marquee { padding-block: 2rem; }
    /* Stay inside the mask fade, which would otherwise clip the first and
       last words of the label on narrow screens. */
    .jp-marquee__label {
        margin-bottom: 1.4rem;
        padding-inline: 1.5rem;
        font-size: .63rem; letter-spacing: .1em;
    }
    .jp-marquee__rows { gap: 1rem; }
    .jp-marquee__track { gap: 2.25rem; }
    .jp-marquee__item { height: 34px; font-size: 1.05rem; }
    .jp-marquee__item img { max-height: 26px; max-width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
    .jp-marquee__track { animation: none; }
    .jp-marquee__row { overflow-x: auto; }
}

@keyframes jp-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Cards ───────────────────────────────────────────────────── */

.jp-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 2.2vw, 1.85rem);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.jp-card--link:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--line-strong);
}
.jp-card__icon {
    display: grid; place-items: center;
    width: 50px; height: 50px;
    margin-bottom: 1.15rem;
    color: var(--brick);
    background: linear-gradient(140deg, #FDF0EC, #FCEBDC);
    border-radius: var(--r-md);
}
.jp-card__title { margin-bottom: .45rem; font-size: var(--fs-h4); }
.jp-card__title a { color: inherit; text-decoration: none; }
.jp-card__text { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.1rem; }
.jp-card__foot { margin-top: auto; padding-top: .35rem; }

/* Stretched click target */
.jp-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* The closing card is the section's catch-all CTA, so it is filled rather than
   outlined — it should read as a destination, not another list item. */
.jp-card--invite {
    background: linear-gradient(145deg, var(--brick), var(--orange));
    border-color: transparent;
    box-shadow: var(--sh-brick);
}
.jp-card--invite.jp-card--link:hover { border-color: transparent; }
.jp-card--invite .jp-card__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.jp-card--invite .jp-card__title { color: #fff; }
.jp-card--invite .jp-card__text { color: rgba(255, 255, 255, .92); }

/* Service card */
.jp-service__price {
    display: block; margin-bottom: .9rem;
    font-family: var(--font-display); font-size: .82rem; font-weight: 700;
    color: var(--brick);
}

/* Destination countries, shown instead of a price line on shipping services. */
.jp-service__countries {
    list-style: none; margin: 0 0 1rem; padding: 0;
    display: flex; flex-wrap: wrap; gap: .3rem;
}
.jp-service__countries li {
    margin: 0; padding: .15rem .5rem;
    background: var(--cream);
    border: 1px solid var(--orange-soft);
    border-radius: var(--r-pill);
    font-family: var(--font-display); font-size: .73rem; font-weight: 700;
    color: var(--brick);
    white-space: nowrap;
}
.jp-service__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.jp-service__list li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: var(--fs-sm); color: var(--body); margin: 0;
}
.jp-service__list svg { flex: none; margin-top: .28em; color: var(--green); }

/* Brand card */
.jp-brandcard {
    position: relative;
    display: flex; flex-direction: column; gap: .85rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.jp-brandcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: var(--orange-soft);
}
.jp-brandmark {
    display: grid; place-items: center;
    height: 84px;
    padding: .9rem 1.1rem;
    background: var(--surface);
    border-radius: var(--r-sm);
    overflow: hidden;
}
.jp-brandmark__img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }

/* Monogram stand-in until a real logo is uploaded. The brand name already
   appears below the mark, so the fallback shows the initial only. */
.jp-brandmark__fallback { display: grid; place-items: center; }
.jp-brandmark__initial {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
    color: #fff;
    background: linear-gradient(140deg, var(--brick), var(--orange));
    border-radius: 12px;
    box-shadow: 0 6px 14px -8px rgba(192, 68, 44, .7);
}
.jp-brandmark__word { display: none; }

/* Logo-only tile. Brands without an uploaded logo fall back to their wordmark
   rather than a monogram, since no name is printed underneath here. */
.jp-brandcard--compact { padding: .9rem; gap: 0; }
.jp-brandcard--compact .jp-brandmark {
    height: 96px;
    background: none;
    padding: .75rem;
}
.jp-brandcard--compact .jp-brandmark__img { max-height: 56px; }
.jp-brandcard--compact .jp-brandmark__initial { display: none; }
.jp-brandcard--compact .jp-brandmark__word {
    display: block;
    padding-inline: .4rem;
    font-family: var(--font-display);
    font-size: clamp(.95rem, 1.5vw, 1.2rem); font-weight: 800;
    letter-spacing: -.025em; line-height: 1.15;
    color: var(--ink);
    text-align: center;
    transition: color .22s var(--ease);
}
.jp-brandcard--compact:hover .jp-brandmark__word { color: var(--brick); }

@media (max-width: 620px) {
    .jp-brandcard--compact { padding: .6rem; }
    .jp-brandcard--compact .jp-brandmark { height: 72px; padding: .5rem; }
    .jp-brandcard--compact .jp-brandmark__img { max-height: 40px; }
}
.jp-brandcard__body { display: grid; gap: .5rem; }
.jp-brandcard__name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.jp-brandcard__name a { color: inherit; text-decoration: none; }

/* One fact per line, icon column aligned so the labels line up under each other. */
.jp-brandcard__meta { display: grid; gap: .3rem; font-size: var(--fs-xs); color: var(--muted); }
.jp-brandcard__meta > span {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: .45rem;
    align-items: center;
}
.jp-brandcard__meta svg { color: var(--orange); opacity: .85; }

/* Article card */
.jp-article-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.jp-article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
/* Matches the 16:9 cover art exactly, so nothing gets cropped away. */
.jp-article-card__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(140deg, #FBEDE4, #F7DFD6);
    display: grid; place-items: center;
    overflow: hidden;
}
.jp-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.jp-article-card__media svg { color: var(--orange-soft); }
.jp-article-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.jp-article-card__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    margin-bottom: .7rem; font-size: var(--fs-xs); color: var(--muted);
}
.jp-article-card__title {
    font-size: 1.12rem; line-height: 1.28; margin-bottom: .5rem;
}
.jp-article-card__title a { color: var(--ink); text-decoration: none; }
.jp-article-card__title a:hover { color: var(--brick); }
.jp-article-card__excerpt { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.jp-article-card__foot { margin-top: auto; }

/* Catalog card */
.jp-catalog-card__media {
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border-radius: var(--r-md);
    display: grid; place-items: center;
    margin-bottom: 1.1rem; overflow: hidden;
    border: 1px solid var(--line);
}
.jp-catalog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.jp-catalog-card__media svg { color: var(--line-strong); }
.jp-catalog-card__specs { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .4rem; }
.jp-catalog-card__specs li {
    display: flex; justify-content: space-between; gap: 1rem;
    font-size: var(--fs-xs); margin: 0;
    padding-bottom: .4rem; border-bottom: 1px dashed var(--line);
}
.jp-catalog-card__specs dt, .jp-catalog-card__specs .k { color: var(--muted); }
.jp-catalog-card__specs .v { color: var(--ink); font-weight: 600; text-align: right; }

/* ── Testimonial ─────────────────────────────────────────────── */

.jp-testi {
    position: relative;
    display: flex; flex-direction: column;
    margin: 0;
    padding: clamp(1.5rem, 2.4vw, 1.9rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: 0 1px 2px rgba(25, 21, 18, .04);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.jp-testi:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--orange-soft); }

/* Reviewer row: avatar, name + stars, and the source mark in the corner. */
.jp-testi__head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center; gap: .85rem;
    margin-bottom: 1.15rem;
}
.jp-testi__avatar {
    display: grid; place-items: center;
    width: 46px; height: 46px; flex: none;
    font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
    color: #fff; background: linear-gradient(140deg, var(--brick), var(--orange));
    border-radius: var(--r-pill);
    object-fit: cover;
    box-shadow: 0 4px 10px -4px rgba(192, 68, 44, .5);
}
.jp-testi__who { display: grid; gap: .18rem; min-width: 0; }
.jp-testi__name {
    font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: 1rem; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jp-testi__stars { display: inline-flex; gap: 1px; color: var(--orange); }
.jp-testi__stars .is-empty { color: #E7DFD4; }
.jp-testi__g { display: inline-flex; flex: none; align-self: start; }

/* Non-Google source chip (WhatsApp, Instagram, etc). */
.jp-testi__chip {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .22em .6em;
    font-size: .72rem; font-weight: 600; white-space: nowrap;
    color: var(--src, var(--muted));
    background: color-mix(in srgb, var(--src, var(--muted)) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--src, var(--muted)) 22%, #fff);
    border-radius: var(--r-pill);
}

.jp-testi__text { margin: 0 0 1.35rem; }
.jp-testi__text p {
    margin: 0;
    font-size: 1.03rem; line-height: 1.7;
    color: var(--ink-soft);
}
/* Opening quotation mark as a light typographic flourish, not a big glyph. */
.jp-testi__text p::before {
    content: "\201C";
    color: var(--orange-soft);
    font-family: Georgia, serif; font-size: 1.6em; font-weight: 700;
    margin-right: .12em; line-height: 0; vertical-align: -.35em;
}

.jp-testi__shot {
    display: block; position: relative;
    margin-bottom: 1.3rem;
    border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; text-decoration: none;
}
.jp-testi__shot img { width: 100%; height: auto; display: block; }
.jp-testi__shot span {
    position: absolute; inset: auto 0 0 0;
    display: flex; align-items: center; justify-content: center; gap: .35rem;
    padding: .5rem;
    font-size: var(--fs-xs); font-weight: 600; color: #fff;
    background: linear-gradient(transparent, rgba(25, 21, 18, .82));
}

.jp-testi__foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; flex-wrap: wrap;
    margin-top: auto; padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}
.jp-testi__service {
    padding: .2em .65em;
    font-size: .7rem; font-weight: 700;
    color: var(--brick); background: #FDF0EC;
    border-radius: var(--r-pill);
}
.jp-testi__read {
    display: inline-flex; align-items: center; gap: .3rem;
    margin-left: auto;
    font-size: .78rem; font-weight: 700; color: var(--muted);
    text-decoration: none; white-space: nowrap;
    transition: color .18s var(--ease);
}
.jp-testi__read svg { transition: transform .18s var(--ease); }
.jp-testi__read:hover { color: var(--brick); }
.jp-testi__read:hover svg { transform: translateX(2px); }

/* Collapsed reviews clamp to a few lines so short and long reviews take a
   similar amount of space; longer ones reveal via the "Selengkapnya" button. */
.jp-carousel .jp-testi__text p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
    overflow: hidden;
}
.jp-testi.is-expanded .jp-testi__text p {
    -webkit-line-clamp: unset; overflow: visible;
}

/* Read-more toggle. Hidden by default; JS shows it only when the text is
   actually clipped. */
.jp-testi__more {
    align-self: flex-start;
    margin: -.5rem 0 1rem;
    padding: 0;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-display); font-weight: 700; font-size: .82rem;
    color: var(--brick);
}
.jp-testi__more:hover { text-decoration: underline; }
.jp-testi__more[hidden] { display: none; }

/* ── Google rating badge ─────────────────────────────────────── */

.jp-grating {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: .7rem;
    margin: -.5rem 0 2.4rem;
}
/* eBay wordmark inside the reputation badge. */
.jp-ebay {
    display: inline-flex; flex: none;
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.1rem; letter-spacing: -.03em; line-height: 1;
}
.jp-ebay b { font-weight: 800; }
.jp-grating__link {
    display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center;
    gap: .3rem .55rem;
    padding: .55rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--sh-sm);
    color: var(--body); text-decoration: none;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
a.jp-grating__link:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.jp-grating__logo { display: inline-flex; flex: none; }
.jp-grating__score { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.jp-grating__stars { display: inline-flex; gap: 1px; color: var(--orange); }
.jp-grating__count { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }

/* ── Carousel ────────────────────────────────────────────────── */

.jp-carousel { position: relative; }
.jp-carousel__viewport { overflow: hidden; }
.jp-carousel__track {
    display: flex;
    /* Cards share one height so the row stays tidy and footers line up. The
       compact 4-line clamp keeps that shared height low, and long reviews open
       via "Selengkapnya" instead of forcing every card taller. */
    align-items: stretch;
    gap: var(--gap, 1.5rem);
    will-change: transform;
    transition: transform .55s var(--ease);
}
.jp-carousel__slide {
    flex: 0 0 calc((100% - (var(--per-view, 1) - 1) * var(--gap, 1.5rem)) / var(--per-view, 1));
    min-width: 0;
}
.jp-carousel__slide > .jp-testi { height: 100%; }

.jp-carousel__nav {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin-top: 1.9rem;
}
.jp-carousel__arrow {
    display: grid; place-items: center;
    width: 42px; height: 42px; flex: none;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.jp-carousel__arrow:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.jp-carousel__dots { display: flex; align-items: center; gap: .5rem; }
.jp-carousel__dot {
    width: 8px; height: 8px; padding: 0;
    background: var(--line-strong);
    border: none; border-radius: var(--r-pill);
    cursor: pointer;
    transition: width .22s var(--ease), background .22s var(--ease);
}
.jp-carousel__dot.is-active { width: 26px; background: linear-gradient(90deg, var(--brick), var(--orange)); }

.jp-carousel.is-static .jp-carousel__nav { display: none; }
.jp-carousel.is-static .jp-carousel__track { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
    .jp-carousel__track { transition: none; }
}

/* ── Audience: personal vs business ──────────────────────────── */

.jp-audience {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}
.jp-audience__card {
    position: relative;
    display: flex; flex-direction: column;
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.jp-audience__card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--orange-soft); }

/* The business card is inverted so the two audiences read as a matched pair. */
.jp-audience__card--biz {
    background: linear-gradient(155deg, var(--ink), #2a2320);
    border-color: transparent; color: #fff;
}
.jp-audience__card--biz:hover { border-color: transparent; }

.jp-audience__tag {
    position: absolute; top: 1.3rem; right: 1.3rem;
    padding: .22em .7em;
    font-family: var(--font-display); font-size: .68rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--brick); background: #FDF0EC; border-radius: var(--r-pill);
}
.jp-audience__card--biz .jp-audience__tag { color: #fff; background: rgba(255, 255, 255, .16); }

.jp-audience__icon {
    display: grid; place-items: center;
    width: 54px; height: 54px; margin-bottom: 1.1rem;
    color: var(--brick);
    background: linear-gradient(140deg, #FDF0EC, #FCEBDC);
    border-radius: var(--r-md);
}
.jp-audience__card--biz .jp-audience__icon {
    color: #fff;
    background: linear-gradient(140deg, var(--brick), var(--orange));
}
.jp-audience__card h3 { font-size: var(--fs-h4); margin-bottom: .5rem; color: var(--ink); }
.jp-audience__card--biz h3 { color: #fff; }
.jp-audience__card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.1rem; }
.jp-audience__card--biz p { color: #D6CCC2; }

.jp-audience__list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.jp-audience__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); }
.jp-audience__list svg { flex: none; margin-top: .28em; color: var(--green); }
.jp-audience__card--biz .jp-audience__list svg { color: var(--orange); }

.jp-audience__card .jp-textlink { margin-top: auto; color: var(--brick); }
.jp-audience__card--biz .jp-textlink { color: #fff; }

@media (max-width: 720px) {
    .jp-audience { grid-template-columns: minmax(0, 1fr); }
}

/* ── Stats band ──────────────────────────────────────────────── */

.jp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.jp-stats__item {
    background: #fff;
    padding: clamp(1.4rem, 2.6vw, 2rem) 1.35rem;
    text-align: center;
}
.jp-stats__icon { color: var(--orange); margin-bottom: .6rem; display: flex; justify-content: center; }
.jp-stats__value {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.6rem);
    font-weight: 800; letter-spacing: -.035em;
    color: var(--ink); line-height: 1;
    margin-bottom: .35rem;
}
.jp-stats__label { font-size: var(--fs-xs); color: var(--muted); }

/* ── Steps ───────────────────────────────────────────────────── */

.jp-steps-flow { display: grid; gap: 0; counter-reset: step; }
.jp-steps-flow__item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1.35rem;
    padding-bottom: 2.25rem;
}
.jp-steps-flow__item::before {
    content: "";
    position: absolute; left: 28px; top: 58px; bottom: 0;
    width: 2px;
    background: linear-gradient(var(--line-strong), var(--line));
}
.jp-steps-flow__item:last-child { padding-bottom: 0; }
.jp-steps-flow__item:last-child::before { display: none; }
.jp-steps-flow__num {
    display: grid; place-items: center;
    width: 58px; height: 58px;
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
    color: var(--brick);
    background: #fff;
    border: 2px solid var(--line-strong);
    border-radius: var(--r-pill);
    counter-increment: step;
    position: relative; z-index: 1;
}
.jp-steps-flow__item:hover .jp-steps-flow__num {
    color: #fff; background: var(--brick); border-color: var(--brick);
}
.jp-steps-flow__body { padding-top: .55rem; }
.jp-steps-flow__body h3 { margin-bottom: .35rem; font-size: 1.18rem; }
.jp-steps-flow__body p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── Journey chain (Seller → warehouse → Jakarta → your door) ─── */

.jp-journey-section { background: var(--cream); }

.jp-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 3.25rem 0 0;
}

.jp-journey__step {
    position: relative;
    margin: 0;
    padding-inline: .6rem;
    text-align: center;
}

/* Dashed run from this node's edge to the next node's edge. */
.jp-journey__step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 42px;
    left: calc(50% + 58px);
    right: calc(-50% + 58px);
    border-top: 2px dashed var(--line-strong);
}

/* Arrow head landing on the next node. */
.jp-journey__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    right: calc(-50% + 58px);
    width: 9px; height: 9px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    transform: translate(50%, -50%) rotate(45deg);
}

.jp-journey__node {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 84px; height: 84px;
    margin-bottom: 1.35rem;
}
.jp-journey__icon {
    display: grid; place-items: center;
    width: 84px; height: 84px;
    color: var(--brick);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--sh-sm);
    transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.jp-journey__step:hover .jp-journey__icon { transform: translateY(-3px); border-color: var(--orange-soft); }

/* The destination reads as the payoff, so it carries the brand fill. */
.jp-journey__step:last-child .jp-journey__icon {
    color: #fff;
    background: linear-gradient(140deg, var(--brick), var(--orange));
    border-color: transparent;
    box-shadow: var(--sh-brick);
}

.jp-journey__num {
    position: absolute; right: 0; bottom: 0;
    display: grid; place-items: center;
    width: 26px; height: 26px;
    font-family: var(--font-display); font-size: .76rem; font-weight: 800;
    color: #fff; background: var(--ink);
    border: 2px solid var(--cream);
    border-radius: 50%;
}

.jp-journey__hop {
    position: absolute;
    top: 42px;
    left: 100%;
    transform: translate(-50%, calc(-100% - 14px));
    width: max-content;
    max-width: 190px;
}
.jp-journey__hop span {
    display: inline-block;
    padding: .28em .8em;
    font-size: .74rem; font-weight: 600; line-height: 1.4;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
}

.jp-journey__body { display: grid; gap: .3rem; }
.jp-journey__body strong {
    font-family: var(--font-display);
    font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em;
    color: var(--ink);
}
.jp-journey__body span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

.jp-journey__foot {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin: 3rem auto 0;
    max-width: 62ch;
    font-size: var(--fs-sm); color: var(--muted); text-align: center;
}
.jp-journey__foot svg { flex: none; color: var(--green); }

@media (max-width: 1080px) {
    .jp-journey__hop { max-width: 150px; }
    .jp-journey__hop span { font-size: .7rem; }
}

/* Stack into a vertical timeline before the labels start colliding. */
@media (max-width: 860px) {
    .jp-journey { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }

    .jp-journey__step {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        gap: .35rem 1.25rem;
        padding: 0 0 2.25rem;
        text-align: left;
    }

    .jp-journey__step:not(:last-child)::before {
        top: 92px; bottom: .35rem;
        left: 41px; right: auto;
        border-top: 0;
        border-left: 2px dashed var(--line-strong);
    }
    .jp-journey__step:not(:last-child)::after {
        top: auto; bottom: .35rem;
        left: 41px; right: auto;
        transform: translate(-50%, 50%) rotate(135deg);
    }

    .jp-journey__node { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
    .jp-journey__body { grid-column: 2; grid-row: 1; align-content: center; }
    .jp-journey__hop {
        position: static;
        transform: none;
        grid-column: 2; grid-row: 2;
        max-width: none;
        margin-top: .55rem;
    }
}

/* ── Rate cards ──────────────────────────────────────────────── */

.jp-ratecard {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow .22s var(--ease), border-color .22s;
}
.jp-ratecard:hover { box-shadow: var(--sh-md); border-color: var(--line-strong); }
.jp-ratecard__head {
    display: flex; align-items: center; gap: .8rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(120deg, #FDF3EC, #FCF7F1);
    border-bottom: 1px solid var(--line);
}
.jp-ratecard__flag { font-size: 1.85rem; line-height: 1; flex: none; }
.jp-ratecard__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.jp-ratecard__name a { color: inherit; text-decoration: none; }
.jp-ratecard__eta { font-size: var(--fs-xs); color: var(--muted); }
.jp-ratecard__body { padding: 1.1rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }

.jp-ratetable { font-size: var(--fs-sm); }
.jp-ratetable tr { border-bottom: 1px dashed var(--line); }
.jp-ratetable tr:last-child { border-bottom: 0; }
.jp-ratetable td { padding: .5rem 0; }
.jp-ratetable td:first-child { color: var(--muted); }
.jp-ratetable td:last-child {
    text-align: right; font-weight: 700; color: var(--ink);
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.jp-ratecard__note {
    margin-top: auto; padding-top: 1rem;
    font-size: var(--fs-xs); color: var(--muted);
}
.jp-ratecard__empty {
    padding: 1rem; text-align: center;
    font-size: var(--fs-sm); color: var(--muted);
    background: var(--surface); border-radius: var(--r-sm);
}

/* ── FAQ accordion ───────────────────────────────────────────── */

.jp-faq { display: grid; gap: .75rem; }
.jp-faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.jp-faq__item[open] { border-color: var(--orange-soft); box-shadow: var(--sh-sm); }
.jp-faq__q {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.1rem 1.3rem;
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 700; color: var(--ink);
    letter-spacing: -.015em; line-height: 1.45;
    cursor: pointer; list-style: none;
}
.jp-faq__q::-webkit-details-marker { display: none; }
.jp-faq__q:hover { color: var(--brick); }
.jp-faq__q svg { flex: none; margin-left: auto; color: var(--brick); transition: transform .25s var(--ease); }
.jp-faq__item[open] .jp-faq__q svg { transform: rotate(180deg); }
.jp-faq__a { padding: 0 1.3rem 1.3rem; font-size: var(--fs-sm); color: var(--muted); }
.jp-faq__a > :last-child { margin-bottom: 0; }

/* ── CTA band ────────────────────────────────────────────────── */

.jp-ctaband {
    position: relative;
    padding-block: clamp(3.25rem, 6vw, 5.5rem);
    background: linear-gradient(125deg, var(--brick-darker), var(--brick) 45%, #D5642F 100%);
    color: #fff;
    overflow: hidden;
}
.jp-ctaband::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0);
    background-size: 26px 26px;
    opacity: .5;
}
.jp-ctaband__inner { position: relative; text-align: center; max-width: 640px; margin-inline: auto; }
.jp-ctaband h2 { color: #fff; margin-bottom: .7rem; }
.jp-ctaband p { color: rgba(255, 255, 255, .84); font-size: var(--fs-lede); margin-bottom: 1.85rem; }
.jp-ctaband .jp-btn--light { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .5); }
.jp-ctaband .jp-btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .4); }
.jp-ctaband .jp-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.jp-ctaband__note {
    margin-top: 1.35rem; font-size: var(--fs-xs);
    color: rgba(255, 255, 255, .68);
    display: flex; align-items: center; justify-content: center; gap: .4rem;
}

/* ── Page hero (inner pages) ─────────────────────────────────── */

.jp-pagehero {
    padding-block: clamp(2.25rem, 4vw, 3.75rem) clamp(2.5rem, 4.5vw, 4rem);
    background:
        radial-gradient(760px 320px at 78% -20%, #FCEEE2 0%, rgba(252, 238, 226, 0) 62%),
        var(--cream);
    border-bottom: 1px solid var(--line);
}
.jp-pagehero__title { font-size: var(--fs-h1); margin-bottom: .6rem; }
.jp-pagehero__lede { font-size: var(--fs-lede); color: var(--muted); max-width: 60ch; margin: 0; }
.jp-pagehero--center .jp-pagehero__lede { margin-inline: auto; }
.jp-pagehero__hint {
    margin: .9rem auto 0; max-width: 56ch;
    font-size: var(--fs-sm); color: var(--brick); font-weight: 600;
}

/* Estimate-only callout on the calculator result. */
.jp-calc__estimate {
    display: flex; align-items: flex-start; gap: .55rem;
    margin: 0 0 1.4rem; padding: .8rem 1rem;
    background: #FDF0EC;
    border: 1px solid var(--orange-soft);
    border-radius: var(--r-md);
    font-size: var(--fs-sm); line-height: 1.5; color: var(--body);
}
.jp-calc__estimate svg { flex: none; margin-top: .12em; color: var(--brick); }
.jp-pagehero__inner { max-width: 800px; }
.jp-pagehero--center .jp-pagehero__inner { max-width: 760px; margin-inline: auto; text-align: center; }

.jp-crumbs { margin-bottom: 1.25rem; }
.jp-crumbs ol {
    display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
    list-style: none; margin: 0; padding: 0;
    font-size: var(--fs-xs); color: var(--muted);
}
.jp-crumbs li { display: flex; align-items: center; gap: .3rem; margin: 0; }
.jp-crumbs a { color: var(--muted); text-decoration: none; }
.jp-crumbs a:hover { color: var(--brick); }
.jp-crumbs__sep { color: var(--line-strong); }
.jp-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── Prose (article body) ────────────────────────────────────── */

.jp-prose { font-size: 1.09rem; line-height: 1.78; color: var(--body); }
.jp-prose > * + * { margin-top: 1.25em; }
.jp-prose h2 {
    margin-top: 2.2em; margin-bottom: .55em;
    font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
    scroll-margin-top: 100px;
}
.jp-prose h3 {
    margin-top: 1.9em; margin-bottom: .45em;
    font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
    scroll-margin-top: 100px;
}
.jp-prose h2 + p, .jp-prose h3 + p { margin-top: 0; }
.jp-prose ul, .jp-prose ol { padding-left: 1.35em; }
.jp-prose li { margin-bottom: .5em; }
.jp-prose li::marker { color: var(--orange); font-weight: 700; }
.jp-prose strong { color: var(--ink); font-weight: 600; }
.jp-prose a { text-decoration: underline; text-decoration-color: var(--orange-soft); text-decoration-thickness: 2px; }
.jp-prose a:hover { text-decoration-color: var(--brick); }

.jp-prose blockquote {
    margin: 1.75em 0; padding: 1.15rem 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 1.05rem; color: var(--ink-soft);
}
.jp-prose blockquote p:last-child { margin-bottom: 0; }

.jp-prose figure { margin: 2em 0; }
.jp-prose img { border-radius: var(--r-md); }
.jp-prose figcaption { margin-top: .6rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* Tables inside prose scroll on their own, never the page */
.jp-prose table, .jp-tablewrap table {
    font-size: .95rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.jp-prose > table { display: table; }
.jp-tablewrap {
    overflow-x: auto;
    margin: 1.9em 0;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
}
.jp-prose th, .jp-tablewrap th {
    padding: .8rem 1rem;
    text-align: left;
    font-family: var(--font-display); font-size: .86rem; font-weight: 700;
    color: var(--ink); background: var(--surface);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.jp-prose td, .jp-tablewrap td {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.jp-prose tbody tr:last-child td, .jp-tablewrap tbody tr:last-child td { border-bottom: 0; }
.jp-prose tbody tr:nth-child(even), .jp-tablewrap tbody tr:nth-child(even) { background: #FDFBF9; }

/* ── Article layout ──────────────────────────────────────────── */

.jp-post { padding-block: clamp(2.5rem, 5vw, 4rem); }
.jp-post__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.jp-post__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
    margin-bottom: 1.75rem;
    font-size: var(--fs-sm); color: var(--muted);
}
.jp-post__meta .jp-chip { font-size: var(--fs-xs); }
.jp-post__hero {
    margin-bottom: 2.25rem;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.jp-post__foot {
    margin-top: 3rem; padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}

.jp-toc {
    position: sticky; top: 100px;
    padding: 1.35rem 1.4rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.jp-toc__title {
    font-family: var(--font-display); font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    margin-bottom: .85rem;
}
.jp-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.jp-toc li { margin: 0; }
.jp-toc a {
    display: block; padding: .38rem 0;
    font-size: .875rem; line-height: 1.45;
    color: var(--body); text-decoration: none;
    border-left: 2px solid transparent; padding-left: .7rem;
    transition: all .16s;
}
.jp-toc a:hover, .jp-toc a.is-active { color: var(--brick); border-left-color: var(--brick); }

.jp-share { display: flex; align-items: center; gap: .5rem; }
.jp-share__label { font-size: var(--fs-xs); color: var(--muted); margin-right: .2rem; }
.jp-share a, .jp-share button {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    color: var(--muted); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-pill);
    transition: all .18s;
}
.jp-share a:hover, .jp-share button:hover { color: #fff; background: var(--brick); border-color: var(--brick); }

.jp-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.jp-tags a { text-decoration: none; }

/* ── Pagination ──────────────────────────────────────────────── */

.jp-pagination { margin-top: 3rem; }
.jp-pagination ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
    list-style: none; margin: 0; padding: 0;
}
.jp-pagination li { margin: 0; }
.jp-pagination .page-numbers {
    display: inline-flex; align-items: center; gap: .35rem;
    min-width: 42px; height: 42px; padding: 0 .85rem;
    justify-content: center;
    font-family: var(--font-display); font-size: .9rem; font-weight: 600;
    color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    text-decoration: none;
    transition: all .18s;
}
.jp-pagination .page-numbers:hover { border-color: var(--brick); color: var(--brick); }
.jp-pagination .current { color: #fff; background: var(--brick); border-color: var(--brick); }
.jp-pagination .dots { border-color: transparent; background: transparent; }

/* ── Footer ──────────────────────────────────────────────────── */

.jp-footer {
    background: var(--ink);
    color: #B9AFA4;
    padding-block: clamp(3rem, 5vw, 4.5rem) 0;
}
.jp-footer a { color: #D6CCC2; text-decoration: none; }
.jp-footer a:hover { color: #fff; }

.jp-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.jp-footer li, .jp-footer__contact span { overflow-wrap: anywhere; }

@media (max-width: 860px) {
    .jp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
    .jp-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 1.85rem; }
}
.jp-footer__brand .jp-logo__text { color: #fff; }
.jp-footer__brand .jp-logo__text em { color: var(--orange); }
.jp-footer__brand .jp-logo__img { filter: brightness(0) invert(1); opacity: .95; }
.jp-footer__about { margin-top: 1.1rem; font-size: var(--fs-sm); color: #9A9086; max-width: 40ch; }

.jp-footer__title {
    font-family: var(--font-display); font-size: .78rem; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    color: #fff; margin-bottom: 1rem;
}
.jp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.jp-footer li { margin: 0; font-size: var(--fs-sm); }

.jp-footer__contact { display: grid; gap: .7rem; font-size: var(--fs-sm); }
.jp-footer__contact a, .jp-footer__contact span {
    display: flex; align-items: flex-start; gap: .6rem;
}
.jp-footer__contact svg { flex: none; margin-top: .18em; color: var(--orange); }

.jp-footer__social { display: flex; gap: .5rem; margin-top: 1.35rem; }
.jp-footer__social a {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .07);
    border-radius: var(--r-pill);
    transition: all .18s;
}
.jp-footer__social a:hover { background: var(--brick); color: #fff; transform: translateY(-2px); }

.jp-footer__bottom {
    display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
    align-items: center; justify-content: space-between;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: var(--fs-xs); color: #8A8077;
}
.jp-footer__credit { flex-basis: 100%; font-size: .68rem; opacity: .75; }
.jp-footer__credit a { color: inherit; text-decoration: underline; }

/* ── Floating corner controls ────────────────────────────────── */

.jp-floats {
    position: fixed;
    right: 1.15rem; bottom: 1.15rem;
    z-index: 50;
    display: flex; flex-direction: column; align-items: flex-end;
    gap: .7rem;
}

.jp-fab {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.15rem;
    background: #1FAF54; color: #fff;
    font-family: var(--font-display); font-size: .92rem; font-weight: 700;
    border-radius: var(--r-pill);
    box-shadow: 0 12px 30px -10px rgba(31, 175, 84, .6);
    text-decoration: none;
    transition: transform .2s var(--ease), box-shadow .2s;
}
.jp-fab:hover { color: #fff; transform: translateY(-3px); }
.jp-fab__text { display: inline; }

/* Back to top, with a ring that fills as the page scrolls. */
.jp-totop {
    position: relative;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    padding: 0;
    color: var(--brick);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--sh-md);
    opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(.9);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, color .2s, background .2s;
}
.jp-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.jp-totop:hover { color: #fff; background: var(--brick); border-color: var(--brick); }

.jp-totop__ring {
    position: absolute; inset: -1px;
    width: calc(100% + 2px); height: calc(100% + 2px);
    transform: rotate(-90deg);
    pointer-events: none;
}
.jp-totop__ring circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}
.jp-totop__track { stroke: var(--line); }
.jp-totop__bar {
    stroke: var(--orange);
    /* dasharray/offset are set from JS once the real path length is known */
    transition: stroke-dashoffset .12s linear;
}
.jp-totop:hover .jp-totop__track { stroke: rgba(255, 255, 255, .3); }

.jp-totop__icon { display: grid; place-items: center; line-height: 0; }

/* ── Reveal on scroll ────────────────────────────────────────── */

.jp-reveal { opacity: 0; transform: translateY(18px); }
.jp-reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
    .jp-reveal { opacity: 1; transform: none; }
}

/* ── Alerts ──────────────────────────────────────────────────── */

.jp-alert {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
}
.jp-alert p { margin: 0; }
.jp-alert strong { display: block; margin-bottom: .2rem; color: var(--ink); font-family: var(--font-display); }
.jp-alert__icon { flex: none; margin-top: .1em; }
.jp-alert--error { background: var(--red-soft); color: #7A2019; border: 1px solid #F3CFC9; }
.jp-alert--error .jp-alert__icon { color: var(--red); }
.jp-alert--success { background: var(--green-soft); color: #14563A; border: 1px solid #BFE3D0; }
.jp-alert--success .jp-alert__icon { color: var(--green); }
.jp-alert--info { background: #EFF5FC; color: #1E4471; border: 1px solid #CFE0F2; }
.jp-alert--info .jp-alert__icon { color: #2563EB; }
.jp-alert--warn { background: var(--amber-soft); color: #7A3E06; border: 1px solid #F5DFBB; }

/* ── Utilities ───────────────────────────────────────────────── */

.jp-center { text-align: center; }
.jp-mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.jp-empty-state {
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-lg);
    color: var(--muted);
}
.jp-empty-state h3 { color: var(--ink); margin-bottom: .5rem; }

.jp-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.jp-filter {
    padding: .48rem 1rem;
    font-family: var(--font-display); font-size: .87rem; font-weight: 600;
    color: var(--body); background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-pill);
    text-decoration: none; cursor: pointer;
    transition: all .18s;
}
.jp-filter:hover { border-color: var(--ink); color: var(--ink); }
.jp-filter.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

/* ── Split layout (sticky intro + content) ───────────────────── */

.jp-split {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.jp-split__sticky { position: sticky; top: 110px; }
.jp-split__sticky .jp-sechead { margin-bottom: 1.75rem; }

/* ── B2B band ────────────────────────────────────────────────── */

.jp-b2b {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.jp-b2b h2 { margin-bottom: .75rem; }
.jp-b2b__lede { font-size: var(--fs-lede); color: #B9AFA4; margin-bottom: 1.6rem; max-width: 52ch; }
.jp-b2b__list {
    list-style: none; margin: 0 0 2rem; padding: 0;
    display: grid; gap: .7rem;
}
.jp-b2b__list li {
    display: flex; align-items: flex-start; gap: .65rem;
    margin: 0; font-size: var(--fs-sm); color: #D6CCC2;
}
.jp-b2b__list svg { flex: none; margin-top: .3em; color: var(--orange); }

/* Generic dark panel on the ink section (used by the sourcing page's
   "typical engagement" list). */
.jp-b2b__clients {
    align-self: start;
    padding: 1.6rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-lg);
}
.jp-b2b__clients-label {
    font-family: var(--font-display); font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: #8A8077; margin-bottom: 1.1rem;
}

/* B2B proof panel: a real Google rating plus two hard numbers. */
.jp-b2b__proof {
    align-self: start;
    padding: 1.6rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-lg);
}
.jp-b2b__rating {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: background .18s var(--ease), border-color .18s var(--ease);
}
a.jp-b2b__rating:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.jp-b2b__rating-num {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
    line-height: 1; color: #fff;
}
.jp-b2b__rating-body { display: grid; gap: .25rem; margin-right: auto; }
.jp-b2b__rating-stars { display: inline-flex; gap: 1px; color: var(--orange); }
.jp-b2b__rating-label { font-size: var(--fs-xs); color: #C9BFB4; }
.jp-b2b__rating-g { display: inline-flex; flex: none; }

.jp-b2b__facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    margin-top: .6rem;
}
.jp-b2b__facts > div {
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-md);
    text-align: center;
}
.jp-b2b__facts dt {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    color: var(--orange-soft); line-height: 1.1;
}
.jp-b2b__facts dd {
    margin: .2rem 0 0; font-size: var(--fs-xs); color: #B9AFA4;
}

/* ── Rate card PDF viewer ────────────────────────────────────── */

.jp-pdf {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--sh-sm);
}
.jp-pdf__bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
    padding: .9rem 1.1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}
.jp-pdf__label {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    color: var(--ink);
}
.jp-pdf__label svg { flex: none; color: var(--brick); }
.jp-pdf__actions { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.jp-pdf__frame {
    position: relative;
    /* Tall enough to read a landscape rate page without scrolling the iframe. */
    aspect-ratio: 16 / 10;
    background: #f4efe8;
}
/* Branded placeholder sits underneath; a rendered PDF hides it. */
.jp-pdf__poster {
    position: absolute; inset: 0; z-index: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .5rem; padding: 1.5rem; text-align: center;
}
.jp-pdf__poster-ico {
    display: grid; place-items: center;
    width: 74px; height: 74px; margin-bottom: .4rem;
    color: var(--brick); background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
}
.jp-pdf__poster-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.jp-pdf__poster-sub { margin: 0 0 .6rem; font-size: var(--fs-sm); color: var(--muted); }
.jp-pdf__iframe {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; border: 0; display: block;
}

@media (max-width: 640px) {
    /* Phones render inline PDFs unreliably — show the poster prompt instead. */
    .jp-pdf__frame { aspect-ratio: auto; min-height: 320px; }
    .jp-pdf__iframe { display: none; }
    .jp-pdf__bar { justify-content: center; text-align: center; }
}

/* ── Hero quick quote ────────────────────────────────────────── */

.jp-quickquote .jp-field { margin-bottom: 1rem; }
.jp-quickquote .jp-btn { width: 100%; }

.jp-ratetable__unit { font-weight: 400; color: var(--muted); font-size: .85em; }

/* ── Article head ────────────────────────────────────────────── */

.jp-post__title { font-size: var(--fs-h1); margin-bottom: .65rem; }
.jp-post__lede { font-size: var(--fs-lede); color: var(--muted); margin-bottom: 2rem; }

.jp-inline-cta {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    align-items: center; justify-content: space-between;
    margin: 2.5rem 0;
    padding: clamp(1.35rem, 2.6vw, 1.9rem);
    background: linear-gradient(135deg, #FDF3EC, #FCF8F3);
    border: 1px solid var(--orange-soft);
    border-radius: var(--r-lg);
}
.jp-inline-cta h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.jp-inline-cta p { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 48ch; }
.jp-inline-cta .jp-btn { flex: none; }

/* ── Small headings & notes ──────────────────────────────────── */

.jp-minihead {
    font-family: var(--font-display);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .85rem;
}

.jp-note {
    display: flex; gap: .55rem; align-items: flex-start;
    padding: .9rem 1.15rem;
    background: var(--surface);
    border-radius: var(--r-sm);
    font-size: var(--fs-xs); color: var(--muted); line-height: 1.65;
}
.jp-note svg { flex: none; margin-top: .15em; color: var(--muted); }

.jp-notebox {
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    background: var(--amber-soft);
    border: 1px solid #F5DFBB;
    border-radius: var(--r-md);
}
.jp-notebox h3 {
    display: flex; align-items: center; gap: .5rem;
    font-size: 1rem; color: #7A3E06; margin-bottom: .75rem;
}
.jp-notebox ul { margin: 0; padding-left: 1.2em; }
.jp-notebox li { font-size: var(--fs-sm); color: #7A3E06; margin-bottom: .5rem; }

/* ── Definition list ─────────────────────────────────────────── */

.jp-deflist { margin: 0; display: grid; gap: .75rem; }
.jp-deflist > div {
    display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: .75rem;
    padding-bottom: .75rem; border-bottom: 1px dashed var(--line);
}
.jp-deflist > div:last-child { border-bottom: 0; padding-bottom: 0; }
.jp-deflist dt { font-size: var(--fs-xs); color: var(--muted); }
.jp-deflist dd { margin: 0; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; word-break: break-word; }

.jp-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.jp-linklist li { margin: 0; }
.jp-linklist a {
    display: flex; align-items: center; gap: .6rem;
    padding: .65rem .35rem;
    font-size: var(--fs-sm); color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color .16s;
}
.jp-linklist li:last-child a { border-bottom: 0; }
.jp-linklist a:hover { color: var(--brick); }
.jp-linklist a span { flex: 1; }
.jp-linklist a svg:first-child { color: var(--brick); flex: none; }
.jp-linklist a svg:last-child { color: var(--line-strong); flex: none; }

/* ── Service list page ───────────────────────────────────────── */

.jp-servicelist { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.jp-servicerow {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}
.jp-servicelist > .jp-servicerow:last-child { border-bottom: 0; padding-bottom: 0; }
.jp-servicerow__intro h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: .5rem; }
.jp-servicerow__tagline { font-size: var(--fs-lede); color: var(--muted); margin-bottom: 1.1rem; }
.jp-servicerow__cols {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem; margin-top: 1.75rem;
}

/* ── Info grid ───────────────────────────────────────────────── */

.jp-infogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.jp-infogrid__item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.jp-infogrid__item p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── FAQ groups ──────────────────────────────────────────────── */

.jp-faqgroup { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.jp-faqgroup__title {
    display: flex; align-items: center; gap: .65rem;
    font-size: 1.35rem; margin-bottom: 1.1rem;
    scroll-margin-top: 100px;
}
.jp-faqgroup__title span {
    display: grid; place-items: center;
    min-width: 26px; height: 26px; padding: 0 .5rem;
    font-family: var(--font-body); font-size: .78rem; font-weight: 600;
    color: var(--brick); background: #FDF0EC;
    border-radius: var(--r-pill);
}

/* ── Status grid ─────────────────────────────────────────────── */

.jp-statusgrid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem; list-style: none; margin: 0; padding: 0;
    counter-reset: st;
}
.jp-statusgrid__item {
    display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .85rem;
    margin: 0; padding: 1.1rem 1.25rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.jp-statusgrid__dot {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    color: #fff; background: var(--c, var(--brick));
    border-radius: var(--r-pill);
}
.jp-statusgrid strong { display: block; font-family: var(--font-display); font-size: .96rem; color: var(--ink); margin-bottom: .2rem; }
.jp-statusgrid p { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }

/* ── Value rows (about page) ─────────────────────────────────── */

.jp-valuerow {
    display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 1.1rem;
    margin-top: 1.75rem;
}
.jp-valuerow .jp-card__icon { margin-bottom: 0; width: 50px; height: 50px; }
.jp-valuerow h3 { font-size: 1.08rem; margin-bottom: .3rem; margin-top: 0; }
.jp-valuerow p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── Contact ─────────────────────────────────────────────────── */

.jp-contactgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.jp-map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.jp-map iframe { display: block; }

/* ── Single hero variants ────────────────────────────────────── */

.jp-brandhero { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; }
.jp-brandhero__mark {
    display: grid; place-items: center;
    width: 130px; height: 96px; flex: none;
    padding: 1rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.jp-brandhero__mark img { max-height: 64px; width: auto; object-fit: contain; }
.jp-brandhero__body { flex: 1 1 340px; min-width: 0; }
.jp-brandhero__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.jp-brandhero__meta a { text-decoration: none; }

.jp-ratehero { display: flex; flex-wrap: wrap; gap: 1.35rem; align-items: center; }
.jp-ratehero__flag { font-size: clamp(3rem, 6vw, 4.25rem); line-height: 1; flex: none; }

.jp-sidecard { display: grid; gap: 1.25rem; align-content: start; position: sticky; top: 100px; }

/* ── Form page ───────────────────────────────────────────────── */

.jp-formpage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}
.jp-formpage__main {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}
.jp-formpage__side { display: grid; gap: 1.1rem; position: sticky; top: 100px; }
.jp-formpage__side .jp-card { padding: 1.35rem; }
.jp-formpage__side .jp-card__title { font-size: 1rem; margin-bottom: .75rem; }

/* ── Search form ─────────────────────────────────────────────── */

.jp-searchform { display: flex; gap: .6rem; }
.jp-searchform .jp-input-icon { flex: 1; }
.jp-searchform input {
    width: 100%;
    padding: .72rem .9rem .72rem 2.5rem;
    font-family: inherit; font-size: .97rem;
    color: var(--ink); background: #fff;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    -webkit-appearance: none; appearance: none;
}
.jp-searchform input:focus {
    outline: none; border-color: var(--brick);
    box-shadow: 0 0 0 3px rgba(192, 68, 44, .12);
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .jp-servicerow, .jp-formpage { grid-template-columns: minmax(0, 1fr); }
    .jp-sidecard, .jp-formpage__side { position: static; }
}

@media (max-width: 640px) {
    .jp-inline-cta { flex-direction: column; align-items: stretch; }
    .jp-inline-cta .jp-btn { width: 100%; }
    .jp-deflist > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
    .jp-brandhero__mark { width: 96px; height: 76px; }
    .jp-searchform { flex-direction: column; }
}

@media (max-width: 1080px) {
    .jp-split, .jp-b2b { grid-template-columns: minmax(0, 1fr); }
    .jp-split__sticky { position: static; }
}

@media (max-width: 1080px) {
    .jp-post__layout { grid-template-columns: minmax(0, 1fr); }
    .jp-toc { display: none; }
}

@media (max-width: 900px) {
    .jp-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .jp-hero__proof { margin-top: 1.75rem; }
    /* Single column: text spans the full width, so the wash is stronger and
       the lighter mobile crop of the photo peeks through at the top only. */
    .jp-hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .5) 30%, rgba(253, 243, 234, .66) 55%, var(--white) 88%),
            var(--hero-img-m) center top / cover no-repeat,
            var(--white);
    }
    .jp-nav { display: none; }
    .jp-burger { display: inline-flex; }
    .jp-header__actions .jp-btn { display: none; }

    /* The nav carried the auto margin on desktop; without it the language
       toggle and burger would bunch up against the logo. */
    .jp-header__actions { margin-left: auto; }
}

@media (max-width: 640px) {
    :root { --fs-body: 1rem; }
    .jp-hero__title { letter-spacing: -.03em; }

    /* Side by side, wrapping to full width only when the labels truly
       cannot share a row. */
    .jp-cta-buttons { flex-direction: row; flex-wrap: wrap; gap: .55rem; }
    .jp-cta-buttons .jp-btn { flex: 1 1 auto; min-width: 0; padding: .78rem .95rem; font-size: .87rem; gap: .4em; }
    .jp-cta-buttons .jp-btn--lg { padding: .82rem 1rem; font-size: .9rem; }

    /* Three even columns instead of two-plus-an-orphan. */
    .jp-hero__proof {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .9rem .6rem;
    }
    .jp-hero__proof strong { font-size: 1.28rem; }
    .jp-hero__proof span { font-size: .72rem; line-height: 1.35; }

    .jp-floats { right: .9rem; bottom: .9rem; gap: .6rem; }
    .jp-fab__text { display: none; }
    .jp-fab { width: 48px; height: 48px; padding: 0; justify-content: center; }

    .jp-footer__bottom { flex-direction: column; align-items: flex-start; }
    .jp-steps-flow__item { grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; }
    .jp-steps-flow__num { width: 46px; height: 46px; font-size: 1.05rem; }
    .jp-steps-flow__item::before { left: 22px; top: 46px; }
}

@media print {
    .jp-header, .jp-footer, .jp-fab, .jp-ctaband, .jp-share { display: none !important; }
    body { color: #000; }
}
