:root { color-scheme: dark; --bg: #0a0a0a; --ink: #fff; --muted: #a3a3a3; --block: #1a1a1a; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
header, main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--ink); }
.hero { padding: 80px 0 40px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; line-height: 1.2; }
.hero p, #v-meta { color: var(--muted); margin-top: 8px; }
section:not(.hero) { padding: 40px 0; }
h2 { font-size: .75rem; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.card { display: flex; flex-direction: column; gap: 8px; text-align: left; margin-bottom: 12px; }
.frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--block); overflow: hidden; }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card:hover .frame { opacity: .8; }
dialog { margin: auto; width: min(720px, 92vw); max-height: 92vh; padding: 20px; border: 0; background: var(--bg); color: var(--ink); }
dialog::backdrop { background: rgb(0 0 0 / .92); }
dialog form { text-align: right; margin-bottom: 12px; }
dialog .frame { aspect-ratio: auto; height: 60vh; margin-bottom: 12px; }
dialog .frame img, dialog .frame video { object-fit: contain; }
#cursor { position: fixed; top: 0; left: 0; z-index: 10; background: #fff; border: 2px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; }
#cursor.outline { background: transparent; }
.square-cursor, .square-cursor * { cursor: none !important; }
/* Soft corners */
.frame { border-radius: 10px; isolation: isolate; }
dialog { border-radius: 16px; }
#cursor { border-radius: 0; }
#cursor.outline { border-radius: 14px; }
