.jsm-home :is(h1, h2, h3) {
    font-family: var(--display);
}

.jsm-home .jgh-hero {
    background:
        radial-gradient(ellipse at 80% 25%, #21516a 0%, #16384b 24%, transparent 67%),
        radial-gradient(ellipse at 94% 100%, #103638 0%, transparent 48%),
        #0b1727;
}

.jsm-home .jgh-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(24px, 4.5vw, 60px);
    padding-block: 52px 54px;
}

.jsm-home .jgh-intro .jwf-kicker::before {
    content: "";
    width: 19px;
    height: 1px;
    flex: none;
    background: currentColor;
}

.jsm-home .jgh-intro h1 {
    font-size: clamp(38px, 5.25cqw, 64px);
    line-height: 1.07;
    letter-spacing: -.065em;
    font-weight: 800;
    margin-block: 15px 17px;
}

.jsm-home .jgh-intro .jwf-hero-lede {
    max-width: 36ch;
    margin-bottom: 20px;
}

.jsm-home .jgh-intro .jwf-actions { gap: 4px 15px; }
.jsm-home .jgh-intro .jwf-quiet-link { font-size: 13px; }

.jsm-home .jgh-gallery {
    --record-ink: #142e3b;
    --record-note: #365665;
    min-width: 0;
}

.jsm-home .jgh-gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 0 1px 13px;
}

.jsm-home .jgh-caption {
    color: #b3dbe5;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.jsm-home .jgh-gallery-head h2 {
    color: var(--ink);
    font-size: clamp(27px, 3.3cqw, 38px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin-top: 3px;
}

.jsm-home .jgh-sample {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d6edf4;
    background: #153747;
    border: 1px solid #4b7485;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
}

.jsm-home .jgh-sample span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint);
}

.jsm-home .jgh-records {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.jsm-home .jgh-card {
    --accent: #105b70;
    --record: #def1f8;
    --edge: #afcfde;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--edge);
    border-radius: 11px;
    background: #eef8fc;
    color: var(--record-ink);
    color-scheme: light;
}

.jsm-home .jgh-quote { grid-column: 1 / -1; }
.jsm-home .jgh-orders {
    --accent: #215b48;
    --record: #dcefe5;
    --edge: #abcfbf;
    background: #edf7f3;
}

.jsm-home .jgh-invoice {
    --accent: #52437c;
    --record: #eee7f9;
    --edge: #c8bce0;
    background: #f4f0fa;
}

.jsm-home .jgh-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.jsm-home .jgh-icon {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: var(--record);
}

.jsm-home .jgh-icon svg { width: 16px; height: 16px; }

.jsm-home .jgh-card-head h3 {
    flex: 1;
    color: var(--record-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.jsm-home .jgh-card-head small {
    display: block;
    margin-top: 4px;
    color: var(--accent);
    font: 600 10px/1.2 var(--body);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.jsm-home .jgh-stage {
    align-self: flex-start;
    color: var(--accent);
    font-size: 11px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.jsm-home .jgh-record {
    padding: 8px 9px;
    color: var(--record-ink);
    background: var(--record);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.jsm-home .jgh-record span { color: var(--accent); font-size: 11px; }
.jsm-home .jgh-record p { color: var(--record-ink); margin-top: 2px; }
.jsm-home .jgh-quote .jgh-record { border-bottom-left-radius: 1px; }
.jsm-home .jgh-orders .jgh-record { border-left: 3px solid #65a889; }
.jsm-home .jgh-invoice .jgh-record { border-bottom: 1px dashed #998ab8; }

.jsm-home .jgh-status {
    display: flex;
    gap: 6px;
    flex: 1;
    color: var(--record-note);
    font-size: 12px;
    line-height: 1.35;
}

.jsm-home .jgh-status b { font-weight: 600; }

.jsm-home .jgh-status::before {
    content: "";
    margin-top: .45em;
    flex: 0 0 5px;
    height: 5px;
    border-radius: 50%;
    background: #608090;
}

.jsm-home .jgh-card[data-complete] .jgh-status { color: var(--accent); }
.jsm-home .jgh-card[data-complete] .jgh-status::before { background: #248464; }

.jsm-home .jgh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
}

.jsm-home .jgh-action,
.jsm-home .jgh-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.jsm-home .jgh-action {
    padding: 5px 9px;
    background: var(--accent);
    color: #f5fdff;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}

.jsm-home .jgh-action:hover { filter: brightness(1.16); }
.jsm-home .jgh-demo-link { color: var(--accent); padding-inline: 2px; }
.jsm-home .jgh-demo-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.jsm-home .jgh-card :is(button, a):focus-visible {
    outline-color: #146180;
    outline-offset: 2px;
}

.jsm-home .jgh-disclosure {
    margin-top: 10px;
    color: #b8d1dc;
    font-size: 11px;
}

.jsm-home .jgh-services { background: #102235; }
.jsm-home .jgh-services .jwf-section-head .jwf-kicker { color: var(--cyan); }
.jsm-home .jgh-services .jwf-service { border-color: var(--line); }
.jsm-home .jgh-services .jwf-service .jwf-kicker { color: var(--cyan); font-size: 10px; margin: 0 0 7px; }
.jsm-home .jgh-services .jwf-service:nth-child(2) .jwf-kicker { color: var(--mint); }
.jsm-home .jgh-services .jwf-service:nth-child(3) .jwf-kicker { color: var(--violet); }
.jsm-home .jgh-services .jwf-quiet-link { margin-top: 4px; }

.jsm-home .jgh-ventures { background: linear-gradient(112deg, #102d35, #0b1727 70%); }

.jsm-home .jgh-venture-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 24px;
}

.jsm-home .jgh-ventures .jwf-kicker { color: var(--mint); }
.jsm-home .jgh-section-copy { color: var(--soft); margin-top: 9px; }
.jsm-home .jgh-domains { padding: 0; list-style: none; }

.jsm-home .jgh-domains li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 9px;
    border-top: 1px solid #34575d;
    font-weight: 600;
}

.jsm-home .jgh-domains li:last-child { border-bottom: 1px solid #34575d; }
.jsm-home .jgh-domains span { color: var(--mint); font-size: 11px; }
.jsm-home .jgh-contact { background: #0d2030; }

@media (min-width: 900px) {
    .jsm-home .jgh-quote {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 7px 12px;
    }

    .jsm-home .jgh-quote .jgh-card-head { grid-column: 1 / -1; }
    .jsm-home .jgh-quote .jgh-record { grid-area: 2 / 1 / span 2; }
    .jsm-home .jgh-quote .jgh-status { grid-area: 2 / 2; }
    .jsm-home .jgh-quote .jgh-actions { grid-area: 3 / 2; }
}

@media (max-width: 780px) {
    .jsm-home .jgh-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 33px; }
    .jsm-home .jgh-intro h1 { font-size: clamp(38px, 7.3cqw, 57px); }
    .jsm-home .jgh-intro h1 br { display: none; }
    .jsm-home .jgh-intro .jwf-hero-lede { max-width: 48ch; margin-bottom: 13px; }
    .jsm-home .jgh-hero {
        background: radial-gradient(ellipse at 92% 36%, #20485e 0%, #142f43 32%, transparent 77%), #0b1727;
    }
}

@media (max-width: 620px) {
    .jsm-home .jgh-venture-layout { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 465px) {
    .jsm-home .jgh-records { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
    .jsm-home .jgh-action,
    .jsm-home .jgh-demo-link { min-height: 44px; }
    .jsm-home .jgh-demo-link { padding-inline: 5px; }
}
