@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
}

:root {
  --cold-cyan: #6feaff;
  --cold-cyan-soft: rgba(111, 234, 255, 0.5);
  --cold-blue: #4da8ff;
  --cold-violet: #a889ff;
  --spectral-blur: rgba(111, 234, 255, 0.13);
  --spectral-line: linear-gradient(90deg, transparent, var(--gold-bright), var(--cold-cyan), transparent);
  --gold-cold: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--cold-cyan));
  --fine-rule: linear-gradient(90deg, rgba(199,154,69,0), rgba(199,154,69,.48), rgba(111,234,255,.42), rgba(199,154,69,0));
  --bleed-cyan: rgba(111, 234, 255, 0.42);
  --bleed-violet: rgba(168, 137, 255, 0.28);
  --bleed-gold: rgba(239, 210, 140, 0.22);
  --edge-bleed-shadow:
    1.1px 0 0 var(--bleed-cyan),
    -1.1px 0 0 var(--bleed-violet),
    0 0 22px rgba(111,234,255,0.08);
  --edge-bleed-filter:
    drop-shadow(1.2px 0 0 rgba(111,234,255,0.28))
    drop-shadow(-1.2px 0 0 rgba(168,137,255,0.18))
    drop-shadow(0 0 20px rgba(111,234,255,0.08));
  --transition-y: 50vh;
  scrollbar-color: rgba(239,210,140,0.42) rgba(5,5,5,0.72);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(239,210,140,0.42) rgba(5,5,5,0.72);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(5,5,5,0.72);
}

*::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(239,210,140,0.54), rgba(111,234,255,0.34));
  border: 2px solid rgba(5,5,5,0.72);
}

[id]:target {
  scroll-margin-top: 122px;
}

section[id]:target,
article[id]:target {
  animation: target-glint 900ms ease both;
}

html.site-js body {
  opacity: 0;
}

html.site-js body.is-ready {
  opacity: 1;
  transition: opacity 360ms ease;
}

body.is-page-leaving {
  opacity: 0.72;
}

body.is-page-leaving::before {
  filter: saturate(0.8) brightness(0.72);
}

body[data-surface="archive"]::after {
  background-size: 96px 34px;
  opacity: 0.2;
}

body[data-surface="article"]::after {
  opacity: 0.09;
}

body[data-surface="art"]::after {
  background-size: 54px 88px;
  opacity: 0.19;
}

body[data-surface="art"] .water-vignette {
  background:
    radial-gradient(circle at 36% 34%, rgba(111,234,255,0.06), transparent 26rem),
    radial-gradient(circle at 72% 28%, rgba(239,210,140,0.07), transparent 22rem),
    radial-gradient(circle at center, transparent 19%, rgba(0,0,0,0.48) 72%, rgba(0,0,0,0.9) 100%);
}

body[data-surface="private"] .water-vignette {
  background:
    radial-gradient(circle at center, transparent 8%, rgba(0,0,0,0.58) 54%, rgba(0,0,0,0.94) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.28), rgba(0,0,0,0.72));
}

body[data-surface="tap"] .water-vignette,
body[data-surface="missing"] .water-vignette {
  background:
    radial-gradient(circle at 52% 44%, rgba(52,187,255,0.08), transparent 26rem),
    radial-gradient(circle at center, transparent 18%, rgba(0,0,0,0.56) 70%, rgba(0,0,0,0.94) 100%);
}

.page-transition-line {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
}

.page-transition-line::before {
  content: "";
  position: absolute;
  left: -16vw;
  right: auto;
  top: var(--transition-y, 50vh);
  width: 16vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,234,255,0.25), rgba(221,250,255,0.95), transparent);
  box-shadow: 0 0 22px rgba(111,234,255,0.55), 0 0 54px rgba(168,137,255,0.18);
}

.page-transition-line::after {
  content: attr(data-label);
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  top: calc(var(--transition-y, 50vh) - 34px);
  max-width: min(360px, 72vw);
  overflow: hidden;
  color: rgba(221,250,255,0.78);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-shadow:
    1px 0 rgba(111,234,255,0.32),
    -1px 0 rgba(168,137,255,0.2),
    0 0 18px rgba(111,234,255,0.16);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(5px);
}

body.is-page-leaving .page-transition-line {
  opacity: 1;
}

body.is-page-leaving .page-transition-line::before {
  animation: transition-sweep 430ms cubic-bezier(.18,.72,.2,1) forwards;
}

body.is-page-leaving .page-transition-line::after {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 140ms ease 80ms, transform 180ms ease 80ms;
}

.spectral-edge {
  box-shadow:
    1px 0 0 rgba(111,234,255,0.25),
    -1px 0 0 rgba(168,137,255,0.16),
    0 0 30px rgba(111,234,255,0.08);
}

.refracted-edge {
  filter: var(--edge-bleed-filter);
}

.refracted-type {
  text-shadow:
    1px 0 rgba(111,234,255,0.18),
    -1px 0 rgba(168,137,255,0.14),
    0 18px 46px rgba(0,0,0,0.48);
}

.spectral-hover {
  position: relative;
  isolation: isolate;
}

.spectral-hover::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent, rgba(111,234,255,0.12), transparent),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(111,234,255,0.04) 10px, transparent 11px 18px);
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}

.spectral-hover:hover::after,
.spectral-hover:focus-within::after {
  opacity: 1;
}

.spectral-divider {
  position: relative;
}

.spectral-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--fine-rule);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.spectral-divider:hover::after,
.spectral-divider:focus-within::after {
  transform: scaleX(1);
}

.cold-reflection {
  text-shadow:
    0.8px 0 rgba(111,234,255,0.28),
    -0.8px 0 rgba(168,137,255,0.18),
    0 0 22px rgba(111,234,255,0.08);
}

.glitch-brief {
  animation: glitch-brief 320ms steps(2, end) 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(2,2,2,0.88), rgba(2,2,2,0.54));
  backdrop-filter: blur(14px);
  transition:
    min-height 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header.is-condensed {
  min-height: 76px;
  background: linear-gradient(180deg, rgba(2,2,2,0.96), rgba(2,2,2,0.72));
  box-shadow: 0 18px 60px rgba(0,0,0,0.34);
}

body.is-scrolling-down .site-header.is-condensed {
  box-shadow:
    0 14px 52px rgba(0,0,0,0.42),
    0 1px 0 rgba(111,234,255,0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,210,140,0.74), rgba(111,234,255,0.3), transparent);
  transform-origin: left;
  animation: header-rule 8s ease-in-out infinite;
  box-shadow:
    0.8px 0 0 rgba(111,234,255,0.22),
    -0.8px 0 0 rgba(168,137,255,0.14),
    0 0 18px rgba(111,234,255,0.1);
}

.brand-mark {
  position: relative;
  transition: border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: var(--cold-cyan);
  color: #f7fdff;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.35),
    -1px 0 0 rgba(168,137,255,0.2),
    0 0 24px rgba(111,234,255,0.16);
}

.primary-nav {
  position: relative;
}

.primary-nav a {
  padding-block: 10px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.primary-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cold-cyan);
  box-shadow: 0 0 16px rgba(111,234,255,0.62);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"],
.primary-nav a.is-section-active {
  color: var(--ivory);
  text-shadow:
    0.7px 0 rgba(111,234,255,0.32),
    -0.7px 0 rgba(168,137,255,0.2);
}

.primary-nav a[aria-current="page"]::before,
.primary-nav a.is-section-active::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-section-active::after {
  right: 0;
  background: linear-gradient(90deg, var(--gold-bright), var(--cold-cyan));
  box-shadow:
    1px 0 0 rgba(111,234,255,0.32),
    -1px 0 0 rgba(168,137,255,0.18),
    0 0 18px rgba(111,234,255,0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 1px solid var(--cold-cyan);
  outline-offset: 4px;
}

@supports (content-visibility: auto) {
  .writing-section,
  .art-section,
  .about-section,
  .archive-shell,
  .article-shell,
  .art-shell {
    content-visibility: auto;
    contain-intrinsic-size: 820px;
  }

  .hero,
  .site-header,
  .site-footer {
    content-visibility: visible;
  }
}

.button,
.entry-link,
.article-back,
.heading-anchor,
.art-filter button,
.art-viewer-trigger,
.art-viewer-close,
.art-viewer-nav,
.art-viewer-thumb,
.view-toggle button,
.copy-link,
.private-open,
.tap-skip,
.tap-options a,
.missing-shell a,
.footer-links a,
.command-option {
  position: relative;
  overflow: hidden;
}

.button::before,
.entry-link::before,
.article-back::before,
.heading-anchor::before,
.art-filter button::before,
.art-viewer-trigger::before,
.art-viewer-close::before,
.art-viewer-nav::before,
.art-viewer-thumb::before,
.view-toggle button::before,
.copy-link::before,
.private-open::before,
.tap-skip::before,
.tap-options a::before,
.missing-shell a::before,
.footer-links a::before,
.command-option::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(111,234,255,0.28) 43%, rgba(255,43,190,0.12) 49%, transparent 58%),
    linear-gradient(90deg, rgba(239,210,140,0.08), transparent);
  transform: translateX(-36%);
  transition: opacity 160ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
  mix-blend-mode: screen;
}

.button:hover::before,
.button:focus-visible::before,
.entry-link:hover::before,
.entry-link:focus-visible::before,
.article-back:hover::before,
.article-back:focus-visible::before,
.heading-anchor:hover::before,
.heading-anchor:focus-visible::before,
.art-filter button:hover::before,
.art-filter button:focus-visible::before,
.art-viewer-trigger:hover::before,
.art-viewer-trigger:focus-visible::before,
.art-viewer-close:hover::before,
.art-viewer-close:focus-visible::before,
.art-viewer-nav:hover::before,
.art-viewer-nav:focus-visible::before,
.art-viewer-thumb:hover::before,
.art-viewer-thumb:focus-visible::before,
.view-toggle button:hover::before,
.view-toggle button:focus-visible::before,
.copy-link:hover::before,
.copy-link:focus-visible::before,
.private-open:hover::before,
.private-open:focus-visible::before,
.tap-skip:hover::before,
.tap-skip:focus-visible::before,
.tap-options a:hover::before,
.tap-options a:focus-visible::before,
.missing-shell a:hover::before,
.missing-shell a:focus-visible::before,
.footer-links a:hover::before,
.footer-links a:focus-visible::before,
.command-option:hover::before,
.command-option:focus-visible::before,
.command-option.is-active::before {
  opacity: 1;
  transform: translateX(36%);
}

