body { margin: 0; }
    a { color: var(--link); text-decoration: none; }
    a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
    /* AA: darker link/muted/focus colours and text-on-accent contrast */
    .theme-kelsey { --link: #C2185B; --text-muted: rgba(26,26,31,0.72); --text-on-accent: #1A1A1F; --focus-ring: #1A1A1F; }
    a:focus-visible, .ac-btn:focus-visible { outline: 3px solid #1A1A1F; outline-offset: 3px; border-radius: 4px; }
    .on-dark { --text: #F0EDE6; --text-muted: rgba(240,237,230,0.72); --border: rgba(240,237,230,0.14); --border-strong: rgba(240,237,230,0.5); --focus-ring: #F0EDE6; }
    .on-dark a:focus-visible, .on-dark .ac-btn:focus-visible { outline-color: #F0EDE6; }
    /* primary CTA: deeper pink with white text (white on #C2185B is about 5.9:1) */
    .theme-kelsey .ac-btn:not(.ac-btn--outline):not(.ac-btn--secondary):not(.ac-btn--ghost) { background: #C2185B; border-color: #C2185B; color: #FFFFFF; }
    .theme-kelsey .ac-btn:not(.ac-btn--outline):not(.ac-btn--secondary):not(.ac-btn--ghost):hover { background: #9E1349; border-color: #9E1349; color: #FFFFFF; }
    .theme-kelsey .ac-btn--outline:hover { color: #C2185B; border-color: #C2185B; }
    .theme-kelsey .on-dark .ac-btn--outline:hover { color: #FF6BA0; border-color: #FF6BA0; }
    .ac-tag { font-size: 13px; }
    nav a, .on-dark a { display: inline-flex; align-items: center; min-height: 24px; }
    .work-row { display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:16px; }
    .scroll-btn { width:40px; height:40px; border-radius:999px; border:1px solid var(--border-strong); background:transparent; color:var(--text); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
    .scroll-btn:not(:disabled):hover { border-color:#C2185B; color:#C2185B; }
    .scroll-btn:focus-visible { outline:3px solid #1A1A1F; outline-offset:3px; }
    .scroll-btn:disabled { opacity:0.35; cursor:not-allowed; }
    .work-row:focus-visible { outline:3px solid #1A1A1F; outline-offset:4px; border-radius:4px; }
    .work-card { flex:0 0 clamp(260px,28vw,380px); scroll-snap-align:start; color:var(--text); text-decoration:none; display:block; }
    .work-card:hover { text-decoration:none; }
    .work-card:hover h3 { text-decoration:underline; text-underline-offset:3px; }
    .home-cols { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); }
    .home-cols2 { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); }
    @media (max-width:900px) { .home-cols, .home-cols2 { grid-template-columns:1fr; } }
    /* mobile: selected work stacks vertically, no sideways scroll */
    @media (max-width:900px) { .work-row { display:grid; grid-template-columns:1fr; gap:36px; overflow:visible; scroll-snap-type:none; padding-bottom:0; } .work-card { flex:none; width:100%; } .scroll-btn { display:none; } }
    /* small screens: show only the asterisk; the name stays available to screen readers */
    @media (max-width: 600px) { .brand-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }
