/* Deepak Bhandarkar Photography — shared editorial design system
   (hannahmiles.com-inspired). Cream paper canvas, giant condensed serif
   display type (Instrument Serif, vertically stretched), boxed uppercase
   buttons, staggered photo grids, fixed top/bottom chrome.
   Used by every page except index.html (which inlines the same system). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- theme tokens (paper = default) ---- */
:root {
  --bg: #f1efe9;
  --ink: #171412;
  --soft: #59544c;
  --faint: #8b857a;
  --line: rgba(23,20,18,0.16);
  --line-strong: rgba(23,20,18,0.5);
  --card: #e5e1d7;
  --overlay: rgba(241,239,233,0.96);
}
html[data-theme="dark"] {
  --bg: #141210;
  --ink: #f1efe9;
  --soft: #b6afa3;
  --faint: #7d766b;
  --line: rgba(241,239,233,0.18);
  --line-strong: rgba(241,239,233,0.55);
  --card: #1e1b18;
  --overlay: rgba(20,18,16,0.97);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 5px; }

/* ---- type ---- */
.display {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: .005em;
  margin: 0;
}
.stretch { display: inline-block; transform: scaleY(1.32); transform-origin: 50% 55%; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; }

/* ---- boxed buttons ---- */
.box-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.box-btn { transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease); }
.box-btn:hover, .box-btn.active { background: var(--ink); color: var(--bg); }

/* ---- buttery micro-interactions (GPU-composited transforms + easing) ---- */
:root { --ease: cubic-bezier(.22,1,.36,1); }
* { -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 84px; scroll-padding-bottom: 92px; }
body { text-rendering: optimizeLegibility; }
#topbar { transition: background .45s var(--ease), -webkit-backdrop-filter .45s var(--ease), backdrop-filter .45s var(--ease), border-color .45s var(--ease); }
.box-btn:active { transform: scale(.95); transition-duration: .09s; }
@media (hover: hover) {
  .box-btn:hover { transform: translateY(-2px); }
  .story:hover, .genre-tile:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .box-btn:hover, .box-btn:active, .story:hover, .genre-tile:hover { transform: none; }
  html { scroll-behavior: auto; scroll-padding-top: 0; }
}

.text-link {
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  border: none; border-bottom: 1px solid var(--ink); padding: 0 0 3px; cursor: pointer;
  background: none; color: var(--ink);
}
.chip {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--soft); border: 1px solid var(--line);
  padding: 8px 13px; margin: 0 8px 8px 0;
}

/* ---- fixed top bar ---- */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 3vw, 36px);
  pointer-events: none;
}
#topbar > * { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.wordmark span { color: var(--faint); font-weight: 600; }
/* DB monogram — swaps with the theme so only the matching file is fetched */
.wordmark-logo { width: 24px; height: 24px; flex: none; background: no-repeat center / contain; background-image: url('assets/logo-light.png'); }
html[data-theme="dark"] .wordmark-logo { background-image: url('assets/logo-dark.png'); }
#topbar.scrolled { background: var(--overlay); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }

/* ---- fixed bottom bar ---- */
#bottombar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 clamp(14px, 2.5vw, 28px) 18px;
  pointer-events: none;
}
#bottombar .bar-group { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px; pointer-events: auto; scrollbar-width: none; min-width: 0; }
#bottombar .bar-group::-webkit-scrollbar { display: none; }
#bottombar .bar-group:last-child { flex: none; }
.bar-toggle { display: none; pointer-events: auto; align-items: center; gap: 10px; }
.bt-caret { font-size: 9px; transition: transform .25s; }
#bottombar.menu-open .bt-caret { transform: rotate(180deg); }

/* ---- mobile: collapse the left group into a drop-up menu ---- */
@media (max-width: 600px) {
  .bar-toggle { display: inline-flex; }
  #bottombar > .bar-group:first-of-type {
    position: absolute; bottom: calc(100% - 4px); left: clamp(12px, 3vw, 24px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border: 1px solid var(--ink);
    min-width: 190px; max-height: 60vh; overflow-y: auto; overflow-x: hidden;
    box-shadow: 0 22px 50px -22px rgba(0,0,0,0.55);
  }
  #bottombar:not(.menu-open) > .bar-group:first-of-type { display: none; }
  #bottombar > .bar-group:first-of-type .box-btn { border: none; border-bottom: 1px solid var(--line); width: 100%; justify-content: flex-start; }
  #bottombar > .bar-group:first-of-type .box-btn:last-child { border-bottom: none; }
}

