/* sethadelik.com: the one stylesheet. Dark only, look M1 "Blacklight Grid" (design spec 1.12).
   Every color is a token in :root, but for the system colors of the forced-colors block:
   `cargo xtask contrast` measures the token pairs, refuses any other color written in this file
   and any text color it has not measured as text. Every animation sits in the motion block at
   the end: `cargo xtask motion` refuses one that does not. */

@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/a/instrument-sans.woff2?v=2ee17598a98d) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:200 800;font-display:swap;src:url(/a/atkinson-hyperlegible-next.woff2?v=18b2a1a39a2f) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible Mono";font-style:normal;font-weight:200 800;font-display:swap;src:url(/a/atkinson-hyperlegible-mono.woff2?v=2706b1ee4f45) format("woff2")}

:root{
  color-scheme:dark;
  --page:#05040c;
  --panel:#0d0b1f;
  --panel2:#15122e;
  --line:#3a7bd5;
  --text:#eef6ff;
  --muted:#a9b3d6;
  --link:#5ce1ff;
  --accent:#3dff9a;
  --accent2:#b18cff;
  --accent3:#22d3ff;
  --button:#3dff9a;
  --button-label:#05040c;
  --focus:#ffe66b;
  --error:#ff9a9a;
  --hero-panel:rgba(8,7,22,.88);
  --header:rgba(3,3,10,.92);
  --hero-bg:#030308;
  --art1:#3dff9a;
  --art2:#22d3ff;
  --art3:#8a5cff;
  --art4:#ff4fd8;
  --art5:#eaffd0;
  --display:"Instrument Sans",system-ui,sans-serif;
  --body:"Atkinson Hyperlegible Next",system-ui,sans-serif;
  --mono:"Atkinson Hyperlegible Mono",ui-monospace,monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--page);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--text);font:400 1.125rem/1.55 var(--body)}
a{color:var(--link);text-underline-offset:3px;text-decoration-thickness:1.5px}
a:hover{text-decoration-thickness:3px}
h1,h2,h3{line-height:1.1;margin:0 0 .5em;font-family:var(--display)}
p{margin:0 0 .8em}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:absolute;left:8px;top:-200px;z-index:30;padding:10px 14px;background:var(--panel);color:var(--link);border:2px solid var(--focus);font-weight:700}
.skip:focus{top:8px}
.small,.ext{font-size:.9375rem;color:var(--muted)}
.wrap{max-width:1240px;margin:0 auto;padding:0 16px}

/* The header: the wordmark (home), the menu built from the routes, the SoundCloud button, and
   on phones a disclosure for the menu. */
