.impelal-home {
    --im-home-ink: #10283e;
    --im-home-muted: #47627c;
    --im-home-surface: #edf5fa;
    --im-home-line: #d4e3ed;
    --im-home-ease: cubic-bezier(.16, 1, .3, 1);
}
.editable-block.im-home-hero { padding-block: 0; }
.impelal-home .page-document .block-categories,
.impelal-home .page-document .block-contact { background: var(--im-home-surface); }
.impelal-home .page-document .block-products { background: #fff; }
.impelal-home .page-document .block-categories .category-card > div { background: #e8f2f8; }
.impelal-home .page-document .block-categories .category-card > div img { object-fit: contain; }
.impelal-home .section-heading h2 { color: var(--im-home-ink); font-weight: 760; letter-spacing: -.047em; }
.impelal-home .section-heading p { max-width: 55ch; }
.impelal-home .page-document .block-brand .brand-story {
    color: #f2e5ca;
    background: #15100c;
    border-radius: 17px;
    overflow: hidden;
}
.impelal-home .brand-story :is(h2, .eyebrow, .editorial-body) { color: inherit; }
.impelal-home .brand-story .split-copy { padding: clamp(18px, 4vw, 54px); }
.impelal-home .brand-story .split-image img { min-height: 240px; height: 100%; object-fit: cover; border-radius: 0; }
.im-pillar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
    grid-auto-rows: minmax(172px, auto);
    gap: 13px;
}
.im-pillar {
    --pillar-background: #09263d;
    --pillar-highlight: #98eaff;
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-width: 0;
    overflow: hidden;
    background: var(--pillar-background);
    border: 1px solid #8ab8d262;
    border-radius: 13px;
    color: #fff;
    text-decoration: none;
}
.im-pillar:first-child { grid-row: span 2; }
.im-pillar:nth-child(3) { --pillar-background: #23150e; --pillar-highlight: #ffdc8d; border-color: #ac854659; }
.im-pillar-picture, .im-pillar-picture::after { position: absolute; inset: 0; }
.im-pillar-picture { z-index: -1; }
.im-pillar-picture img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% center; }
.im-pillar-picture::after {
    content: "";
    background: linear-gradient(90deg, var(--pillar-background) 6%, transparent 98%), linear-gradient(0deg, var(--pillar-background), transparent 66%);
}
.im-pillar::after {
    content: "";
    width: 290px;
    height: 290px;
    position: absolute;
    top: -145px;
    left: -145px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, #9edbff45, transparent 69%);
    transform: translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0);
}
.im-pillar-copy { position: relative; padding: clamp(18px, 3.5vw, 43px); padding-inline-end: clamp(42px, 9vw, 105px); }
.im-pillar-copy > svg { position: absolute; right: clamp(15px, 3vw, 38px); bottom: clamp(20px, 3.5vw, 43px); color: var(--pillar-highlight); }
.im-pillar-index { color: var(--pillar-highlight); font: 700 .84rem ui-monospace, monospace; }
.im-pillar h3 { color: white; margin: 7px 0; font-size: clamp(1.24rem, 2.9vw, 2.52rem); line-height: 1.03; letter-spacing: -.04em; }
.im-pillar p { max-width: 39ch; margin: 0; line-height: 1.48; color: #f3f7fd; }
.im-pillar:focus-visible { outline: 3px solid #0d83bd; outline-offset: 4px; }
.im-pillar:is(:hover, :focus-visible) h3 { text-decoration: underline; text-underline-offset: .19em; }
.im-b2b { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(22px, 6vw, 80px); }
.im-b2b-copy { align-self: start; position: sticky; top: 105px; }
.im-b2b-copy h2 { color: var(--im-home-ink); font-size: clamp(2.1rem, 4.4vw, 4.5rem); line-height: .98; letter-spacing: -.055em; margin: 10px 0 14px; }
.im-b2b-copy > p:not(.eyebrow) { color: var(--im-home-muted); max-width: 35ch; }
.im-b2b-copy .button { width: fit-content; margin-block-start: 9px; }
.im-b2b-steps { list-style: none; margin: 0; padding: 0; }
.im-b2b-steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    min-height: 142px;
    padding: clamp(18px, 3.8vw, 39px);
    align-content: center;
    margin-block-end: 12px;
    border: 1px solid var(--im-home-line);
    border-radius: 12px;
    background: #f4f9fc;
}
.im-b2b-steps li > span { color: #09628f; font: 750 .9rem ui-monospace, monospace; padding-top: 5px; }
.im-b2b-steps h3 { color: var(--im-home-ink); font-size: clamp(1.18rem, 2vw, 1.68rem); line-height: 1.14; margin: 0 0 6px; }
.im-b2b-steps p { color: var(--im-home-muted); margin: 0; }
.impelal-home .store-footer { padding-top: 0; margin-top: 0; }
.impelal-home .store-footer .footer-grid { padding-block: clamp(30px, 4.1vw, 56px); }
.impelal-home .store-footer .footer-grid > div { min-width: 0; }

@media (prefers-reduced-motion: no-preference) {
    .im-pillar-copy > svg { transition: transform 270ms var(--im-home-ease); }
    .im-pillar:is(:hover, :focus-visible) .im-pillar-copy > svg { transform: translateX(5px); }
    @media (hover: hover) and (pointer: fine) {
        .im-pillar::after { transition: opacity 190ms ease-out; }
        .im-pillar[data-halo-active]::after { opacity: 1; }
    }

}
@media (max-width: 720px) {
    .im-pillar-grid, .im-b2b { grid-template-columns: minmax(0, 1fr); }
    .im-pillar:first-child { grid-row: auto; }
    .im-pillar { min-height: 160px; }
    .im-pillar-copy { padding-inline-end: 62px; }
    .im-b2b-copy { position: static; }
    .im-b2b-steps li { min-height: 112px; }
}

.impelal-brands { margin-block: 25px 16px; }
.impelal-brands h2 { color: #173a56; font-size: 1.05rem; margin: 0 0 12px; }
.impelal-brand-window { overflow: auto hidden; padding: 4px 0; scrollbar-width: thin; }
.impelal-brand-track, .impelal-brand-row { display: flex; width: max-content; align-items: center; }
.impelal-brand-row { gap: 12px; padding-inline-end: 12px; }
.impelal-brand-row[aria-hidden] { display: none; }
.impelal-brand-logo {
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #dae4ec;
    border-radius: 11px;
    width: 139px;
    height: 66px;
    padding: 6px 9px;
    flex: none;
    line-height: 0;
}
.impelal-brand-logo img { display: block; width: 100%; height: auto; max-height: 47px; object-fit: contain; }
@keyframes impelal-brand-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
    .impelal-brand-window[data-motion] { overflow: hidden; }
    .impelal-brand-window[data-motion] .impelal-brand-row[aria-hidden] { display: flex; }
    .impelal-brand-window[data-motion] .impelal-brand-track {
        animation: impelal-brand-marquee 51s linear infinite paused;
    }
    .impelal-brand-window[data-motion="on"] .impelal-brand-track { animation-play-state: running; }
    .impelal-brand-window:focus-within .impelal-brand-track { animation: none; }
    .impelal-brand-window[data-motion]:focus-within { overflow: auto hidden; }
    .impelal-brand-window[data-motion]:focus-within .impelal-brand-row[aria-hidden] { display: none; }
    .impelal-brand-window[data-motion="on"]:hover .impelal-brand-track { animation-play-state: paused; }
}

@media (max-width: 680px) { .impelal-brand-logo { width: 112px; height: 56px; } }
/* Shared editorial grid, surfaces and type for the storefront home. */
.impelal-home {
    --radius-card:12px; --radius-btn:8px; --section-space:clamp(2rem,4.2vw,3.75rem);
    --im-home-ink:#142637; --im-home-muted:#495d6d; --im-home-surface:#f1f4f6;
    --im-home-line:#d4dce1; --im-home-amber:#efcf88;
    --im-home-font:Arial,Helvetica,sans-serif;
}
.impelal-home .page-document {font-family:var(--im-home-font);}
.impelal-home .page-document .editable-block:not(.im-home-hero) {padding-block:var(--section-space);}
.impelal-home .page-document :is(.im-pillar,.category-card,.product-card,.brand-story,.impelal-brand-logo,.im-b2b-steps li) {border-radius:var(--radius-card);}
.impelal-home .page-document .button {border-radius:var(--radius-btn);}
.impelal-home .page-document :is(.section-heading h2,.im-b2b-copy h2) {font-size:clamp(1.7rem,3vw,2.8rem); line-height:1.12; letter-spacing:-.035em;}
.impelal-home .im-pillar:nth-child(3) {--pillar-highlight:var(--im-home-amber);}
.impelal-home .product-picture {aspect-ratio:4/3; overflow:hidden;}
.impelal-home .product-card {min-width:0; overflow-wrap:anywhere;}
.impelal-home .impelal-brands {margin-block:0; padding-block:clamp(16px,2.1vw,27px); border-bottom:1px solid var(--im-home-line);}
.impelal-home .im-b2b-steps li {border-inline-start:3px solid #7596a9;}
