/* Homey Sitewide Contrast Standard — full-site isolated preview patch */
:root{
  --homey-contrast-text:#e7edf6;
  --homey-contrast-text-strong:#ffffff;
  --homey-contrast-muted:#dce6f8;
  --homey-contrast-gold:#f0db9c;
}

/* Dark article/guide heroes: metadata and breadcrumbs must not inherit muted gray. */
body .hero :is(.breadcrumb,.breadcrumb a,.hero-meta,.hero-meta span,.art-meta,.meta),
body .hero :is(.breadcrumb,.breadcrumb a,.hero-meta,.hero-meta span,.art-meta,.meta) *{
  color:var(--homey-contrast-text)!important;
}
body .hero :is(.breadcrumb a,.hero-meta a):hover{color:var(--homey-contrast-text-strong)!important;}
body .hero :is(h1,h2,h3,h4,h5,h6){color:var(--homey-contrast-text-strong)!important;}
body .hero :is(.eyebrow,.section-kicker,.hero-kicker){color:var(--homey-contrast-gold)!important;}
body .hero p.lead{color:#edf3fc!important;}

/* Shared navy cards and portfolio bands. */
body .service-tile,
body .portfolio-band,
body .homey-services-contact,
body .homey-services-hero,
body .homey-service-media-card,
body .homey-video-card,
body .action-tile,
body .s-card,
body .preview-block,
body .catalog-box,
body .c-card,
body .about-text,
body .homey-journal-card,
body .featured-card{
  color:var(--homey-contrast-text)!important;
}
body .service-tile :is(h1,h2,h3,h4,h5,h6,strong,b),
body .portfolio-band :is(h1,h2,h3,h4,h5,h6,strong,b),
body .action-tile :is(h1,h2,h3,h4,h5,h6,strong,b),
body .s-card :is(h1,h2,h3,h4,h5,h6,strong,b),
body .preview-block :is(h1,h2,h3,h4,h5,h6,strong,b),
body .catalog-box :is(h1,h2,h3,h4,h5,h6,strong,b),
body .c-card :is(h1,h2,h3,h4,h5,h6,strong,b),
body .about-text :is(h1,h2,h3,h4,h5,h6,strong,b),
body .homey-journal-card :is(h1,h2,h3,h4,h5,h6,strong,b),
body .featured-card :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--homey-contrast-text-strong)!important;
}
body .service-tile :is(p,li,span,small,time,.meta,.description,.card-desc),
body .portfolio-band :is(p,li,span,small,time,.meta,.description,.card-desc),
body .action-tile :is(p,li,span,small,time,.meta,.description,.card-desc),
body .s-card :is(p,li,span,small,time,.meta,.description,.card-desc),
body .preview-block :is(p,li,span,small,time,.meta,.description,.card-desc),
body .catalog-box :is(p,li,span,small,time,.meta,.description,.card-desc),
body .c-card :is(p,li,span,small,time,.meta,.description,.card-desc),
body .about-text :is(p,li,span,small,time,.meta,.description,.card-desc),
body .homey-journal-card :is(p,li,span,small,time,.meta,.description,.card-desc),
body .featured-card :is(p,li,span,small,time,.meta,.description,.card-desc){
  color:var(--homey-contrast-text)!important;
  opacity:1!important;
}
body .service-tile :is(.icon,.s-num,.action-kicker),
body .action-tile :is(.action-kicker,.eyebrow),
body .featured-card :is(.featured-tag,.featured-meta){color:var(--homey-contrast-gold)!important;}
body .portfolio-band a,
body .service-tile a,
body .action-tile a,
body .s-card a,
body .preview-block a,
body .catalog-box a,
body .c-card a,
body .about-text a,
body .homey-journal-card a,
body .featured-card a{color:var(--homey-contrast-gold)!important;}