.site-h{position:relative;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;background:var(--header)}
.brand{display:block;width:128px;flex:none}
.nav{display:none}
.nav a{font:700 1.0625rem/1.2 var(--display);color:var(--text);text-decoration:none;padding:10px 8px;border-bottom:2px solid transparent}
.nav a:hover{border-bottom-color:var(--line)}
.nav a[aria-current=page]{color:var(--accent);border-bottom-color:var(--accent)}
.hd-cta{margin-left:auto}
.wide{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.menu{position:relative}
.menu summary{list-style:none;display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:4px;font:700 1rem/1.2 var(--display);color:var(--text);cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu ul{position:absolute;right:0;top:calc(100% + 8px);z-index:10;min-width:240px;margin:0;padding:8px;list-style:none;background:var(--panel);border:1px solid var(--line)}
.menu li a{display:flex;align-items:center;min-height:44px;padding:8px 12px;font-weight:700}
.menu li .ext{display:block;padding:0 12px 8px}

/* Buttons. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:2px solid var(--button);border-radius:3px;font:700 1.0625rem/1.2 var(--display);letter-spacing:.02em;text-decoration:none;cursor:pointer}
.btn-primary{background:var(--button);color:var(--button-label)}
.btn-secondary{background:transparent;color:var(--link);border-color:var(--link)}
.btn-big{min-height:56px;padding:12px 22px;font-size:1.1875rem}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 14px}

/* The art. Lines keep their width at any size; colors and opacities by class. */
.art{fill:none;stroke-width:1.2;stroke-linejoin:round}
.art path,.art circle{vector-effect:non-scaling-stroke}
.l1{stroke:var(--art1)}.l2{stroke:var(--art2)}.l3{stroke:var(--art3)}.l4{stroke:var(--art4)}.l5{stroke:var(--art5)}
.o3{opacity:.3}.o35{opacity:.35}.o4{opacity:.4}.o5{opacity:.5}.o6{opacity:.6}.o8{opacity:.8}
.hexf{stroke:none;opacity:.35}
.glow{filter:drop-shadow(0 0 4px var(--art1))}
.wm{display:block;width:100%;height:auto;overflow:visible}
.wm path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.wm-glow{stroke:var(--accent);stroke-width:10;opacity:.45;filter:blur(5px)}
.wm-tube{stroke:var(--accent);stroke-width:5.5}
.wm-core{stroke:var(--art5);stroke-width:1.8}

/* The home hero: the art behind, the words always on a panel. Phone: art above, panel below. */
.hero-wrap{position:relative;overflow:hidden;background:var(--hero-bg)}
.hero-box{position:absolute;inset:0}
.hero-art{display:block;width:100%;height:100%}
.hero-d{display:none}
.hero{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:400px 16px 34px}
.hero-in{background:var(--hero-panel);border:1px solid var(--line);padding:20px 18px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero-h{margin:0 0 10px}
.kicker{margin:6px 0;font:700 .9375rem/1.4 var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.lede{font-size:1.25rem;max-width:40em}

/* Panels: the content boxes, with a bracket at two corners. */
.cols{display:block}
.panel{position:relative;margin:28px 0;padding:20px 18px;background:var(--panel);border:1px solid var(--line);border-radius:2px}
.panel::before,.panel::after{content:"";position:absolute;width:14px;height:14px;border:2px solid var(--accent)}
.panel::before{left:-7px;top:-7px;border-right:0;border-bottom:0}
.panel::after{right:-7px;bottom:-7px;border-left:0;border-top:0}
.panel h2{display:flex;align-items:center;gap:10px;font-size:1.25rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.h-ico{display:block;width:22px;height:22px;flex:none;overflow:visible}

/* A show in a list. */
.shows{margin:0;padding:0;list-style:none}
.show{display:grid;grid-template-columns:64px 1fr;gap:6px 14px;padding:8px 0}
.date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:64px;height:80px;background:var(--panel2);border:1px solid var(--line);border-radius:2px;font-family:var(--mono);line-height:1}
.date .dow{font-size:.9375rem;font-weight:700;color:var(--muted)}
.date .day{margin:4px 0;font-size:1.75rem;font-weight:800}
.date .mon{font-size:.9375rem;font-weight:700;color:var(--accent)}
.s-name{margin:0 0 4px;font:700 1.1875rem/1.3 var(--body);text-transform:none;letter-spacing:0}
.s-where{margin:0}
.s-meta{margin:0;font-size:1rem;color:var(--muted)}
.badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--accent2);color:var(--page);font:800 .9375rem/1.3 var(--body);letter-spacing:.04em;text-transform:uppercase;vertical-align:2px}
.note{margin:12px 0 0;color:var(--muted)}
.no-shows{margin:0;font-size:1.25rem}

/* The bio and the music box. */
.bio{margin:0 0 14px}
.bio blockquote{margin:0;padding:2px 0 2px 16px;border-left:2px solid var(--accent)}
.bio figcaption{margin-top:8px;padding-left:18px;font-size:.9375rem;color:var(--muted)}
.lab{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.lab-box{flex:none}
.lab-text{flex:1 1 180px}
.lab-ico{display:block;width:110px;height:110px;overflow:visible}

/* A plain page's heading and words. */
.page-h{margin:28px 0 8px}
.page-h h1{font-size:2.75rem;font-weight:700;letter-spacing:-.01em}
.prose{max-width:46em}

/* The not-found page. */
.nf{padding:10px 0 20px;text-align:center}
.nf-art{display:block;width:300px;height:300px;margin:0 auto;overflow:visible}
.nf-h{margin:0;font:700 min(6.875rem,28vw)/1 var(--display);letter-spacing:.06em;color:var(--text);text-shadow:0 0 18px var(--art1)}
.nf .lede{margin-left:auto;margin-right:auto}
.nf .cta{justify-content:center}

/* The footer. */
.site-f{margin-top:50px;padding:28px 16px 32px;background:var(--panel);border-top:1px solid var(--line)}
.f-in{max-width:1240px;margin:0 auto}
.f-strip{display:flex;justify-content:center;gap:6px;margin:0 0 18px}
.f-strip .solid{display:block;width:64px;height:64px}
.counter{font-family:var(--mono);font-size:.9375rem}
.counter b{padding:1px 6px;border:1px solid var(--accent);color:var(--accent);letter-spacing:.14em}
.f-cols{display:grid;gap:4px 32px;margin-top:12px}
.f-h{margin:14px 0 8px;font:700 1.0625rem/1.2 var(--display);letter-spacing:0;text-transform:none;color:var(--text)}
.copy{margin-top:20px}

/* Forced colors (a high-contrast system palette): the page's own colors give way, so the
   wordmark is drawn in the system's text color instead of its neon. */
@media (forced-colors:active){
  .wm-glow,.wm-core{display:none}
  .wm-tube{stroke:CanvasText}
}

@media (min-width:900px){
  .site-h{padding:14px 32px}
  .brand{width:230px}
  .nav{display:flex;gap:8px;margin-left:16px}
  .menu{display:none}
  .wide{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}
  .hero-p{display:none}
  .hero-d{display:block}
  .hero{display:flex;align-items:center;min-height:660px;padding:60px 32px}
  .hero-in{max-width:600px;padding:28px 30px}
  .wrap{padding:0 32px}
  .cols{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;align-items:start}
  .panel h2{font-size:1.375rem}
  .page-h h1{font-size:4.25rem}
  .site-f{padding:32px 32px 36px}
  .f-cols{grid-template-columns:repeat(3,1fr)}
}

/* Motion (design spec 1.8 and 1.12). Opt in only: every animation is declared in this block,
   for a device that has not asked for reduced motion, on a page whose <html> is not marked
   data-motion="off" (the server writes that from the Motion cookie, so the page arrives still).
   Slow, continuous moves and a slow hue drift; nothing blinks. The keyframes alone do nothing.
   The parts that move are drawn around their own origin (crates/art), so they turn in place. */
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes drift{from{transform:scale(1)}to{transform:scale(1.06)}}
@keyframes hue{from{filter:hue-rotate(-20deg)}to{filter:hue-rotate(20deg)}}
.tun,.spin-mid,.spin-slow{transform-origin:0 0}
@media (prefers-reduced-motion:no-preference){
  html:not([data-motion=off]) .tun{animation:drift 20s ease-in-out infinite alternate}
  html:not([data-motion=off]) .spin-mid{animation:spin 120s linear infinite}
  html:not([data-motion=off]) .spin-slow{animation:spin 240s linear infinite}
  html:not([data-motion=off]) .frac{animation:hue 40s ease-in-out infinite alternate}
}