.entry-link,
.article-back {
  display: inline-flex;
  align-items: center;
  text-underline-offset: 5px;
}

.entry-link::after,
.article-back::after {
  content: "";
  width: 18px;
  height: 1px;
  margin-left: 9px;
  background: linear-gradient(90deg, var(--gold-bright), var(--cold-cyan));
  transform: scaleX(0.48);
  transform-origin: left;
  transition: transform 180ms ease, background 180ms ease;
}

.entry-link:hover::after,
.entry-link:focus-visible::after,
.article-back:hover::after,
.article-back:focus-visible::after {
  transform: scaleX(1);
}

body.is-near-page-end::after {
  opacity: 0.23;
  filter:
    drop-shadow(1px 0 0 rgba(111,234,255,0.04))
    drop-shadow(-1px 0 0 rgba(168,137,255,0.035));
}

.water-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 58% 38%, rgba(111,234,255,0.085), transparent 21rem),
    linear-gradient(115deg, transparent 0 42%, rgba(111,234,255,0.045) 43%, transparent 49%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(168,137,255,0.028) 19px, transparent 20px 38px);
  mix-blend-mode: screen;
  transition: opacity 800ms ease;
}

body.is-idle-spectral .water-vignette::after {
  opacity: 1;
  animation: idle-refraction 8s ease-in-out infinite;
}

body[data-current-section="art"] .water-vignette::after {
  background:
    radial-gradient(circle at 38% 44%, rgba(111,234,255,0.075), transparent 24rem),
    radial-gradient(circle at 76% 28%, rgba(239,210,140,0.055), transparent 18rem),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(111,234,255,0.02) 35px, transparent 36px 68px);
}

body[data-current-section="writing"] .water-vignette::after {
  background:
    linear-gradient(90deg, transparent, rgba(111,234,255,0.035), transparent),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(239,210,140,0.026) 25px, transparent 26px 52px);
}

.site-depth-rail {
  position: fixed;
  right: clamp(12px, 1.8vw, 28px);
  top: 50%;
  z-index: 18;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.site-depth-track {
  position: absolute;
  left: 50%;
  top: -16px;
  bottom: -16px;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(199,154,69,0.28), rgba(111,234,255,0.26), transparent);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.12),
    -1px 0 0 rgba(168,137,255,0.08);
  transform: translateX(-50%);
}

.site-depth-rail a {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(239,210,140,0.62);
  text-decoration: none;
}

.site-depth-rail a::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid rgba(199,154,69,0.48);
  background: rgba(2,2,2,0.86);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.18),
    -1px 0 0 rgba(168,137,255,0.1);
  transform: rotate(45deg);
  transition:
    width 180ms ease,
    height 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-depth-rail a span {
  position: absolute;
  right: calc(100% + 10px);
  color: rgba(169,161,147,0.54);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-depth-rail a:hover::before,
.site-depth-rail a:focus-visible::before,
.site-depth-rail a.is-active::before {
  width: 10px;
  height: 10px;
  border-color: rgba(111,234,255,0.68);
  box-shadow:
    1.4px 0 0 rgba(111,234,255,0.38),
    -1.4px 0 0 rgba(168,137,255,0.22),
    0 0 20px rgba(111,234,255,0.16);
}

.site-depth-rail a:hover span,
.site-depth-rail a:focus-visible span,
.site-depth-rail a.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.link-oracle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147481000;
  max-width: min(290px, 72vw);
  pointer-events: none;
  padding: 7px 0 7px 18px;
  color: rgba(221,250,255,0.74);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow:
    1px 0 rgba(111,234,255,0.34),
    -1px 0 rgba(168,137,255,0.2);
  opacity: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform, opacity;
}

.link-oracle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(111,234,255,0.92), rgba(239,210,140,0.36));
  box-shadow: 0 0 14px rgba(111,234,255,0.42);
}

.link-oracle.is-visible {
  opacity: 1;
  animation: oracle-trace 760ms ease both;
}

body.command-open {
  overflow: hidden;
}

.command-palette[hidden] {
  display: none;
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 2147482600;
  display: grid;
  place-items: start center;
  padding: clamp(72px, 12vh, 128px) 20px 20px;
  background:
    radial-gradient(circle at 50% 14%, rgba(111,234,255,0.09), transparent 22rem),
    rgba(0,0,0,0.62);
  backdrop-filter: blur(8px) saturate(1.08);
}

.command-palette::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(70px, 12vh, 128px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,234,255,0.86), rgba(239,210,140,0.34), transparent);
  box-shadow: 0 0 28px rgba(111,234,255,0.42);
  animation: command-scan 460ms cubic-bezier(.2,.8,.2,1) both;
}

.command-palette-panel {
  position: relative;
  width: min(680px, 100%);
  overflow: hidden;
  border: 1px solid rgba(199,154,69,0.32);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(111,234,255,0.08), transparent 25%),
    linear-gradient(180deg, rgba(12,10,7,0.96), rgba(3,3,3,0.98));
  box-shadow:
    1.2px 0 0 rgba(111,234,255,0.24),
    -1.2px 0 0 rgba(168,137,255,0.14),
    0 30px 90px rgba(0,0,0,0.62),
    0 0 46px rgba(111,234,255,0.08);
}

.command-palette-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
  background:
    linear-gradient(90deg, rgba(255,43,190,0.05), transparent 28%, rgba(111,234,255,0.07)),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(111,234,255,0.035) 15px, transparent 16px 30px);
  mix-blend-mode: screen;
}

.command-palette-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.command-palette-topline kbd {
  min-width: 34px;
  padding: 3px 8px;
  border: 1px solid rgba(199,154,69,0.24);
  color: rgba(221,250,255,0.78);
  font: inherit;
  text-align: center;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.16),
    -1px 0 0 rgba(168,137,255,0.09);
}

.command-palette input {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 74px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(199,154,69,0.22);
  color: var(--ivory);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  outline: none;
}

.command-palette input::placeholder {
  color: rgba(169,161,147,0.46);
}

.command-palette input:focus {
  box-shadow:
    inset 0 -1px 0 rgba(111,234,255,0.44),
    0 14px 38px rgba(111,234,255,0.035);
}

.command-palette-list {
  position: relative;
  z-index: 1;
  max-height: min(50vh, 440px);
  overflow-y: auto;
  padding: 8px;
}

.command-option {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--ivory);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    text-shadow 150ms ease,
    transform 150ms ease;
}

.command-option span {
  min-width: 0;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-option small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.command-option:hover,
.command-option:focus-visible,
.command-option.is-active {
  border-color: rgba(111,234,255,0.28);
  color: #f7fdff;
  background:
    linear-gradient(90deg, rgba(111,234,255,0.075), transparent 58%),
    rgba(239,210,140,0.025);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.28),
    -0.8px 0 rgba(168,137,255,0.18);
  transform: translateX(3px);
}

