:root.is-theme-revealing body { transition: none; }
:root.is-theme-revealing::view-transition-old(root),
:root.is-theme-revealing::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root.is-theme-revealing::view-transition-new(root) { z-index: 1; }

.nav-indicator { display: none; }
@media (min-width: 851px) {
  .site-nav { position: relative; isolation: isolate; }
  .nav-indicator:not([hidden]) { position: absolute; top: 0; left: 0; z-index: 0; display: block; border-radius: 8px; background: color-mix(in srgb,var(--accent) 17%,transparent); pointer-events: none; }
  .has-nav-indicator .nav-indicator { transition: transform .38s cubic-bezier(.22,1.3,.36,1),width .3s ease,height .3s ease; }
  .has-nav-indicator > .nav-link,.has-nav-indicator > .nav-group { z-index: 1; }
  .site-nav.has-nav-indicator .nav-link,
  .site-nav.has-nav-indicator .nav-link:hover,
  .site-nav.has-nav-indicator .nav-group:focus-within > .nav-link { background: transparent; }
  .site-nav.has-nav-indicator .nav-link.is-active::after { display: none; }
}

.home-title-replay { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.title-brush { display: block; width: min(120px,4em); height: 14px; margin-top: 3px; overflow: visible; fill: none; stroke: var(--accent); stroke-linecap: round; pointer-events: none; }
.title-brush path { stroke-width: 4; opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 0; animation: brush-draw .75s .12s cubic-bezier(.2,.7,.25,1) backwards; }
.title-brush path + path { stroke-width: 1.5; opacity: .3; animation-delay: .22s; }
.home-profile--center .title-brush { margin-inline: auto; }
.home-profile--right .title-brush { margin-left: auto; }
@keyframes brush-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.link-info-copy { position: relative; }
.link-info-copy .copy-icon { transition: opacity .15s,transform .2s; }
.link-info-copy .copy-check { position: absolute; opacity: 0; color: var(--accent-strong); stroke-width: 2; }
.copy-check path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.link-info-copy.is-copied .copy-icon { opacity: 0; transform: scale(.7); }
.link-info-copy.is-copied .copy-check { opacity: 1; }
.link-info-copy.is-copied .copy-check path { animation: brush-draw .38s ease-out both; }

.back-to-top .back-top-leaf { position: absolute; width: 23px; height: 23px; opacity: 0; color: var(--accent-strong); overflow: visible; }
.back-top-leaf path:first-child { fill: color-mix(in srgb,var(--accent) 30%,transparent); }
.back-to-top.is-leaf-flying { opacity: 1; visibility: visible; transform: none; }
.back-to-top.is-leaf-flying .back-top-arrow { opacity: 0; }

.footprint-marker { position: relative; }
.footprints-page:not(.is-map-ready) .footprint-marker { opacity: 0; }
.is-map-ready .footprint-marker { animation: marker-arrive .48s var(--marker-delay,0ms) cubic-bezier(.2,1.35,.4,1) backwards; }
.footprint-marker::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }
.footprint-marker.is-active::after { animation: marker-ripple 1.1s ease-out; }
@keyframes marker-arrive { from { opacity: 0; transform: translateY(-10px) scale(.55); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes marker-ripple { from { opacity: .65; transform: scale(.75); } to { opacity: 0; transform: scale(2.1); } }

.lightbox.has-photo-motion[open] { animation: none; }
.lightbox.is-zoomable[open] .lightbox-toolbar { animation: lightbox-panel-enter .4s .06s ease-out both; }
.lightbox.is-zoomable[open] .lightbox-info:not([hidden]) { animation: lightbox-panel-enter .4s .12s ease-out both; }
@keyframes lightbox-panel-enter { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
.lightbox.is-photo-transition { overflow: visible; }
.lightbox.is-photo-transition .lightbox-stage,
.lightbox.is-photo-transition .lightbox-image { overflow: visible; }
.lightbox.is-photo-transition .lightbox-image > img { position: relative; z-index: 5; transform-origin: top left; }
.lightbox.is-photo-closing { background: transparent; border-color: transparent; box-shadow: none; }
.lightbox.is-photo-closing .lightbox-stage { background: transparent; }
.lightbox.is-photo-closing .lightbox-ambient { opacity: 0; }
.lightbox.is-photo-closing .lightbox-image > img { box-shadow: none; }
.lightbox.is-photo-closing::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lightbox.is-photo-closing .lightbox-toolbar,
.lightbox.is-photo-closing .lightbox-info,
.lightbox.is-photo-closing .lightbox-stage > button { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .has-nav-indicator .nav-indicator,.link-info-copy .copy-icon { transition: none; }
  .title-brush path,.link-info-copy.is-copied .copy-check path { animation: none; stroke-dashoffset: 0; }
  .lightbox[open] { animation: none; }
  .lightbox.is-zoomable[open] .lightbox-toolbar,.lightbox.is-zoomable[open] .lightbox-info:not([hidden]) { animation: none; }
  .is-map-ready .footprint-marker,.footprint-marker.is-active::after { animation: none; }
}
