

body.ib2-core {
    overflow-x: clip;
    background: var(--cream);
}

body.ib2-core main,
body.ib2-core main > section,
body.ib2-core main .container,
body.ib2-core main form,
body.ib2-core main article,
body.ib2-core main div {
    min-width: 0;
}

body.ib2-core .utility-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 150px;
    color: var(--brown);
    background:
        radial-gradient(circle at 80% 38%, rgba(229, 168, 54, 0.34), transparent 38%),
        var(--cream);
    border-bottom: 0;
}

body.ib2-core .utility-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(92, 61, 46, 0.16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: 0.45;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(112deg, transparent 32%, #000 90%);
    mask-image: linear-gradient(112deg, transparent 32%, #000 90%);
}

body.ib2-core .utility-hero > .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr);
    align-items: center;
    gap: 36px;
}

body.ib2-core .utility-hero-copy { min-width: 0; }

body.ib2-core .utility-hero h1 {
    max-width: 780px;
    color: var(--ink);
    font-size: clamp(2.5rem, 5.4vw, 4.6rem);
    line-height: 0.98;
    text-align: left;
}

body.ib2-core .utility-hero h1::after { margin-left: 0; }

body.ib2-core .utility-hero .page-hero-sub {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--brown);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.72;
}

body.ib2-core .utility-hero-lou {
    position: relative;
    align-self: end;
    display: grid;
    place-items: center;
}

body.ib2-core .utility-hero-lou::before {
    content: "";
    position: absolute;
    width: min(390px, 115%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(229, 168, 54, 0.3) 0 9deg, transparent 9deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 70%);
    mask-image: radial-gradient(circle, #000 28%, transparent 70%);
}

body.ib2-core .utility-hero-lou img {
    position: relative;
    width: min(310px, 100%);
    height: 300px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 14px 22px rgba(61, 37, 24, 0.25));
}

body.ib2-core .utility-hero .skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

body.ib2-core .utility-hero .skyline.front { height: 104px; }
body.ib2-core .utility-hero .skyline.back { height: 148px; }

body.ib2-core .hero-ctas,
body.ib2-core .contact-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

body.ib2-core .contact-hero-alt {
    margin-top: 20px;
    font-size: 0.92rem;
}

body.ib2-core .contact-hero-alt a,
body.ib2-core main p a:not(.btn) {
    color: var(--orange-deep);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}


body.contact-b2 .contact-methods {
    padding: 44px 0 58px;
    background: var(--paper);
}

body.contact-b2 .response-promise {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 14px 22px 14px 14px;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 5px 5px 0 rgba(61, 37, 24, 0.16);
}

body.contact-b2 .response-promise img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    transform-origin: 55% 80%;
    animation: contact-wave 850ms ease-in-out 1 250ms both;
}

body.contact-b2 .response-promise strong {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

body.contact-b2 .response-promise p { margin: 3px 0 0; line-height: 1.55; }

@keyframes contact-wave {
    0%, 100% { transform: rotate(0); }
    35% { transform: rotate(-4deg); }
    70% { transform: rotate(3deg); }
}

body.contact-b2 .contact-methods .v2-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.contact-b2 .contact-methods .v2-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 4px 14px;
    padding: 18px;
    color: var(--brown);
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 12px;
    box-shadow: 5px 5px 0 rgba(61, 37, 24, 0.15);
}

