/* Analog Dreams and the EposVox portfolio share their palette, type and signal effects. */
@font-face {
  font-family: Chakra;
  src: url('./chakra-petch-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #12101c;
  --paper: #f2eae8;
  --muted: #bdb1c8;
  --line: #504258;
  --pink: #ff91c5;
  --aqua: #a6ede5;
  --acid: #54e3dc;
  --mono: 'Courier New', Courier, monospace;
  --display: Chakra, Arial, sans-serif;
  color-scheme: dark;
  color: var(--paper);
  background: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: radial-gradient(ellipse at 98% 20%, #38284048, transparent 55%), var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--aqua); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a, input, button, summary):focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
::selection { background: var(--aqua); color: var(--ink); }
img, video { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 10; padding: 1rem; color: var(--ink); background: var(--aqua); }
.skip-link:focus { top: 1rem; color: var(--ink); }
.topline, .site-header, .site-footer { padding-inline: max(4%, calc((100% - 1500px) / 2)); }
.topline { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid var(--line); background: #1b1527; color: #c5b7cd; font: .69rem/1.4 var(--mono); letter-spacing: .12em; }
.signal-dot { display: inline-block; width: .4rem; height: .4rem; margin-right: .5rem; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px #54e3dc66; }
.site-header { display: flex; align-items: center; gap: clamp(1rem, 3.4vw, 3.5rem); padding-block: 1rem; background: #14101dea; border-bottom: 1px solid #67507055; }
.wordmark { display: inline-block; width: fit-content; color: var(--paper); font: 700 2rem/1 var(--display); letter-spacing: -.075em; white-space: nowrap; }
.wordmark span, .motion-toggle span { color: var(--acid); }
.wordmark sup { margin-left: .15em; color: var(--pink); font: .7rem Georgia, serif; vertical-align: top; }
.site-header nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(.85rem, 2.2vw, 2rem); font: .87rem var(--mono); }
.site-header nav a { padding: .45rem 0; color: #cfc1d5; }
.site-header nav a:hover, .site-header nav [aria-current] { color: var(--aqua); }
.site-header nav [aria-current] { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: .47rem; }
.motion-toggle { padding: .65rem .72rem; border: 1px solid #695673; background: #2b2039; box-shadow: 2px 2px 0 #08060c; white-space: nowrap; font: .75rem var(--mono); }
.dream-sky { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 67% 44%, #5e3c9470, transparent 47%), radial-gradient(ellipse at 12% 10%, #283e6455, transparent 50%), linear-gradient(125deg,#13101c 10%,#21172f 70%,#151721); }
.dream-sky::before { content: ''; position: absolute; pointer-events: none; inset: 0; z-index: -1; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.dream-sky::after { content: ''; position: absolute; pointer-events: none; z-index: -1; width: 65%; height: 180px; right: -15%; top: 38%; background: linear-gradient(100deg, transparent,#ff77b72c,#54e3dc66); filter: blur(45px); transform: rotate(-27deg); animation: color-drift 18s ease-in-out infinite alternate; }
.dream-orbit { position: absolute; pointer-events: none; z-index: -1; width: 1020px; height: 360px; right: -300px; top: 200px; border: 1px solid #d9b2f12b; border-radius: 50%; transform: rotate(-43deg); }
.dream-orbit::after { content: ''; position: absolute; inset: 40px -30px; border: 1px solid #54e3dc23; border-radius: 50%; }
.inner { width: min(86%, 1240px); margin-inline: auto; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 5%; padding-block: clamp(3.6rem, 6vw, 6rem); }
.eyebrow, .meta, .window-bar, .art-caption, .pager, .footer-bottom { font-family: var(--mono); }
.eyebrow { color: #ccb8d6; font-size: .76rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .11em; }
.hero-copy { z-index: 1; }
.hero h1 { margin: 1.25rem 0 1rem; font-size: clamp(4rem, 7.8vw, 7.2rem); line-height: .85; }
.analog-title { display: block; font: 700 .88em/.9 var(--display); letter-spacing: -.075em; color: #ede7f3; text-shadow: 2px 0 #54e3dc66,-2px 0 #ff77b766; }
.dream-title { display: block; color: #c7f2ef; font: italic 1.26em/1.03 Georgia, serif; letter-spacing: -.095em; text-shadow: 3px 2px 0 #54e3dc25,-2px -1px 0 #ff77b755; }
.dream-asterisk { display: inline-block; margin: .22em 0 0 .28em; color: #ff77b7; font: .37em/1 Georgia, serif; vertical-align: top; text-shadow: none; animation: star-turn 48s linear infinite; }
.hero-description { max-width: 32ch; color: #e8d8e9; font: italic clamp(1.3rem, 2vw, 1.9rem)/1.22 Georgia, serif; }
.hero-latest { margin-top: 2rem; }
.hero-search { margin-top: 1.5rem; }
.hero-latest .eyebrow { display: block; margin-bottom: .5rem; color: var(--aqua); }
.hero-latest a { display: inline-block; max-width: 38ch; font: 700 clamp(1rem, 1.45vw, 1.3rem)/1.3 var(--display); text-decoration: underline; text-decoration-color: #977c99; text-underline-offset: .25em; }
.collage { position: relative; min-width: 0; width: 100%; height: clamp(21rem, 31vw, 31rem); isolation: isolate; }
.echo-frame, .hero-art, .memory-frame { position: absolute; }
.echo-frame { overflow: hidden; z-index: 0; width: 74%; height: 72%; left: 5%; top: 4%; transform: rotate(-12deg); border: 1px solid #a6d3d3; box-shadow: 0 0 30px #54e3dc16; background: #1b263b; }
.echo-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.hero-art { z-index: 2; width: 79%; left: 12%; top: 10%; transform: rotate(5deg); border: 1px solid #ad99c2; background: #271b35; box-shadow: 0 20px 70px #080512b0,7px 7px 0 #6b537b55; animation: dream-float 14s ease-in-out infinite alternate; }
.hero-art::before { content: ''; position: absolute; inset: -9px 9px 9px -9px; z-index: -1; border: 1px solid #af83c777; transform: rotate(-2deg); }
.window-bar, .art-caption { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem .67rem; color: #f1e5fc; font-size: clamp(.56rem, .75vw, .7rem); }
.window-bar { background: linear-gradient(90deg, #493558, #9981ae); }
.crt-screen { position: relative; display: block; margin: 3px 7px; overflow: hidden; border-radius: 4px 4px 1.3rem 1.3rem; }
.crt-screen img { display: block; width: 100%; aspect-ratio: 1.42; object-fit: cover; object-position: 50% 40%; }
.crt-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, #14102422 3px 4px), linear-gradient(135deg, #f3d5ff22, transparent 45%); box-shadow: inset 0 0 35px #160e3360; }
.vhs-osd { position: absolute; inset: .8rem .8rem auto; display: flex; justify-content: space-between; color: white; font: .65rem var(--mono); text-shadow: 2px 1px #7f487f; }
.memory-frame { width: 34%; left: 0; bottom: 0; z-index: 3; padding: 6px 6px 0; background: #e1d8de; box-shadow: 7px 10px 30px #100b1f99; transform: rotate(-9deg); transition: transform .25s; }
.memory-frame:hover { transform: rotate(-4deg) translateY(-6px); }
.memory-frame img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.memory-frame span { display: block; padding: .58em 0 .7em; text-align: center; font: italic clamp(.65rem, 1.1vw, .95rem) Georgia,serif; color: #443346; }
.tape-tag { position: absolute; right: 0; bottom: 5%; z-index: 3; transform: rotate(9deg); background: #e994be; color: #38273b; padding: .6rem .9rem; font: 700 clamp(.92rem, 1.4vw, 1.4rem)/1 var(--display); letter-spacing: -.05em; clip-path: polygon(3% 0,100% 3%,97% 96%,0 100%); }
.tape-tag em { font: italic 1.28em/.95 Georgia, serif; }
.collage-star { position: absolute; z-index: 3; right: -1%; top: -4%; color: var(--aqua); font: clamp(4rem, 6.7vw, 7rem)/1 Georgia, serif; transform: rotate(14deg); }
.ticker { width: 100%; overflow: hidden; background: #1c2530; color: #9cdedb; border-block: 1px solid #7cbcb855; transform: skewY(-.8deg); font: .72rem var(--mono); letter-spacing: .11em; box-shadow: 0 8px 30px #0003; }
.ticker-track { display: flex; width: max-content; padding-block: .65rem; animation: tape-scroll 48s linear infinite; }
.ticker-track span { display: flex; align-items: center; white-space: nowrap; gap: 2rem; padding-right: 2rem; }
.ticker b { color: var(--pink); font: 1rem Georgia, serif; }
.collection, .directory, .error-page { padding-block: clamp(3rem, 6vw, 6rem); }
.collection-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.section-title, .page-title { color: var(--paper); font: 400 clamp(2.3rem, 4.7vw, 4.2rem)/1.05 Georgia, serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.text-link { color: var(--aqua); text-decoration: underline; text-decoration-color: #6f8786; text-underline-offset: .3em; font: .86rem/1.5 var(--mono); }
.entry-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(7.5rem,.68fr) minmax(0,3.45fr); gap: clamp(1rem, 4vw, 4rem); padding-block: 1.75rem; }
.entry-row:last-child { border-bottom: 1px solid var(--line); }
.entry-row time { padding-top: .4rem; color: var(--aqua); font: .81rem/1.5 var(--mono); }
.entry-summary { display: flex; align-items: flex-start; gap: 1.5rem; min-width: 0; }
.entry-copy { flex: 1; min-width: 0; }
.entry-title { font: 700 clamp(1.5rem, 2.45vw, 2.35rem)/1.13 var(--display); letter-spacing: -.045em; overflow-wrap: anywhere; }
.entry-title a { display: inline-block; }
.entry-excerpt { margin-top: .55rem; color: #c1b8ca; font: 1rem/1.6 Arial, sans-serif; max-width: 78ch; }
.entry-thumb { display: block; flex: 0 0 min(18%, 9rem); aspect-ratio: 1.45; align-self: center; border: 3px solid #30243b; outline: 1px solid #70597c; object-fit: cover; min-width: 0; width: 18%; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; color: var(--muted); font-size: .84rem; }
.pager a, .button-primary { display: inline-block; padding: .8rem 1rem; border: 1px solid #75637d; background: #201a2b; color: var(--paper); font: .87rem var(--mono); }
.pager a:hover, .button-primary { background: var(--aqua); border-color: #c3fff4; color: var(--ink); }
.button-primary { font-weight: 700; box-shadow: 3px 3px 0 #537f8266; }
.button-primary:hover { color: var(--ink); background: #e7f7ee; }
.archive-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; padding-block: clamp(3rem, 7vw, 7rem); }
.banner-text { min-width: 0; flex: 1 1 min(100%, 25rem); }
.archive-banner .eyebrow, .article-intro .eyebrow { margin-bottom: 1rem; }
.archive-banner .page-title { font: 700 clamp(3rem, 6.2vw, 6rem)/1 var(--display); letter-spacing: -.065em; text-shadow: 2px 0 #54e3dc44,-2px 0 #ff77b744; }
.banner-description { max-width: 58ch; margin-top: 1rem; color: #d6cadd; font-size: 1.08rem; line-height: 1.5; }
.banner-text .text-link { display: inline-block; margin-top: 1rem; }
.author-portrait { width: 6rem; height: 6rem; object-fit: cover; border: 3px solid #d9cfdc; box-shadow: 4px 4px 0 #5c3d6066; transform: rotate(2deg); }
.author-bio { display: flex; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.author-bio .author-portrait { width: 3.75rem; height: 3.75rem; }
.author-bio strong { font-family: var(--display); }
.author-bio p { color: var(--muted); margin-top: .35rem; font: .89rem/1.45 Arial, sans-serif; }
.directory-tools { max-width: 55rem; display: grid; gap: .65rem; margin-bottom: 2.3rem; }
.directory-tools label { font: 700 1.16rem/1.3 var(--display); }
.search-controls, .search-feedback, .feed-address { display: flex; align-items: center; gap: .75rem 1rem; }
.search-feedback { flex-wrap: wrap; }
.result-count, .browse-hint, .feed-subscribe { color: var(--muted); font: .88rem/1.5 var(--mono); }
.browse-hint { margin-bottom: 1.5rem; }
.directory-tools input, .feed-address input { flex: 1; min-width: 0; background: #21192c; color: var(--paper); border: 1px solid #7e688b; border-radius: 0; padding: .8rem 1rem; font-size: 1rem; }
.clear-search, .copy-feed { flex: none; padding: .75rem; color: var(--aqua); background: #2b2039; border: 1px solid #695673; font: .86rem/1.3 var(--mono); }
.feed-subscribe { margin-top: 1.5rem; max-width: 44rem; }
.feed-subscribe summary { cursor: pointer; padding-block: .55rem; color: var(--aqua); }
.feed-subscribe p { margin: .55rem 0; }
.feed-address { flex-wrap: wrap; }
.feed-address input { font-family: var(--mono); }
.feed-links { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; }
.feed-links a { text-decoration: underline; text-underline-offset: .2em; }
.tags-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap: .7rem; }
.tags-grid a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem; border: 1px solid var(--line); background: #21192a; font: 700 1.15rem var(--display); }
.tags-grid small { color: var(--aqua); font: .78rem var(--mono); }
.article-intro { width: min(86%, 1000px); margin: auto; padding-block: clamp(3rem, 6vw, 6rem); }
.article-intro h1 { max-width: 22ch; margin: .85rem 0 1.35rem; font: 700 clamp(2.6rem, 5.5vw, 5.5rem)/1.03 var(--display); letter-spacing: -.055em; color: #f1e9f3; text-shadow: 2px 0 #54e3dc44,-2px 0 #ff77b744; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #d0c3d7; font: .88rem/1.5 var(--mono); }
.article-meta a, .tags a { text-decoration: underline; text-underline-offset: .24em; color: var(--aqua); }
.article-cover { width: min(94%, 1120px); margin: 2rem auto 0; }
.article-cover img { display: block; max-height: 75vh; width: 100%; object-fit: contain; }
figcaption { margin-top: .5rem; font: .86rem/1.55 var(--mono); color: var(--muted); }
.prose, .article-footer { width: min(86%, 720px); margin-inline: auto; }
.prose { padding-top: clamp(2rem, 4vw, 4.5rem); font: clamp(1.08rem, 1.12vw, 1.22rem)/1.7 Georgia, 'Times New Roman', serif; overflow-wrap: break-word; color: #e5dce8; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose pre, .prose .post__iframe { margin: 0 0 1.35em; }
.prose h2, .prose h3, .prose h4 { margin: 1.45em 0 .5em; color: var(--paper); line-height: 1.2; }
.prose h2 { font-size: 1.85em; font-weight: 400; letter-spacing: -.04em; }
.prose h3 { font: 700 1.4em/1.2 var(--display); }
.prose img { display: block; max-width: 100%; height: auto; }
.prose a { color: var(--aqua); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.prose a:hover { color: var(--pink); }
.prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.prose pre { background: #211b2c; padding: 1rem; overflow: auto; }
.prose code { font: .85em/1.55 var(--mono); }
.prose blockquote, .prose .msg { margin-left: 0; border-left: 3px solid var(--pink); background: #2c1f32; padding: .6em 1.1em; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose iframe, .prose audio, .prose video { max-width: 100%; }
.prose iframe { border: 0; }
.prose .post__video iframe, .prose .post__iframe iframe, .prose iframe[src*='youtube.com/embed/'], .prose iframe[src*='youtube-nocookie.com/embed/'], .prose iframe[src*='player.vimeo.com/video/'] { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.prose figure.align-right { margin-inline-start: auto; text-align: right; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: .5rem .8rem; border: 1px solid var(--line); }
.article-footer { margin-block: 2rem 4.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.tags, .updated, .share { display: flex; gap: .55rem 1rem; flex-wrap: wrap; align-items: baseline; font: .83rem/1.5 var(--mono); color: var(--muted); }
.updated, .share { margin-top: 1rem; }
.share a { text-decoration: underline; text-underline-offset: .2em; }
.article-nav { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(14rem,100%),1fr)); }
.article-nav a { padding-top: 1rem; border-top: 1px solid var(--line); font: 700 1.1rem/1.3 var(--display); }
.article-nav a span { display: block; margin-bottom: .55rem; color: var(--muted); font: .76rem var(--mono); }
.error-page { min-height: 48vh; }
.error-page .page-title { margin: 1rem 0 2rem; }
.site-footer { padding-block: 2.5rem 1.3rem; background: radial-gradient(ellipse at 20% 100%, #52335655, transparent 70%),#17121f; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 1.35rem; align-items: center; flex-wrap: wrap; }
.footer-links .wordmark { margin-right: auto; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; font: .85rem var(--mono); }
.footer-bottom { display: flex; gap: .7rem 1rem; flex-wrap: wrap; justify-content: space-between; color: var(--muted); margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; }
@keyframes dream-float { from { transform: translateY(0) rotate(5deg); } to { transform: translateY(-9px) rotate(3.5deg); } }
@keyframes color-drift { from { transform: translateY(-20px) rotate(-27deg); opacity: .5; } to { transform: translateY(40px) rotate(-22deg); opacity: 1; } }
@keyframes tape-scroll { to { transform: translateX(-50%); } }
@keyframes star-turn { to { transform: rotate(360deg); } }
.effects-off, .effects-off * { scroll-behavior: auto !important; }
.effects-off *, .effects-off *::before, .effects-off *::after { animation: none !important; transition: none !important; }
.effects-off .crt-screen::after { display: none; }
.fx-interactive { isolation: isolate; position: relative; }
.fx-interactive.memory-frame { position: absolute; }
@media (max-width: 750px) {
  .site-header { flex-wrap: wrap; gap: .55rem; padding-block: .9rem .7rem; }
  .site-header nav { order: 2; flex: 0 1 100%; justify-content: flex-start; flex-wrap: wrap; gap: .05rem 1.1rem; font-size: .83rem; }
  .motion-toggle { margin-left: auto; }
  .topline > span:last-child { display: none; }
  .inner, .article-intro { width: 88%; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem; }
  .hero h1 { font-size: clamp(4rem, 16vw, 7rem); }
  .hero-description { font-size: 1.4rem; }
  .hero-latest { margin-top: 1.3rem; }
  .collage { width: min(88%, 430px); height: min(65vw, 330px); margin: 0 auto; }
  .collage-star { right: -3%; }
  .tape-tag { bottom: 1%; }
  .entry-row { grid-template-columns: minmax(0,1fr); gap: .5rem; padding-block: 1.3rem; }
  .entry-summary { gap: .65rem; }
  .entry-thumb { max-height: 5.5rem; }
  .search-controls, .feed-address { align-items: stretch; flex-direction: column; }
  .search-controls button, .feed-address button { align-self: flex-start; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