.command-empty {
  margin: 0;
  padding: 22px 12px 26px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

@media (hover: hover) and (pointer: fine) {
  html.has-holographic-cursor,
  html.has-holographic-cursor body,
  html.has-holographic-cursor a,
  html.has-holographic-cursor button,
  html.has-holographic-cursor [role="button"],
  html.has-holographic-cursor summary {
    cursor: none !important;
  }

  html.has-holographic-cursor .art-viewer-trigger,
  html.has-holographic-cursor .art-viewer-close,
  html.has-holographic-cursor .art-viewer-nav,
  html.has-holographic-cursor .art-viewer-thumb,
  html.has-holographic-cursor .art-filter button,
  html.has-holographic-cursor .heading-anchor,
  html.has-holographic-cursor .site-depth-rail a,
  html.has-holographic-cursor .command-option {
    cursor: none !important;
  }

  html.has-holographic-cursor input,
  html.has-holographic-cursor textarea,
  html.has-holographic-cursor select {
    cursor: text !important;
  }

  .holo-cursor-field,
  .holo-cursor,
  .holo-cursor-dot,
  .holo-cursor-wake,
  .holo-cursor-pulse {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483646;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: screen;
  }

  .holo-cursor-field {
    width: 92px;
    height: 92px;
    z-index: 2147483644;
    border-radius: 999px;
    isolation: isolate;
    contain: layout style paint;
    will-change: transform, opacity, filter;
    mix-blend-mode: normal;
    background:
      radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12), transparent 9%),
      radial-gradient(circle at 36% 30%, rgba(255,38,190,0.14), transparent 26%),
      radial-gradient(circle at 68% 62%, rgba(0,240,255,0.15), transparent 34%),
      radial-gradient(circle at 50% 50%, rgba(239,210,140,0.07), transparent 62%);
    clip-path: circle(48% at 50% 50%);
    backdrop-filter: hue-rotate(152deg) saturate(2.15) contrast(1.16) brightness(1.08) blur(0.2px);
    -webkit-backdrop-filter: hue-rotate(152deg) saturate(2.15) contrast(1.16) brightness(1.08) blur(0.2px);
    transition: opacity 70ms ease, filter 70ms ease;
  }

  .holo-cursor-field::before,
  .holo-cursor-field::after,
  .holo-cursor-field-grain {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
  }

  .holo-cursor-field::before {
    inset: 10px;
    background:
      radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 7%),
      radial-gradient(circle at 34% 30%, rgba(255,36,190,0.34), transparent 26%),
      radial-gradient(circle at 68% 60%, rgba(0,240,255,0.32), transparent 35%),
      radial-gradient(circle at 50% 50%, rgba(239,210,140,0.13), transparent 62%);
    box-shadow:
      8px 0 18px rgba(255,36,190,0.12),
      -8px 0 18px rgba(0,240,255,0.13),
      0 0 30px rgba(239,210,140,0.07);
    opacity: 0.58;
    mix-blend-mode: screen;
  }

  .holo-cursor-field::after {
    inset: 4px;
    background: conic-gradient(
      from var(--cursor-angle),
      rgba(255,36,190,0),
      rgba(255,36,190,0.58),
      rgba(255,205,65,0.36),
      rgba(0,240,255,0.58),
      rgba(116,73,255,0.44),
      rgba(255,36,190,0)
    );
    -webkit-mask: radial-gradient(circle, transparent 0 47%, #000 51% 55%, transparent 61%);
    mask: radial-gradient(circle, transparent 0 47%, #000 51% 55%, transparent 61%);
    opacity: 0.5;
    filter: saturate(1.24);
  }

  .holo-cursor-field-grain {
    inset: 8px;
    opacity: 0.34;
    background:
      repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,0.16) 8px, transparent 9px 16px),
      linear-gradient(90deg, rgba(255,36,190,0.18), transparent 36%, rgba(0,240,255,0.2));
    clip-path: polygon(0 19%, 100% 13%, 100% 21%, 0 29%, 0 62%, 100% 55%, 100% 67%, 0 75%);
    mix-blend-mode: screen;
  }

  .holo-cursor {
    --cursor-angle: 0deg;
    --cursor-scan-angle: 0deg;
    --cursor-speed: 0;
    --cursor-spin-angle: 0deg;
    --cursor-shift: 0deg;
    width: 44px;
    height: 44px;
    isolation: isolate;
    will-change: transform, opacity;
    filter: hue-rotate(var(--cursor-shift)) saturate(1.2) contrast(1.05);
    transition: opacity 90ms ease, filter 110ms ease;
  }

  .holo-cursor-aperture,
  .holo-cursor-aperture::before,
  .holo-cursor-aperture::after,
  .holo-cursor-scan {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    pointer-events: none;
  }

  .holo-cursor-aperture {
    border: 1px solid rgba(252,251,232,0.34);
    background:
      radial-gradient(circle at 50% 50%, rgba(252,251,232,0.22), transparent 8%),
      radial-gradient(circle at 32% 28%, rgba(255,43,190,0.17), transparent 22%),
      radial-gradient(circle at 70% 70%, rgba(0,240,255,0.18), transparent 34%),
      conic-gradient(from calc(var(--cursor-angle) - 18deg), rgba(255,43,190,0.18), rgba(239,210,140,0.12), rgba(0,240,255,0.18), rgba(126,83,255,0.16), rgba(255,43,190,0.18));
    box-shadow:
      2px 0 0 rgba(0,240,255,0.28),
      -2px 0 0 rgba(255,43,190,0.22),
      0 0 18px rgba(0,240,255,0.12),
      0 0 28px rgba(239,210,140,0.07),
      inset 0 0 18px rgba(252,251,232,0.04);
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease,
      background 180ms ease;
  }

  .holo-cursor-aperture::before,
  .holo-cursor-aperture::after {
    content: "";
  }

  .holo-cursor-aperture::before {
    inset: -6px;
    background: conic-gradient(
      from calc(var(--cursor-angle) - 26deg),
      transparent 0 8%,
      rgba(255,43,190,0.74) 12%,
      rgba(239,210,140,0.54) 22%,
      rgba(0,240,255,0.76) 34%,
      rgba(126,83,255,0.5) 44%,
      transparent 52% 69%,
      rgba(255,205,65,0.4) 76%,
      rgba(0,240,255,0.6) 88%,
      transparent 96% 100%
    );
    -webkit-mask: radial-gradient(circle, transparent 0 47%, #000 52% 57%, transparent 64%);
    mask: radial-gradient(circle, transparent 0 47%, #000 52% 57%, transparent 64%);
    opacity: 0.72;
    filter: blur(0.2px) saturate(1.32);
    transform: rotate(var(--cursor-spin-angle));
  }

  .holo-cursor-aperture::after {
    inset: 11px;
    background:
      linear-gradient(90deg, rgba(255,43,190,0.36), transparent 34%, rgba(0,240,255,0.4)),
      linear-gradient(0deg, transparent 44%, rgba(252,251,232,0.5) 48%, transparent 54%);
    clip-path: polygon(0 38%, 82% 20%, 100% 50%, 82% 80%, 0 62%);
    opacity: 0.55;
    filter: blur(0.2px);
    transform: rotate(18deg) scaleX(0.92);
  }

  .holo-cursor-scan {
    inset: -21px;
    opacity: 0.2;
    background:
      linear-gradient(90deg, transparent 0 18%, rgba(255,43,190,0.26) 20% 25%, transparent 26% 45%, rgba(0,240,255,0.3) 47% 53%, transparent 54%),
      repeating-linear-gradient(0deg, transparent 0 8px, rgba(221,250,255,0.09) 9px, transparent 10px 15px);
    clip-path: polygon(0 18%, 100% 13%, 100% 23%, 0 31%, 0 66%, 100% 58%, 100% 70%, 0 80%);
    transform: rotate(var(--cursor-scan-angle));
  }

  .holo-cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 50% 50%, #020202 0 21%, rgba(252,251,232,0.98) 23% 100%);
    box-shadow:
      3.6px 0 8px rgba(0,240,255,0.82),
      -3.6px 0 9px rgba(255,43,190,0.62),
      0 0 14px rgba(239,210,140,0.7);
    will-change: transform, opacity;
    transition: opacity 120ms ease;
  }

  .holo-cursor-wake {
    width: 64px;
    height: 14px;
    background:
      linear-gradient(90deg, transparent, rgba(255,43,190,0.14), rgba(0,240,255,0.18), rgba(239,210,140,0.08), transparent),
      linear-gradient(0deg, transparent 42%, rgba(252,251,232,0.13) 50%, transparent 58%);
    clip-path: polygon(0 38%, 84% 18%, 100% 50%, 84% 82%, 0 62%);
    filter: blur(0.45px) saturate(1.16);
    will-change: transform, opacity;
  }

  .holo-cursor-pulse {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(252,251,232,0.72);
    border-radius: 999px;
    box-shadow:
      2px 0 0 rgba(0,240,255,0.5),
      -2px 0 0 rgba(255,43,190,0.42),
      0 0 28px rgba(0,240,255,0.22),
      inset 0 0 14px rgba(239,210,140,0.12);
    animation: cursor-pulse 620ms cubic-bezier(.18,.7,.2,1) forwards;
  }

  html.is-cursor-visible .holo-cursor-field {
    opacity: 0.42;
  }

  html.is-cursor-visible .holo-cursor,
  html.is-cursor-visible .holo-cursor-dot {
    opacity: 1;
  }

  html.is-cursor-visible .holo-cursor-wake {
    opacity: 0.18;
  }

  html.is-cursor-linking .holo-cursor {
    filter: hue-rotate(var(--cursor-shift)) saturate(1.42) contrast(1.08);
  }

  html.is-cursor-linking .holo-cursor-field {
    opacity: 0.72;
    filter: saturate(1.24) contrast(1.06);
  }

  html.is-cursor-linking .holo-cursor-field-grain {
    opacity: 0.44;
    animation: cursor-prism-jitter 240ms steps(2, end) infinite;
  }

  html.is-cursor-linking .holo-cursor-field::after {
    opacity: 0.76;
    animation: cursor-prism-turn 1.1s linear infinite;
  }

  html.is-cursor-linking .holo-cursor-aperture {
    border-color: rgba(252,251,232,0.7);
    background:
      radial-gradient(circle at 50% 50%, rgba(252,251,232,0.26), transparent 8%),
      radial-gradient(circle at 32% 28%, rgba(255,43,190,0.26), transparent 24%),
      radial-gradient(circle at 70% 70%, rgba(0,240,255,0.26), transparent 36%),
      conic-gradient(from calc(var(--cursor-angle) - 18deg), rgba(255,43,190,0.24), rgba(239,210,140,0.17), rgba(0,240,255,0.26), rgba(126,83,255,0.2), rgba(255,43,190,0.24));
    box-shadow:
      3.2px 0 0 rgba(0,240,255,0.38),
      -3.2px 0 0 rgba(255,43,190,0.34),
      0 0 30px rgba(0,240,255,0.18),
      0 0 42px rgba(255,43,190,0.09),
      inset 0 0 28px rgba(221,250,255,0.04);
  }

  html.is-cursor-linking .holo-cursor-aperture::before {
    opacity: 0.94;
  }

  html.is-cursor-linking .holo-cursor-dot {
    opacity: 0.92;
  }

  html.is-cursor-linking .cursor-magnetic {
    transition: translate 170ms cubic-bezier(.2,.8,.2,1), filter 160ms ease, text-shadow 160ms ease;
    will-change: translate;
  }

  html.is-cursor-linking .cursor-prism-target:not(input, textarea, select) {
    filter: saturate(1.04);
    text-shadow:
      1.4px 0 rgba(0,240,255,0.42),
      -1.4px 0 rgba(255,43,190,0.34),
      0 0 18px rgba(239,210,140,0.1);
  }

  html.is-cursor-linking .hero h1.cursor-prism-target {
    filter: saturate(1.01) contrast(1.01);
    text-shadow:
      2.1px 0 rgba(0,240,255,0.16),
      -2.1px 0 rgba(255,43,190,0.13),
      0 0 1px rgba(239,210,140,0.2),
      0 22px 50px rgba(0,0,0,0.44);
  }

  html.is-cursor-linking .journal-entry.cursor-prism-target,
  html.is-cursor-linking .art-row.cursor-prism-target,
  html.is-cursor-linking .art-piece.cursor-prism-target,
  html.is-cursor-linking .archive-item.cursor-prism-target,
  html.is-cursor-linking .about-fragments li.cursor-prism-target,
  html.is-cursor-linking .article-toc a.cursor-prism-target,
  html.is-cursor-linking .command-option.cursor-prism-target {
    box-shadow:
      inset 0 -1px 0 rgba(0,240,255,0.18),
      inset 1px 0 0 rgba(0,240,255,0.06),
      inset -1px 0 0 rgba(255,43,190,0.055),
      0 0 34px rgba(0,240,255,0.04);
  }

  html.is-cursor-refracting .holo-cursor-scan {
    opacity: 0.72;
    animation: cursor-refract 140ms steps(2, end) 1;
  }

  html.is-cursor-pressed .holo-cursor-aperture {
    border-color: rgba(239,210,140,0.76);
    filter: brightness(1.12) saturate(1.28);
  }
}

.journal-list {
  position: relative;
}

.journal-entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}

.journal-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111,234,255,0.16), transparent 16rem),
    linear-gradient(90deg, transparent, rgba(239,210,140,0.03), transparent);
  transition: opacity 180ms ease;
}