body.contact-b2 .contact-methods .v2-card:nth-child(2) { background: #EAF6F5; }
body.contact-b2 .contact-methods .v2-card:nth-child(3) { background: #FFF3DC; }
body.contact-b2 .contact-methods .contact-way-icon { grid-row: 1 / span 3; grid-column: 1; }
body.contact-b2 .contact-methods .v2-card > h2, body.contact-b2 .contact-methods .v2-card > p { grid-column: 2; }
body.contact-b2 .contact-methods .v2-card h2 { align-self: end; }
body.contact-b2 .contact-methods .v2-card p { margin: 0; font-size: 0.86rem; line-height: 1.48; }
body.contact-b2 .contact-methods .v2-card p:last-child { margin-top: 4px; color: var(--orange-deep); }

body.contact-b2 .contact-proof { padding: 42px 0 56px; }
body.contact-b2 .contact-proof .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.contact-b2 .contact-proof .head-split { margin-bottom: 24px; }
body.contact-b2 .contact-proof .proof-src { margin: 20px 0 0; }

body.contact-b2 .contact-page-form {
    padding: 72px 0 84px;
    background:
        radial-gradient(circle at 15% 20%, rgba(74, 155, 163, 0.16), transparent 28%),
        var(--cream-dark);
    border-top: 3px solid var(--ink);
}

body.contact-b2 .contact-page-form > .container {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.45fr);
    align-items: start;
    gap: 34px;
}

body.contact-b2 .contact-decision-panel {
    position: sticky;
    top: 112px;
    padding: 26px;
    background: var(--ink);
    color: var(--cream);
    border: 3px solid #1E120B;
    border-radius: 14px;
    box-shadow: 7px 7px 0 rgba(61, 37, 24, 0.22);
}

body.contact-b2 .contact-decision-panel img {
    display: block;
    width: 118px;
    height: 118px;
    margin: -4px auto 12px;
    object-fit: contain;
}

body.contact-b2 .contact-decision-panel h2 {
    color: var(--yellow);
    font-size: 1.35rem;
    text-transform: uppercase;
}

body.contact-b2 .contact-decision-panel p { margin: 10px 0 18px; line-height: 1.65; }
body.contact-b2 .decision-links { display: grid; gap: 10px; }
body.contact-b2 .decision-links a {
    display: block;
    padding: 11px 13px;
    color: var(--ink);
    background: var(--cream);
    border: 2px solid var(--cream);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
}
body.contact-b2 .decision-links a:hover { background: var(--yellow); }

body.contact-b2 .form-shell {
    max-width: none;
    margin: 0;
    padding: 32px;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 8px 8px 0 rgba(61, 37, 24, 0.18);
}

body.contact-b2 .form-shell h2 {
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    text-transform: uppercase;
}

body.contact-b2 .form-intro { margin: 10px 0 24px; line-height: 1.7; }
body.contact-b2 .contact-form-grid { gap: 16px; }
body.contact-b2 .form-group input,
body.contact-b2 .form-group select,
body.contact-b2 .form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: 8px;
    font: inherit;
    font-size: max(16px, 1rem); 
}
body.contact-b2 .form-group textarea { min-height: 136px; }
body.contact-b2 .form-group :is(input, select, textarea):focus {
    outline: 3px solid rgba(232, 93, 36, 0.35);
    outline-offset: 2px;
}


body.compare-b2 .ba-projects {
    padding: 64px 0 74px;
    background: var(--paper);
}

body.compare-b2 .ba-project {
    max-width: 1060px;
    margin-bottom: 0;
    box-shadow: 10px 10px 0 rgba(61, 37, 24, 0.2);
}