/* Dark shell sections and legacy cards whose later rules previously reset copy to ink colors. */
body .info-page{
  color:var(--homey-contrast-text)!important;
}
body .info-page .info-hero :is(h1,h2,h3,h4,h5,h6){color:var(--homey-contrast-text-strong)!important;}
body .info-page .info-hero :is(p,li,span,small){color:var(--homey-contrast-text)!important;}
body .info-page .info-hero .eyebrow{color:var(--homey-contrast-gold)!important;}
body .info-page :is(p,li,span,small,time,.meta,.article-meta,.description,.card-desc){
  color:var(--homey-contrast-text)!important;
  text-shadow:none!important;
}
body .info-page :is(h1,h2,h3,h4,h5,h6,strong,b,summary){
  color:var(--homey-contrast-text-strong)!important;
  text-shadow:none!important;
}
body .info-page :is(a,.info-content a,.info-sidebar a){color:var(--homey-contrast-gold)!important;}
body .info-page :is(a,.info-content a,.info-sidebar a):hover{color:var(--homey-contrast-text-strong)!important;}
body .info-page .contact-form :is(input,textarea,select){color:#fff!important;}
body .info-page .contact-form :is(input,textarea,select)::placeholder{color:#c8d3e6!important;}

/* Explicit dark FAQ contexts. Light article FAQ surfaces remain controlled by the journal patch. */
body .info-page .faq-item,
body .portfolio-band .faq-item,
body .homey-services-contact .faq-item{
  color:var(--homey-contrast-text)!important;
  border-color:rgba(216,181,106,.35)!important;
}
body .info-page .faq-item :is(summary,.faq-a,p,span){color:var(--homey-contrast-text)!important;}
body .info-page .faq-item summary .plus{border-color:var(--homey-contrast-gold)!important;color:var(--homey-contrast-gold)!important;}

/* Site chrome and footer. */
body header .brand small,
body .site-header .brand small,
body .site-header .lang-toggle button,
body footer.site-footer,
body footer.site-footer :is(p,li,span,small,time,.footer-bottom){
  color:var(--homey-contrast-text)!important;
  opacity:1!important;
}
body footer.site-footer :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--homey-contrast-text-strong)!important;}
body footer.site-footer a{color:var(--homey-contrast-text)!important;}
body footer.site-footer a:hover{color:var(--homey-contrast-text-strong)!important;}

/* Dark CTA and media surfaces: preserve dark text only on their intentionally gold buttons. */
body :is(.homey-services-contact,.homey-services-hero,.homey-service-media,.homey-service-media-head) :is(p,li,span,small,time,.meta,.description){color:var(--homey-contrast-text)!important;opacity:1!important;}
body :is(.homey-services-contact,.homey-services-hero,.homey-service-media,.homey-service-media-head) :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--homey-contrast-text-strong)!important;}
body :is(.homey-services-contact,.homey-services-hero,.homey-service-media) :is(.eyebrow,.section-kicker,.homey-services-kicker,.homey-service-video-title){color:var(--homey-contrast-gold)!important;}

/* Do not change intended dark ink on white/ivory surfaces. The article readability patch remains the final rule for article bodies. */