.journal-entry::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 16%;
  width: min(230px, 28vw);
  height: 64%;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 23%, rgba(111,234,255,0.12) 24% 25%, transparent 26% 52%, rgba(168,137,255,0.12) 53% 54%, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(239,210,140,0.04) 9px, transparent 10px 18px),
    radial-gradient(circle at 70% 40%, rgba(111,234,255,0.12), transparent 42%);
  filter: blur(0.2px);
  clip-path: polygon(8% 0, 100% 16%, 88% 100%, 0 78%);
  transform: translateX(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.journal-entry:hover::before,
.journal-entry:focus-within::before,
.journal-entry:hover::after,
.journal-entry:focus-within::after {
  opacity: 1;
}

.journal-entry:hover::after,
.journal-entry:focus-within::after {
  transform: translateX(0);
}

.journal-entry:hover .entry-copy h3,
.journal-entry:focus-within .entry-copy h3 {
  transform: translateX(5px);
  text-shadow:
    1px 0 rgba(111,234,255,0.16),
    -1px 0 rgba(168,137,255,0.12);
}

.entry-copy h3 {
  transition: transform 180ms ease, color 180ms ease;
}

body[data-surface="art"] {
  --active-art-image: url("assets/art/drawing-red-stage.webp");
}

.art-section,
.art-shell {
  position: relative;
  padding-block: 0;
  border-top: 0;
}

body[data-surface="art"]::before {
  background:
    linear-gradient(180deg, rgba(2,2,2,0.46), rgba(2,2,2,0.9)),
    radial-gradient(circle at 72% 16%, rgba(111,234,255,0.12), transparent 28rem),
    var(--active-art-image);
  background-position: center;
  background-size: cover;
  filter: blur(48px) saturate(0.72) contrast(1.08) brightness(0.48);
  opacity: 0.58;
  transform: scale(1.08);
  transition: background-image 220ms ease, opacity 420ms ease, filter 420ms ease;
}

body[data-surface="art"]::after {
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,234,255,0.018) 1px, transparent 1px),
    repeating-linear-gradient(118deg, transparent 0 44px, rgba(239,210,140,0.018) 45px, transparent 46px 92px);
}

.art-overview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  min-height: clamp(720px, 76vw, 980px);
  padding-block: clamp(58px, 6vw, 92px) clamp(76px, 8vw, 124px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft-line);
  isolation: isolate;
}

.art-overview::before,
.art-page-hero::before,
.art-gallery::before {
  content: "";
  position: absolute;
  inset: 8% -8% auto;
  height: 44%;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(239,210,140,0.08), transparent 36%, rgba(111,234,255,0.05)),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(239,210,140,0.03) 18px, transparent 19px 34px);
  opacity: 0.72;
  transform: skewY(-2.5deg);
}

.art-heading {
  grid-column: 1 / 6;
  grid-row: 1;
  z-index: 3;
  max-width: 700px;
  align-self: start;
}

.art-heading h2,
.art-page-copy h1 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  text-shadow:
    1.2px 0 rgba(111,234,255,0.15),
    -1.2px 0 rgba(168,137,255,0.12),
    0 24px 58px rgba(0,0,0,0.6);
}

.art-heading h2 {
  font-size: clamp(5rem, 13vw, 11rem);
}

.art-page-copy h1 {
  font-size: clamp(4.8rem, 10vw, 9.4rem);
}

.art-heading p:not(.eyebrow) {
  max-width: 480px;
  margin: 32px 0 0;
  color: #d3cdc2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.62;
}

.art-heading .entry-link {
  display: inline-block;
  margin-top: 26px;
}

.art-page-hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding-block: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft-line);
  isolation: isolate;
}

.art-page-copy {
  grid-column: 1 / 6;
  grid-row: 1;
  z-index: 3;
}

.art-page-copy .article-meta {
  max-width: 520px;
}

.art-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.art-arrival {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: clamp(760px, 78vw, 1040px);
  padding-block: clamp(84px, 9vw, 140px);
  border-bottom: 1px solid var(--soft-line);
  isolation: isolate;
}

.art-arrival::before {
  content: "";
  position: absolute;
  inset: 8% -14% 12%;
  z-index: -1;
  background:
    radial-gradient(circle at 68% 40%, rgba(111,234,255,0.11), transparent 28rem),
    radial-gradient(circle at 34% 72%, rgba(239,210,140,0.1), transparent 24rem),
    linear-gradient(116deg, transparent 0 36%, rgba(111,234,255,0.06) 37%, transparent 44% 100%);
  clip-path: polygon(6% 4%, 96% 0, 100% 82%, 16% 100%, 0 74%);
}

.art-arrival-copy {
  position: relative;
  z-index: 12;
  align-self: start;
  padding-top: clamp(18px, 6vw, 72px);
}

.art-arrival-copy h2 {
  max-width: 7ch;
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  text-shadow:
    1.4px 0 rgba(111,234,255,0.16),
    -1.4px 0 rgba(168,137,255,0.12),
    0 26px 70px rgba(0,0,0,0.72);
}

.art-altar {
  position: relative;
  min-height: clamp(620px, 62vw, 860px);
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.art-altar::before,
.art-altar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.art-altar::before {
  inset: 5% 3% 7% 8%;
  z-index: 0;
  border: 1px solid rgba(199,154,69,0.2);
  background:
    linear-gradient(115deg, rgba(111,234,255,0.09), transparent 24%, rgba(168,137,255,0.055), transparent 66%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(239,210,140,0.04) 19px, transparent 20px 38px);
  box-shadow:
    inset 0 0 120px rgba(0,0,0,0.64),
    1.4px 0 0 rgba(111,234,255,0.2),
    -1.4px 0 0 rgba(168,137,255,0.12),
    0 44px 140px rgba(0,0,0,0.62);
  clip-path: polygon(10% 0, 100% 8%, 91% 100%, 0 82%);
}

.art-altar::after {
  left: 6%;
  right: 0;
  top: 48%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,234,255,0.88), rgba(239,210,140,0.4), transparent);
  box-shadow:
    0 0 24px rgba(111,234,255,0.44),
    0 0 70px rgba(168,137,255,0.16);
  opacity: 0.54;
  animation: altar-scan 5.8s ease-in-out infinite;
}

.art-altar figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239,210,140,0.26);
  background: #030303;
  box-shadow:
    inset 0 0 54px rgba(0,0,0,0.48),
    1.2px 0 0 rgba(111,234,255,0.18),
    -1.2px 0 0 rgba(168,137,255,0.12),
    0 30px 92px rgba(0,0,0,0.58);
  transform-style: preserve-3d;
  transition:
    transform 520ms cubic-bezier(.2,.8,.2,1),
    filter 240ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.art-altar figure::before,
.art-altar figure::after {
  display: none;
}

.art-altar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.07) brightness(0.9);
  transition: transform 640ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}

.art-altar figure:hover,
.art-altar figure:focus-within {
  z-index: 9;
  border-color: rgba(111,234,255,0.48);
  box-shadow:
    inset 0 0 54px rgba(0,0,0,0.38),
    2px 0 0 rgba(111,234,255,0.34),
    -2px 0 0 rgba(168,137,255,0.2),
    0 38px 110px rgba(0,0,0,0.62),
    0 0 34px rgba(111,234,255,0.12);
}

.art-altar figure:hover img,
.art-altar figure:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.1) brightness(0.98);
}

.art-altar-main {
  left: 29%;
  top: 3%;
  z-index: 4;
  width: min(430px, 44vw);
  height: 76%;
  transform: rotateY(-8deg) rotateZ(-1.8deg) translateZ(68px);
}

.art-altar-piece-a {
  right: 4%;
  top: 12%;
  z-index: 3;
  width: min(360px, 34vw);
  height: 32%;
  transform: rotateY(12deg) rotateZ(2.6deg) translateZ(22px);
}

.art-altar-piece-b {
  left: 6%;
  top: 27%;
  z-index: 2;
  width: min(284px, 28vw);
  height: 38%;
  transform: rotateY(-18deg) rotateZ(3deg) translateZ(12px);
}

.art-altar-piece-c {
  right: 13%;
  bottom: 5%;
  z-index: 5;
  width: min(330px, 32vw);
  height: 38%;
  transform: rotateY(8deg) rotateZ(-2.6deg) translateZ(52px);
}

.art-altar-piece-d {
  left: 10%;
  bottom: 0;
  z-index: 3;
  width: min(340px, 34vw);
  height: 31%;
  transform: rotateY(-7deg) rotateZ(2.2deg) translateZ(34px);
}

.art-altar:hover .art-altar-main {
  transform: rotateY(-4deg) rotateZ(-2.4deg) translate3d(-8px, -8px, 88px);
}

.art-altar:hover .art-altar-piece-a {
  transform: rotateY(16deg) rotateZ(3.8deg) translate3d(10px, -6px, 42px);
}

.art-altar:hover .art-altar-piece-b {
  transform: rotateY(-22deg) rotateZ(1.8deg) translate3d(-10px, 8px, 28px);
}

.art-altar:hover .art-altar-piece-c {
  transform: rotateY(12deg) rotateZ(-3.8deg) translate3d(8px, 8px, 68px);
}

.art-altar:hover .art-altar-piece-d {
  transform: rotateY(-10deg) rotateZ(3.2deg) translate3d(-8px, 10px, 48px);
}

.art-altar-ledger {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 4%;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(199,154,69,0.16);
  background: rgba(2,2,2,0.54);
  backdrop-filter: blur(12px);
}

.art-altar-ledger a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(199,154,69,0.18);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, text-shadow 160ms ease;
}

.art-altar-ledger a:hover,
.art-altar-ledger a:focus-visible {
  color: var(--ivory);
  border-color: rgba(111,234,255,0.42);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.28),
    -0.8px 0 rgba(168,137,255,0.18);
}

.art-plate {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(111,234,255,0.11), transparent 18rem),
    radial-gradient(circle at 72% 68%, rgba(239,210,140,0.14), transparent 20rem),
    linear-gradient(145deg, rgba(9,8,5,0.92), rgba(1,1,1,0.98));
  box-shadow:
    inset 0 0 120px rgba(0,0,0,0.72),
    1.2px 0 0 rgba(111,234,255,0.24),
    -1.2px 0 0 rgba(168,137,255,0.14),
    0 36px 120px rgba(0,0,0,0.58);
  clip-path: polygon(0 0, 96% 0, 100% 90%, 9% 100%, 0 84%);
  isolation: isolate;
}

.art-plate::before,
.art-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.art-plate::before {
  opacity: 0.12;
  background:
    radial-gradient(circle at 32% 22%, rgba(111,234,255,0.12), transparent 18rem),
    linear-gradient(90deg, rgba(111,234,255,0.08), transparent 28%, rgba(168,137,255,0.05) 64%, transparent);
  mix-blend-mode: screen;
}

