/* DUX-0201: editorial homepage, independent of legacy page layouts. */
.dux-home {overflow-wrap:anywhere;background:var(--dux-paper);font-size:var(--dux-body);line-height:var(--dux-leading);padding-bottom:24px}
.dux-home .home-wrap {max-width:var(--dux-wide);margin:auto;padding:0 32px}
.dux-home h1,.dux-home h2,.dux-home h3 {font-family:var(--dux-font);color:var(--dux-ink);letter-spacing:normal;line-height:1.35;overflow-wrap:anywhere;margin:0}
.dux-home h1 {hyphens:none;text-wrap:balance;font-size:clamp(2.125rem,4.25vw,3.75rem);font-weight:750;line-height:1.25}
.dux-home h2 {hyphens:none;font-size:clamp(1.4rem,2.1vw,1.875rem)}
.dux-home h3 {font-size:1.2rem}
.dux-home p {color:var(--dux-muted);margin:16px 0}
.dux-home a {text-underline-offset:4px}
.home-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:48px 0}
.home-intro>p {font-size:1.125rem;margin:24px 0;max-width:32em}
.home-actions {display:flex;gap:12px;flex-wrap:wrap}
.dux-home .home-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:650;font-size:.9375rem;color:var(--dux-ink);background:var(--dux-surface);border:1px solid var(--dux-control);border-radius:var(--dux-radius-control);padding:10px 16px;min-height:44px;cursor:pointer;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.dux-home .home-button.primary {color:var(--dux-action-ink);background:var(--dux-action);border-color:var(--dux-action)}
.home-button:disabled {cursor:wait;opacity:.75}
.home-preview {padding:24px;background:var(--dux-surface);border:1px solid var(--dux-line);border-radius:var(--dux-radius-panel);min-width:0}
.home-kind {display:block;font-size:.8125rem;color:var(--dux-muted);font-weight:600}
.dux-home .home-preview h2 {font-size:1.25rem;margin:6px 0 16px}
.home-pixels {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-pixels figure {margin:0;min-width:0}
.home-pixels figcaption {font-size:.8125rem;color:var(--dux-muted);margin-bottom:8px}
.home-pixels img {width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;image-rendering:pixelated;border:1px solid var(--dux-control);border-radius:4px}
.home-metrics {display:flex;flex-wrap:wrap;gap:8px 24px;margin:16px 0}
.home-metrics dt {font-size:.75rem;color:var(--dux-muted)}
.home-metrics dd {margin:0;font-size:1rem;font-variant-numeric:tabular-nums}
.dux-home .preview-start {color:var(--dux-action);width:100%;margin-bottom:16px}
.home-exposures {border:0;min-width:0;margin:0 0 16px;padding:0}
.home-exposures legend {font-size:.8125rem;margin-bottom:8px}
.home-exposures>div {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.home-exposures button {font:inherit;font-size:.875rem;min-width:0;min-height:44px;border:1px solid var(--dux-control);border-radius:8px;background:var(--dux-surface);color:var(--dux-ink);cursor:pointer;padding:6px 4px}
.home-exposures [aria-pressed=true] {background:var(--dux-action);border-color:var(--dux-action);color:var(--dux-action-ink);text-decoration:underline;text-underline-offset:4px}
.dux-home .home-preview-note,.dux-home .home-preview-status {font-size:.75rem;line-height:1.65;margin:12px 0}
.home-preview-status:empty {display:none}
.dux-home .home-full-lab {font-size:.875rem;display:inline-flex;align-items:center;min-height:44px;color:var(--dux-action);text-decoration:underline;overflow-wrap:anywhere}
.home-counts {display:flex;justify-content:flex-start;gap:48px;flex-wrap:wrap;border-top:1px solid var(--dux-line);border-bottom:1px solid var(--dux-line);padding:24px 0;margin:0}
.home-counts>div {display:flex;align-items:baseline;gap:12px}
.home-counts dt {font-size:.875rem;color:var(--dux-muted)}
.home-counts dd {font-size:1.875rem;font-weight:650;line-height:1.2;margin:0;font-variant-numeric:tabular-nums}
.home-section {padding:40px 0;border-bottom:1px solid var(--dux-line)}
.home-section-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.home-section-heading>a {color:var(--dux-action);font-size:.875rem;min-height:44px;display:flex;align-items:center}
.home-topics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-topics>a {display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px 16px;padding:20px;background:var(--dux-surface);border:1px solid var(--dux-line);border-radius:8px;color:var(--dux-ink);text-decoration:none}
.home-topics>a>span {grid-column:2;font-size:.8125rem;color:var(--dux-muted);display:flex;justify-content:space-between}
.home-topics strong {font-size:1rem;overflow-wrap:anywhere}
.home-labs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-lab-card {min-width:0;display:grid;grid-template-columns:38% minmax(0,1fr);gap:20px;background:var(--dux-surface);border:1px solid var(--dux-line);border-radius:12px;padding:20px}
.home-lab-card>div,.home-project>div {min-width:0}
.home-lab-card.no-image {grid-template-columns:minmax(0,1fr)}
.home-lab-card>img {width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;align-self:start;background:var(--dux-paper)}
.home-lab-card h3 {margin:8px 0}
.home-lab-card h3 a {color:var(--dux-ink)}
.dux-home .home-lab-card p {font-size:.875rem;line-height:1.75;margin:12px 0}
.home-text-action {display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;color:var(--dux-action)}
.home-projects {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.home-project {display:grid;grid-template-columns:minmax(0,1fr) 38%;gap:20px;align-items:start}
.home-project img {width:100%;height:auto;object-fit:contain;border-radius:8px;background:var(--dux-surface)}
.dux-home .home-project h3 {margin:8px 0}
.dux-home .home-project p {font-size:.875rem;margin-bottom:0}
.home-stories {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.home-stories article>div {display:flex;gap:8px 16px;flex-wrap:wrap;font-size:.75rem;color:var(--dux-muted);margin-bottom:12px}
.dux-home .home-stories p {font-size:.875rem}
.dux-home :is(a,button):focus-visible {outline:3px solid var(--dux-focus);outline-offset:4px}
.dux-home [hidden] {display:none!important}
@media(max-width:1000px){.home-hero{gap:32px}.home-lab-card{grid-template-columns:1fr}.home-lab-card>img{max-height:200px}.home-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-stories{gap:20px}}
@media(max-width:640px){
 .dux-home .home-wrap{padding-inline:20px}.home-hero{grid-template-columns:1fr;padding:28px 0;gap:24px}.dux-home h1{font-size:2.125rem}.home-intro>p{font-size:1rem;margin:16px 0 20px}.home-actions{gap:8px}.dux-home .home-button{font-size:.875rem;padding:10px 12px}.home-preview{padding:18px}.home-pixels{gap:12px}.home-counts{gap:12px 24px;padding:20px 0}.home-counts>div{gap:8px}.home-counts dd{font-size:1.5rem}.home-counts dt{font-size:.8125rem}.home-section{padding:28px 0}.home-section-heading{gap:8px;margin-bottom:16px}.home-topics,.home-labs,.home-projects,.home-stories{grid-template-columns:1fr}.home-topics>a{padding:16px}.home-lab-card{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}.home-lab-card>img{margin-top:6px}.home-projects{gap:24px}.home-stories article+article{border-top:1px solid var(--dux-line);padding-top:20px}
}
@media(prefers-reduced-motion:reduce){.dux-home *{scroll-behavior:auto;transition:none!important}}
@media print{.home-preview button,.home-exposures{display:none!important}.home-hero{display:block}.home-preview{break-inside:avoid}}
