/* Dusk home page. Ported from site-mockups/home-dusk.css (2026-11-19).
   Works with home-dusk.css (view chrome) and the plugin's dusk-portfolio.css (shared card styles). */
/* ==== Dusk (dusk) home page: preview ===================================================
   The same quiet language as the dusk Portfolio and Contact pages. Cards, lists and the
   closing row come straight from portfolio/dusk-portfolio.css (scoped to .dusk-portfolio);
   this file only switches that language on for the home page and adds the few pieces the
   home page needs: a container, a results row of three, and a destinations list.
   No narration, no light beam, no rotated elements. */

html:has(> body[data-view="dusk"]), body[data-view="dusk"] { background:#121216; }
body[data-view="dusk"] .dusk-film.dusk-portfolio {
  display:block;
  --np-paper:#ece7da;--np-ink:#292729;--np-soft:#605b52;--np-line-dark:#50474a;--np-line-paper:#bdb09c;
  --np-gold:#bda37b;--np-gold-bright:#d2b57d;--np-red:#853b3d;--np-text:#ede7d9;--np-muted:#c1bdb3;
  color:var(--np-text);font:1rem/1.7 system-ui,sans-serif;
}
.dusk-home .dh-wrap { width:min(100% - 2.5rem, 70rem); margin-inline:auto; padding-bottom:2rem; }

/* Hero: the Portfolio intro grid, one size up for a home page. */
.dusk-home .np-intro { grid-template-columns:1.35fr 1fr; padding:5rem 0 3rem; }
.dusk-home .np-intro h1 { font-size:clamp(2.8rem,5vw,4.5rem); line-height:1; }


/* Where to go next: the numbered list from the Portfolio page, in two columns. */
.dusk-home .dh-next { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 4rem; list-style:none; margin:0; padding:0; counter-reset:np-item; }

@media (max-width:46rem) {
  .dusk-home .np-intro { grid-template-columns:1fr; padding:3rem 0 2rem; }
  .dusk-home .dh-next { grid-template-columns:1fr; }
}

/* ---- Atmosphere: low sun through a canopy, plus a fine film grain --------------------- */
.dusk-home .dh-atmo { position:absolute; inset:0 0 auto 0; height:min(1150px,125vh); z-index:-1; overflow:hidden; pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 50%, transparent); mask-image:linear-gradient(#000 50%, transparent); }
.dusk-home .dh-light { position:absolute; inset:0;
  background:radial-gradient(ellipse 48% 58% at 74% 30%, #e6a65e4d, #c47a4626 42%, transparent 72%); }
.dusk-home .dh-leaves { position:absolute; inset:-2%; width:104%; height:104%; fill:#121216; filter:blur(4px); }
.dusk-home .dh-stem { fill:none; stroke:#121216; stroke-width:7; stroke-linecap:round; }

/* Grain: still, faint, over the whole page; text stays crisp underneath. */
.dusk-home .dh-grain { position:fixed; inset:0; z-index:40; pointer-events:none; opacity:.07; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion:no-preference) {
  .dusk-home .dh-leaves { animation:dh-canopy 26s ease-in-out infinite alternate; }
  .dusk-home .dh-branch { animation:dh-sway 7s ease-in-out infinite alternate; }
  .dusk-home .dh-branch--2 { animation-duration:9s; animation-delay:-3s; }
  .dusk-home .dh-branch--3 { animation-duration:5.5s; animation-delay:-2s; }
  .dusk-home .dh-branch--4 { animation-duration:10.5s; animation-delay:-5s; }
  .dusk-home .dh-light { animation:dh-sun 14s ease-in-out infinite; }
}
/* A breeze: each branch sways about its base and lifts slightly; the whole canopy drifts. */
@keyframes dh-sway { 0% { transform:rotate(-2.4deg) translate(0,0); } 55% { transform:rotate(1.2deg) translate(-6px,3px); } 100% { transform:rotate(2.6deg) translate(4px,-4px); } }
@keyframes dh-canopy { to { transform:translate(-1.4%,1%); } }
/* Light breathing as if a thin cloud passes. */
@keyframes dh-sun { 0%,100% { opacity:1; } 45% { opacity:.78; } 60% { opacity:.86; } }

/* ---- Lead case: call coaching, with the real scorecard -------------------------------- */
.dusk-home .dh-lead { display:grid; grid-template-columns:1.1fr .9fr; margin-bottom:2rem; color:var(--np-ink); text-decoration:none;
  background:linear-gradient(90deg, var(--np-paper) 55%, #e3dccc 55%); border-top:4px solid #b59c76; box-shadow:0 16px 50px #0003;
  transition:transform .25s ease, box-shadow .25s ease; }
.dusk-home .dh-lead:hover { transform:translateY(-3px); box-shadow:0 22px 60px #0005; }
.dusk-home .dh-lead-copy { display:flex; flex-direction:column; padding:clamp(1.8rem,4vw,3rem); }
.dusk-home .dh-lead h2 { margin:0; font:400 clamp(1.7rem,2.8vw,2.4rem)/1.12 Georgia,serif; letter-spacing:-.04em; color:var(--np-ink); max-width:18ch; }
.dusk-home .dh-stat { display:flex; align-items:baseline; gap:.9rem; margin:1.8rem 0 .2rem; font:400 clamp(3.2rem,6vw,5.2rem)/1 Georgia,serif; letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
.dusk-home .dh-from { color:#9a9184; }
.dusk-home .dh-arrow { color:var(--np-red); font-size:.55em; }
.dusk-home .dh-to { color:var(--np-ink); min-width:3.1ch; }
.dusk-home .dh-stat-label { margin:0 0 1.4rem; color:var(--np-soft); font-size:.6rem; }

.dusk-home .dh-scorecard { align-self:center; margin:clamp(1.6rem,3vw,2.6rem); padding:1.4rem 1.6rem 1.2rem; background:#faf7ef; border:1px solid #d6ccb8;
  box-shadow:0 1px 0 #d8cfbd, 0 22px 40px #29272920; }
.dusk-home .dh-scorecard figcaption { display:flex; justify-content:space-between; gap:1rem; padding-bottom:.7rem; border-bottom:2px solid var(--np-ink); font-size:.56rem; color:var(--np-ink); }
.dusk-home .dh-scorecard figcaption span:last-child { color:var(--np-soft); }
.dusk-home .dh-sc-group { padding:.8rem 0 .6rem; border-bottom:1px solid #e1d8c6; }
.dusk-home .dh-sc-group:last-child { border-bottom:0; }
.dusk-home .dh-sc-group > p { margin:0 0 .35rem; color:var(--np-red); font-size:.55rem; }
.dusk-home .dh-sc-group ul { list-style:none; margin:0; padding:0; }
.dusk-home .dh-sc-group li { position:relative; padding:.22rem 0 .22rem 1.6rem; font:400 1rem/1.35 Georgia,serif; color:var(--np-ink); }
.dusk-home .dh-sc-group li::before { content:''; position:absolute; left:0; top:.42rem; width:.8rem; height:.8rem; border:1.5px solid #8b8072; }
.dusk-home .dh-sc-group li::after { content:'\2713'; position:absolute; left:.12rem; top:.08rem; color:var(--np-red); font:700 .85rem/1.4 system-ui,sans-serif; }

/* ---- Supporting cases ------------------------------------------------------------------ */
.dusk-home .dh-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.dusk-home .dh-medals { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; margin:0 0 1rem; padding:0; font-size:.58rem; color:var(--np-soft); }
.dusk-home .dh-medals li { display:flex; align-items:center; gap:.45rem; padding:.3rem .65rem .3rem .5rem; border:1px solid var(--np-line-paper); }
.dusk-home .dh-medals li::before { content:''; width:.6rem; height:.6rem; border-radius:50%; }
.dusk-home .dh-medals b { font:400 1.05rem/1 Georgia,serif; letter-spacing:0; color:var(--np-ink); }
.dusk-home .dh-gold::before { background:#b48b3c; }
.dusk-home .dh-silver::before { background:#9a9893; }
.dusk-home .dh-bronze::before { background:#9b603b; }

.dusk-home .dh-dots-wrap { padding:1.6rem 1.6rem 1.1rem; background:#e3dccc; border-bottom:1px solid var(--np-line-paper); }
.dusk-home .dh-dots { display:grid; grid-template-columns:repeat(20,minmax(0,1fr)); gap:6px; }
.dusk-home .dh-dots i, .dusk-home .dh-dots-key i { display:block; aspect-ratio:1; border-radius:50%; border:1px solid #a89c87; }
.dusk-home .dh-dots i { transition:background-color .35s ease, border-color .35s ease; transition-delay:calc(var(--i, 0) * 14ms); }
.dusk-home .dh-dots i.on, .dusk-home .dh-dots-key i.on { background:var(--np-ink); border-color:var(--np-ink); }
.dusk-home .dh-dots.is-full i:not(.on), .dusk-home .dh-dots-key i.new { background:#b8924f; border-color:#b8924f; }
.dusk-home .dh-dots-key { display:flex; flex-wrap:wrap; gap:.4rem 1.4rem; margin:1rem 0 0; color:var(--np-soft); font-size:.55rem; }
.dusk-home .dh-dots-key span { display:flex; align-items:center; gap:.45rem; }
.dusk-home .dh-dots-key i { width:.6rem; }
.dusk-home .dh-mini-stat { margin:0 0 .9rem; color:#9a9184; font:400 1.9rem/1.1 Georgia,serif; letter-spacing:-.04em; }
.dusk-home .dh-mini-stat span:last-of-type { color:var(--np-ink); }
.dusk-home .dh-mini-stat small { display:block; margin-top:.35rem; color:var(--np-soft); font-size:.56rem; letter-spacing:.13em; }

@media (max-width:60rem) {
  .dusk-home .dh-lead { grid-template-columns:1fr; background:var(--np-paper); }
  .dusk-home .dh-scorecard { margin:0 clamp(1.4rem,4vw,3rem) clamp(1.4rem,4vw,3rem); }
  .dusk-home .dh-pair { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { .dusk-home .dh-dots i { transition:none; } }

/* Archival photo across the top of the lead case's text column, bled to the card edges. */
.dusk-home .dh-lead-photo { position:relative; margin:calc(-1 * clamp(1.8rem,4vw,3rem)) calc(-1 * clamp(1.8rem,4vw,3rem)) 1.8rem; aspect-ratio:2/1; overflow:hidden; background:#d9d2c2; border-bottom:1px solid var(--np-line-paper); }
.dusk-home .dh-lead-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 46%; filter:grayscale(1) sepia(.15) contrast(1.08); }
.dusk-home .dh-lead-photo figcaption { position:absolute; right:.7rem; bottom:.5rem; color:#efe8da; font-size:.5rem; letter-spacing:.1em; text-shadow:0 1px 2px #0009; }

/* Photo credit on the card images (CC licenses need a visible credit). */
.dusk-home .np-case-media.dh-photo { position:relative; margin:0; }
.dusk-home .dh-photo figcaption { position:absolute; right:.7rem; bottom:.5rem; color:#efe8da; font-size:.5rem; letter-spacing:.1em; text-shadow:0 1px 2px #0009; }
.dusk-home .dh-lead-photo img { object-position:50% 40%; }

/* The lead grid, slimmed to two rows of fifty under the attribution photo. */
.dusk-home .dh-strip { margin:0 0 1.1rem; }
.dusk-home .dh-dots--strip { grid-template-columns:repeat(50,minmax(0,1fr)); gap:3px; }
.dusk-home .dh-dots--strip i { border-width:1px; }
.dusk-home .dh-strip .dh-dots-key { margin-top:.7rem; }

/* Lead case, right column: the archival photo, with the scorecard laid over its lower edge. */
.dusk-home .dh-lead-side { display:flex; flex-direction:column; }
.dusk-home .dh-lead-side .dh-lead-photo { margin:0; aspect-ratio:16/9; border-bottom:0; }
.dusk-home .dh-lead-side .dh-scorecard { position:relative; z-index:1; align-self:stretch; margin:-4.5rem clamp(1.4rem,3vw,2.4rem) clamp(1.6rem,3vw,2.4rem); }
@media (max-width:60rem) { .dusk-home .dh-lead-side { order:-1; } .dusk-home .dh-lead-side .dh-scorecard { margin-top:-3rem; } }
.dusk-home .dh-lead-side .dh-lead-photo figcaption { top:.55rem; bottom:auto; }

/* ---- Tighter: less padding, smaller type, shorter gaps --------------------------------- */
.dusk-home .np-intro { padding:4rem 0 2.4rem; }
.dusk-home .np-section-head { margin-top:3rem; margin-bottom:1.2rem; }
.dusk-home .dh-lead { margin-bottom:1.5rem; }
.dusk-home .dh-lead-copy { justify-content:center; padding:clamp(1.6rem,3vw,2.4rem); }
.dusk-home .dh-lead h2 { font-size:clamp(1.6rem,2.4vw,2.1rem); }
.dusk-home .dh-stat { margin:1.2rem 0 .1rem; font-size:clamp(2.8rem,4.8vw,4.3rem); }
.dusk-home .dh-stat-label { margin-bottom:1.2rem; }
.dusk-home .dh-lead .np-result { margin-top:0; padding-top:0; }
.dusk-home .dh-lead-side .dh-lead-photo { aspect-ratio:2/1; }
.dusk-home .dh-lead-side .dh-scorecard { margin:-3.5rem clamp(1.2rem,2.4vw,2rem) clamp(1.2rem,2.4vw,2rem); padding:1rem 1.3rem .8rem; }
.dusk-home .dh-sc-group { padding:.55rem 0 .4rem; }
.dusk-home .dh-sc-group li { padding:.12rem 0 .12rem 1.45rem; font-size:.9rem; }
.dusk-home .dh-sc-group li::before { top:.3rem; width:.72rem; height:.72rem; }
.dusk-home .dh-sc-group li::after { top:-.02rem; font-size:.78rem; }
.dusk-home .dh-pair { gap:1.5rem; }
.dusk-home .dh-pair .np-case-body { padding:1.3rem 1.6rem 1.4rem; }
.dusk-home .dh-pair .np-case-label { margin-bottom:.9rem; padding-bottom:.7rem; }
.dusk-home .dh-pair .np-case h2 { margin-bottom:.7rem; font-size:clamp(1.35rem,2vw,1.7rem); }
.dusk-home .dh-pair .np-result { padding-top:1rem; }
.dusk-home .dh-medals { margin-bottom:0; }
.dusk-home .dh-mini-stat { margin-bottom:.8rem; font-size:1.7rem; }
.dusk-home .dh-strip { margin-bottom:0; }
.dusk-home .np-close { margin-top:3.5rem; }

/* ---- Each supporting case gets its own composition ------------------------------------- */
.dusk-home .dh-pair { grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); align-items:stretch; }

/* Awards: a poster. The photo fills the card; type sits on a dark fade at the bottom. */
.dusk-home .dh-poster { position:relative; min-height:30rem; justify-content:flex-end; overflow:hidden; background:#16151a; color:var(--np-text); border-top-color:#8d7656; }
.dusk-home .dh-poster .np-case-media { position:absolute; inset:0; aspect-ratio:auto; border:0; background:#16151a; }
.dusk-home .dh-poster .np-case-media img { object-position:50% 84%; filter:grayscale(1) sepia(.12) contrast(1.08) brightness(.88); transition:transform .6s ease; }
.dusk-home .dh-poster:hover .np-case-media img { transform:scale(1.03); }
.dusk-home .dh-poster .np-case-body { position:relative; flex:0 0 auto; padding:5.5rem 1.6rem 1.5rem; background:linear-gradient(transparent, #111014d9 38%, #111014f2); }
.dusk-home .dh-poster .np-case-label { border-bottom-color:#ffffff2e; color:var(--np-gold-bright); }
.dusk-home .dh-poster .np-case-label span:last-child { color:#c9c2b4; }
.dusk-home .dh-poster h2 { color:var(--np-text); }
.dusk-home .dh-poster .dh-medals { color:#c9c2b4; }
.dusk-home .dh-poster .dh-medals li { border-color:#ffffff33; }
.dusk-home .dh-poster .dh-medals b { color:var(--np-text); }
.dusk-home .dh-poster .np-result { color:var(--np-text); }
.dusk-home .dh-poster .np-result::after { color:var(--np-gold-bright); }

/* Attribution: side by side. A tall strip of the switch wall, the evidence on paper beside it. */
.dusk-home .dh-side { flex-direction:row; }
.dusk-home .dh-side .np-case-media { flex:0 0 36%; aspect-ratio:auto; border-bottom:0; border-right:1px solid var(--np-line-paper); }
.dusk-home .dh-side .np-case-media img { object-position:62% 50%; }
.dusk-home .dh-side .np-case-body { justify-content:center; }
.dusk-home .dh-side .dh-mini-stat { margin:.2rem 0 1rem; font-size:clamp(2.2rem,3.4vw,2.9rem); line-height:1; }
.dusk-home .dh-side .dh-mini-stat small { margin-top:.55rem; }
.dusk-home .dh-side .dh-dots--strip { grid-template-columns:repeat(20,minmax(0,1fr)); gap:4px; max-width:20rem; }
.dusk-home .dh-side .np-result { margin-top:0; }

@media (max-width:60rem) { .dusk-home .dh-pair { grid-template-columns:1fr; } }
@media (max-width:46rem) {
  .dusk-home .dh-poster { min-height:26rem; }
  .dusk-home .dh-side { flex-direction:column; }
  .dusk-home .dh-side .np-case-media { aspect-ratio:2/1; border-right:0; border-bottom:1px solid var(--np-line-paper); }
}

/* Poster, revised: the cropped photo above, type on dark below, joined by a fade. */
.dusk-home .dh-poster { justify-content:flex-start; min-height:0; }
.dusk-home .dh-poster .np-case-media { position:relative; inset:auto; aspect-ratio:16/11; }
.dusk-home .dh-poster .np-case-media img { object-position:50% 35%; }
.dusk-home .dh-poster .np-case-media::after { content:''; position:absolute; inset:auto 0 0; height:55%; background:linear-gradient(transparent, #16151a); }
.dusk-home .dh-poster .np-case-body { flex:1; justify-content:flex-end; margin-top:-4.5rem; padding:0 1.6rem 1.5rem; background:none; }

/* ---- Revised order: attribution leads, with the switch wall large ---------------------- */
.dusk-home .dh-lead--attr { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); background:var(--np-paper); }
.dusk-home .dh-lead--attr .dh-lead-photo { position:relative; margin:0; aspect-ratio:auto; min-height:28rem; border:0; border-right:1px solid var(--np-line-paper); }
.dusk-home .dh-lead--attr .dh-lead-photo img { position:absolute; inset:0; object-position:55% 50%; }
.dusk-home .dh-lead--attr .dh-lead-photo figcaption { top:auto; bottom:.5rem; }
.dusk-home .dh-lead--attr .dh-lead-copy { justify-content:center; }
.dusk-home .dh-lead--attr .dh-dots { max-width:22rem; gap:5px; }
.dusk-home .dh-lead--attr .dh-strip { margin:0 0 1.3rem; }

/* Call coaching, now in the pair: the switchboard photo over paper, no scorecard. */
.dusk-home .dh-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dusk-home .dh-coach .np-case-media { position:relative; aspect-ratio:16/10; }
.dusk-home .dh-coach .np-case-media img { object-position:50% 30%; }
.dusk-home .dh-coach .dh-mini-stat { margin-top:.1rem; }

@media (max-width:60rem) {
  .dusk-home .dh-lead--attr { grid-template-columns:1fr; }
  .dusk-home .dh-lead--attr .dh-lead-photo { min-height:0; aspect-ratio:16/9; border-right:0; border-bottom:1px solid var(--np-line-paper); }
}
/* Poster: the photo takes any extra height, so the type stays together at the bottom. */
.dusk-home .dh-poster .np-case-media { flex:1 1 auto; aspect-ratio:auto; min-height:19rem; }
.dusk-home .dh-poster .np-case-media img { position:absolute; inset:0; }
.dusk-home .dh-poster .np-case-body { flex:0 0 auto; }
.dusk-home .dh-poster .np-result { margin-top:0; padding-top:1.1rem; }

/* ---- Right of the poster: two shorter cards, stacked ----------------------------------- */
.dusk-home .dh-duo { display:grid; grid-template-rows:1fr 1fr; gap:1.5rem; }

/* Call coaching: the switchboard on the left, type on the right. */
.dusk-home .dh-duo .dh-coach { flex-direction:row; }
.dusk-home .dh-duo .dh-coach .np-case-media { position:relative; flex:0 0 46%; aspect-ratio:auto; border-bottom:0; border-right:1px solid var(--np-line-paper); }
.dusk-home .dh-duo .dh-coach .np-case-media img { position:absolute; inset:0; object-position:28% 40%; }
.dusk-home .dh-duo .np-case-body { justify-content:center; padding:1.3rem 1.5rem; }
.dusk-home .dh-duo .np-case-label { margin-bottom:.8rem; padding-bottom:.6rem; }
.dusk-home .dh-duo .np-case h2 { margin-bottom:.5rem; font-size:clamp(1.2rem,1.6vw,1.4rem); }
.dusk-home .dh-duo .dh-mini-stat { margin-bottom:0; font-size:1.5rem; }
.dusk-home .dh-duo .np-result { margin-top:0; padding-top:.9rem; }

/* Eastside SEO: no photo; the ranking climb set large in type. */
.dusk-home .dh-seo { background:#e3dccc; }
.dusk-home .dh-seo-stat { margin:.2rem 0 .3rem; color:var(--np-ink); font:400 clamp(2rem,3.2vw,2.7rem)/1 Georgia,serif; letter-spacing:-.05em; }
.dusk-home .dh-seo-stat span { color:var(--np-red); font-size:.6em; }
.dusk-home .dh-seo .dh-stat-label { margin:0; }

@media (max-width:46rem) {
  .dusk-home .dh-duo { grid-template-rows:auto; }
  .dusk-home .dh-duo .dh-coach { flex-direction:column; }
  .dusk-home .dh-duo .dh-coach .np-case-media { aspect-ratio:16/10; border-right:0; border-bottom:1px solid var(--np-line-paper); }
}
.dusk-home .dh-duo, .dusk-home .dh-duo > * { min-width:0; }
@media (max-width:60rem) { .dusk-home .dh-pair { grid-template-columns:minmax(0,1fr); } }

/* ---- Awards poster: only the label and title until hovered or focused ------------------- */
.dusk-home .dh-poster .dh-summary { max-width:34ch; margin:0 0 1rem; color:#cfc8ba; font-size:.88rem; line-height:1.7; }
.dusk-home .dh-poster .dh-medals { margin:0; }
@media (hover:hover) {
  .dusk-home .dh-poster .dh-more { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .45s ease, opacity .3s ease; }
  .dusk-home .dh-poster .dh-more > div { overflow:hidden; min-height:0; }
  .dusk-home .dh-poster .np-case-label span:last-child { opacity:0; transition:opacity .3s ease; }
  .dusk-home .dh-poster .np-case-media::after { transition:height .45s ease; }
  .dusk-home .dh-poster:is(:hover, :focus-visible) .dh-more { grid-template-rows:1fr; opacity:1; transition-delay:0s, .1s; }
  .dusk-home .dh-poster:is(:hover, :focus-visible) .np-case-label span:last-child { opacity:1; }
  .dusk-home .dh-poster:is(:hover, :focus-visible) .np-case-media::after { height:85%; }
}
@media (hover:hover) and (prefers-reduced-motion:reduce) {
  .dusk-home .dh-poster .dh-more, .dusk-home .dh-poster .np-case-label span, .dusk-home .dh-poster .np-case-media::after { transition:none; }
}
/* No layout shift: the photo fills the whole card and the type overlays it, so revealing
   the details grows the text block upward over the photo instead of growing the card. */
.dusk-home .dh-poster { justify-content:flex-end; min-height:26rem; }
.dusk-home .dh-poster .np-case-media { position:absolute; inset:0; flex:none; min-height:0; }
.dusk-home .dh-poster .np-case-media::after { inset:auto 0 0; width:auto; height:60%; }
.dusk-home .dh-poster .np-case-body { position:relative; flex:0 0 auto; margin:0; padding:5rem 1.6rem 1.5rem; }
@media (hover:hover) { .dusk-home .dh-poster:is(:hover, :focus-visible) .np-case-media::after { height:92%; } }
@media not (hover:hover) { .dusk-home .dh-poster .np-case-media::after { height:92%; } }

/* Inside Sales Dashboard: mirrored from coaching above, the gauge panel on the right. */
.dusk-home .dh-duo .dh-dash { flex-direction:row-reverse; }
.dusk-home .dh-duo .dh-dash .np-case-media { position:relative; flex:0 0 46%; aspect-ratio:auto; border-bottom:0; border-left:1px solid var(--np-line-paper); }
.dusk-home .dh-duo .dh-dash .np-case-media img { position:absolute; inset:0; object-position:50% 50%; }
.dusk-home .dh-dash-text { margin:0; max-width:32ch; color:var(--np-soft); font-size:.84rem; line-height:1.65; }
@media (max-width:46rem) {
  .dusk-home .dh-duo .dh-dash { flex-direction:column; }
  .dusk-home .dh-duo .dh-dash .np-case-media { aspect-ratio:16/10; border-left:0; border-bottom:1px solid var(--np-line-paper); }
}

/* ---- Every result card: label and title at rest, the rest on hover or keyboard focus ---- */
.dusk-home .dh-lead .dh-summary { max-width:38ch; margin:.2rem 0 1.1rem; color:var(--np-soft); font-size:.86rem; line-height:1.65; }
@media (hover:hover) {
  .dusk-home [data-reveal] .dh-more { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .45s ease, opacity .3s ease; }
  .dusk-home [data-reveal] .dh-more > div { overflow:hidden; min-height:0; }
  .dusk-home [data-reveal] .np-case-label span:last-child { opacity:0; transition:opacity .3s ease; }
  .dusk-home [data-reveal]:is(:hover, :focus-visible) .dh-more { grid-template-rows:1fr; opacity:1; transition-delay:0s, .1s; }
  .dusk-home [data-reveal]:is(:hover, :focus-visible) .np-case-label span:last-child { opacity:1; }
  /* Fixed heights at full size, so revealing never moves anything on the page. */
  .dusk-home .dh-lead--attr .dh-lead-photo { min-height:31rem; }
  .dusk-home .dh-pair { grid-template-rows:29rem; }
  .dusk-home .dh-poster { min-height:0; }
}
@media (hover:hover) and (prefers-reduced-motion:reduce) {
  .dusk-home [data-reveal] .dh-more, .dusk-home [data-reveal] .np-case-label span { transition:none; }
}
@media (hover:hover) { .dusk-home .dh-lead--attr .dh-lead-photo { min-height:36rem; } }

/* ---- Dashboard: dark and full-bleed, like the awards poster ---------------------------- */
.dusk-home .dh-duo .dh-dash { position:relative; flex-direction:row; overflow:hidden; background:#16151a; color:var(--np-text); border-top-color:#8d7656; }
.dusk-home .dh-duo .dh-dash .np-case-media { position:absolute; inset:0; flex:none; border:0; }
.dusk-home .dh-duo .dh-dash .np-case-media img { position:absolute; inset:0; object-position:60% 50%; filter:grayscale(1) sepia(.12) contrast(1.08) brightness(.82); transition:transform .6s ease; }
.dusk-home .dh-duo .dh-dash:hover .np-case-media img { transform:scale(1.03); }
.dusk-home .dh-duo .dh-dash .np-case-media::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, #16151af5 0%, #16151ad9 38%, #16151a40 72%, transparent); transition:opacity .45s ease; }
.dusk-home .dh-duo .dh-dash .np-case-media figcaption { z-index:1; }
.dusk-home .dh-duo .dh-dash .np-case-body { position:relative; flex:0 0 64%; }
.dusk-home .dh-dash .np-case-label { border-bottom-color:#ffffff2e; color:var(--np-gold-bright); }
.dusk-home .dh-dash .np-case-label span:last-child { color:#c9c2b4; }
.dusk-home .dh-dash h2 { color:var(--np-text); }
.dusk-home .dh-dash .dh-dash-text { color:#cfc8ba; }
.dusk-home .dh-dash .np-result { color:var(--np-text); }
.dusk-home .dh-dash .np-result::after { color:var(--np-gold-bright); }
@media (max-width:46rem) {
  .dusk-home .dh-duo .dh-dash { flex-direction:row; min-height:17rem; }
  .dusk-home .dh-duo .dh-dash .np-case-media { aspect-ratio:auto; border:0; }
  .dusk-home .dh-duo .dh-dash .np-case-body { flex:1 1 auto; justify-content:flex-end; }
  .dusk-home .dh-duo .dh-dash .np-case-media::after { background:linear-gradient(transparent, #16151ad9 45%, #16151af5); }
}

/* Dashboard photo: a speedometer, sized to the card's height and anchored right so the whole
   dial shows beside the text; the dark fade covers the photo's left edge. */
.dusk-home .dh-duo .dh-dash .np-case-media img { inset:50% -3% auto auto; width:auto; height:135%; max-width:none; object-fit:contain; transform:translateY(-50%); }
.dusk-home .dh-duo .dh-dash:hover .np-case-media img { transform:translateY(-50%) scale(1.03); }
@media (max-width:46rem) { .dusk-home .dh-duo .dh-dash .np-case-media img { right:-12%; height:105%; } }
.dusk-home .dh-duo .dh-dash .np-case-media img { -webkit-mask-image:linear-gradient(90deg, transparent, #000 35%); mask-image:linear-gradient(90deg, transparent, #000 35%); }
.dusk-home .dh-duo .dh-dash .np-case-media img { transform:translateY(-36%); }
.dusk-home .dh-duo .dh-dash:hover .np-case-media img { transform:translateY(-36%) scale(1.03); }

/* Oil gauge: aged to sit with the archival photos. Lifted blacks, warmer tone, a hair of
   softness, and its own grain, so it reads as a print rather than a modern digital shot. */
.dusk-home .dh-duo .dh-dash .np-case-media img { filter:grayscale(1) sepia(.28) contrast(.82) brightness(.86) blur(.5px); }
.dusk-home .dh-duo .dh-dash .np-case-media::before { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.55; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.dusk-home .dh-duo .dh-dash .np-case-media::after { z-index:2; }
.dusk-home .dh-duo .dh-dash .np-case-body { z-index:3; }
/* Second ageing pass on the oil gauge. */
.dusk-home .dh-duo .dh-dash .np-case-media img { filter:grayscale(1) sepia(.4) contrast(.7) brightness(.88) blur(.9px); }
.dusk-home .dh-duo .dh-dash .np-case-media::before { opacity:.8; }

/* ---- Dashboard, revised: your edited print, and the type laid across the top ---------- */
/* The print is already aged, so undo the ageing filters, grain and right-anchored sizing. */
.dusk-home .dh-duo .dh-dash .np-case-media img { inset:0; width:100%; height:100%; object-fit:cover; object-position:58% 62%; transform:none;
  -webkit-mask-image:none; mask-image:none; filter:grayscale(1) sepia(.15) brightness(.92); }
.dusk-home .dh-duo .dh-dash:hover .np-case-media img { transform:scale(1.03); }
.dusk-home .dh-duo .dh-dash .np-case-media::before { content:none; }
.dusk-home .dh-duo .dh-dash .np-case-media::after { background:linear-gradient(180deg, #16151af2 0%, #16151ad1 42%, #16151a59 72%, transparent); }

/* Type: label row across the top; title on the left, details on the right. */
.dusk-home .dh-duo .dh-dash .np-case-body { flex:1 1 auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); column-gap:2rem; align-content:start; padding:1.3rem 1.5rem; }
.dusk-home .dh-dash .np-case-label { grid-column:1 / -1; }
.dusk-home .dh-dash h2 { grid-column:1; align-self:start; margin:0; }
.dusk-home .dh-dash .dh-more { grid-column:2; grid-row:2; align-self:start; }
.dusk-home .dh-dash .dh-dash-text { font-size:.8rem; line-height:1.6; }
.dusk-home .dh-dash .np-result { padding-top:.7rem; }
@media (max-width:46rem) {
  .dusk-home .dh-duo .dh-dash .np-case-body { grid-template-columns:1fr; row-gap:.6rem; }
  .dusk-home .dh-dash .dh-more { grid-column:1; grid-row:auto; }
  .dusk-home .dh-duo .dh-dash .np-case-media::after { background:linear-gradient(180deg, #16151af2 0%, #16151ad9 55%, #16151a80 85%, #16151a59); }
}
.dusk-home .dh-duo .dh-dash .np-case-media img { object-position:50% 18%; }
.dusk-home .dh-duo .dh-dash .np-case-media::after { background:linear-gradient(180deg, #16151af2 0%, #16151acc 36%, #16151a40 62%, transparent 82%); }
@media (max-width:46rem) { .dusk-home .dh-duo .dh-dash .np-case-media::after { background:linear-gradient(180deg, #16151af2 0%, #16151ad9 55%, #16151a80 85%, #16151a59); } .dusk-home .dh-duo .dh-dash .np-case-media img { object-position:50% 40%; } }

/* ---- Dashboard: title top right; the dark cover only appears on hover ------------------ */
.dusk-home .dh-duo .dh-dash .np-case-body { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto auto; align-content:start; }
.dusk-home .dh-dash .np-case-label { grid-column:1; grid-row:1; align-self:start; }
.dusk-home .dh-dash .np-case-label span:last-child { display:none; }
.dusk-home .dh-dash h2 { grid-column:2; grid-row:1; justify-self:end; align-self:start; margin:0; text-align:right; text-shadow:0 1px 14px #000c, 0 0 2px #0008; }
.dusk-home .dh-dash .dh-more { grid-column:1; grid-row:2; }
@media (hover:hover) {
  .dusk-home .dh-duo .dh-dash .np-case-media::after { opacity:0; transition:opacity .45s ease; }
  .dusk-home .dh-duo .dh-dash:is(:hover, :focus-visible) .np-case-media::after { opacity:1; }
  .dusk-home .dh-dash .np-case-label { text-shadow:0 1px 10px #000c; }
}
@media (max-width:46rem) {
  .dusk-home .dh-duo .dh-dash .np-case-body { grid-template-columns:1fr; }
  .dusk-home .dh-dash .np-case-label, .dusk-home .dh-dash h2, .dusk-home .dh-dash .dh-more { grid-column:1; grid-row:auto; }
  .dusk-home .dh-dash h2 { justify-self:start; text-align:left; }
}

/* Dashboard: only the white title at rest; on hover the whole card darkens evenly. */
.dusk-home .dh-duo .dh-dash .np-case-media::after { background:#16151ad1; }
@media (hover:hover) {
  .dusk-home .dh-dash .np-case-label { opacity:0; transition:opacity .35s ease; }
  .dusk-home .dh-dash:is(:hover, :focus-visible) .np-case-label { opacity:1; }
}
@media (max-width:46rem) { .dusk-home .dh-duo .dh-dash .np-case-media::after { background:#16151ad1; } }

/* Canopy, revised: twigs join every leaf to its branch; a softer, fainter layer sits behind. */
.dusk-home .dh-leaves { filter:none; }
.dusk-home .dh-twig { fill:none; stroke:#121216; stroke-width:3.2; stroke-linecap:round; }
.dusk-home .dh-petiole { stroke-width:2.2; }
.dusk-home .dh-layer-far { opacity:.55; }

/* Canopy as pre-rendered images: each branch's shadow is drawn and blurred once, then only
   moved, which the browser does almost for free. Same sway, far less work per frame. */
.dusk-home div.dh-leaves { position:absolute; inset:-2%; width:104%; height:104%; }
.dusk-home .dh-leaves img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:100% 0; will-change:transform; }
.dusk-home .dh-leaves .dh-far { opacity:.5; }

/* Canopy, final structure: crisp vector leaves in front (no live blur, so they stay sharp at
   any size and cheap to move), soft pre-blurred images behind. */
.dusk-home .dh-leaves-near { position:absolute; inset:0; width:100%; height:100%; fill:#121216; }
.dusk-home .dh-leaves .dh-far { opacity:.42; }

/* Lead card on narrow desktop windows: let the photo shrink instead of widening the page. */
@media (max-width:60rem) { .dusk-home .dh-lead--attr { grid-template-columns:minmax(0,1fr); } }
@media (max-width:60rem) { .dusk-home .dh-lead--attr .dh-lead-photo { min-height:0 !important; width:100%; } }
.dusk-home .dh-leaves .dh-near { opacity:.92; }

/* View bar in dusk: one slim line, the slider only, so the headline leads the page. */
body[data-view="dusk"] .view-bar:not(.is-floating) :is(.view-introduction, .view-drawn-arrow, .slider-handnote) { display:none; }
body[data-view="dusk"] .view-bar:not(.is-floating) .view-bar-inner { justify-content:flex-end; padding-block:.55rem; }
body[data-view="dusk"] .view-bar:not(.is-floating) .view-question { font-size:.6rem; opacity:.7; }
/* Same layout docked and floating: slider on the right, same height. */
body[data-view="dusk"] .view-bar .view-bar-inner { justify-content:flex-end; padding-block:.7rem; }
body[data-view="dusk"] .view-bar.is-floating .view-bar-inner { justify-content:flex-end; }
body[data-view="dusk"] .view-bar:not(.is-floating) .view-bar-inner { padding-block:.7rem; }

/* ---- After the results: the way to everything else ------------------------------------ */
.dusk-home .dh-all { display:grid; grid-template-columns:auto 1fr auto; align-items:baseline; gap:1.4rem; margin-top:1.5rem; padding:1.4rem 0; border-top:1px solid var(--np-line-dark); border-bottom:1px solid var(--np-line-dark); color:var(--np-text); text-decoration:none; }
.dusk-home .dh-all-label { font:400 clamp(1.4rem,2.2vw,1.8rem)/1.1 Georgia,serif; letter-spacing:-.03em; }
.dusk-home .dh-all-meta { color:#8f887b; font-size:.6rem; }
.dusk-home .dh-all-arrow { color:var(--np-gold-bright); font-size:1.4rem; transition:transform .25s ease; }
.dusk-home .dh-all:hover .dh-all-label { color:#fff7e6; }
.dusk-home .dh-all:hover .dh-all-arrow { transform:translateX(6px); }
.dusk-home .dh-all:focus-visible { outline:2px solid #a77240; outline-offset:4px; }
.dusk-home .dh-all + .np-close { margin-top:3rem; border-top:0; padding-top:0; }
@media (max-width:46rem) {
  .dusk-home .dh-all { grid-template-columns:1fr auto; row-gap:.45rem; }
  .dusk-home .dh-all-meta { grid-column:1; grid-row:2; }
  .dusk-home .dh-all-arrow { grid-column:2; grid-row:1 / span 2; align-self:center; }
}

/* View-all, revised: a compact gold link, right-aligned under the cards, not a heading. */
.dusk-home .dh-all-wrap { display:flex; justify-content:flex-end; margin:1.3rem 0 0; }
.dusk-home .dh-all { display:inline-flex; align-items:center; gap:.9rem; margin:0; padding:.6rem 0; border:0; border-bottom:1px solid #bda37b66; color:var(--np-gold-bright); }
.dusk-home .dh-all-label { font:500 .7rem/1 'Courier New',monospace; letter-spacing:.16em; }
.dusk-home .dh-all-meta { color:#8f887b; font-size:.6rem; }
.dusk-home .dh-all-arrow { font-size:1rem; line-height:1; }
.dusk-home .dh-all:hover { border-bottom-color:var(--np-gold-bright); }
.dusk-home .dh-all:hover .dh-all-label { color:#f0d9a8; }
.dusk-home .dh-all-wrap + .np-close { margin-top:4.5rem; padding-top:2.6rem; border-top:1px solid var(--np-line-dark); }
@media (max-width:46rem) { .dusk-home .dh-all { display:inline-flex; } .dusk-home .dh-all-meta { display:none; } }

/* Get in touch: the same gold language as the links, outlined rather than filled. */
.dusk-home .np-close a { gap:1.4rem; padding:.95rem 1.3rem; background:transparent; color:var(--np-gold-bright); border:1px solid #bda37b99;
  font:500 .7rem/1 'Courier New',monospace; letter-spacing:.16em; text-transform:uppercase; transition:background-color .25s ease, color .25s ease, border-color .25s ease; }
.dusk-home .np-close a span { font-size:.9rem; letter-spacing:0; transition:transform .25s ease; }
.dusk-home .np-close a:hover, .dusk-home .np-close a:focus-visible { background:var(--np-gold-bright); border-color:var(--np-gold-bright); color:#16151a; }
.dusk-home .np-close a:hover span { transform:translate(2px,-2px); }

/* ---- Dusk entrance -------------------------------------------------------------------- */
/* While it plays, the shared view-switching fades and ink-wipe pause are held off (these
   !important rules beat script animations), so this choreography is the only one. */
body[data-view="dusk"].dusk-entering :is(header, .view-bar, .dusk-home, footer, footer > *) { visibility:visible !important; opacity:1 !important; }

@keyframes dh-in { from { opacity:0; } to { opacity:1; } }
@keyframes dh-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes dh-word { from { opacity:0; transform:translateY(.32em); } to { opacity:1; transform:none; } }
.dusk-home .dh-w { display:inline-block; }

body[data-view="dusk"].dusk-entering .dh-atmo { animation:dh-in 2.2s cubic-bezier(.3,.6,.2,1) both; }
body[data-view="dusk"].dusk-entering :is(header, .view-bar) { animation:dh-in .9s ease-out both; }
body[data-view="dusk"].dusk-entering .dusk-home .np-eyebrow { animation:dh-rise .8s cubic-bezier(.16,.7,.2,1) .15s both; }
body[data-view="dusk"].dusk-entering .dusk-home .dh-w { animation:dh-word .75s cubic-bezier(.16,.7,.2,1) calc(.3s + var(--i) * 55ms) both; }
body[data-view="dusk"].dusk-entering .dusk-home .np-intro { border-bottom-color:transparent; animation:dh-rule .9s ease-out .85s forwards; }
@keyframes dh-rule { to { border-bottom-color:var(--np-line-dark); } }
body[data-view="dusk"].dusk-entering .dusk-home .np-section-head { animation:dh-rise .8s cubic-bezier(.16,.7,.2,1) .9s both; }
body[data-view="dusk"].dusk-entering .dusk-home .dh-lead { animation:dh-rise .9s cubic-bezier(.16,.7,.2,1) 1.02s both; }
body[data-view="dusk"].dusk-entering .dusk-home .dh-poster { animation:dh-rise .9s cubic-bezier(.16,.7,.2,1) 1.14s both; }
body[data-view="dusk"].dusk-entering .dusk-home .dh-duo > :first-child { animation:dh-rise .9s cubic-bezier(.16,.7,.2,1) 1.22s both; }
body[data-view="dusk"].dusk-entering .dusk-home .dh-duo > :last-child { animation:dh-rise .9s cubic-bezier(.16,.7,.2,1) 1.3s both; }
@media (prefers-reduced-motion:reduce) { body.dusk-entering * { animation-duration:0s !important; animation-delay:0s !important; } }
