:root { color-scheme: light dark; --line: #8884; --accent: #2457d6; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1200px; padding: 1.25rem; font: 16px/1.55 system-ui, sans-serif; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
nav a:first-child { font-weight: 700; margin-right: auto; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 .25rem; }
.lede { margin: 0 0 1rem; }
.tools { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .75rem; }
button, .file { font: inherit; font-weight: 600; padding: .55rem .9rem; border-radius: 6px; border: 1px solid var(--line); background: none; color: inherit; cursor: pointer; }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.file input { position: absolute; opacity: 0; width: 1px; }
.file:focus-within, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
select { font: inherit; padding: .3rem; }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea { width: 100%; height: 55vh; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; font: 14px/1.5 ui-monospace, monospace; resize: vertical; background: none; color: inherit; }
.about { max-width: 70ch; margin-top: 2rem; }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } textarea { height: 35vh; } }
video { display: block; width: 100%; max-height: 60vh; background: #000; border-radius: 6px; margin-bottom: .75rem; }
input[type=number] { font: inherit; width: 5.5rem; padding: .3rem; }
.drop { border: 2px dashed var(--line); border-radius: 6px; padding: 3rem 1rem; text-align: center; margin-bottom: .75rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin-top: 1rem; }
.gallery a { font-size: .8rem; color: inherit; text-decoration: none; }
.gallery img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #0002; border-radius: 4px; }
[hidden] { display: none !important; }
