/* "AutoMyco moved out" (posts/automyco-moves/). Art-directed dark page layered over beezy.css.
   Fonts are the AutoMyco site's self-hosted Bricolage (beezy.ninja serves /assets/* as-is).
   Palette: spore black, cream, lime (Triple 3), golden oyster for AutoMyco, UV purple only for UV-C. */
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }

.moves {
  --bg: #0b0d0a;
  --bg-2: #12150f;
  --fg: #f2f1ea;
  --muted: #a3a194;
  --line: #262a22;
  --card: #14170f;
  --accent: #c6f36b;
  --golden: #e8ad3a;
  --uv: #b994ea;
  --bad: #f08a80;
  --ok: #79c495;
  --display: "Bricolage", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { .moves { scroll-behavior: auto; } }
.moves body { background: var(--bg); color: var(--fg); overflow-x: hidden; }
.moves a { color: var(--accent); text-underline-offset: 3px; }
.moves .dot { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.moves code { font: .88em var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 80% 0%, #1a2112 0%, var(--bg) 60%); cursor: crosshair; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px; max-width: 1120px; width: 100%; margin: 0 auto; }
.wordmark { font: 700 1.15rem var(--display); color: var(--fg) !important; text-decoration: none; }
.pill { font: 600 .9rem var(--display); background: var(--accent); color: #10140a !important; text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: transform .2s; }
.pill:hover { transform: translateY(-2px); }
.hero-copy { margin: auto auto 0; padding: 0 16px 14vh; max-width: 1120px; width: 100%; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid #3a4a1c; background: #141a0b; padding: 6px 12px; border-radius: 999px; margin: 0 0 24px; }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { font: 800 clamp(3.2rem, 13vw, 9.5rem)/.9 var(--display); letter-spacing: -.045em; margin: 0 0 24px; }
.hero h1 em { font: italic 400 1.02em var(--serif); letter-spacing: -.02em; color: var(--golden); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 36ch; margin: 0 0 12px; }
.hero-hint { font: .75rem var(--mono); color: #6f6d63; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid #4b4a43; border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.no-js [data-js-only] { display: none; }

/* Layout */
.moves-main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.block { padding: 96px 0 24px; border-top: 1px solid var(--line); }
.eyebrow { font: 500 .75rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.moves h2 { font: 800 clamp(2rem, 5.5vw, 3.6rem)/1 var(--display); letter-spacing: -.035em; text-transform: none; color: var(--fg); margin: 0 0 18px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* TL;DR */
.tldr { padding: 56px 0 72px; }
.tldr-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tldr-grid li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, transform .3s; }
.tldr-grid li:hover { border-color: #4a5a2a; transform: translateY(-3px); }
.tldr-grid .k { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--golden); }
.tldr-grid strong { font: 700 1.2rem/1.25 var(--display); }
.tldr-grid span:last-child { color: var(--muted); font-size: .97rem; }

/* Router */
.router { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.router-form { display: flex; align-items: stretch; border: 1px solid #333a2b; border-radius: 14px; background: var(--bg); overflow: hidden; }
.router-form:focus-within { border-color: var(--accent); }
.router-form .host { font: 500 .95rem var(--mono); color: var(--muted); padding: 14px 0 14px 14px; white-space: nowrap; }
.router-form input { flex: 1; min-width: 0; font: 500 .95rem var(--mono); color: var(--fg); background: transparent; border: 0; padding: 14px 8px 14px 1px; outline: none; }
.router-form button { font: 700 .95rem var(--display); background: var(--accent); color: #10140a; border: 0; padding: 0 18px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chips button, .trouble button, .reset { font: 500 .82rem var(--mono); color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.chips button:hover, .trouble button:hover, .reset:hover { border-color: var(--accent); }
.chips button:active, .trouble button:active { transform: scale(.96); }
.chips button[aria-pressed="true"] { background: #1f2a10; border-color: var(--accent); color: var(--accent); }
.route-map { margin: 18px 0 6px; }
.route-svg { width: 100%; height: auto; display: block; }
.route-svg .node rect { fill: var(--bg); stroke: #333a2b; stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.route-svg .node text { fill: var(--muted); font: 600 13px var(--mono); text-anchor: middle; transition: fill .3s; }
.route-svg .node.on rect { fill: #1d2610; stroke: var(--accent); }
.route-svg .node.on text { fill: var(--fg); }
.route-svg .n-moved.on rect { fill: #2a1f08; stroke: var(--golden); }
.route-svg .wire { fill: none; stroke: #2c3226; stroke-width: 2; stroke-dasharray: 4 6; transition: stroke .3s; }
.route-svg .wire.on { stroke: var(--accent); stroke-dasharray: none; }
.route-svg .w-moved.on { stroke: var(--golden); }
.route-svg .packet { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.route-out { font: 1rem/1.5 var(--display); margin: 8px 2px 2px; min-height: 3em; }
.route-out b { color: var(--accent); }
.route-out .gold { color: var(--golden); }
.route-out code { overflow-wrap: anywhere; }

/* Promise */
.promise { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.promise-copy p:not(.lede) { color: #cfcdc2; max-width: 60ch; }
.pulse-card { background: #070806; border: 1px solid var(--line); border-radius: 18px; padding: 18px; font: .8rem/1.6 var(--mono); }
.pc-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--fg); }
.pc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.6s infinite; }
.pc-log { list-style: none; margin: 0; padding: 0; height: 9.6em; overflow: hidden; color: var(--muted); display: flex; flex-direction: column; justify-content: flex-end; }
.pc-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: slidein .5s ease; }
.pc-log b { color: var(--ok); font-weight: 600; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } }

/* Simulator */
.sim { display: grid; gap: 24px; grid-template-columns: minmax(260px, 1fr) 1.15fr; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.chamber-svg { width: 100%; max-width: 360px; display: block; margin: 0 auto; }
.chamber-svg .shell { fill: #e9e6dc; }
.chamber-svg .window { fill: #0c0f0b; }
.chamber-svg .window-glass { fill: url(#glass); stroke: #c9c5b8; stroke-width: 2; }
.chamber-svg .ringlight { fill: url(#ringglow); opacity: .85; transition: opacity .6s; }
.chamber-svg .block-sub rect { fill: #cbb999; }
.chamber-svg .mist circle { fill: #ffffff; opacity: 0; transition: opacity 1.2s; filter: blur(6px); }
.chamber-svg .mist.on circle { opacity: .22; animation: drift 4s ease-in-out infinite alternate; }
.chamber-svg .mist.on circle:nth-child(2n) { animation-duration: 5.5s; }
@keyframes drift { to { transform: translate(6px, -14px); } }
.chamber-svg .fan-ring { fill: #26291f; stroke: #8e8a7d; stroke-width: 2; }
.chamber-svg .blades path { fill: #b9b5a7; }
.chamber-svg .fan.spin .blades { animation: spin .5s linear infinite; }
.chamber-svg .fan.slow .blades { animation-duration: 1.4s; }
.chamber-svg .fan.dead .fan-ring { stroke: var(--bad); stroke-dasharray: 4 4; }
@keyframes spin { to { transform: rotate(360deg); } }
.chamber-svg .tank-shell { fill: #2a2d26; stroke: #8e8a7d; stroke-width: 2; }
.chamber-svg .tank-water { fill: #5aa8d6; transition: height 1.2s, y 1.2s, fill .4s; }
.chamber-svg .tank-water.low { fill: var(--bad); }
.chamber-svg .heater { fill: #3a2a20; transition: fill .4s, filter .4s; }
.chamber-svg .heater.on { fill: #ff7a3c; filter: drop-shadow(0 0 6px #ff7a3c); }
.chamber-svg .uvc { fill: #2b2537; transition: fill .3s; }
.chamber-svg .uvc.armed { fill: var(--uv); filter: drop-shadow(0 0 6px var(--uv)); }
.chamber-svg .shroom-stem { fill: #efe7d6; }
.chamber-svg .shroom { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.5s cubic-bezier(.2,.8,.2,1.2); }

.readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ro { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.ro-k, .ro-t { display: block; font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ro-v { display: block; font: 800 1.6rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.ro-v.warn { color: var(--bad); }

.sim-side { display: flex; flex-direction: column; min-width: 0; }
.field span { display: block; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field select { width: 100%; font: 600 1.05rem var(--display); color: var(--fg); background: var(--bg); border: 1px solid #333a2b; border-radius: 12px; padding: 11px 12px; }
.tiny { font: .75rem var(--mono); color: #6f6d63; margin: 6px 0 14px; }
.loads { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.load { font: 600 .78rem var(--mono); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: #6f6d63; background: var(--bg); transition: all .25s; }
.load.on { color: #10140a; background: var(--accent); border-color: var(--accent); }
.load.locked { color: var(--bad); border-color: #5a2a26; background: #1f1110; }
.load.missing { color: var(--bad); border-color: var(--bad); border-style: dashed; }
.trouble-h { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.trouble { display: flex; flex-wrap: wrap; gap: 8px; }
.trouble .uv { border-color: #4a3866; color: var(--uv); }
.trouble .uv:hover { border-color: var(--uv); }
.reset { align-self: flex-start; margin-top: 10px; color: var(--muted); }
.log { list-style: none; margin: 16px 0 0; padding: 12px; background: #070806; border: 1px solid var(--line); border-radius: 14px; font: .78rem/1.5 var(--mono); height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.log li { color: var(--muted); animation: slidein .35s ease; }
.log li time { color: #5b594f; margin-right: 8px; }
.log li.warn { color: var(--golden); }
.log li.bad { color: var(--bad); }
.log li.good { color: var(--ok); }
.log li.uv { color: var(--uv); }
.note-dark { color: var(--muted); }

/* Numbers */
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats li { padding: 28px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats b { display: block; font: 800 clamp(2.6rem, 7vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stats li:nth-child(4) b { color: var(--golden); }
.stats li:last-child b { color: var(--accent); }
.stats span { display: block; color: var(--muted); margin-top: 8px; max-width: 26ch; }

/* Timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 82px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--golden)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 34px; padding: 14px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 76px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); transition: background .3s, box-shadow .3s; }
.timeline li:hover::after { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.timeline time { font: 700 1rem var(--display); color: var(--accent); padding-top: 4px; text-align: right; }
.timeline div { color: #cfcdc2; max-width: 62ch; }
.timeline strong { color: var(--fg); font-family: var(--display); }
.more { margin: 24px 0 0; font-family: var(--display); font-weight: 600; }

/* CTA */
.cta { margin: 96px 0 40px; padding: 56px 28px; border-radius: 28px; text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, #26330f 0%, #12160b 55%, var(--bg) 100%); border: 1px solid #36441c; }
.cta .lede { margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { font: 700 1.05rem var(--display); text-decoration: none; padding: 14px 22px; border-radius: 999px; background: var(--accent); color: #10140a !important; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn.ghost { background: transparent; color: var(--fg) !important; border: 1px solid #4b5a2a; }
.btn.ghost:hover { box-shadow: none; border-color: var(--accent); }

.moves-foot { max-width: 1120px; border-top: 1px solid var(--line); }
.moves-foot p { margin: 0; }

@media (max-width: 820px) {
  .promise, .sim { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .block { padding-top: 72px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .router { padding: 14px; }
  .router-form .host { display: none; }
  .router-form input { padding-left: 12px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .timeline li::after { left: 1px; top: 18px; }
  .timeline time { text-align: left; }
  .cta { padding: 40px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .led, .pc-dot, .scroll-cue span, .chamber-svg .fan.spin .blades, .chamber-svg .mist.on circle { animation: none; }
}

/* BreakIQ */
.biq { display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.biq-toy { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px; }
.sst { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; cursor: grab; touch-action: none; background: #05202a; }
.sst:active { cursor: grabbing; }
.sst-hud { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 12px 4px 0; font: .82rem var(--mono); color: var(--muted); }
.sst-hud b { font: 800 1.35rem var(--display); color: var(--fg); font-variant-numeric: tabular-nums; }
.sst-verdict { flex-basis: 100%; color: #7fd3e0; font-family: var(--display); font-size: 1rem; }
.sst-verdict.hot { color: var(--golden); }
.biq-copy h3 { font: 700 1.25rem var(--display); margin: 0 0 8px; }
.biq-copy h3 + p { color: #cfcdc2; margin: 0 0 24px; }
.biq-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.biq-list li { color: #cfcdc2; padding-left: 18px; position: relative; }
.biq-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: #3fb6c8; }
.biq-list b { color: var(--fg); font-family: var(--display); }
.cta-row.left { justify-content: flex-start; }
@media (max-width: 820px) { .biq { grid-template-columns: 1fr; } }
