*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } :root { --font: system-ui, -apple-system, sans-serif; --mono: ui-monospace, 'SF Mono', monospace; --fs-s: 11px; --fs: 13px; --fs-l: 16px; --lh: 1.4; --sp: 4px; --sp-2: 8px; --sp-3: 16px; --sp-4: 32px; /* palette — deep slate blues */ --bg: #171c2b; --fg: #b8bfcf; --fg-2: #5e6785; --border: #2a3150; --accent: #5ec4d4; --accent-2: #d4a843; --list-accent: #7b8adf; --surface: #1e2438; --surface-2: #252c42; /* shapes */ --r: 2px; --notch: 8px; --border-w: 1px; color-scheme: dark; } @media (prefers-color-scheme: light) { :root { --bg: #dde1eb; --fg: #1a1e2e; --fg-2: #5e6785; --border: #b0b8cf; --accent: #2a7a8a; --accent-2: #9a7820; --list-accent: #4f5da0; --surface: #ccd2e0; --surface-2: #c0c8d8; color-scheme: light; } } html { font-family: var(--font); font-size: var(--fs); line-height: var(--lh); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; } body { max-width: 700px; margin: 0 auto; padding: var(--sp-4) var(--sp-3); } body.wide { max-width: none; } .container { max-width: 700px; margin: 0 auto; } a { color: var(--accent); text-decoration: none; } a:hover { color: var(--accent-2); } code, pre { font-family: var(--mono); font-size: var(--fs-s); } pre { background: var(--surface); padding: var(--sp-2) var(--sp-3); overflow-x: auto; border: var(--border-w) solid var(--border); border-radius: var(--r); } h1 { font-size: var(--fs-l); font-weight: 600; letter-spacing: 0.02em; } h2, h3, h4, h5, h6 { font-size: var(--fs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } img { max-width: 100%; height: auto; display: block; } hr { border: none; border-top: var(--border-w) solid var(--border); margin: var(--sp-3) 0; } /* === Panels (used on detail pages) === */ .panel { background: var(--surface); border: var(--border-w) solid var(--border); padding: var(--sp-3); position: relative; clip-path: polygon( 0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)) ); } .panel::after { content: ''; position: absolute; inset: 3px; border: var(--border-w) solid color-mix(in oklch, var(--border) 50%, transparent); pointer-events: none; clip-path: polygon( 0 0, calc(100% - calc(var(--notch) - 3px)) 0, 100% calc(var(--notch) - 3px), 100% 100%, calc(var(--notch) - 3px) 100%, 0 calc(100% - calc(var(--notch) - 3px)) ); } .panel-sm { background: var(--surface-2); border: var(--border-w) solid var(--border); padding: var(--sp-2) var(--sp-3); clip-path: polygon( 0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px) ); } .panel-accent { border-top: 2px solid var(--accent); } /* === Mosaic grid === */ .mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 180px; grid-auto-flow: dense; gap: var(--sp-2); padding: var(--sp-3); } /* === Base tile === */ .tile { display: block; position: relative; overflow: hidden; border: var(--border-w) solid var(--border); transition: transform 0.15s ease; clip-path: polygon( 0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px) ); } .tile:hover { transform: translateY(-2px); z-index: 1; } /* === Tile sizing === */ .tile-w { grid-column: span 2; } .tile-3w { grid-column: span 3; } .tile-4w { grid-column: span 4; } .tile-t { grid-row: span 2; } .tile-3t { grid-row: span 3; } .tile-text-lg { grid-column: span 2; } .tile-text-xl { grid-column: span 2; grid-row: span 2; } .tile-text-tall { grid-row: span 2; } /* === Header tile — 1-col vertical nameplate === */ .tile-header { grid-row: span 2; background: var(--surface); padding: var(--sp-3); border-top: 2px solid var(--accent); display: flex; flex-direction: column; justify-content: space-between; } .tile-header:hover { transform: none; } .header-meta { font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); display: flex; flex-direction: column; gap: 2px; } .header-count { font-size: var(--fs-l); font-weight: 600; color: var(--fg); } .header-label { text-transform: uppercase; letter-spacing: 0.1em; } .header-types { display: flex; gap: var(--sp-2); margin-top: var(--sp); } /* === Hero elements (scanlines, corners, info) === */ .hero-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.05) 2px, rgba(0, 0, 0, 0.05) 4px ); pointer-events: none; z-index: 1; } .hero-corners { position: absolute; inset: 0; pointer-events: none; z-index: 3; } .hc { position: absolute; width: 16px; height: 16px; border-color: var(--accent); border-style: solid; border-width: 0; } .hc-tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; } .hc-tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; } .hc-bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; } .hc-br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; } .hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-3); background: linear-gradient(transparent, var(--bg)); z-index: 2; } .hero-tag { font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.1em; } .hero-info h2 { font-size: var(--fs-l); color: var(--fg); margin-top: var(--sp); } /* === Hero tiles — large feature shots === */ .tile-hero { grid-column: span 3; grid-row: span 2; border-top: 2px solid var(--accent-2); clip-path: polygon( 0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)) ); } .tile-hero img, .tile-hero-wide img { transition: transform 0.4s ease, filter 0.4s ease; } .tile-hero:hover img, .tile-hero-wide:hover img { transform: scale(1.03); filter: brightness(1.1); } .tile-hero-wide { grid-column: span 3; grid-row: span 2; border-top: 2px solid var(--accent-2); clip-path: polygon( 0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)) ); } /* === Shot tiles === */ .tile-shot { background: var(--surface); } .tile-shot img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s ease; } .tile-shot:hover img { filter: brightness(1.15); } .tile-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp) var(--sp-2); background: linear-gradient(transparent, var(--bg)); display: flex; gap: var(--sp); align-items: baseline; font-size: var(--fs-s); font-family: var(--mono); color: var(--fg); } .tile-id { color: var(--accent-2); } .tile-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ====================================================== POST TILES — inner frame, scanlines, depth ====================================================== */ .tile-post { /* Scanline texture layered over surface */ background: repeating-linear-gradient( 0deg, transparent 0px, transparent 3px, rgba(255, 255, 255, 0.015) 3px, rgba(255, 255, 255, 0.015) 4px ), var(--surface-2); padding: var(--sp-3); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp); color: var(--fg); border-top: 2px solid var(--accent); } /* Inner frame — recessed panel feel */ .tile-post::after { content: ''; position: absolute; top: 8px; left: 5px; right: 5px; bottom: 5px; border: 1px solid color-mix(in oklch, var(--fg-2) 15%, transparent); pointer-events: none; z-index: 1; } .tile-post:hover::after { border-color: color-mix(in oklch, var(--accent) 25%, transparent); } /* Content above frame */ .tile-post > * { position: relative; z-index: 2; } /* Big watermark number */ .post-num { position: absolute; top: -8px; right: 8px; font-family: var(--mono); font-size: 64px; font-weight: 700; line-height: 1; color: var(--border); opacity: 0.35; pointer-events: none; z-index: 0; } .post-content { flex: 1; display: flex; flex-direction: column; gap: var(--sp); } .post-type { font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); } .tile-post h3 { font-size: var(--fs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; line-height: var(--lh); } .tile-post time { font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); } .post-excerpt { color: var(--fg-2); font-size: var(--fs-s); line-height: var(--lh); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } /* Bigger post tile variants */ .tile-text-lg .post-num { font-size: 80px; } .tile-text-lg .post-excerpt { -webkit-line-clamp: 5; } .tile-text-lg h3 { font-size: var(--fs-l); } .tile-text-tall .post-excerpt { -webkit-line-clamp: 6; } /* Padding variation — airy tiles float content with more breathing room */ .tile-airy { padding: var(--sp-4) var(--sp-3); justify-content: center; } .tile-airy::after { top: 10px; left: 7px; right: 7px; bottom: 7px; } /* ====================================================== LIST TILES — manifest/inventory feel, dashed frame ====================================================== */ .tile-list { grid-column: span 2; background: var(--surface); padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp); color: var(--fg); /* Override notched clip-path — lists get clean edges + dashed border */ clip-path: none; border: 1px dashed color-mix(in oklch, var(--list-accent) 40%, var(--border)); border-top: 2px solid var(--list-accent); border-radius: var(--r); } .tile-list:hover { border-color: color-mix(in oklch, var(--list-accent) 60%, var(--border)); border-top-color: var(--list-accent); } .list-head { display: flex; flex-direction: column; gap: 2px; } .list-tag { font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.1em; color: var(--list-accent); } .tile-list h3 { font-size: var(--fs); text-transform: uppercase; letter-spacing: 0.04em; } /* Thin rule separator */ .list-rule { height: 1px; background: color-mix(in oklch, var(--list-accent) 20%, transparent); } .list-items { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; } .list-items li { font-size: var(--fs-s); color: var(--fg-2); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-items li::before { content: '\203A\00a0'; /* › + space */ color: var(--list-accent); } .list-foot { display: flex; justify-content: space-between; align-items: baseline; } .list-more { font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); opacity: 0.6; } .list-foot time { font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); } /* ====================================================== LOG TILE — 2-col, 3-row, early in grid ====================================================== */ .tile-log { grid-column: span 2; grid-row: span 3; background: var(--surface); padding: 0; display: flex; flex-direction: column; } .tile-log:hover { transform: none; } .log-label { padding: var(--sp-2) var(--sp-3); color: var(--fg-2); font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--border); flex-shrink: 0; } .log-entries { flex: 1; overflow-y: auto; } .log-row { display: flex; gap: var(--sp-2); align-items: baseline; padding: 3px var(--sp-2); color: var(--fg); font-size: var(--fs-s); font-family: var(--mono); transition: background 0.1s; } .log-row:hover { background: var(--surface-2); text-decoration: none; color: var(--accent); } .log-id { color: var(--fg-2); min-width: 3ch; text-align: right; } .log-type { text-transform: uppercase; min-width: 4ch; letter-spacing: 0.05em; } .log-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .log-date { color: var(--fg-2); } /* type-specific colors */ .type-post { color: var(--accent); } .type-shot { color: var(--accent-2); } .type-list { color: var(--list-accent); } .type-bsky { color: #1185fe; } /* ====================================================== BSKY TILES — pinned bluesky posts ====================================================== */ .tile-bsky { background: var(--surface-2); border-top: 2px solid #1185fe; color: var(--fg); } /* Bsky with image */ .tile-bsky img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s ease; } .tile-bsky:hover img { filter: brightness(1.15); } .bsky-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-2) var(--sp-3); background: linear-gradient(transparent, var(--bg)); z-index: 1; } .bsky-tag { font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.08em; color: #1185fe; } .bsky-text { font-size: var(--fs-s); line-height: var(--lh); color: var(--fg); margin-top: 2px; } /* Bsky text-only */ .bsky-content { flex: 1; display: flex; flex-direction: column; gap: var(--sp); padding: var(--sp-3); } .bsky-content .bsky-text { font-size: var(--fs); line-height: var(--lh); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; } .bsky-meta { display: flex; gap: var(--sp-2); padding: 0 var(--sp-3) var(--sp-3); font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); } /* Inner frame for text bsky tiles */ .tile-bsky:not(:has(> img))::after { content: ''; position: absolute; top: 8px; left: 5px; right: 5px; bottom: 5px; border: 1px solid color-mix(in oklch, #1185fe 12%, transparent); pointer-events: none; } .tile-bsky:not(:has(> img)):hover::after { border-color: color-mix(in oklch, #1185fe 25%, transparent); } /* ====================================================== FEED TILE — 2x4 scrollable bsky feed ====================================================== */ .tile-feed { grid-column: span 2; grid-row: span 4; background: var(--surface); padding: 0; display: flex; flex-direction: column; border-top: 2px solid #1185fe; } .tile-feed:hover { transform: none; } .feed-header { padding: var(--sp-2) var(--sp-3); display: flex; align-items: baseline; gap: var(--sp); border-bottom: 1px solid var(--border); flex-shrink: 0; } .feed-icon { color: #1185fe; font-family: var(--mono); font-weight: 700; } .feed-label { font-family: var(--mono); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-2); } .feed-entries { flex: 1; overflow-y: auto; } .feed-row { display: block; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid color-mix(in oklch, var(--border) 50%, transparent); color: var(--fg); transition: background 0.1s; } .feed-row:hover { background: var(--surface-2); text-decoration: none; color: var(--fg); } .feed-text { font-size: var(--fs-s); line-height: var(--lh); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .feed-meta { display: flex; gap: var(--sp-2); margin-top: var(--sp); font-family: var(--mono); font-size: var(--fs-s); color: var(--fg-2); } .feed-stat { color: #1185fe; } /* === Fragment detail header === */ .frag-header { margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--accent); } .frag-meta { color: var(--fg-2); font-size: var(--fs-s); margin-top: var(--sp); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; } /* === Gallery — shot detail images === */ .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-bottom: var(--sp-3); } .gallery-full { grid-column: 1 / -1; } .gallery-item { position: relative; overflow: hidden; border: var(--border-w) solid var(--border); clip-path: polygon( 0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px) ); } .gallery-item img { width: 100%; height: auto; display: block; } .gallery-idx { position: absolute; top: var(--sp); right: var(--sp-2); font-family: var(--mono); font-size: var(--fs-s); color: var(--fg); background: color-mix(in srgb, var(--bg) 80%, transparent); padding: 2px 6px; } /* scrollbar */ :root { scrollbar-color: var(--surface-2) var(--bg); scrollbar-width: thin; } /* === Responsive === */ @media (max-width: 480px) { .tile-w, .tile-3w, .tile-4w, .tile-hero, .tile-hero-wide, .tile-text-lg, .tile-text-xl { grid-column: span 1; } .tile-text-xl, .tile-text-tall { grid-row: span 1; } .tile-header { grid-row: span 1; } .tile-list { grid-column: span 1; } .tile-log { grid-column: span 1; grid-row: span 2; } .tile-feed { grid-column: span 1; grid-row: span 3; } .gallery { grid-template-columns: 1fr; } .mosaic { padding: var(--sp-2); } }