body.compare-b2 .ba-project-header { background: #fff; }
body.compare-b2 .ba-project-header h2 { color: var(--ink); }

body.compare-b2 .ba-slider-container {
    min-height: 420px;
    max-height: 680px;
}

body.compare-b2 .ba-slider-container:focus-visible {
    outline: 5px solid var(--yellow);
    outline-offset: -5px;
}

body.compare-b2 .ba-context { background: #FFF3DC; }
body.compare-b2 .ba-context-text p { max-width: 82ch; }

body.compare-b2 .ba-guide {
    padding: 68px 0;
    background: var(--cream);
}

body.compare-b2 .ba-guide-card:nth-child(2) { background: #EAF6F5; }
body.compare-b2 .ba-guide-card:nth-child(3) { background: #FFF3DC; }

body.compare-b2 .ba-related {
    padding: 62px 0 76px;
    background: var(--paper);
}

body.compare-b2 .cta-band.b2i-close { border-top: 3px solid var(--ink); }


body.grade-b2 .grader-hero {
    text-align: left;
    background:
        radial-gradient(circle at 78% 38%, rgba(229, 168, 54, 0.34), transparent 38%),
        var(--cream);
}

body.grade-b2 .grader-hero > .container {
    max-width: 980px;
}

body.grade-b2 .grader-hero h1 {
    max-width: 820px;
    margin-left: 0;
    margin-right: 0;
}

body.grade-b2 .grader-hero h1::after { margin-left: 0; }

body.grade-b2 .grader-hero .page-hero-sub {
    max-width: 660px;
    margin: 18px 0 28px;
}

body.grade-b2 .grader-form {
    max-width: 760px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 7px 7px 0 rgba(61, 37, 24, 0.2);
}

body.grade-b2 .grader-input,
body.grade-b2 .email-input {
    color: var(--ink);
    background: var(--cream);
    border: 2.5px solid var(--ink);
    border-radius: 8px;
    font-family: var(--body);
}

body.grade-b2 .grader-btn,
body.grade-b2 .download-btn {
    color: var(--cream);
    background: var(--orange-deep);
    border: 3px solid var(--ink);
    border-radius: 8px;
    box-shadow: 3px 3px 0 var(--ink);
    font-family: var(--body);
}

body.grade-b2 .trust-line {
    margin: 20px 0 0;
    color: var(--brown);
    text-align: left;
}

body.grade-b2 .grader-explainer {
    padding: 68px 0;
    background: var(--paper);
    border-top: 3px solid var(--ink);
}

body.grade-b2 .grader-explainer h2,
body.grade-b2 .grader-faq h2 {
    color: var(--ink);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    text-transform: uppercase;
}

body.grade-b2 .explainer-card,
body.grade-b2 .faq-item,
body.grade-b2 .category-card,
body.grade-b2 .issues-section,
body.grade-b2 .report-section {
    border: 3px solid var(--ink);
    border-radius: 12px;
    box-shadow: 5px 5px 0 rgba(61, 37, 24, 0.14);
}

body.grade-b2 .explainer-card { background: #fff; }
body.grade-b2 .explainer-card:nth-child(2) { background: #EAF6F5; }
body.grade-b2 .explainer-card:nth-child(3) { background: #FFF3DC; }
body.grade-b2 .grader-results { background: var(--cream); }
body.grade-b2 .grader-cta { border-block: 3px solid var(--ink); }
body.grade-b2 .grader-faq { background: var(--paper); border-top: 3px solid var(--ink); }


body.referrals-b2 .referral-steps {
    padding: 64px 0 72px;
    background: var(--paper);
    border-top: 0;
}

body.referrals-b2 .referral-steps h2,
body.referrals-b2 .referral-form-section h2,
body.referrals-b2 .referral-faq h2 {
    color: var(--ink);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    text-transform: uppercase;
}

body.referrals-b2 .steps-grid { gap: 18px; max-width: 980px; }
body.referrals-b2 .step-card {
    position: relative;
    padding: 30px 22px 26px;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 12px;
    box-shadow: 6px 6px 0 rgba(61, 37, 24, 0.16);
}
body.referrals-b2 .step-card:nth-child(2) { background: #EAF6F5; }
body.referrals-b2 .step-card:nth-child(3) { background: #FFF3DC; }
body.referrals-b2 .step-number {
    color: var(--cream);
    background: var(--orange-deep);
    border: 3px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

body.referrals-b2 .referral-deal {
    padding: 68px 0;
    background: var(--ink);
    border-block: 3px solid #1E120B;
}

body.referrals-b2 .deal-card {
    background: var(--cream);
    color: var(--brown);
    border: 3px solid #1E120B;
    border-radius: 14px;
    box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}
body.referrals-b2 .deal-card h3 { color: var(--teal-dark); }
body.referrals-b2 .deal-card .deal-value { color: var(--orange-deep); }
body.referrals-b2 .deal-card p { opacity: 1; }
body.referrals-b2 .deal-card .deal-icon img { width: 118px; height: 118px; }

body.referrals-b2 .referral-form-section {
    padding: 72px 0;
    background: var(--cream-dark);
    border-top: 0;
}

body.referrals-b2 .referral-form {
    max-width: 720px;
    padding: 30px;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 8px 8px 0 rgba(61, 37, 24, 0.18);
}

body.referrals-b2 .form-group input,
body.referrals-b2 .form-group textarea {
    min-height: 48px;
    color: var(--ink);
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: 8px;
    font-family: var(--body);
    font-size: max(16px, 1rem); 
}
body.referrals-b2 .form-group textarea { min-height: 118px; }
body.referrals-b2 .form-submit-btn {
    color: var(--cream);
    background: var(--orange-deep);
    border: 3px solid var(--ink);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--ink);
    font-family: var(--body);
}

body.referrals-b2 .referral-faq {
    padding: 68px 0 82px;
    background: var(--paper);
}
body.referrals-b2 .referral-faq .faq-list { max-width: 880px; }
body.referrals-b2 .referral-faq .faq-item {
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 10px;
    box-shadow: 4px 4px 0 rgba(61, 37, 24, 0.12);
}

@media (max-width: 980px) {
    body.ib2-core .utility-hero > .container {
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 18px;
    }
    body.ib2-core .utility-hero-lou img { width: 190px; height: 220px; }
    body.contact-b2 .contact-methods .v2-cards { grid-template-columns: minmax(0, 1fr); }
    body.contact-b2 .contact-page-form > .container { grid-template-columns: minmax(0, 1fr); }
    body.contact-b2 .contact-decision-panel { position: static; }
}

@media (max-width: 768px) {
    body.ib2-core .utility-hero {
        padding: 28px 0 102px;
        min-height: calc(100svh - 90px);
    }
    body.ib2-core .utility-hero > .container {
        grid-template-columns: minmax(0, 1fr) 118px;
        align-items: end;
        gap: 8px;
    }
    body.ib2-core .utility-hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
    body.ib2-core .utility-hero .page-hero-sub { grid-column: 1 / -1; font-size: 0.98rem; }
    body.ib2-core .utility-hero-lou img { width: 118px; height: 150px; }
    body.ib2-core .utility-hero .skyline.front { height: 64px; }
    body.ib2-core .utility-hero .skyline.back { height: 92px; }
    body.ib2-core .utility-hero-copy { grid-column: 1 / -1; }
    body.ib2-core .utility-hero-lou { grid-column: 2; }
    body.ib2-core .hero-ctas,
    body.ib2-core .contact-hero-ctas { grid-column: 1 / -1; }
    body.ib2-core .hero-ctas .btn,
    body.ib2-core .contact-hero-ctas .btn { flex: 0 0 auto; width: 100%; min-height: 52px; justify-content: center; padding-inline: 12px; }
    body.ib2-core .contact-hero-alt { grid-column: 1 / -1; }

    body.contact-b2 .contact-methods { padding: 36px 0 48px; }
    body.contact-b2 .response-promise { grid-template-columns: 62px minmax(0, 1fr); padding: 12px; }
    body.contact-b2 .response-promise img { width: 62px; height: 62px; }
    body.contact-b2 .contact-proof .tiles { grid-template-columns: minmax(0, 1fr); }
    body.contact-b2 .contact-page-form { padding: 56px 0 74px; }
    body.contact-b2 .form-shell,
    body.contact-b2 .contact-decision-panel { padding: 22px 18px; }
    body.contact-b2 .contact-form-grid { grid-template-columns: minmax(0, 1fr); }
    body.contact-b2 .form-group-full { grid-column: auto; }

    body.compare-b2 .ba-projects { padding: 44px 0 62px; }
    body.compare-b2 .ba-project-header { padding: 20px 18px; }
    body.compare-b2 .ba-slider-container {
        width: 100%;
        height: clamp(360px, 108vw, 460px);
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
    }
    body.compare-b2 .ba-slider-image img { object-position: top center; }
    body.compare-b2 .ba-slider-handle { top: 44%; width: 54px; height: 54px; }
    body.compare-b2 .ba-slider-line { bottom: 0; }
    body.compare-b2 .ba-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.compare-b2 .ba-stat { padding: 18px 12px; }
    body.compare-b2 .ba-context { padding: 22px 18px; }
    body.compare-b2 .ba-guide,
    body.compare-b2 .ba-related { padding-block: 54px; }

    body.grade-b2 .grader-hero { min-height: 0; }
    body.grade-b2 .grader-hero > .container { grid-template-columns: minmax(0, 1fr); }
    body.grade-b2 .grader-hero .utility-hero-lou { display: none; }
    body.grade-b2 .grader-form { flex-direction: column; padding: 9px; }
    body.grade-b2 .grader-btn { width: 100%; }
    body.grade-b2 .grader-explainer,
    body.grade-b2 .grader-faq { padding-block: 54px; }

    body.referrals-b2 .referral-steps,
    body.referrals-b2 .referral-deal,
    body.referrals-b2 .referral-form-section,
    body.referrals-b2 .referral-faq { padding-block: 54px; }
    body.referrals-b2 .steps-grid,
    body.referrals-b2 .deal-grid,
    body.referrals-b2 .form-row { grid-template-columns: minmax(0, 1fr); }
    body.referrals-b2 .referral-form { padding: 24px 18px; }

    body.ib2-core.has-sticky-cta main {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 430px) {
    body.ib2-core:not(.grade-b2) .utility-hero > .container { grid-template-columns: minmax(0, 1fr) 96px; }
    body.ib2-core .utility-hero-lou img { width: 96px; height: 126px; }
    body.contact-b2 .contact-methods .v2-card { grid-template-columns: 44px minmax(0, 1fr); padding: 16px 14px; }
    body.contact-b2 .contact-methods .contact-way-icon { width: 44px; height: 44px; }
    body.compare-b2 .ba-stats { grid-template-columns: minmax(0, 1fr); }
    body.compare-b2 .ba-stat { border-right: 0; }
}

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