/* Work section study: retain the original page and native disclosure behavior. */
#work .projects-grid { max-width: 780px; gap: 0; margin-top: 2.5rem; }
#work .section-title { scroll-margin-top: 120px; }
#work .project-card { border: 0; border-top: 1px solid rgba(208,222,244,.22); border-radius: 0; padding: 0; text-align: center; }
#work .project-card:last-child { border-bottom: 1px solid rgba(208,222,244,.22); }
#work .product-summary { position: relative; justify-content: center; gap: 24px; padding: 30px 32px; text-align: center; color: var(--text); }
#work .project-heading { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 10px; }
#work .product-name { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
#work .product-beta { border: 0; padding: 0; border-radius: 0; font-size: .69rem; font-weight: 400; letter-spacing: .025em; text-transform: none; }
#work .project-preview { grid-column: 1 / -1; font-size: .9rem; font-weight: 400; line-height: 1.65; color: var(--muted); }
#work .project-preview .product-sub { font-size: .85em; }
#work .product-chevron { position: absolute; right: 0; top: calc(50% - 10px); width: 20px; height: 20px; flex: none; transition: transform .25s ease, color .25s ease; }
#work .product-summary:hover .product-chevron { color: var(--muted); }
#work .product-disclosure.open .product-summary:hover .product-chevron { color: var(--text); }
#work .product-summary:hover .product-name { color: var(--text); }
#work .product-panel { padding: 0 0 30px; text-align: center; }
#work .product-meta { margin-top: 0; font-size: .8rem; }
#work .product-notice { font-size: .76rem; }
#work .product-file-size { margin: 0; white-space: nowrap; }
#work .product-actions { justify-content: center; align-items: center; gap: 16px 24px; margin-top: 22px; }
#work .product-link { width: auto; min-height: 44px; padding: 10px 0; border: 0; border-radius: 3px; font-size: .8rem; font-weight: 500; }
#work .product-link:not(.product-link--primary) { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(208,222,244,.3); text-underline-offset: 5px; }
#work .product-link:not(.product-link--primary):hover { color: var(--muted); text-decoration-color: rgba(208,222,244,.3); }
#work .product-link--primary { order: -1; padding: 12px 18px; background: #e8edf5; color: #080c12; }
#work .product-link--primary:hover { background: #e8edf5; }
#work .product-link:focus-visible { outline: 2px solid #7daaff; outline-offset: 5px; }
@media (max-width: 600px) {
    #work.section--group { padding-left: 20px; padding-right: 20px; }
    #work .projects { padding-left: 0; padding-right: 0; }
    #work .project-heading { grid-template-columns: 1fr; gap: 9px; }
    #work .product-beta { grid-row: 2; }
    #work .project-preview { grid-row: 3; }
    #work .product-summary { padding: 25px 24px; gap: 14px; }
    #work .product-actions { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    #work .product-chevron { transition: none; }
}
