/* The design team's top of the homepage (design-top.mjs) keeps its own type: Instrument Serif and
   its own heading sizes, ahead of the page-wide direction rules in directions.css and essentials.css. */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/brief-reference/fonts/instrument-serif-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/brief-reference/fonts/instrument-serif-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
[data-direction] .zeami-v2 :is(h1,h2,h3){font-family:'Instrument Serif',Georgia,serif!important;font-weight:400!important;letter-spacing:-.01em!important}
[data-direction] .zeami-v2 h1{font-size:clamp(40px,5.4vw,72px)!important;line-height:1!important}
[data-direction] .zeami-v2 h2{line-height:1.05!important}
[data-direction] #top.zeami-v2{padding:56px 24px 24px!important;gap:48px!important}
/* The four in-days steps (design-top.mjs `steps`): a photo, then three drawings. Motion runs only
   while the section is on screen (essentials-navigation.mjs sets data-visible). */
.zv{display:flex;position:absolute;inset:0;min-width:0}
#indays:not([data-visible="true"]) .zv,#indays:not([data-visible="true"]) .zv *{animation-play-state:paused!important}
.zv p{margin:0}
.zv-tick{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.zv-label{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--identity-deep)}
.zv-big{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(40px,4.4vw,56px);line-height:1;color:var(--identity-ink)}
.zv-note{margin-top:6px!important;font-size:14px;line-height:1.4;color:var(--identity-ink);opacity:.8}

/* Day 1: a photograph and one chip saying what happened. Washed pale toward the page's plum and
   paper (Beck's comment, 8 Oct), so it sits with the drawn steps beside it. */
.zv-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.6) brightness(1.08) contrast(.88);animation:zvDrift 16s ease-in-out infinite alternate}
.zv-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,color-mix(in srgb,var(--identity-soft) 55%,transparent),transparent 50%),color-mix(in srgb,var(--identity-paper) 22%,transparent)}
.zv-chip{position:absolute;left:12px;bottom:12px;z-index:1;display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 24px);background:#fff;border:1px solid var(--identity-line);border-radius:4px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.3;color:var(--identity-ink);animation:zvRise .8s .3s ease-out both}
.zv-chip .zv-tick{color:var(--identity-deep)}
.zv-chip b{flex:none;background:var(--identity-ink);color:var(--identity-paper);padding:3px 8px;border-radius:3px;font-size:11px}

.zv-button{margin-top:auto!important;display:flex;justify-content:center;align-items:center;gap:8px;background:var(--identity-ink);color:var(--identity-paper);font-weight:700;padding:10px;border-radius:4px;animation:zvNudge 3s ease-in-out infinite}