/* Final dark-surface contract: every readable text node on a navy/dark surface is light. */
body :is(.service-tile,.pc-view,.btn-navy,.homey-amazon-callout,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card){
  color:#f7f2e9!important;
}
body :is(.service-tile,.pc-view,.btn-navy,.homey-amazon-callout,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,small,time,summary,div,a){
  color:#f7f2e9!important;
  opacity:1!important;
  text-shadow:none!important;
}
body :is(.service-tile,.pc-view,.btn-navy,.homey-amazon-callout,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(.eyebrow,.section-kicker,.hero-kicker,.action-kicker,.homey-services-kicker,.homey-service-video-title){
  color:#f0db9c!important;
}
body :is(.service-tile,.pc-view,.btn-navy,.homey-amazon-callout,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(a,.btn,.actions a,.pc-view){
  color:#ffffff!important;
}
body :is(.service-tile,.pc-view,.btn-navy,.homey-amazon-callout,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(.num,.n,.icon,.plus){
  color:#ffffff!important;
}
body :is(.service-tile,.pc-view,.btn-navy) > :is(a,p,h4,span){color:#ffffff!important;}
body :is(.service-tile,.pc-view,.btn-navy) > :is(a,p,h4,span) *{color:inherit!important;}

/* Elements whose own background is navy and whose original rules used dark ink. */
body .service-tile,
body .service-tile :is(p,a,h4,strong,b,span),
body .pc-view,
body .btn-navy,
body .btn-navy *{color:#ffffff!important;}
body :is(.service-tile,.pc-view,.btn-navy) .num,
body :is(.service-tile,.pc-view,.btn-navy) .n{color:#ffffff!important;}

/* Dark article sections and dark promotional blocks visible below the fold. */
body .homey-article-media :is(.media-copy,.media-copy *),
body .homey-blog-video-carousel :is(.homey-blog-video-copy,.homey-blog-video-copy *),
body .homey-amazon-callout :is(*),
body .homey-service-media :is(*),
body .homey-services-hero :is(*),
body .homey-services-contact :is(*){color:#f7f2e9!important;}
body .homey-article-media :is(.media-copy strong,.eyebrow,.section-kicker),
body .homey-blog-video-carousel :is(.eyebrow,.section-kicker),
body .homey-service-media :is(.eyebrow,.section-kicker,.homey-services-kicker){color:#f0db9c!important;}

/* Dark FAQ items when they occur inside a dark article/service section. */
body :is(.homey-article-media,.homey-blog-video-carousel,.homey-services-hero,.homey-services-contact) .faq-item,
body :is(.homey-article-media,.homey-blog-video-carousel,.homey-services-hero,.homey-services-contact) .faq-item :is(summary,.faq-a,p,span,a){color:#f7f2e9!important;}

/* Highest-priority dark-surface contract for article templates: the journal patch uses main#main-content selectors, so these selectors intentionally include the same ID context. */
html body main#main-content :is(.service-tile,.pc-view,.btn-navy,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card),
html body main#main-content :is(.service-tile,.pc-view,.btn-navy,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,small,time,summary,div,a,button,label){
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body main#main-content :is(.service-tile,.pc-view,.btn-navy,.homey-article-media,.homey-blog-video-carousel,.homey-video-card,.homey-service-media,.homey-services-hero,.homey-services-contact,.homey-service-media-card) :is(.eyebrow,.section-kicker,.hero-kicker,.action-kicker,.homey-services-kicker,.homey-service-video-title){color:#f0db9c!important;}
html body main#main-content :is(.service-tile,.pc-view,.btn-navy) :is(a,button){color:#ffffff!important;}
html body main#main-content :is(.service-tile,.pc-view,.btn-navy) :is(.num,.n,.icon,.plus){color:#ffffff!important;}

/* Light Amazon CTA contract: this card intentionally uses dark ink on its ivory/cream surface. */
html body main#main-content .homey-amazon-callout,
html body main#main-content .homey-amazon-callout :is(h2,h3,p,span,strong,b,small,div){
  color:#10213f!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body main#main-content .homey-amazon-callout a,
html body main#main-content .homey-amazon-callout a :is(span,strong,b){
  background:#07132b!important;
  color:#ffffff!important;
}
html body .homey-journal-amazon,
html body .homey-journal-amazon :is(h2,h3,p,span,strong,b,small,div){
  color:#10213f!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body .homey-journal-amazon a,
html body .homey-journal-amazon a :is(span,strong,b){
  background:#07132b!important;
  color:#ffffff!important;
}


/* Universal Amazon showcase: shared by every blog and service page, placed after video media. */
.homey-amazon-showcase {
  position: relative;
  isolation: isolate;
  width: min(100% - 2rem, 980px);
  margin: clamp(2rem, 5vw, 4.5rem) auto 0;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 5rem) clamp(2rem, 5vw, 3.75rem);
  border: 1px solid rgba(255, 218, 139, .72);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 12% 16%, rgba(255, 179, 27, .98) 0, rgba(255, 153, 0, .82) 30%, transparent 58%), linear-gradient(118deg, #ff9b00 0%, #d38c22 43%, #a9782f 61%, #1c2b42 100%);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .28);
  color: #10213f !important;
}
.homey-amazon-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(145deg, transparent 0 50%, rgba(3, 15, 38, .34) 100%);
}
.homey-amazon-showcase .homey-amazon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 7.3rem;
  min-height: 4.25rem;
  margin: 0 auto 1.6rem;
  padding: .45rem .75rem .85rem;
  border-radius: 1.15rem;
  background: #111827;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  text-transform: lowercase;
  box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .24);
}
.homey-amazon-showcase .homey-amazon-mark::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 12%;
  bottom: .58rem;
  height: .42rem;
  border-bottom: .2rem solid #ff9900;
  border-radius: 50%;
  transform: rotate(-4deg);
}
.homey-amazon-showcase h2,
html body main#main-content .homey-amazon-showcase h2,
.homey-amazon-showcase p,
html body main#main-content .homey-amazon-showcase p {
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  color: #0c1b38 !important;
  text-shadow: none !important;
}
.homey-amazon-showcase h2,
html body main#main-content .homey-amazon-showcase h2 {
  margin-top: 0;
  margin-bottom: 1.15rem;
  font-family: Cormorant Garamond, Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.homey-amazon-showcase p,
html body main#main-content .homey-amazon-showcase p {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.85;
}
.homey-amazon-showcase .homey-amazon-showcase-link,
html body main#main-content .homey-amazon-showcase .homey-amazon-showcase-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  max-width: 100%;
  padding: .85rem 2rem;
  border: 0;
  border-radius: 999px;
  background: #fff !important;
  color: #80611d !important;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 .55rem 1.25rem rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.homey-amazon-showcase .homey-amazon-showcase-link:hover,
.homey-amazon-showcase .homey-amazon-showcase-link:focus-visible {
  background: #fffdf8 !important;
  color: #5b4210 !important;
  transform: translateY(-2px);
  box-shadow: 0 .8rem 1.5rem rgba(0, 0, 0, .24);
}
.homey-amazon-showcase,
.homey-amazon-showcase * { -webkit-text-fill-color: currentColor; }
.homey-amazon-showcase .homey-amazon-mark { -webkit-text-fill-color: #fff !important; }
.homey-amazon-showcase h2,
.homey-amazon-showcase p { -webkit-text-fill-color: #0c1b38 !important; }
.homey-amazon-showcase .homey-amazon-showcase-link { -webkit-text-fill-color: #80611d !important; }
@media (max-width: 640px) {
  .homey-amazon-showcase {
    width: calc(100% - 1.25rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .homey-amazon-showcase p { line-height: 1.7; }
  .homey-amazon-showcase .homey-amazon-showcase-link {
    width: min(100%, 29rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* End universal Amazon showcase. */

/* Homey recovery: article bodies must remain visible; homepage-only journal suppression is preserved. */
body:not(.homey-homepage) .homey-journal-entry { display:block !important; visibility:visible !important; opacity:1 !important; }

/* Homey readability repair 2026-08-20: dark editorial surfaces must use icy-white text. */
html body main#main-content :is(.measure-photo,.homey-article-media,.homey-blog-video-carousel,.portfolio-band,.homey-services-hero,.homey-services-contact) :is(figcaption,.caption,.image-caption,.editorial-caption,.media-copy,.media-copy *,h1,h2,h3,h4,h5,h6,p,li,span,strong,b,small,time,summary,div,a,button,label) {
  color:#f7f2e9!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body main#main-content :is(.measure-photo,.homey-article-media,.portfolio-band) :is(.eyebrow,.section-kicker,.hero-kicker,.num,.n) {
  color:#f0db9c!important;
}
html body main#main-content .measure-photo {
  background:#07132b!important;
  color:#f7f2e9!important;
}
html body main#main-content .measure-photo figcaption,
html body main#main-content .measure-photo figcaption * {
  background:#07132b!important;
  color:#f7f2e9!important;
}
/* Dark article panels and reference/checklist bands: reveal existing prose without changing light cards. */
html body main#main-content :is(.dark-panel,.dark-section,.reference-panel,.references,.article-dark-band,[data-surface="dark"]) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,small,time,summary,div,a,button,label,td,th) {
  color:#f7f2e9!important;
  opacity:1!important;
  text-shadow:none!important;
}
/* Preserve the approved dark-ink treatment on intentionally pale Amazon and callout surfaces. */
html body main#main-content :is(.homey-amazon-callout,.homey-amazon-showcase,.homey-journal-amazon,.toc-card,.notice,.callout,.review-note,.faq-list details,.article-note,.tip-box) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,small,time,summary,div,a,button,label,td,th) {
  color:#10213f!important;
}
html body main#main-content :is(.homey-amazon-callout,.homey-amazon-showcase,.homey-journal-amazon) a,
html body main#main-content :is(.homey-amazon-callout,.homey-amazon-showcase,.homey-journal-amazon) a :is(span,strong,b) {
  color:#ffffff!important;
}

/* HOMEY_ROOT_CONTRAST_REPAIR_20260826 */
/* Runtime marks only text whose resolved surface is dark; pale cards remain dark-ink. */
html body main#main-content .homey-contrast-dark-text {
  color:#f7f2e9!important;
  -webkit-text-fill-color:#f7f2e9!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body main#main-content .homey-contrast-dark-text:is(h1,h2,h3,h4,h5,h6,.eyebrow,.section-kicker,.hero-kicker,.num,.n) {
  color:#f0db9c!important;
  -webkit-text-fill-color:#f0db9c!important;
}
html body main#main-content a.homey-contrast-dark-text,
html body main#main-content a.homey-contrast-dark-text :is(span,strong,b) {
  color:#f7f2e9!important;
  -webkit-text-fill-color:#f7f2e9!important;
  text-decoration:underline!important;
  text-decoration-thickness:.1em!important;
  text-underline-offset:.16em!important;
}



/* Final journal Amazon contrast and placement contract — 2026-09-05 */
html body main#main-content aside.homey-journal-amazon { background:linear-gradient(135deg,#fffdf8 0%,#f2e6cd 100%) !important; color:#10213f !important; border:1px solid #d8b56a !important; }
html body main#main-content aside.homey-journal-amazon :is(h2,h3,p,span,strong,b,small,div) { color:#10213f !important; opacity:1 !important; text-shadow:none !important; }
html body main#main-content aside.homey-journal-amazon p { color:#33445b !important; }
html body main#main-content aside.homey-journal-amazon a { background:#07132b !important; color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; }
html body main#main-content aside.homey-journal-amazon a :is(span,strong,b) { color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; }
/* Final high-specificity override for runtime contrast classes on the light Amazon card. */
html body main#main-content aside.homey-journal-amazon h2.homey-contrast-dark-text,
html body main#main-content aside.homey-journal-amazon p.homey-contrast-dark-text {
  color:#10213f !important;
  -webkit-text-fill-color:#10213f !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html body main#main-content aside.homey-journal-amazon a.homey-contrast-dark-text {
  background:#07132b !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
html body main#main-content aside.homey-journal-amazon a.homey-contrast-dark-text :is(span,strong,b) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