/* ---- page header (giant centered word) ---- */
.page-head { padding: clamp(130px, 18vh, 210px) clamp(18px, 4vw, 64px) clamp(60px, 8vw, 110px); text-align: center; }
.page-head .display { font-size: clamp(56px, 11vw, 170px); }
.page-head .sub { margin-top: clamp(40px, 5vw, 70px); font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }

.section-pad { padding: 0 clamp(18px, 4vw, 64px) clamp(90px, 12vw, 160px); max-width: 1500px; margin: 0 auto; }

/* ---- masonry photo grid: full uncropped frames at their natural ratio,
   packed by columns so varied shapes tile without gaps ---- */
.pgrid {
  column-count: 4;
  column-gap: clamp(16px, 2.6vw, 40px);
}
.ph { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 clamp(16px, 2.6vw, 40px); border: none; background: none; cursor: pointer; text-align: left; break-inside: avoid; -webkit-column-break-inside: avoid; }
/* placeholder height before a photo loads: keeps the grid from collapsing
   (so only near-viewport images load first) and prevents layout jump */
.pgrid .ph { min-height: 160px; }
.ph img { width: 100%; height: auto; object-fit: cover; background: var(--card); transition: opacity .4s; display: block; }
.ph .cap {
  position: absolute; left: 0; bottom: 8px; right: 0;
  padding: 0 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f1efe9;
  opacity: 0; transition: opacity .35s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.ph:hover .cap { opacity: 1; }
.ph:hover img { opacity: .88; }
/* natural aspect ratio for the browsing grids; hero keeps its fixed collage crops */
#heroTop .r-a img, #heroTop .r-b img, #heroTop .r-c img, #heroTop .r-d img,
#heroBottom .r-a img, #heroBottom .r-b img, #heroBottom .r-c img, #heroBottom .r-d img { object-fit: cover; }
.r-a img { aspect-ratio: 3/4; } .r-b img { aspect-ratio: 1/1; } .r-c img { aspect-ratio: 4/5; } .r-d img { aspect-ratio: 2/3; }
.pgrid .ph img { aspect-ratio: auto; }

/* ---- story cards ---- */
.story-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 70px); }
.story { display: block; }
.story img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--card); transition: opacity .35s; }
.story:hover img { opacity: .88; }
.story .s-date { display: block; margin: 18px 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.story h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 0 0 10px; }
.story p { font-size: 13.5px; line-height: 1.65; color: var(--soft); margin: 0; }
.story .s-read { display: inline-block; margin-top: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* ---- inverted statement band ---- */
.band { background: var(--ink); color: var(--bg); }
.band .statement { text-align: center; font-size: clamp(34px, 5.6vw, 92px); line-height: .9; max-width: 1250px; margin: 0 auto; }

/* ---- underline form ---- */
.u-form { display: flex; flex-direction: column; }
.u-form input, .u-form select, .u-form textarea {
  background: none; border: none; border-bottom: 1px solid rgba(128,128,128,0.45);
  padding: 16px 0; color: inherit; font-family: inherit; font-size: 15px; outline: none;
  border-radius: 0; transition: border-color .3s;
}
.u-form select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.u-form select option { color: #171412; background: #f1efe9; }
.u-form input::placeholder, .u-form textarea::placeholder { color: inherit; opacity: .4; }
.u-form input:focus, .u-form textarea:focus, .u-form select:focus { border-bottom-color: currentColor; }
.u-form textarea { resize: vertical; min-height: 90px; }

/* ---- footer ---- */
/* ---- newsletter ---- */
.newsletter { border-top: 1px solid var(--line); padding: clamp(60px, 9vw, 116px) clamp(18px, 4vw, 64px); text-align: center; }
.nl-inner { max-width: 660px; margin: 0 auto; }
.nl-title { font-size: clamp(28px, 5.5vw, 60px); margin: 12px 0 16px; }
.nl-sub { color: var(--soft); font-size: 14.5px; line-height: 1.7; max-width: 500px; margin: 0 auto 28px; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl-form input { flex: 1 1 240px; min-width: 0; background: var(--card); border: 1px solid var(--line); color: var(--ink); padding: 13px 16px; font: inherit; font-size: 14px; transition: border-color .25s var(--ease); }
.nl-form input::placeholder { color: var(--faint); }
.nl-form input:focus { outline: none; border-color: var(--ink); }
.nl-form .box-btn { padding: 13px 22px; }
.nl-msg { margin: 18px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; min-height: 14px; }
.nl-msg.ok { color: #4a9d6b; }
.nl-msg.err { color: #c0603e; }
html[data-theme="dark"] .nl-msg.ok { color: #7fce9c; }
html[data-theme="dark"] .nl-msg.err { color: #e0866a; }

footer.site { border-top: 1px solid var(--line); padding: 28px clamp(18px, 4vw, 64px) 110px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer.site, footer.site a { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
footer.site a:hover { color: var(--ink); }
footer.site .f-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---- lightbox ---- */
#lightbox { display: flex; position: fixed; inset: 0; z-index: 80; background: rgba(10,9,8,0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); align-items: center; justify-content: center; padding: clamp(20px, 5vw, 70px); }
#lbImg { max-width: min(1800px, 95vw); max-height: 84vh; object-fit: contain; transform-origin: center center; transition: transform .12s ease-out; cursor: zoom-in; will-change: transform; user-select: none; }
#lbImg.zoomed { cursor: grab; }
#lbImg.dragging { cursor: grabbing; transition: none; }
.lb-btn { position: absolute; background: none; border: 1px solid rgba(241,239,233,0.5); color: #f1efe9; cursor: pointer; z-index: 4; transition: background .25s, color .25s; font-size: 20px; }
.lb-btn:hover { background: #f1efe9; color: #171412; }
#lbClose { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 24px; }
#lbPrev, #lbNext { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
#lbPrev { left: clamp(12px, 3vw, 38px); } #lbNext { right: clamp(12px, 3vw, 38px); }
.lb-zoom-controls { position: absolute; bottom: 22px; right: 24px; left: auto; transform: none; display: flex; gap: 8px; z-index: 4; }
.lb-zoom { position: static; width: 44px; height: 44px; }
.lb-watermark { position: absolute; left: 24px; bottom: 26px; z-index: 4; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,239,233,0.5); pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
#lbMeta { text-align: center; margin-top: 18px; }
#lbGenre { display: block; font-size: 10px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: rgba(241,239,233,0.55); margin-bottom: 7px; }
#lbTitle { display: block; font-family: 'Instrument Serif', serif; font-size: 26px; color: #f1efe9; text-transform: uppercase; }
#lbCam { display: none; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(241,239,233,0.6); }
#lbCam.show { display: block; }
#lbCam .dot { margin: 0 8px; opacity: .5; }

/* ---- EXIF story panel ---- */
.lb-exif { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 15px; }
.lb-exif:empty { display: none; }
.lb-exif .ex { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; letter-spacing: .03em; color: rgba(241,239,233,0.92); }
.lb-exif .ex b { font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,239,233,0.42); }

/* ---- share ---- */
.lb-share { position: relative; display: inline-block; margin-top: 16px; }
.lb-share-btn { background: transparent; color: #f1efe9; border-color: rgba(241,239,233,0.5); }
.lb-share-btn:hover { background: #f1efe9; color: #141210; }
.lb-share-menu { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); display: flex; flex-direction: column; min-width: 168px; background: rgba(20,18,16,0.98); border: 1px solid rgba(241,239,233,0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.lb-share-menu[hidden] { display: none; }
.lb-share-menu > * { padding: 12px 16px; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(241,239,233,0.08); color: #f1efe9; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.lb-share-menu > *:last-child { border-bottom: none; }
.lb-share-menu > *:hover { background: rgba(241,239,233,0.09); }

/* ---- "more like this" (visual similarity) ---- */
.lb-similar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lb-similar:empty { display: none; }
.lb-sim-label { flex-basis: 100%; font-size: 9.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(241,239,233,0.45); margin-bottom: 2px; }
.lb-sim-thumb { padding: 0; border: 1px solid rgba(241,239,233,0.25); background: none; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); }
.lb-sim-thumb:hover { border-color: #f1efe9; transform: translateY(-2px); }
.lb-sim-thumb img { width: 66px; height: 48px; object-fit: cover; display: block; }

/* ---- reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ---- blur-up progressive images (animation, not transition, so it never
   collides with the scroll-dim / hover transitions on the same imgs) ---- */
img.blur-up { filter: blur(12px); }
img.blur-up.blur-done { animation: blurIn .7s ease forwards; }
@keyframes blurIn { from { filter: blur(12px); } to { filter: blur(0); } }

/* ---- page cross-fade (soft in on load, out on internal navigation) ---- */
@keyframes dp-page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: dp-page-in .55s ease both; }
body.page-exit { opacity: 0 !important; transition: opacity .22s ease; animation: none; }

/* ---- scroll dim: photos recede while scrolling so the type shows through ---- */
.pgrid .ph img, .story img, .genre-tile img { transition: opacity .55s ease; }
html.dp-scrolling .pgrid .ph img,
html.dp-scrolling .story img,
html.dp-scrolling .genre-tile img { opacity: .14; }

/* ---- sticky giant word: the grid scrolls over the title ---- */
.sticky-scope { padding-top: clamp(130px, 18vh, 210px); }
.sticky-scope .page-head { position: sticky; top: calc(50vh - 150px); z-index: 0; padding: 0 clamp(18px, 4vw, 64px); }
.sticky-scope main, .sticky-scope .section-pad { position: relative; z-index: 1; }
.sticky-scope main.section-pad { margin-top: clamp(60px, 8vw, 110px); }

/* ---- letter / word type reveals ---- */
.lt, .wd { display: inline-block; opacity: 0; transform: translateY(60%); }
.lt-go .lt, .lt-go .wd,
[data-reveal].shown .lt, [data-reveal].shown .wd {
  animation: dp-rise .85s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--d, 0s);
}
.lt-word { display: inline-block; }
@keyframes dp-rise { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }

/* ---- trailing cursor (fine pointers only) ---- */
#dp-cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  pointer-events: none; z-index: 120; opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: width .3s ease, height .3s ease, opacity .3s ease;
}
#dp-cursor .cl { font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; font-family: 'Manrope', sans-serif; }
#dp-cursor.on-link { width: 44px; height: 44px; }
#dp-cursor.on-photo { width: 68px; height: 68px; }
#dp-cursor.on-photo .cl { opacity: 1; }
@media (pointer: coarse) { #dp-cursor { display: none; } }

/* ---- scroll progress hairline ---- */
#dp-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: currentColor; z-index: 60; pointer-events: none; }

/* ---- lightbox entrance + photo cross-fade ---- */
/* lightbox fades in AND out via .open. The overlay is always laid out and
   painted at opacity:0 (no display:none / visibility:hidden) so the browser
   always has a rendered start value — the opacity transition then fires
   reliably in BOTH directions on every browser incl. Safari/iOS. Interaction
   is gated purely with pointer-events. */
#lightbox { opacity: 0; pointer-events: none; transition: opacity .34s var(--ease); }
#lightbox.open { opacity: 1; pointer-events: auto; }
#lbImg { transition: transform .12s ease-out, opacity .3s ease; }

@media (prefers-reduced-motion: reduce) {
  .lt, .wd { opacity: 1 !important; transform: none !important; animation: none !important; }
  body { animation: none !important; }
  #dp-cursor { display: none !important; }
}

/* ---- misc ---- */
.empty-note { text-align: center; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 40px 0; }
.loading { text-align: center; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 120px 20px; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .story-row { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 1100px) { .pgrid { column-count: 3; } }
@media (max-width: 760px) {
  .pgrid { column-count: 2; }
  #topbar .wordmark span:not(.wordmark-logo) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- browse by colour ---- */
/* sticky top bar (pinned below the fixed top bar) so photos scroll UNDER it,
   never over it */
#colorBar { position: fixed; top: 74px; left: 0; right: 0; z-index: 42; display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; padding: 11px clamp(18px, 4vw, 64px); background: var(--overlay); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { #colorBar { top: 62px; } }
#colorBar:empty { display: none; }
.cb-label { flex-basis: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); margin: 0 6px 0 0; }
.cb-swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; padding: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.cb-swatch:hover { transform: scale(1.18); }
.cb-swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); transform: scale(1.12); }
.cb-clear { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }

/* ---- native cross-document view transitions (Chromium 126+) ----
   Pages soft-morph into each other; browsers without support just navigate.
   The old JS exit-fade is skipped when this is available (editorial.js). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