.art-plate::after {
  height: 44%;
  top: auto;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.58)),
    linear-gradient(90deg, transparent, rgba(111,234,255,0.12), transparent);
}

.art-plate-home {
  grid-column: 5 / -1;
  grid-row: 1 / 3;
  z-index: 1;
  align-self: center;
  height: clamp(560px, 56vw, 760px);
  margin-top: clamp(36px, 5vw, 78px);
}

.art-plate-home .art-preview {
  border-color: rgba(239,210,140,0.28);
  background:
    radial-gradient(circle at 50% 38%, rgba(111,234,255,0.08), transparent 18rem),
    #020202;
}

.art-plate-home .art-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 46% 38%, rgba(111,234,255,0.16), transparent 32%),
    linear-gradient(145deg, rgba(4,3,2,0.38), transparent 42%, rgba(239,210,140,0.16)),
    linear-gradient(90deg, rgba(111,234,255,0.12), transparent 24%, rgba(168,137,255,0.1) 72%, transparent);
  mix-blend-mode: color;
  opacity: 0.54;
}

.art-plate-home .art-preview::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 42%, transparent 28%, rgba(0,0,0,0.42) 74%),
    linear-gradient(145deg, rgba(0,0,0,0.36), transparent 38%, rgba(0,0,0,0.2));
  mix-blend-mode: multiply;
}

.art-plate-home .art-preview img {
  position: relative;
  z-index: 1;
  filter: saturate(0.72) contrast(1.14) brightness(0.72) sepia(0.08);
}

.art-plate-home .art-preview-primary img {
  object-position: 52% 42%;
}

.art-plate-home .art-preview-secondary img {
  object-position: 50% 38%;
  filter: saturate(0.82) contrast(1.1) brightness(0.82) sepia(0.16);
}

.art-plate-home .art-preview-tertiary img {
  object-position: 50% 28%;
  filter: saturate(0.58) contrast(1.18) brightness(0.68) sepia(0.12);
}

.art-plate-page {
  grid-column: 6 / -1;
  grid-row: 1;
  z-index: 1;
  height: clamp(520px, 52vw, 720px);
  align-self: center;
}

.art-preview {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239,210,140,0.22);
  background: #030303;
  box-shadow:
    inset 0 0 46px rgba(0,0,0,0.46),
    1px 0 0 rgba(111,234,255,0.16),
    -1px 0 0 rgba(168,137,255,0.1),
    0 20px 70px rgba(0,0,0,0.54);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(.2,.8,.2,1),
    filter 260ms ease,
    border-color 220ms ease;
}

.art-preview::before,
.art-piece figure::before {
  display: none;
}

.art-preview img,
.art-piece img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04) brightness(0.92);
  transition:
    opacity 260ms ease,
    transform 520ms cubic-bezier(.2,.8,.2,1),
    filter 260ms ease;
}

html.site-js .art-piece img {
  opacity: 0;
}

html.site-js .art-piece.is-image-ready img,
html:not(.site-js) .art-piece img {
  opacity: 1;
}

.art-preview-primary {
  left: 17%;
  top: 5%;
  width: 53%;
  height: 78%;
  transform: rotate(-2deg);
}

.art-preview-secondary {
  right: 7%;
  top: 15%;
  width: 34%;
  height: 44%;
  transform: rotate(3.2deg);
}

.art-preview-tertiary {
  left: 6%;
  bottom: 8%;
  width: 43%;
  height: 31%;
  transform: rotate(2deg);
}

.art-plate:hover .art-preview-primary,
.art-plate:focus-within .art-preview-primary {
  transform: translate3d(-6px, -4px, 0) rotate(-2.7deg);
}

.art-plate:hover .art-preview-secondary,
.art-plate:focus-within .art-preview-secondary {
  transform: translate3d(5px, -3px, 0) rotate(3.8deg);
}

.art-plate:hover .art-preview-tertiary,
.art-plate:focus-within .art-preview-tertiary {
  transform: translate3d(3px, 5px, 0) rotate(1.2deg);
}

.art-plate:hover img,
.art-plate:focus-within img,
.art-piece:hover img,
.art-piece:focus-within img {
  filter: saturate(1.02) contrast(1.07) brightness(0.98);
}

.art-plate-home:hover .art-preview img,
.art-plate-home:focus-within .art-preview img {
  filter: saturate(0.88) contrast(1.14) brightness(0.88) sepia(0.08);
}

.art-plate-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 10;
  color: var(--gold-bright);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow:
    0.8px 0 rgba(111,234,255,0.32),
    -0.8px 0 rgba(168,137,255,0.22);
}

.art-gallery {
  position: relative;
  padding-block: clamp(86px, 9vw, 140px);
  border-bottom: 1px solid var(--soft-line);
  isolation: isolate;
}

.art-gallery .section-heading,
.art-registry .section-heading {
  display: block;
  max-width: 880px;
}

.art-gallery .section-heading h2,
.art-registry .section-heading h2 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.art-filter {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 52px);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(199,154,69,0.16);
}

.art-filter button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(199,154,69,0.22);
  color: var(--muted);
  background: rgba(3,3,3,0.42);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.art-filter button[aria-pressed="true"] {
  color: #070503;
  border-color: rgba(111,234,255,0.34);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(168,137,255,0.12),
    0 0 22px rgba(239,210,140,0.12);
}

.art-work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(20px, 2.2vw, 34px);
  margin-top: clamp(38px, 5vw, 72px);
  align-items: start;
}

.art-piece[hidden] {
  display: none;
}

.art-piece {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  grid-column: span 4;
  isolation: isolate;
  overflow: hidden;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition:
    transform 220ms ease,
    filter 220ms ease,
    border-color 220ms ease;
}

.art-piece::before {
  content: "";
  position: absolute;
  inset: -18% -8%;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111,234,255,0.18), transparent 16rem),
    linear-gradient(90deg, transparent, rgba(239,210,140,0.05), transparent);
  transition: opacity 180ms ease;
}

.art-piece:hover::before,
.art-piece:focus-within::before {
  opacity: 1;
}

.art-piece:hover,
.art-piece:focus-within {
  transform: translateY(-6px);
  border-top-color: rgba(111,234,255,0.42);
  filter:
    drop-shadow(1px 0 0 rgba(111,234,255,0.16))
    drop-shadow(-1px 0 0 rgba(168,137,255,0.1));
}

.art-piece figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #030303;
  border: 1px solid rgba(239,210,140,0.18);
  box-shadow:
    inset 0 0 56px rgba(0,0,0,0.48),
    1px 0 0 rgba(111,234,255,0.13),
    -1px 0 0 rgba(168,137,255,0.08),
    0 22px 72px rgba(0,0,0,0.44);
  transition:
    clip-path 240ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.art-piece:hover figure,
.art-piece:focus-within figure {
  border-color: rgba(111,234,255,0.34);
  box-shadow:
    inset 0 0 56px rgba(0,0,0,0.38),
    1.6px 0 0 rgba(111,234,255,0.24),
    -1.6px 0 0 rgba(168,137,255,0.14),
    0 30px 88px rgba(0,0,0,0.54),
    0 0 26px rgba(111,234,255,0.08);
}

.art-viewer-trigger {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(239,210,140,0.28);
  color: var(--ivory);
  background: rgba(3,3,3,0.68);
  backdrop-filter: blur(10px);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.art-piece:hover .art-viewer-trigger,
.art-piece:focus-within .art-viewer-trigger {
  opacity: 1;
  transform: translateY(0);
}

.art-preview::after,
.art-piece figure::after {
  display: none;
}

.art-piece-large {
  grid-column: span 6;
}

.art-piece-large figure {
  aspect-ratio: 5 / 6.6;
}

.art-piece-wide {
  grid-column: span 6;
}

.art-piece-wide figure {
  aspect-ratio: 16 / 9;
}

.art-piece-tall {
  grid-column: span 3;
}

.art-piece-tall figure {
  aspect-ratio: 3 / 4.6;
}

.art-piece-monument {
  grid-column: span 5;
}

.art-piece-monument figure {
  aspect-ratio: 4 / 5.65;
}

.art-piece-panorama {
  grid-column: span 7;
}

.art-piece-panorama figure {
  aspect-ratio: 16 / 8.4;
}

.art-piece-slim {
  grid-column: span 3;
}

.art-piece-slim figure {
  aspect-ratio: 3 / 5.2;
}

.art-piece-copy {
  display: grid;
  gap: 7px;
  padding: 16px 0 8px;
}

.art-piece-copy .eyebrow {
  margin: 0;
}

.art-piece-copy h3 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  text-shadow:
    0.8px 0 rgba(111,234,255,0.11),
    -0.8px 0 rgba(168,137,255,0.08);
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.art-piece-copy span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-piece:hover h3,
.art-piece:focus-within h3 {
  transform: translateX(4px);
  text-shadow:
    1px 0 rgba(111,234,255,0.2),
    -1px 0 rgba(168,137,255,0.14),
    0 0 18px rgba(111,234,255,0.08);
}

.art-viewer[hidden] {
  display: none;
}

.art-viewer {
  --viewer-image: url("assets/art/drawing-red-stage.webp");
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  grid-template-columns: minmax(44px, 0.18fr) minmax(0, 1fr) minmax(44px, 0.18fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(18px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 42%, rgba(111,234,255,0.07), transparent 28rem),
    radial-gradient(circle at 68% 62%, rgba(239,210,140,0.08), transparent 24rem),
    rgba(0,0,0,0.88);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.art-viewer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(111,234,255,0.08), transparent 22%, rgba(168,137,255,0.06), transparent 78%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(239,210,140,0.035) 15px, transparent 16px 28px);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.art-viewer::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(111,234,255,0.12), transparent 32rem),
    var(--viewer-image);
  background-position: center;
  background-size: cover;
  filter: blur(54px) saturate(0.82) contrast(1.08) brightness(0.58);
  opacity: 0.24;
  transform: scale(1.04);
  mix-blend-mode: screen;
}

body.art-viewer-open {
  overflow: hidden;
}