/* Photos, days 7 to 21: the design's own drawings (design-top.mjs `plans`). */
.zv-plan{padding:14px}
.zp-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--identity-deep);stroke-width:1.5;vector-effect:non-scaling-stroke}
.zp-lines line{vector-effect:non-scaling-stroke}
.zp-node{position:absolute;translate:-50% -50%;background:#fff;border:1px solid var(--identity-line);border-radius:4px;padding:6px 8px;font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--identity-ink);white-space:nowrap;animation:zvIn 6s ease-out infinite both}
.zp-node b{position:absolute;right:-6px;top:-14px;background:var(--identity-ink);color:var(--identity-paper);font-weight:400;font-size:10px;padding:2px 5px;border-radius:4px}
.zp-node:nth-of-type(2){animation-delay:.3s}.zp-node:nth-of-type(3){animation-delay:.6s}.zp-node:nth-of-type(4){animation-delay:.9s}.zp-node:nth-of-type(5){animation-delay:1.2s}
.zp-foot{position:absolute;left:12px;right:12px;bottom:12px;font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--identity-deep)}
.zp-legend{display:flex;flex-wrap:wrap;gap:6px 14px}
.zp-legend span{display:inline-flex;align-items:center;gap:6px}
.zp-legend i{width:10px;height:10px;background:var(--identity-soft);border:1px solid var(--identity-line)}
.zp-legend i.zp-dark{background:var(--identity-ink);border-color:var(--identity-ink)}
.zp-tile{position:absolute;translate:-50% -50%;width:clamp(40px,19%,52px);aspect-ratio:1;border-radius:4px;display:grid;place-items:center;background:var(--identity-soft);border:1px solid var(--identity-line);color:var(--identity-deep)}
.zp-human{background:var(--identity-ink);border-color:var(--identity-ink);color:var(--identity-paper);animation:zvNudge 3s ease-in-out infinite}
.zp-icon{width:22px;height:22px;stroke-width:1.5}
.zp-card{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--identity-line);border-radius:4px;padding:14px;overflow:hidden;color:var(--identity-ink)}
.zp-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:600;font-size:14px;white-space:nowrap}
.zp-head b{background:var(--identity-soft);color:var(--identity-deep);border-radius:4px;padding:4px 7px;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.zp-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.zp-stat{border:1px solid var(--identity-line);border-radius:4px;padding:8px 10px;min-width:0}
.zp-stat p:first-child{font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--identity-deep)}
.zp-stat p:last-child{margin-top:4px!important;font-weight:600;font-size:15px;white-space:nowrap}
.zp-ranks{display:flex;flex-direction:column;gap:6px;font-size:11px}
.zp-rank{display:flex;align-items:center;gap:8px}
.zp-rank span:first-child,.zp-rank span:last-child{font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--identity-deep)}
.zp-rank span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zp-rank>i{flex:none;width:44px;height:4px;border-radius:2px;background:var(--identity-soft);overflow:hidden}
.zp-rank>i i{display:block;height:100%;background:var(--identity-deep);transform-origin:left;animation:zvGrow 6s ease-in-out infinite}

/* The hero visual (design-top.mjs): the design's line drawing. */
.zh{position:absolute;inset:0}
#top:not([data-visible="true"]) .zh *{animation-play-state:paused!important}

@keyframes zvDrift{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes zvRise{from{opacity:0;transform:translateY(8px)}}
@keyframes zvIn{0%{opacity:0;transform:translateY(6px)}12%,86%{opacity:1;transform:none}100%{opacity:0}}
@keyframes zvGrow{0%{transform:scaleX(0)}30%,100%{transform:scaleX(1)}}
@keyframes zvNudge{0%,70%,100%{transform:scale(1)}80%{transform:scale(1.03)}}
@media(prefers-reduced-motion:reduce){.zv,.zv *{animation:none!important}}

/* Better for the business, better for the team (design-top.mjs `split`). */
.zt-when{margin:12px 0 0;font-family:'IBM Plex Mono',monospace;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--identity-deep);text-align:right}
.zt-split{max-width:1200px;margin:0 auto;padding:56px 24px 72px}
.zt-split h2{font-size:clamp(32px,4vw,52px);max-width:800px}
.zt-lede{max-width:640px;margin:20px 0 0;font-size:19px;line-height:1.55;color:var(--identity-muted)}
.zt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px;margin-top:40px}
.zt-card{min-width:0;border:1px solid var(--identity-line);border-radius:4px;padding:32px;background:#fff}
.zt-card h3{display:flex;align-items:center;gap:14px;margin:0 0 24px;font-size:28px}
.zt-card ul{display:grid;gap:22px;margin:0;padding:0;list-style:none}
.zt-card li{display:flex;gap:16px;align-items:flex-start}
.zt-card li>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.zt-card strong{font-size:17px;line-height:1.35}
.zt-card li span:not(.zt-icon){font-size:15px;line-height:1.55;color:var(--identity-muted)}
.zt-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:4px;background:var(--identity-soft);color:var(--identity-deep)}
.zt-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:480px){.zt-split{padding:40px 16px 56px}.zt-card{padding:22px 18px}.zt-when{text-align:left}}
