/* Contrast safety layer for all Julia branded dark and red surfaces. */
.julia-home .julia-sell,
.julia-home .julia-newsletter,
.jp-hero-card,
.jp-proof,
.jp-split,
.jp-submit,
.js-scale,
.js-photo-promise,
.js-check,
.jh-manifesto,
.jh-values,
.jh-final{color:#fffaf2}

.julia-home .julia-sell h1,
.julia-home .julia-sell h2,
.julia-home .julia-sell h3,
.julia-home .julia-sell p,
.julia-home .julia-sell strong,
.julia-home .julia-sell small,
.julia-home .julia-newsletter h1,
.julia-home .julia-newsletter h2,
.julia-home .julia-newsletter h3,
.julia-home .julia-newsletter p,
.jp-hero-card h1,.jp-hero-card h2,.jp-hero-card h3,.jp-hero-card p,.jp-hero-card small,.jp-hero-card span,
.jp-proof p,
.jp-split h1,.jp-split h2,.jp-split h3,.jp-split p,.jp-split li,.jp-split span,
.jp-submit h1,.jp-submit h2,.jp-submit h3,.jp-submit p,.jp-submit label,.jp-submit small,
.js-scale h1,.js-scale h2,.js-scale h3,.js-scale p,.js-scale span,.js-scale i,
.js-photo-promise h1,.js-photo-promise h2,.js-photo-promise h3,.js-photo-promise p,.js-photo-promise b,
.js-check h1,.js-check h2,.js-check h3,.js-check p,
.jh-manifesto p,
.jh-values h1,.jh-values h2,.jh-values h3,.jh-values p,
.jh-final h1,.jh-final h2,.jh-final h3,.jh-final p{color:#fffaf2!important}

.jp-split .julia-kicker,
.jp-submit .julia-kicker,
.js-scale .julia-kicker,
.js-photo-promise .julia-kicker,
.jh-values .julia-kicker,
.jh-final .julia-kicker{color:#f2c1b5!important}

.jp-split aside h1,.jp-split aside h2,.jp-split aside h3,.jp-split aside p,.jp-split aside span{color:#fffaf2!important}

.julia-home .julia-sell a:not(.cream),
.julia-home .julia-newsletter a,
.jp-split a:not(.cream),
.jp-submit a:not(.cream),
.js-photo-promise a:not(.cream),
.js-check a:not(.cream),
.jh-values a:not(.cream),
.jh-final a:not(.cream){color:#fffaf2!important}

.jp-submit input{color:#fffaf2!important}
.jp-submit input::placeholder{color:rgba(255,250,242,.68)!important}

@media (prefers-contrast:more){
  .jh-values,.js-scale,.js-check,.jp-split{background:#10201a}
  .jh-manifesto,.jh-final,.js-photo-promise,.jp-submit,.jp-hero-card{background:#92291f}
}

/* Footer: force readable ink on the pale surface on every template. */
.julia-footer{background:#f6f2e9!important;color:#162720!important}
.julia-footer h2,.julia-footer h4,.julia-footer p,.julia-footer span,.julia-footer a{color:#162720!important}
.julia-footer h2 em{color:#a9342a!important}
.julia-footer a:hover,.julia-footer a:focus{color:#8f2c24!important;text-decoration:underline}

/* The right-hand steps sit on cream, so they must stay dark. */
.julia-home .julia-sell ol,
.julia-home .julia-sell ol li,
.julia-home .julia-sell ol h3,
.julia-home .julia-sell ol p{color:#162720!important}
.julia-home .julia-sell ol li b{color:#a9342a!important}
.julia-home .julia-sell ol li{border-color:#c9c8be!important}

/* Remaining dark editorial panels. */
.julia-shop-promise h2,.julia-shop-promise h2 em,
.jc-neighbourhood h2,.jc-neighbourhood h2 em{color:#fffaf2!important}
.jh-final .julia-link span{color:#fffaf2!important}

/* Home product rail: touch, mouse, keyboard and automatic progression. */
.julia-carousel{position:relative}
.julia-carousel .julia-products{display:flex!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 2px 14px;scrollbar-width:thin;scrollbar-color:#a9342a #e7dfd0}
.julia-carousel .julia-product{flex:0 0 min(31vw,360px);min-width:280px;scroll-snap-align:start}
.julia-carousel .julia-product.is-featured{flex-basis:min(35vw,420px)}
.julia-carousel-arrow{position:absolute;z-index:5;top:38%;width:46px;height:46px;border-radius:50%;border:1px solid #162720;background:#fffaf2;color:#162720;font-size:20px;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(22,39,32,.12)}
.julia-carousel-arrow.prev{left:-23px}.julia-carousel-arrow.next{right:-23px}
.julia-carousel-arrow:disabled{opacity:.35;cursor:default}
.julia-carousel-hint{margin:10px 0 0;color:#53635c;font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.julia-robe-home .julia-condition{background:#162720;color:#fffaf2}
@media(max-width:680px){
  .julia-carousel .julia-products{margin-right:-20px;padding-right:20px}
  .julia-carousel .julia-product,.julia-carousel .julia-product.is-featured{flex-basis:78vw;min-width:78vw}
  .julia-carousel-arrow{display:none}
  .julia-carousel-hint{display:block}
}

/* Header consistency: prevent Kadence link colors from leaking into any Julia page. */
body.julia-store .julia-header,
body.julia-home .julia-header,
body.julia-inner .julia-header{color:#162720!important}
.julia-header a,.julia-header a:visited,.julia-brand,.julia-brand>span,.julia-brand em{color:#162720!important;text-decoration:none!important}
.julia-header nav a{color:#162720!important;font-weight:600}
.julia-header nav a:hover,.julia-header nav a:focus-visible,.julia-actions a:hover,.julia-actions a:focus-visible{color:#a9342a!important}
body.julia-store .julia-header a,
body.julia-home .julia-header a,
body.julia-store .julia-brand,
body.julia-home .julia-brand,
body.julia-store .julia-brand>span,
body.julia-home .julia-brand>span,
body.julia-store .julia-brand em,
body.julia-home .julia-brand em{color:#162720!important;text-decoration:none!important}
body.julia-store .julia-header nav a,
body.julia-home .julia-header nav a{color:#162720!important;font-weight:600}
body.julia-store .julia-header nav a:hover,
body.julia-store .julia-header nav a:focus-visible,
body.julia-home .julia-header nav a:hover,
body.julia-home .julia-header nav a:focus-visible,
body.julia-store .julia-actions a:hover,
body.julia-store .julia-actions a:focus-visible,
body.julia-home .julia-actions a:hover,
body.julia-home .julia-actions a:focus-visible{color:#a9342a!important}
body.julia-store .julia-header nav a:after,
body.julia-home .julia-header nav a:after{background:#a9342a!important}
body.julia-store .julia-actions,
body.julia-home .julia-actions,
body.julia-store .julia-actions a,
body.julia-home .julia-actions a{color:#162720!important}
body.julia-store .julia-menu span,
body.julia-home .julia-menu span{background:#162720!important}
@media(max-width:1050px){
 .julia-header nav.is-open{background:#fffdf8!important;box-shadow:0 14px 30px rgba(22,39,32,.10)}
 .julia-header nav.is-open a,.julia-header nav.is-open a:visited{color:#162720!important}
}