.art-viewer figure {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: min(960px, 100%);
  max-height: calc(100vh - 112px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid rgba(239,210,140,0.25);
  background: rgba(3,3,3,0.72);
  box-shadow:
    inset 0 0 80px rgba(0,0,0,0.46),
    1.4px 0 0 rgba(111,234,255,0.26),
    -1.4px 0 0 rgba(168,137,255,0.15),
    0 34px 120px rgba(0,0,0,0.62);
}

.art-viewer figure::before,
.art-viewer figure::after {
  display: none;
}

.art-viewer img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: calc(100vh - 216px);
  object-fit: contain;
  background: #020202;
  filter:
    saturate(0.96)
    contrast(1.04)
    drop-shadow(1px 0 0 rgba(111,234,255,0.18))
    drop-shadow(-1px 0 0 rgba(168,137,255,0.12));
}

.art-viewer figcaption {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 8px;
  padding: 18px clamp(16px, 3vw, 28px) 22px;
  border-top: 1px solid rgba(199,154,69,0.18);
  background: linear-gradient(90deg, rgba(239,210,140,0.045), transparent, rgba(111,234,255,0.04));
}

.art-viewer figcaption .eyebrow {
  margin: 0;
}

.art-viewer strong {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.art-viewer small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.art-viewer-close,
.art-viewer-nav {
  position: relative;
  z-index: 4;
  min-height: 42px;
  border: 1px solid rgba(239,210,140,0.26);
  color: var(--ivory);
  background: rgba(4,4,4,0.6);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.12),
    -1px 0 0 rgba(168,137,255,0.08),
    0 0 20px rgba(111,234,255,0.05);
}

.art-viewer-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  left: clamp(14px, 3vw, 28px);
  min-width: 86px;
  padding: 0 14px;
}

.art-viewer-nav {
  width: min(120px, 100%);
  justify-self: center;
  padding: 0 12px;
  writing-mode: vertical-rl;
}

.art-viewer-strip {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.2vw, 24px);
  z-index: 4;
  width: min(720px, calc(100% - 120px));
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(199,154,69,0.16);
  background: rgba(2,2,2,0.58);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.art-viewer-strip::-webkit-scrollbar {
  display: none;
}

.art-viewer-thumb {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(199,154,69,0.22);
  background: #030303;
  cursor: pointer;
  opacity: 0.68;
  transition:
    opacity 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.art-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08);
}

.art-viewer-thumb:hover,
.art-viewer-thumb:focus-visible,
.art-viewer-thumb[aria-current="true"] {
  opacity: 1;
  border-color: rgba(111,234,255,0.48);
  transform: translateY(-2px);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.3),
    -1px 0 0 rgba(168,137,255,0.18),
    0 0 18px rgba(111,234,255,0.12);
}

.art-registry {
  padding-block: 110px;
}

.art-registry .art-index {
  max-width: 1040px;
}

.art-index {
  position: relative;
  z-index: 3;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.art-index-home {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(60px, 8vw, 110px);
}

.art-row {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr) minmax(118px, 0.34fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--soft-line);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.art-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111,234,255,0.15), transparent 15rem),
    linear-gradient(90deg, transparent, rgba(239,210,140,0.045), transparent);
  transition: opacity 180ms ease;
}

.art-row::after {
  content: "";
  position: absolute;
  right: 2%;
  top: 18%;
  z-index: -1;
  width: min(210px, 32%);
  height: 64%;
  opacity: 0;
  background:
    linear-gradient(118deg, transparent 0 19%, rgba(111,234,255,0.12) 20% 21%, transparent 22% 52%, rgba(168,137,255,0.1) 53% 54%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(239,210,140,0.06) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 48% 44%, rgba(239,210,140,0.11), transparent 54%);
  clip-path: polygon(12% 0, 100% 12%, 86% 100%, 0 74%);
  transform: translateX(14px) skewX(-3deg);
  transition: opacity 190ms ease, transform 190ms ease;
}

.art-row:hover::before,
.art-row:focus-visible::before,
.art-row:hover::after,
.art-row:focus-visible::after {
  opacity: 1;
}

.art-row:hover::after,
.art-row:focus-visible::after {
  transform: translateX(0) skewX(-3deg);
}

.art-row:hover .art-row-title,
.art-row:focus-visible .art-row-title {
  transform: translateX(5px);
  text-shadow:
    1px 0 rgba(111,234,255,0.18),
    -1px 0 rgba(168,137,255,0.12);
}

.art-row-title {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.05;
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.art-row-meta {
  color: var(--gold-bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.art-index-home .art-row {
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 168px;
  align-content: start;
  padding: 24px 0 28px;
}

.about-fragments li,
.archive-item,
.article-nav a {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-fragments li::before,
.archive-item::before,
.article-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111,234,255,0.13), transparent 14rem),
    linear-gradient(90deg, transparent, rgba(239,210,140,0.035), transparent);
  transition: opacity 160ms ease;
}

.about-fragments li:hover::before,
.about-fragments li:focus-within::before,
.archive-item:hover::before,
.archive-item:focus-within::before,
.article-nav a:hover::before,
.article-nav a:focus-visible::before {
  opacity: 1;
}

.section-heading h2,
.archive-year,
.article-header h1,
.art-piece-copy h3,
.missing-card h1,
.private-card h1 {
  text-shadow:
    0.9px 0 rgba(111,234,255,0.12),
    -0.9px 0 rgba(168,137,255,0.1),
    0 20px 54px rgba(0,0,0,0.5);
}

.about-fragments li,
.archive-item,
.art-piece,
.art-row,
.article-nav a {
  box-shadow:
    inset 0 -1px 0 rgba(111,234,255,0.035),
    inset 1px 0 0 rgba(111,234,255,0.018),
    inset -1px 0 0 rgba(168,137,255,0.016);
}

.about-fragments li:hover,
.archive-item:hover,
.archive-item:focus-within,
.art-piece:hover,
.art-piece:focus-within,
.art-row:hover,
.art-row:focus-visible,
.article-nav a:hover,
.article-nav a:focus-visible {
  box-shadow:
    inset 0 -1px 0 rgba(111,234,255,0.18),
    inset 1px 0 0 rgba(111,234,255,0.08),
    inset -1px 0 0 rgba(168,137,255,0.06),
    0 0 30px rgba(111,234,255,0.035);
}

.about-fragments {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.about-fragments li {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(199,154,69,0.16);
}

.about-fragments strong {
  color: var(--gold-bright);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.about-fragments li:hover strong,
.about-fragments li:focus-within strong {
  color: var(--ivory);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.32),
    -0.8px 0 rgba(255,43,190,0.18);
  transform: translateX(3px);
}

.art-section,
.art-shell,
.archive-shell,
.tap-shell,
.missing-shell {
  padding-block: 110px;
  border-top: 1px solid var(--line);
}

.archive-index {
  border-top: 1px solid var(--line);
}

.archive-month h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 400;
}

.archive-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  max-width: min(980px, 100%);
  margin: 42px 0 24px;
}

.view-toggle {
  display: inline-flex;
  max-width: 100%;
  flex: 0 1 auto;
  margin-inline-start: clamp(22px, 4vw, 70px);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(199,154,69,0.24);
  background: rgba(3,3,3,0.54);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.08),
    -1px 0 0 rgba(168,137,255,0.06);
}

.view-toggle button,
.copy-link,
.private-open,
.tap-skip {
  min-height: 38px;
  border: 1px solid rgba(199,154,69,0.28);
  color: var(--ivory);
  background: rgba(4,4,4,0.42);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.08),
    -1px 0 0 rgba(168,137,255,0.055),
    0 0 18px rgba(111,234,255,0.035);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    text-shadow 180ms ease;
}

.view-toggle button:hover,
.view-toggle button:focus-visible,
.copy-link:hover,
.copy-link:focus-visible,
.private-open:hover,
.private-open:focus-visible,
.tap-skip:hover,
.tap-skip:focus-visible {
  border-color: rgba(111,234,255,0.46);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.38),
    -0.8px 0 rgba(168,137,255,0.22);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(168,137,255,0.15),
    0 0 24px rgba(111,234,255,0.09);
}

.view-toggle button {
  padding: 0 13px;
  border: 0;
  white-space: nowrap;
}

.view-toggle button[aria-pressed="true"] {
  color: #070503;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow:
    1px 0 0 rgba(111,234,255,0.28),
    -1px 0 0 rgba(168,137,255,0.12),
    0 0 22px rgba(239,210,140,0.14);
}

.archive-month {
  padding-top: 32px;
}

.archive-index {
  max-width: min(980px, 100%);
}

.archive-year {
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.9;
}

.archive-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 110px;
  gap: 22px;
  padding: 22px 0;
  padding-inline-end: clamp(12px, 2vw, 30px);
  border-bottom: 1px solid var(--soft-line);
}

.archive-item a {
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.archive-item:hover a,
.archive-item:focus-within a {
  color: var(--ivory);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.3),
    -0.8px 0 rgba(255,43,190,0.18);
  transform: translateX(4px);
}

.archive-item time,
.archive-item span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.constellation-view {
  position: relative;
  min-height: 470px;
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft-line);
  overflow: hidden;
}

.archive-shell.is-constellation .archive-index {
  display: none;
}

.archive-shell.is-constellation .constellation-view {
  display: block;
}

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.constellation-lines line {
  stroke: rgba(111,234,255,0.24);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(1px 0 0 rgba(111,234,255,0.2))
    drop-shadow(-1px 0 0 rgba(168,137,255,0.12));
}

.constellation-view::before {
  content: "";
  position: absolute;
  inset: 10%;
  background:
    linear-gradient(28deg, transparent 45%, rgba(111,234,255,0.18) 45.2%, transparent 45.6%),
    linear-gradient(148deg, transparent 44%, rgba(199,154,69,0.18) 44.2%, transparent 44.7%);
  opacity: 0.55;
}

.archive-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(239,210,140,0.76);
  border-radius: 999px;
  background: #050505;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.42),
    -1px 0 0 rgba(168,137,255,0.26),
    0 0 18px rgba(239,210,140,0.24),
    0 0 28px rgba(111,234,255,0.08);
  transform: translate(-50%, -50%);
  text-indent: -999px;
  overflow: visible;
}

.archive-node::after {
  content: attr(data-title);
  position: absolute;
  left: 20px;
  top: -8px;
  width: max-content;
  max-width: 260px;
  text-indent: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.archive-node:hover,
.archive-node:focus-visible {
  border-color: var(--cold-cyan);
  box-shadow:
    1.6px 0 0 rgba(111,234,255,0.58),
    -1.6px 0 0 rgba(168,137,255,0.34),
    0 0 24px rgba(111,234,255,0.26),
    0 0 44px rgba(239,210,140,0.1);
}

.archive-node:hover::after,
.archive-node:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--cold-cyan));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.32),
    -1px 0 0 rgba(168,137,255,0.18),
    0 0 16px rgba(111,234,255,0.18);
}

