/* v1.1: each brand retains its own visual identity. All rules are scoped.
 * Legacy .sfc-jb-page styles remain untouched in style.css.
 * Images are bundled locally. No fonts, scripts, trackers or third-party calls.
 */
.sfc-jb-v2,
.sfc-jb-v2 * { box-sizing: border-box; }
.sfc-jb-v2.wp-block-group {
    --jb-ink: #20304b;
    --jb-body: #526077;
    width: 100%;
    max-width: 1160px;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 52px);
    border: 1px solid #e6e5ed;
    border-radius: 30px;
    background: #faf9f6;
    color: var(--jb-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    isolation: isolate;
}
.sfc-jb-v2 .sfc-jb2-hero {
    position: relative;
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}
.sfc-jb-v2 .sfc-jb2-hero::before {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    margin: 0 auto 24px;
    border-radius: 99px;
    background: linear-gradient(90deg,#2145df 0% 25%,#e77837 25% 50%,#bd9197 50% 75%,#9caf88 75% 100%);
}
.sfc-jb-v2 p.sfc-jb2-eyebrow {
    margin: 0 0 14px;
    color: #5a5b66;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
    line-height: 1.6;
}
.sfc-jb-v2 h1.sfc-jb2-title {
    margin: 0 0 17px;
    color: var(--jb-ink);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}
.sfc-jb-v2 p.sfc-jb2-intro {
    max-width: 610px;
    margin: 0 auto 11px;
    color: var(--jb-body);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    text-wrap: balance;
}
.sfc-jb-v2 p.sfc-jb2-invitation {
    margin: 0;
    color: #716976;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
}
.sfc-jb-v2 .sfc-jb2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
}
.sfc-jb-v2 .sfc-jb2-card {
    --jb-accent: #2145df;
    --jb-card-ink: #14203f;
    --jb-card-body: #46546a;
    --jb-card-bg: #fff;
    --jb-card-line: #dce4f4;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jb-card-line);
    border-radius: 22px;
    background: var(--jb-card-bg);
    box-shadow: 0 9px 25px #2631440b;
}
.sfc-jb-v2 .sfc-jb2-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 92px;
    padding: 12px 25px;
    margin: 0;
    background: var(--jb-card-bg);
}
.sfc-jb-v2 p.sfc-jb2-wordmark {
    margin: 0;
    color: #2145df;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.065em;
    white-space: nowrap;
}
.sfc-jb-v2 figure.sfc-jb2-logo {
    display: flex;
    align-items: center;
    width: 128px;
    height: 68px;
    flex: 0 0 128px;
    margin: 0;
}
.sfc-jb-v2 figure.sfc-jb2-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sfc-jb-v2 p.sfc-jb2-category {
    max-width: 128px;
    margin: 0;
    color: var(--jb-card-body);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    line-height: 1.5;
    text-align: right;
    text-transform: uppercase;
}
.sfc-jb-v2 .sfc-jb2-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #eaf3f9;
    isolation: isolate;
}
.sfc-jb-v2 figure.sfc-jb2-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.58;
    margin: 0;
}
.sfc-jb-v2 figure.sfc-jb2-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}
.sfc-jb-v2 p.sfc-jb2-note {
    position: absolute;
    left: 18px;
    bottom: 16px;
    max-width: calc(100% - 36px);
    margin: 0;
    padding: 7px 11px;
    border-radius: 6px;
    background: #fff;
    color: var(--jb-card-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1.4;
    box-shadow: 0 3px 15px #0000000c;
}
.sfc-jb-v2 .sfc-jb2-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 25px 28px 23px;
    color: var(--jb-card-ink);
}
.sfc-jb-v2 h2.sfc-jb2-name {
    margin: 0 0 9px;
    color: var(--jb-card-ink);
    font-family: inherit;
    font-size: clamp(26px, 2.5vw, 33px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
.sfc-jb-v2 p.sfc-jb2-tagline {
    margin: 0 0 10px;
    color: var(--jb-card-ink);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.4;
}
.sfc-jb-v2 p.sfc-jb2-description {
    flex-grow: 1;
    margin: 0 0 23px;
    color: var(--jb-card-body);
    font-size: 15px;
    line-height: 1.65;
}
.sfc-jb-v2 .sfc-jb2-actions { display: flex; margin: 0; }
.sfc-jb-v2 .sfc-jb2-actions .wp-block-button { width: 100%; margin: 0; }
.sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 17px;
    border: 2px solid var(--jb-accent);
    border-radius: 10px;
    background: var(--jb-accent);
    color: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    transition: filter .16s ease, transform .16s ease;
}
.sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link::after {
    content: "";
    display: block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}
.sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link:hover { filter: brightness(.89); transform: translateY(-1px); }
.sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link:focus-visible { outline: 3px solid var(--jb-card-ink); outline-offset: 4px; }
.sfc-jb-v2 p.sfc-jb2-domain {
    margin: 10px 0 0;
    color: var(--jb-card-body);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}
/* SEOforClicks: crisp blue, teal and lilac, with the real founder portrait. */
.sfc-jb-v2 .sfc-jb2-card--seo .sfc-jb2-masthead { background: linear-gradient(110deg,#fff,#f0fbfc); }
.sfc-jb-v2 .sfc-jb2-card--seo .sfc-jb2-media { background: radial-gradient(ellipse at 20% 80%,#c5f6f0,transparent 65%),linear-gradient(130deg,#e5effe,#ece1fc); }
.sfc-jb-v2 .sfc-jb2-card--seo .sfc-jb2-media::before { content: ""; position: absolute; z-index: -1; inset: 25px -20px; border: 2px solid #49bfc5; border-radius: 50%; transform: rotate(-19deg); }
.sfc-jb-v2 .sfc-jb2-card--seo .sfc-jb2-photo img { object-fit: contain; object-position: center bottom; }
.sfc-jb-v2 .sfc-jb2-card--seo .sfc-jb2-note { border-radius: 999px; background:#fff; }
/* Do It Customs: an apparel studio, navy/orange, structured and bold. */
.sfc-jb-v2 .sfc-jb2-card--customs {
    --jb-accent: #f4a261;
    --jb-card-ink: #fff;
    --jb-card-body: #e2e8f0;
    --jb-card-bg: #17324d;
    --jb-card-line: #17324d;
    border-radius: 12px;
}
.sfc-jb-v2 .sfc-jb2-card--customs .sfc-jb2-masthead { --jb-card-body:#334155; background:#edf1f5; border-bottom:4px solid #e77837; }
.sfc-jb-v2 .sfc-jb2-card--customs .sfc-jb2-note { background:#17324d; color:#fff; border-left:3px solid #f4a261; border-radius:0; }
.sfc-jb-v2 .sfc-jb2-card--customs h2.sfc-jb2-name { text-transform:uppercase; font-size:30px; letter-spacing:-.035em; }
.sfc-jb-v2 .sfc-jb2-card--customs .sfc-jb2-actions .wp-block-button__link { color:#17324d; border-radius:4px; }
/* j.Rosa Designs: ivory, blush, warm charcoal and fine editorial lines. */
.sfc-jb-v2 .sfc-jb2-card--jrosa {
    --jb-accent: #8c5863;
    --jb-card-ink: #493b36;
    --jb-card-body: #67564e;
    --jb-card-bg: #fff9f2;
    --jb-card-line: #dfc9c2;
    border-radius: 4px;
}
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-masthead { border-bottom:1px solid #dfc9c2; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-logo { width:100px; flex-basis:100px; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-media { margin:16px 16px 0; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-photo { aspect-ratio:1.49; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-note { background:#fff9f2; color:#67564e; border:1px solid #dfc9c2; border-radius:0; font-family:Georgia,"Times New Roman",serif; font-size:13px; font-weight:400; font-style:italic; }
.sfc-jb-v2 .sfc-jb2-card--jrosa h2.sfc-jb2-name { font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:-.035em; font-size:35px; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-tagline { font-family:Georgia,"Times New Roman",serif; font-weight:400; font-size:19px; }
.sfc-jb-v2 .sfc-jb2-card--jrosa .sfc-jb2-actions .wp-block-button__link { border-radius:2px; }
/* JenAnnaigans: sage and blush, classic type, soft rounded celebration photos. */
.sfc-jb-v2 .sfc-jb2-card--jenannaigans {
    --jb-accent: #526744;
    --jb-card-ink: #2f372b;
    --jb-card-body: #56634e;
    --jb-card-bg: #f8fdf2;
    --jb-card-line: #cbd6bd;
    border-radius:26px;
}
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-logo { width:106px; flex-basis:106px; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-media { margin:16px 16px 0; border-radius:50px 12px 50px 12px; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-photo { aspect-ratio:1.49; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-photo img { object-position:center 34%; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-note { background:#f2dde2; color:#60414b; border-radius:999px; font-size:10px; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans h2.sfc-jb2-name { font-family:Georgia,"Times New Roman",serif; font-weight:700; letter-spacing:-.035em; font-size:34px; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-tagline { font-family:Georgia,"Times New Roman",serif; font-style:italic; font-weight:400; font-size:19px; }
.sfc-jb-v2 .sfc-jb2-card--jenannaigans .sfc-jb2-actions .wp-block-button__link { border-radius:999px; }
.sfc-jb-v2 p.sfc-jb2-signoff { margin:29px 0 0; color:#675e68; font-family:Georgia,"Times New Roman",serif; font-size:16px; font-style:italic; text-align:center; }
@media (max-width:780px) {
    .sfc-jb-v2 .sfc-jb2-grid { gap:20px; }
    .sfc-jb-v2 .sfc-jb2-masthead { padding:12px 18px; gap:8px; }
    .sfc-jb-v2 .sfc-jb2-body { padding:22px 22px 20px; }
    .sfc-jb-v2 p.sfc-jb2-wordmark { font-size:21px; }
    .sfc-jb-v2 p.sfc-jb2-category { font-size:9px; }
}
@media (max-width:680px) {
    .sfc-jb-v2.wp-block-group { margin:16px auto; border-radius:22px; padding:25px 18px; }
    .sfc-jb-v2 .sfc-jb2-hero { margin-bottom:28px; }
    .sfc-jb-v2 .sfc-jb2-grid { grid-template-columns:minmax(0,1fr); gap:25px; }
    .sfc-jb-v2 .sfc-jb2-masthead { padding:12px 18px; }
    .sfc-jb-v2 .sfc-jb2-body { padding:23px 22px 20px; }
    .sfc-jb-v2 p.sfc-jb2-wordmark { font-size:23px; }
}
@media (max-width:360px) {
    .sfc-jb-v2.wp-block-group { padding:22px 12px; }
    .sfc-jb-v2 .sfc-jb2-masthead { gap:6px; padding:10px 12px; }
    .sfc-jb-v2 p.sfc-jb2-wordmark { font-size:21px; }
    .sfc-jb-v2 .sfc-jb2-body { padding:21px 18px 19px; }
    .sfc-jb-v2 .sfc-jb2-card--customs h2.sfc-jb2-name { font-size:26px; }
    .sfc-jb-v2 .sfc-jb2-card--jrosa h2.sfc-jb2-name,
    .sfc-jb-v2 .sfc-jb2-card--jenannaigans h2.sfc-jb2-name { font-size:29px; }
}
@media (prefers-reduced-motion:reduce) {
    .sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link { transition:none; }
    .sfc-jb-v2 .sfc-jb2-actions .wp-block-button__link:hover { transform:none; }
}

/* Gutenberg versions that add inner wrappers still expose the same layout. */
.sfc-jb-v2.wp-block-group > .block-editor-inner-blocks,
.sfc-jb-v2.wp-block-group > .block-editor-inner-blocks > .block-editor-block-list__layout,
.sfc-jb-v2 .wp-block-group > .block-editor-inner-blocks,
.sfc-jb-v2 .wp-block-group > .block-editor-inner-blocks > .block-editor-block-list__layout { display:contents; }
