/* Polish layer (2026-11-24): readability, interaction and accessibility refinements.
   Loaded last on every page. Brand colors, layout and copy are unchanged. */

/* Readable small text: nothing user-facing below ~13px */
.utility{font-size:13.5px}
.eyebrow,.label{font-size:.8rem}
.image-note,.pdf-mark{font-size:12.5px}
.badge,.steps span,.article-draft,.credential-item,.preview-notice{font-size:.84rem}
.photo-pack figcaption,.photo-origin,.editorial-figure figcaption,.brochure figcaption,.care-service-photo figcaption{font-size:.86rem}

/* Headlines wrap evenly; body copy avoids one-word last lines */
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}

/* Smooth, consistent interaction feedback */
a,.btn,button,summary,.path{cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease,text-decoration-color .2s ease,box-shadow .2s ease}
.btn{min-height:44px}
.btn:hover{box-shadow:0 4px 14px rgba(7,63,112,.18)}

/* Clear keyboard focus everywhere */
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px}
.btn:focus-visible{outline-offset:2px}
.skip:focus{padding:12px 16px;border-radius:8px;box-shadow:0 4px 14px rgba(7,63,112,.25);font-weight:750}

/* Tap targets in the utility bar */
.utility-links a{display:inline-block;padding-block:6px}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Wide photo banner above a section heading */
.section-banner{margin:0 0 clamp(24px,4vw,40px)}
.section-banner img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover;object-position:35% 12%;border-radius:18px}
@media (max-width:640px){.section-banner img{aspect-ratio:4/3;object-position:30% 50%;border-radius:14px}}

/* Inquiry submitted: confirmation card + confetti */
.confirm.celebrate{display:flex;align-items:flex-start;gap:12px;animation:confirm-in .45s cubic-bezier(.2,.8,.2,1.2) both}
.confirm-check{flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--teal);position:relative;animation:check-pop .5s .1s cubic-bezier(.2,.8,.2,1.4) both}
.confirm-check::after{content:"";position:absolute;left:11px;top:6px;width:8px;height:15px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.confirm em{display:block;font-size:.88rem;color:var(--muted);font-style:normal;margin-top:2px}
@keyframes confirm-in{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes check-pop{0%{transform:scale(0)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
.confetti-layer{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}
.confetti-layer span{position:fixed;width:9px;height:14px;border-radius:2px;opacity:0;animation:confetti-burst 1.8s cubic-bezier(.15,.7,.3,1) forwards}
.confetti-layer span.round{width:10px;height:10px;border-radius:50%}
@keyframes confetti-burst{
  0%{opacity:1;transform:translate(-50%,-50%) rotate(0)}
  45%{opacity:1;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(calc(var(--spin) * .5))}
  100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy) + var(--fall))) rotate(var(--spin))}
}
@media (prefers-reduced-motion:reduce){.confirm.celebrate,.confirm-check{animation:none}}

/* Inquiry forms: hidden spam trap, error state */
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.confirm.error{background:#fff1dc;color:#5a3a00}
.confirm.error a{color:#073f70}
button[disabled]{opacity:.75;cursor:progress}

/* Legal pages and footer links */
.legal h2{font-size:clamp(1.35rem,2.4vw,1.75rem)}
.legal h2:first-child{margin-top:0}
.footer-legal a{display:inline-flex;align-items:center;min-height:40px}
.article-body .quick-answer{margin:0 0 1.6em;padding:16px 20px 6px;border-radius:12px;background:var(--aqua,#e6f3f6);border-left:5px solid var(--navy,#073f70)}.article-body .quick-answer-title{font-weight:800;color:var(--navy,#073f70);text-transform:uppercase;letter-spacing:.06em;font-size:.86rem;margin-bottom:.45em}.article-body .quick-answer ul{margin-bottom:.8em}