body.is-near-page-end .article-progress {
  box-shadow:
    1.4px 0 0 rgba(111,234,255,0.5),
    -1.4px 0 0 rgba(168,137,255,0.26),
    0 0 24px rgba(111,234,255,0.34);
}

body[data-surface="article"] .article-header .eyebrow,
body[data-surface="article"] .article-meta {
  animation: article-rise 360ms ease both;
}

body[data-surface="article"] .article-header h1 {
  animation: article-rise 420ms 70ms ease both;
}

body[data-surface="article"] .article-body {
  animation: article-body-in 520ms 150ms ease both;
}

.article-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.copy-link {
  padding: 0 14px;
}

.article-toc {
  max-width: 760px;
  margin: -24px 0 46px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(199,154,69,0.18);
}

.article-toc .eyebrow {
  margin-bottom: 14px;
}

.article-toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-section;
}

.article-toc li {
  counter-increment: article-section;
}

.article-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.28;
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.article-toc a::before {
  content: counter(article-section, decimal-leading-zero);
  color: var(--gold-bright);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-toc a:hover,
.article-toc a:focus-visible,
.article-toc a[aria-current="location"] {
  color: var(--ivory);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.24),
    -0.8px 0 rgba(168,137,255,0.14);
  transform: translateX(4px);
}

.copy-link.is-copied {
  border-color: var(--cold-cyan);
  color: var(--cold-cyan);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.44),
    -0.8px 0 rgba(168,137,255,0.22);
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--gold-bright);
  font-size: 3.8em;
  line-height: 0.78;
  text-shadow:
    1.2px 0 rgba(111,234,255,0.24),
    -1px 0 rgba(168,137,255,0.16),
    0 0 26px rgba(239,210,140,0.08);
}

.article-body h2 {
  position: relative;
  padding-left: 18px;
}

.heading-anchor {
  position: relative;
  top: -0.08em;
  min-width: 28px;
  min-height: 28px;
  margin-left: 10px;
  padding: 0;
  border: 1px solid rgba(199,154,69,0.18);
  color: var(--muted);
  background: rgba(3,3,3,0.36);
  font: inherit;
  font-size: 0.78em;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.article-body h2:hover .heading-anchor,
.heading-anchor:focus-visible,
.heading-anchor.is-copied {
  opacity: 1;
  transform: translateX(0);
}

.heading-anchor:hover,
.heading-anchor:focus-visible,
.heading-anchor.is-copied {
  color: var(--cold-cyan);
  border-color: rgba(111,234,255,0.38);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.34),
    -0.8px 0 rgba(168,137,255,0.18);
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1px;
  height: 1.1em;
  background: linear-gradient(var(--gold-bright), var(--cold-cyan));
  box-shadow:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(255,43,190,0.12);
}

.article-body blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--gold-bright);
  color: var(--ivory);
  font-size: 1.35em;
  line-height: 1.55;
}

.article-body sup a,
.article-body .footnote {
  color: var(--cold-cyan);
  text-decoration: none;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  text-decoration: none;
}

.article-nav span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.private-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.private-card::before {
  content: "";
  display: block;
  width: min(230px, 58vw);
  aspect-ratio: 1;
  margin: 0 auto 30px;
  border: 1px solid rgba(199,154,69,0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111,234,255,0.13), transparent 0 14%, rgba(0,0,0,0) 28%),
    radial-gradient(circle, transparent 0 42%, rgba(111,234,255,0.06) 43% 45%, transparent 46%),
    conic-gradient(from 120deg, transparent, rgba(239,210,140,0.2), transparent, rgba(111,234,255,0.17), transparent);
  box-shadow:
    inset 0 0 70px rgba(0,0,0,0.7),
    1.4px 0 0 rgba(111,234,255,0.22),
    -1.4px 0 0 rgba(168,137,255,0.14),
    0 0 46px rgba(111,234,255,0.08);
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.private-card.is-open::before {
  transform: scale(0.86) rotate(24deg);
  box-shadow:
    inset 0 0 92px rgba(0,0,0,0.82),
    1.8px 0 0 rgba(111,234,255,0.32),
    -1.8px 0 0 rgba(168,137,255,0.18),
    0 0 58px rgba(111,234,255,0.18);
}

.private-card form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  visibility: hidden;
  transition:
    max-height 300ms ease,
    opacity 220ms ease,
    visibility 0ms linear 300ms;
}

.private-card.is-open form {
  max-height: 190px;
  opacity: 1;
  margin-top: 16px;
  visibility: visible;
  transition-delay: 0ms;
}

.private-card.is-denied {
  animation: glitch-brief 260ms steps(2, end) 1;
}

.private-card input:focus {
  border-color: var(--cold-cyan);
  box-shadow: 0 0 0 1px rgba(111,234,255,0.32), 0 0 28px rgba(111,234,255,0.1);
}

.private-card input[aria-invalid="true"] {
  border-color: rgba(111,234,255,0.52);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(255,43,190,0.18),
    0 0 26px rgba(111,234,255,0.08);
}

.tap-shell,
.missing-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
}

.tap-sequence {
  position: relative;
  width: min(760px, 100%);
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.tap-sequence::before {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,234,255,0.92), transparent);
  box-shadow: 0 0 28px rgba(111,234,255,0.65);
  animation: tap-scan 2.3s cubic-bezier(.2,.8,.2,1) both;
}

.tap-emblem {
  width: min(250px, 58vw);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  clip-path: circle(48% at 50% 43%);
  opacity: 0;
  filter: saturate(0.2) hue-rotate(145deg) brightness(1.4) drop-shadow(0 0 26px rgba(111,234,255,0.32));
  animation: tap-emblem 2.25s ease both;
}

.tap-title {
  position: absolute;
  top: 28%;
  margin: 0;
  color: var(--cold-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: tap-title 2.2s ease both;
}

.tap-sail {
  position: absolute;
  inset: 34% 4% 8%;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(111,234,255,0.15) 25% 26%, transparent 27% 52%, rgba(168,137,255,0.14) 53% 54%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(239,210,140,0.06) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 68% 50%, rgba(239,210,140,0.18), transparent 48%);
  clip-path: polygon(15% 8%, 95% 12%, 78% 92%, 4% 76%);
  border-left: 1px solid rgba(111,234,255,0.62);
  border-bottom: 1px solid rgba(239,210,140,0.42);
  filter: var(--edge-bleed-filter);
  animation: tap-sail 2.35s ease both;
}

.tap-options {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: tap-options 2.45s ease both;
}

.tap-options a,
.missing-shell a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(199,154,69,0.28);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    1px 0 0 rgba(111,234,255,0.1),
    -1px 0 0 rgba(168,137,255,0.07),
    0 0 18px rgba(111,234,255,0.04);
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, text-shadow 180ms ease;
}

.tap-options a:hover,
.tap-options a:focus-visible,
.missing-shell a:hover,
.missing-shell a:focus-visible {
  border-color: rgba(111,234,255,0.45);
  color: var(--ivory);
  text-shadow:
    0.8px 0 rgba(111,234,255,0.36),
    -0.8px 0 rgba(168,137,255,0.2);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(168,137,255,0.14),
    0 0 26px rgba(111,234,255,0.08);
}

.tap-skip {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 14px;
}

.tap-sequence.is-skipped * {
  animation-duration: 1ms !important;
  animation-delay: 0ms !important;
}

.missing-card {
  position: relative;
  width: min(760px, 100%);
  text-align: center;
}

.missing-card::before {
  content: "";
  display: block;
  width: min(430px, 86vw);
  aspect-ratio: 1.2;
  margin: 0 auto 26px;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(111,234,255,0.14) 19% 20%, transparent 21% 42%, rgba(239,210,140,0.11) 43% 44%, transparent 45%),
    repeating-linear-gradient(0deg, rgba(111,234,255,0.08) 0 1px, transparent 1px 14px);
  clip-path: polygon(12% 18%, 86% 10%, 78% 31%, 96% 36%, 68% 86%, 7% 68%);
  filter:
    var(--edge-bleed-filter)
    drop-shadow(0 0 26px rgba(111,234,255,0.12));
  animation: broken-scan 3.4s steps(3, end) infinite;
}

.missing-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 400;
  line-height: 0.86;
  color: var(--gold-bright);
}

.missing-card p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.site-footer {
  min-height: 82px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-status {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-bright);
  box-shadow:
    1px 0 0 rgba(111,234,255,0.42),
    -1px 0 0 rgba(168,137,255,0.24),
    0 0 16px rgba(239,210,140,0.65);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cold-cyan);
  text-shadow: 0 0 18px rgba(111,234,255,0.24);
}

.status-dot:focus-visible,
.footer-status:focus-visible {
  outline: 1px solid var(--cold-cyan);
  outline-offset: 6px;
}

.status-dot {
  position: relative;
}

.status-dot::after {
  content: "still here";
  position: absolute;
  right: 0;
  top: 18px;
  width: max-content;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease 0s, transform 180ms ease 0s;
}

.status-dot:hover::after,
.status-dot:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.6s;
}

html.save-data .holo-cursor-field,
html.save-data .holo-cursor-wake {
  display: none;
}

html.save-data .missing-card::before,
html.save-data .site-header::after {
  animation: none;
}

body.water-rite .water-vignette {
  background:
    radial-gradient(circle at 50% 42%, rgba(111,234,255,0.09), transparent 16rem),
    radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.42) 72%, rgba(0,0,0,0.87) 100%);
}

body.spectral-word {
  animation: glitch-brief 360ms steps(2, end) 1;
}

@keyframes cursor-refract {
  0%, 100% {
    clip-path: polygon(0 24%, 100% 17%, 100% 25%, 0 32%, 0 69%, 100% 61%, 100% 68%, 0 77%);
    transform: translateX(0) rotate(var(--cursor-scan-angle));
  }
  50% {
    clip-path: polygon(0 16%, 100% 22%, 100% 31%, 0 26%, 0 75%, 100% 64%, 100% 82%, 0 87%);
    transform: translateX(1.5px) rotate(var(--cursor-scan-angle)) skewX(4deg);
  }
}

@keyframes cursor-prism-turn {
  to { transform: rotate(360deg); }
}

