/* R140 correction pass: readable links, visible property colors and documentary framing. */
footer,.footer,.site-footer{background:#142832!important;color:#f6f4ef!important;border-top:6px solid #f28a42!important;line-height:1.65}
footer h2,footer h3,footer strong{color:#fff!important}
footer p,footer li,footer span,footer .legal,footer .footer-meta{color:#e0e8eb!important;opacity:1!important}
footer a,footer a:visited{color:#ffb67f!important;text-decoration:underline;text-underline-offset:.2em;opacity:1!important}
footer a:hover,footer a:focus-visible{color:#fff!important}
footer .footer-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:2rem!important}
footer .footer-grid>div>a{display:block!important;margin:.45rem 0!important;width:fit-content;max-width:100%}
footer ul{padding-left:0;list-style:none}footer li{margin:.45rem 0}
footer .footer-social{display:flex!important;flex-wrap:wrap;gap:.75rem 1rem;margin-top:1rem}
footer .footer-social a{display:inline-flex!important;align-items:center;min-height:44px;padding:.3rem .75rem;border:1px solid #afbec6;border-radius:.4rem;gap:.5rem}
footer .footer-meta,footer .public-contact-ribbon,footer .network-property-bar{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem}
footer .release-social{width:min(1180px,calc(100% - 2rem));margin:1.25rem auto}
footer .property-link[data-property="personal"]{border-left:4px solid #ff9a55}
footer .property-link[data-property="rsf"]{border-left:4px solid #dcc49c}
footer .property-link[data-property="k6rcs"]{border-left:4px solid #62d6dc}
footer .property-link[data-property="teamstone"]{border-left:4px solid #ff9a55}
footer .property-link[data-property="rosas"]{border-left:4px solid #f7a2c1}
footer .property-link[data-property="electstone"]{border-left:4px solid #f5d77b}
footer .property-link{padding-left:.65rem!important}footer .property-mark{background:#fff!important}
footer .property-link span,footer .social-badge span{color:inherit!important}
footer .footer-grid>div>a.property-link{display:flex!important;gap:.65rem}
main video{display:block;width:100%;max-width:100%;height:auto}
.page-hero h1,.page-lead h1,.hero h1,.hero .display{font-size:clamp(2.25rem,5.2vw,4.6rem)!important;line-height:1.02!important;text-wrap:balance}
main h2{font-size:clamp(1.65rem,3.2vw,2.8rem);line-height:1.12;text-wrap:balance}
.error-art img{display:block;width:100%;height:auto;max-height:34rem;object-fit:contain;object-position:center}
@media(min-width:901px){.site-header nav:has(>a){display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:.35rem 1rem;align-items:center;max-width:75%}.site-header nav>a{display:inline-flex;align-items:center;min-height:40px}}
@media(max-width:900px){.site-header nav:has(>a){display:none}.site-header nav.open:has(>a){display:flex;flex-direction:column;align-items:stretch;gap:.5rem}.site-header nav.open>a{padding:.65rem}}
[data-field-hero] .lead-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
[data-field-hero] .release-radio-aside{grid-column:1/-1}
@media(max-width:800px){[data-field-hero] .lead-grid{grid-template-columns:1fr}}
.release-photo{margin:0 0 1rem;overflow:hidden;border-radius:12px;background:#edf0ec}
.release-photo img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.release-photo figcaption{padding:.8rem 1rem;background:#fff;color:#283e49;font-size:.9rem;line-height:1.55}
.release-story-band{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:2rem;align-items:center}
.release-story-band .release-photo{margin:0}.release-story-band h2{margin-top:0}
[data-legacy-gallery] main .visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
[data-legacy-gallery] main figure{margin:0 auto;width:100%;max-width:32rem}
[data-legacy-gallery] main figure img{display:block;width:100%!important;height:320px!important;min-height:0!important;max-height:320px!important;object-fit:contain!important;background:#f4f1e9}
[data-legacy-gallery] main figcaption{position:static!important;background:#fff!important;color:#283e49!important;padding:1rem!important}
[data-legacy-gallery] main figcaption span{display:block}
@media(max-width:700px){.page-hero h1,.page-lead h1,.hero h1,.hero .display{font-size:clamp(2.05rem,10vw,3rem)!important}.release-story-band{grid-template-columns:1fr}[data-legacy-gallery] main .visual-grid{grid-template-columns:1fr}[data-legacy-gallery] main figure img{height:auto!important;max-height:360px!important}footer .footer-grid{grid-template-columns:1fr!important}}

main .prose,main .card,main .table-wrap,main .button-row,main .grid-2>*,main .grid-3>*,main .grid-4>*{min-width:0;max-width:100%}
main .table-wrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.error-detail .button.secondary,.error-detail .button.secondary:visited{color:#fff!important;border-color:#fff!important;background:transparent!important}
.error-detail .button.secondary:hover,.error-detail .button.secondary:focus-visible{color:#142832!important;background:#fff!important}

/* R144E full-pass contrast, caption structure, footer, and flag watermark */
.r135-photo-card figcaption,
.r135-photo-card .r135-caption{
  padding:4.8rem 1.05rem 1.05rem!important;
  background:linear-gradient(to top,rgba(4,12,18,.98) 0%,rgba(4,12,18,.92) 58%,rgba(4,12,18,.08) 100%)!important;
  color:#fff!important;
  text-shadow:0 1px 4px rgba(0,0,0,.95)!important;
}
.r135-photo-card figcaption strong,.r135-photo-card .r135-caption strong{display:block!important;color:#ffd8ba!important;line-height:1.25!important}
.r135-photo-card figcaption span,.r135-photo-card .r135-caption span{display:block!important;margin-top:.32rem!important;color:#fff!important;line-height:1.5!important}
.footer,.personal .footer{background-color:#172733!important;background-image:none!important;color:#f7fafb!important}
.footer h2,.footer h3,.footer p,.footer li,.footer-meta{color:#f7fafb!important}
.footer a{color:#ffe1c8!important;text-decoration-color:rgba(255,225,200,.72)!important}
.footer .social-badge{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.52)!important;color:#fff!important}
.site-footer,.k6rcs-footer{background-color:#102b3a!important;background-image:none!important;color:#f7fafb!important}
.site-footer h2,.site-footer h3,.site-footer p,.site-footer li,.site-footer .legal{color:#f7fafb!important}
.site-footer a{color:#ffe1c8!important;text-decoration-color:rgba(255,225,200,.72)!important}
.flag-watermark{position:relative!important;overflow:hidden!important;isolation:isolate;background:#fff!important}
.flag-watermark::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.09;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360'%3E%3Cpath fill='%231b3f63' d='M88 20h18v320H88zM106 42c160-72 280 70 446 0v220c-166 70-286-72-446 0z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-opacity='.28' stroke-width='9' d='M118 82c150-48 274 66 422 4M116 128c154-44 278 66 426 2M114 174c158-42 282 64 430 0M112 220c162-40 286 62 434-2'/%3E%3Crect x='106' y='42' width='154' height='112' rx='2' fill='%230f2f50'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:112% 108%;
  background-size:min(560px,105%) auto;
}
.flag-watermark>*{position:relative;z-index:1}
.flag-watermark h3{color:#172f48!important}
.flag-watermark p{color:#15242d!important}
/* R144E universal caption separation */
figcaption>strong{display:block!important}
figcaption>strong+span{display:block!important;margin-top:.3rem!important;line-height:1.48!important}

/* R144E WCAG contrast consolidation */
:root{--r144e-accent-accessible:#00446a;--r144e-link-accessible:#68300d;--r144e-meta-accessible:#3b4b54}
main .section:not(.dark) h3,
main .section:not(.dark) h4{color:var(--ink,#203038)!important}
main .section:not(.dark) .eyebrow,
main .section:not(.dark) .meta,
main .section:not(.dark) .tiny{color:var(--r144e-meta-accessible)!important}
main .section:not(.dark) a:not(.button):not(.nav-practice){color:var(--r144e-link-accessible)!important;text-decoration-color:currentColor!important}
main .hero a,
main .dark a,
main .r144d-practice-feature a{color:#fff!important}
.button.primary,
button.button.primary,
a.nav-cta{background:var(--r144e-accent-accessible)!important;border-color:var(--r144e-accent-accessible)!important;color:#fff!important}
.button.secondary{color:var(--r144e-link-accessible)!important;border-color:var(--r144e-link-accessible)!important;background:#fff!important}
.skip,.skip-link{color:var(--r144e-link-accessible)!important;background:#fff!important}
.mark{color:#fff!important;background:var(--r144e-accent-accessible)!important}
th{color:#fff!important;background:var(--r144e-accent-accessible)!important}
.photo:not(.documentary-photo):not(.r135-photo-card) figcaption{color:#fff!important;background:linear-gradient(transparent,rgba(5,13,18,.97))!important;text-shadow:0 1px 5px rgba(0,0,0,.95)!important}
.photo:not(.documentary-photo):not(.r135-photo-card) figcaption strong,
.photo:not(.documentary-photo):not(.r135-photo-card) figcaption span{color:#fff!important}

/* R144E nested-card and navigation contrast */
header nav a,
.site-header nav a,
.header-inner nav a{color:var(--ink,#203038)!important}
header nav a[aria-current="page"],
header nav a.nav-practice:hover,
header nav a.nav-practice[aria-current="page"]{background:var(--r144e-accent-accessible)!important;color:#fff!important;border-color:var(--r144e-accent-accessible)!important}
.brand-domain,time{color:var(--r144e-link-accessible)!important}
.section.dark .card,
.section.dark .resource-card{background:#fbf8f2!important;color:var(--ink,#203038)!important}
.section.dark .card h3,
.section.dark .card h4,
.section.dark .card p,
.section.dark .card li,
.section.dark .card strong,
.section.dark .resource-card h3,
.section.dark .resource-card h4,
.section.dark .resource-card p,
.section.dark .resource-card li{color:var(--ink,#203038)!important}
.section.dark .card .eyebrow,
.section.dark .resource-card .eyebrow{color:var(--r144e-meta-accessible)!important}
.section.dark .card a,
.section.dark .resource-card a,
.section.dark .link-list a{color:var(--r144e-link-accessible)!important}
.section.dark .resource-link,
.section.dark .link-list a{background:#fff!important;border-color:#b6c4ca!important}
.section.dark .resource-link strong,
.section.dark .resource-link span{color:var(--ink,#203038)!important}
.pool-summary strong{color:var(--r144e-link-accessible)!important}
.trivia-use-case h2,
.trivia-use-case h3,
.trivia-use-case h4,
.trivia-use-case p,
.trivia-use-case strong{color:#f7fafb!important}

/* R144E final contrast locks */
header nav a.nav-cta,
.site-header nav a.nav-cta,
.header-inner nav a.nav-cta{color:#fff!important}
.brand strong{color:inherit!important}
.button.camel{background:#173f57!important;border-color:#173f57!important;color:#fff!important}
main .section:not(.dark) .lead,
main .section:not(.dark) strong{color:var(--ink,#203038)!important}
main .section.trivia-use-case h2,
main .section.trivia-use-case h3,
main .section.trivia-use-case h4,
main .section.trivia-use-case p,
main .section.trivia-use-case strong{color:#f7fafb!important}
.notice{background:#edf3f5!important;color:var(--ink,#203038)!important;border-color:#9fb2ba!important}
.notice p,.notice strong,.notice a{color:var(--ink,#203038)!important}
.photo:not(.documentary-photo):not(.r135-photo-card) figcaption strong,
.photo:not(.documentary-photo):not(.r135-photo-card) figcaption span,
.r135-photo-card figcaption strong,
.r135-photo-card figcaption span,
.r144d-practice-feature strong{color:#fff!important}

/* R144E compact-hero and inset contrast */
main .eyebrow{color:var(--r144e-meta-accessible)!important}
main .hero .eyebrow,
main .section.dark .eyebrow,
figure figcaption .eyebrow{color:#fff!important}
main .hero-compact .lead{color:var(--ink,#203038)!important}
main .section.dark h2,
main .section.dark h3,
main .section.dark h4{color:#fff!important}
.source-item h3,
.source-item h4{color:var(--ink,#203038)!important}
.source-item a{color:var(--r144e-link-accessible)!important}
a.button:not(.primary):not(.secondary):not(.camel){background:#fff!important;color:var(--r144e-link-accessible)!important;border-color:var(--r144e-link-accessible)!important}
sub,sup{color:inherit!important}

/* R144E split-hero and caption eyebrow contrast */
main .hero-grid .hero-copy .eyebrow,
main .hero-compact .eyebrow,
main .section .section-heading .eyebrow{color:var(--r144e-meta-accessible)!important}
main .section:not(.dark) figure figcaption .eyebrow{color:#fff!important}
.brand-ribbon strong{color:#fff!important}
main .section:not(.dark) sub,
main .section:not(.dark) sup{color:var(--ink,#203038)!important}

/* R144E ElectStone specificity locks */
body main .section:not(.dark) .section-heading p.eyebrow{color:var(--r144e-meta-accessible)!important}
body main .section:not(.dark) .brand-ribbon strong{color:#fff!important}

/* R144E final eyebrow specificity locks */
body main section.section.dark p.eyebrow{color:#fff!important}
body main section[class~="section"]:not(.dark) div[class~="section-heading"] p.eyebrow{color:var(--r144e-meta-accessible)!important}
body main .r140-photo-break .r140-photo-copy p.eyebrow{color:#fff!important}
body main .brand-ribbon strong{color:#fff!important}
