/* The day/night palette follows the dial without filtering photographs or video. */
html.time-theme-active{--paper:var(--time-page,#fff);--ink:var(--time-ink,#42423f);--muted:var(--time-muted,#73726f)}
.time-theme-active body#home{background:var(--paper);color:var(--ink);transition:background-color .35s ease,color .35s ease}
.time-theme-active body#home :is(.hero>.eyebrow,.projects-intro p,.projects-grid .eyebrow,.projects-grid article>p:not(.eyebrow),.people-subtitle){color:var(--muted)}
.time-theme-active body#home .home-header-slot header{color:var(--ink);background:var(--paper)}
.time-theme-active body#home.has-floating-header :is(.home-header-slot header,#navigation){background:var(--time-header);color:var(--ink)}
.time-theme-active body#home :is(.brand img,.header-diamond img){filter:var(--time-logo-filter)}
.time-theme-active body#home .hamburger span{background:var(--ink)}
.time-theme-active body#home header .connect{background:var(--ink);color:var(--paper)}
.time-theme-active body#home :is(.hero>.text-link,.projects-grid .text-link){border-bottom-color:currentColor}
.time-theme-active body#home .people-grid .person-card{background:var(--time-card);color:var(--ink)}
.time-theme-active body#home .people-grid :is(.person-role,.person-description){color:var(--ink)}
.time-theme-active body#home .linkedin-button{color:var(--ink)}
@media(hover:hover){.time-theme-active body#home .people-grid .person-card:hover{background:#6f716e;color:#fff}.time-theme-active body#home .people-grid .person-card:hover :is(h3,.person-role,.person-description,.linkedin-button){color:#fff}}
body#home .hero{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px}
body#home .hero-video-frame{grid-column:1/-1;grid-row:1}
body#home .hero>.eyebrow{grid-column:1;grid-row:2}
body#home #hero-heading{grid-column:1;grid-row:3}
body#home .hero>.text-link{grid-column:1;grid-row:4;justify-self:start;align-self:start}
.time-control{grid-column:2;grid-row:2/5;justify-self:end;align-self:start;display:flex;gap:20px;align-items:flex-start;margin-top:24px;color:var(--ink)}
.time-control[hidden],.time-reset[hidden]{display:none}
.time-readout{display:flex;flex-direction:column;align-items:flex-start;min-width:110px;padding-top:1px}
.time-mode,.time-value{font:400 11px/1.4 Montserrat,Arial,sans-serif;color:inherit;font-variant-numeric:tabular-nums}
.time-mode{text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}
.time-value{font-size:12px;letter-spacing:.08em}
.time-heading{display:flex;align-items:center;gap:4px;min-height:20px}
.time-reset{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;border:0;border-radius:0;background:none;color:inherit;padding:5px;margin:0;cursor:pointer}
.time-reset svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round}
.time-dial{position:relative;flex:none;width:52px;height:52px;border:1px solid currentColor;border-radius:50%;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:6px}
.time-dial::before{content:"";position:absolute;inset:-4px;border-radius:50%}
.time-dial:focus-visible{outline:2px solid currentColor}
.time-dial-orbit{position:absolute;inset:0;transform:rotate(var(--time-angle,0deg));pointer-events:none}
.time-dial-dot{position:absolute;left:50%;top:19%;width:6px;height:6px;border:1px solid currentColor;border-radius:50%;transform:translate(-50%,-50%)}
.time-control.is-turning .time-dial{cursor:grabbing}
.time-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:800px){body#home .hero{grid-template-columns:minmax(0,1fr)}.time-control{grid-column:1;grid-row:5;margin-top:28px;gap:16px}.time-dial{width:41px;height:41px}.time-dial-dot{width:5px;height:5px}.time-readout{min-width:100px}.time-mode{font-size:10px}.time-value{font-size:11px}}
@media(prefers-reduced-motion:reduce){.time-theme-active body#home{transition:none}}