@keyframes cursor-prism-jitter {
  0%, 100% {
    clip-path: polygon(0 19%, 100% 13%, 100% 21%, 0 29%, 0 62%, 100% 55%, 100% 67%, 0 75%);
    transform: translateX(0) skewX(0deg);
  }
  50% {
    clip-path: polygon(0 14%, 100% 20%, 100% 31%, 0 26%, 0 70%, 100% 59%, 100% 79%, 0 84%);
    transform: translateX(1.5px) skewX(5deg);
  }
}

@keyframes cursor-pulse {
  0% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.72) rotate(0deg); }
  62% { opacity: 0.26; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4.6) rotate(96deg); }
}

@keyframes transition-sweep {
  to { transform: translateX(132vw); }
}

@keyframes header-rule {
  0%, 100% { transform: scaleX(0.35); opacity: 0.58; }
  50% { transform: scaleX(1); opacity: 0.92; }
}

@keyframes glitch-brief {
  0%, 100% { filter: none; transform: translateX(0); }
  30% { filter: hue-rotate(12deg) saturate(1.18); transform: translateX(2px); }
  60% { filter: hue-rotate(-10deg) saturate(1.1); transform: translateX(-2px); }
}

@keyframes article-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes article-body-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tap-scan {
  0% { opacity: 0; transform: translateY(-34vh); }
  18% { opacity: 1; }
  62% { opacity: 1; }
  100% { opacity: 0; transform: translateY(30vh); }
}

@keyframes tap-title {
  0%, 16% { opacity: 0; transform: translateY(8px); }
  26%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes tap-emblem {
  0%, 28% { opacity: 0; transform: scale(0.92); }
  42%, 72% { opacity: 0.62; transform: scale(1); }
  100% { opacity: 0.18; transform: scale(1.08); }
}

@keyframes tap-sail {
  0%, 52% { opacity: 0; transform: perspective(600px) rotateY(54deg) scaleX(0.45); }
  76%, 100% { opacity: 1; transform: perspective(600px) rotateY(0) scaleX(1); }
}

@keyframes tap-options {
  0%, 70% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes broken-scan {
  0%, 100% { opacity: 0.82; transform: translateX(0); }
  33% { opacity: 0.66; transform: translateX(4px); }
  66% { opacity: 0.88; transform: translateX(-3px); }
}

@keyframes altar-scan {
  0%, 100% {
    opacity: 0.28;
    transform: translateY(-190px) scaleX(0.72);
  }
  45% {
    opacity: 0.64;
  }
  55% {
    opacity: 0.54;
    transform: translateY(132px) scaleX(1);
  }
}

@keyframes target-glint {
  0% {
    filter: drop-shadow(0 0 0 rgba(111,234,255,0));
  }
  38% {
    filter:
      drop-shadow(1px 0 0 rgba(111,234,255,0.22))
      drop-shadow(-1px 0 0 rgba(255,43,190,0.12))
      drop-shadow(0 0 26px rgba(111,234,255,0.08));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(111,234,255,0));
  }
}

@keyframes oracle-trace {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes command-scan {
  from {
    opacity: 0;
    transform: translateY(-22px) scaleX(0.28);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

@keyframes idle-refraction {
  0%, 100% {
    filter: hue-rotate(0deg) saturate(1);
    transform: translate3d(0, 0, 0);
  }
  50% {
    filter: hue-rotate(10deg) saturate(1.12);
    transform: translate3d(0, -8px, 0);
  }
}

@media (min-width: 1100px) {
  .article-shell {
    position: relative;
  }

  .article-shell::after {
    content: "margin";
    position: absolute;
    left: calc(100% + 34px);
    top: 255px;
    color: rgba(169,161,147,0.28);
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
  }
}

@media (max-width: 860px) {
  .site-depth-rail,
  .link-oracle {
    display: none;
  }

  .command-palette {
    align-items: start;
    padding: 86px 12px 12px;
  }

  .command-palette-panel {
    max-height: calc(100vh - 110px);
  }

  .command-palette input {
    min-height: 64px;
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .command-option {
    min-height: 62px;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
  }

  .command-option small {
    justify-self: start;
  }

  .primary-nav {
    width: 100%;
    border-top: 1px solid rgba(199,154,69,0.12);
    border-bottom: 1px solid rgba(111,234,255,0.08);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .primary-nav a {
    flex: 1 0 auto;
    text-align: center;
    scroll-snap-align: center;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .about-fragments li,
  .art-row,
  .archive-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .art-overview,
  .art-page-hero,
  .art-arrival {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 82px;
  }

  .art-heading,
  .art-page-copy,
  .art-arrival-copy,
  .art-plate-home,
  .art-plate-page,
  .art-index-home {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .art-heading h2,
  .art-page-copy h1 {
    max-width: 100%;
    font-size: clamp(4.15rem, 18vw, 7.4rem);
  }

  .art-plate-home,
  .art-plate-page {
    height: clamp(360px, 84vw, 590px);
    margin-top: 34px;
  }

  .art-arrival-copy h2 {
    max-width: 100%;
    font-size: clamp(4rem, 14vw, 7rem);
  }

  .art-altar {
    min-height: clamp(640px, 116vw, 860px);
  }

  .art-altar-main {
    left: 16%;
    width: 62%;
  }

  .art-altar-piece-a {
    right: 3%;
    width: 40%;
  }

  .art-altar-piece-b {
    left: 0;
    width: 38%;
  }

  .art-altar-piece-c {
    right: 8%;
    width: 43%;
  }

  .art-altar-piece-d {
    left: 4%;
    width: 43%;
  }

  .art-work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .art-piece,
  .art-piece-tall,
  .art-piece-slim {
    grid-column: span 3;
  }

  .art-piece-large,
  .art-piece-wide,
  .art-piece-monument,
  .art-piece-panorama {
    grid-column: 1 / -1;
  }

  .art-index-home {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
  }

  .art-row::after,
  .journal-entry::after {
    display: none;
  }

  .archive-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-toggle {
    display: none;
  }

  .archive-shell.is-constellation .archive-index {
    display: block;
  }

  .archive-shell.is-constellation .constellation-view,
  .constellation-view {
    display: none;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .art-viewer {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding-top: 72px;
  }

  .art-viewer figure {
    max-height: calc(100vh - 210px);
  }

  .art-viewer img {
    max-height: calc(100vh - 330px);
  }

  .art-viewer-nav {
    width: 100%;
    writing-mode: horizontal-tb;
  }

  .art-viewer-strip {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 4;
    justify-content: flex-start;
    transform: none;
  }

  .art-viewer-prev {
    order: 2;
  }

  .art-viewer-next {
    order: 3;
  }
}

@media (max-width: 560px) {
  .command-palette {
    padding-top: 74px;
  }

  .command-palette-topline {
    padding-inline: 12px;
  }

  .command-palette input {
    padding-inline: 12px;
  }

  .command-palette-list {
    padding: 6px;
  }

  .about-fragments li {
    gap: 6px;
  }

  .art-section,
  .archive-shell,
  .tap-shell,
  .missing-shell {
    padding-block: 78px;
  }

  .art-section {
    padding-top: 0;
  }

  .art-plate,
  .art-plate-home,
  .art-plate-page {
    height: clamp(300px, 96vw, 470px);
  }

  .art-overview,
  .art-page-hero,
  .art-arrival {
    padding-block: 96px 78px;
  }

  .art-work-grid {
    grid-template-columns: 1fr;
  }

  .art-piece,
  .art-piece-tall,
  .art-piece-large,
  .art-piece-wide,
  .art-piece-monument,
  .art-piece-panorama,
  .art-piece-slim {
    grid-column: 1 / -1;
  }

  .art-altar {
    min-height: 720px;
  }

  .art-altar::before {
    inset: 4% 0 10%;
  }

  .art-altar-main {
    left: 8%;
    top: 0;
    width: 76%;
    height: 55%;
  }

  .art-altar-piece-a {
    right: 2%;
    top: 38%;
    width: 48%;
    height: 22%;
  }

  .art-altar-piece-b {
    left: 0;
    top: 42%;
    width: 43%;
    height: 28%;
  }

  .art-altar-piece-c {
    right: 7%;
    bottom: 10%;
    width: 52%;
    height: 24%;
  }

  .art-altar-piece-d {
    left: 4%;
    bottom: 2%;
    width: 48%;
    height: 22%;
  }

  .art-altar-ledger {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .art-preview-primary {
    left: 10%;
    width: 62%;
  }

  .art-preview-secondary {
    right: 5%;
    width: 38%;
  }

  .art-preview-tertiary {
    width: 48%;
  }

  .tap-options {
    flex-direction: column;
  }

  .tap-options a {
    width: 100%;
  }

  .art-viewer {
    padding-inline: 12px;
  }

  .art-viewer figure {
    max-height: calc(100vh - 232px);
  }

  .art-viewer img {
    max-height: calc(100vh - 360px);
  }

  .art-viewer-trigger {
    opacity: 1;
    transform: none;
  }

  .art-filter {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .art-filter::-webkit-scrollbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.site-js body,
  html.site-js body.is-ready {
    opacity: 1;
    transition: none;
  }

  body.is-page-leaving .page-transition-line::before,
  .site-header::after,
  .art-plate::before,
  .tap-sequence::before,
  .tap-title,
  .tap-emblem,
  .tap-sail,
  .tap-options,
  .missing-card::before,
  .art-viewer::before,
  .art-altar::after,
  .command-palette::before,
  .link-oracle.is-visible,
  body.is-idle-spectral .water-vignette::after {
    animation: none !important;
  }

  .page-transition-line {
    display: none;
  }

  .art-viewer-trigger,
  .art-viewer,
  .art-altar figure,
  .command-option,
  .site-depth-rail a {
    transition: none;
  }

  .water-vignette::after,
  .link-oracle {
    display: none;
  }
}

@media (forced-colors: active) {
  .holo-cursor-field,
  .holo-cursor,
  .holo-cursor-dot,
  .holo-cursor-wake,
  .holo-cursor-pulse {
    display: none;
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible {
    outline: 2px solid CanvasText;
  }

  .art-viewer,
  .art-viewer figure,
  .art-viewer-trigger,
  .article-toc a,
  .command-palette-panel,
  .command-option {
    border-color: CanvasText;
  }

  .site-depth-rail,
  .link-oracle,
  .water-vignette::after {
    display: none;
  }
}
