:root {
    --ink: #f5f1e8;
    --muted: #99a1a8;
    --line: rgba(245, 241, 232, .16);
    --night: #10151a;
    --night-deep: #080c10;
    --amber: #f2bd6b;
    --cyan: #86c7c4;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 75% 10%, #25343b 0, transparent 32rem), repeating-linear-gradient(120deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px), var(--night-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 18px; }
button { font: inherit; }
.masthead, main { max-width: 1440px; margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
.masthead { min-height: 220px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.brand-mark { color: var(--amber); font-size: 42px; line-height: 1; }
.eyebrow { margin: 0 0 8px; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font: 11px 'Space Mono', monospace; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: .015em; }
.brand-title { position: relative; display: inline-block; color: var(--ink); font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .9; letter-spacing: .08em; text-shadow: 3px 3px 0 rgba(242, 189, 107, .18); }
.brand-title::after { content: ''; position: absolute; right: 0; bottom: -12px; left: 8%; height: 2px; background: linear-gradient(90deg, var(--amber), var(--cyan), transparent); transform: skewX(-28deg); transform-origin: left; }
h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .8; }
.header-note { margin: 0 0 0 auto; color: var(--muted); text-align: right; font: 12px/1.5 'Space Mono', monospace; text-transform: uppercase; }
.tabs { display: flex; gap: 7px; overflow-x: auto; padding: 24px 0 14px; scrollbar-width: thin; }
.tab { flex: 0 0 auto; display: flex; gap: 12px; align-items: baseline; padding: 9px 13px; color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; text-transform: uppercase; letter-spacing: .08em; }
.tab small { color: var(--amber); font: 10px 'Space Mono', monospace; }
.tab:hover, .tab.is-active { color: var(--night-deep); background: var(--amber); border-color: var(--amber); }
.tab.is-active small { color: var(--night-deep); }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 70px 0 36px; }
h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .9; }
.intro-copy { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.35; }
.gallery { display: none; padding-bottom: 80px; }
.gallery.is-visible { display: block; animation: reveal .45s ease both; }
.gallery-heading { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font: 11px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .09em; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.media-card { position: relative; min-width: 0; }
.media-trigger { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; color: var(--ink); background: #172027; border: 0; cursor: pointer; text-align: left; aspect-ratio: 4 / 3; }
.media-trigger img, .media-trigger video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.media-trigger:hover img, .media-trigger:hover video, .media-card:focus-within img { transform: scale(1.045); filter: saturate(1.12); }
.media-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 2px; padding: 30px 13px 11px; background: linear-gradient(transparent, rgba(4,8,11,.9)); }
.media-caption strong { overflow: hidden; font-size: 19px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.media-caption span { color: var(--cyan); font: 10px 'Space Mono', monospace; text-transform: uppercase; }
.video-badge { position: absolute; top: 10px; left: 10px; padding: 5px 7px; color: var(--night-deep); background: var(--cyan); font: 10px 'Space Mono', monospace; }
.video-filename { padding: 8px 2px 2px; overflow: hidden; color: var(--ink); font: 12px 'Space Mono', monospace; text-overflow: ellipsis; white-space: nowrap; }
.exif-popover { position: absolute; z-index: 2; right: 8px; bottom: 56px; left: 8px; display: flex; flex-wrap: wrap; gap: 7px 12px; padding: 10px; color: var(--ink); background: rgba(8, 12, 16, .93); border-left: 2px solid var(--amber); font: 10px/1.3 'Space Mono', monospace; opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.media-card:hover .exif-popover, .media-card:focus-within .exif-popover { opacity: 1; transform: translateY(0); }
.exif-popover span { display: flex; flex-direction: column; min-width: 60px; }
.exif-popover b { color: var(--amber); font-weight: 400; }
.muted, .empty-state { color: var(--muted); }
.empty-state { padding: 45px 0; border-bottom: 1px solid var(--line); }
.lightbox { position: fixed; z-index: 10; inset: 0; display: none; place-items: center; padding: 55px 8vw; background: rgba(4, 7, 10, .94); }
.lightbox.is-open { display: grid; animation: reveal .2s ease both; }
.lightbox-content { max-width: min(1100px, 88vw); max-height: 78vh; }
.lightbox-content img, .lightbox-content video { display: block; max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 20px 80px #000; }
.lightbox-close, .lightbox-nav { position: absolute; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.lightbox-close { top: 20px; right: 30px; font-size: 42px; font-weight: 300; }
.lightbox-nav { top: 50%; padding: 20px; font-size: 32px; transform: translateY(-50%); }
.lightbox-prev { left: 2vw; }.lightbox-next { right: 2vw; }
.lightbox-title { position: absolute; bottom: 18px; margin: 0; color: var(--muted); font: 11px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 650px) { .masthead { min-height: 160px; }.header-note { display: none; }.intro { display: block; padding-top: 52px; }.intro-copy { margin-top: 22px; }.media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.media-caption { padding-left: 8px; }.media-caption strong { font-size: 16px; }.lightbox { padding: 45px 14px; }.lightbox-nav { padding: 10px; font-size: 22px; }.lightbox-prev { left: 0; }.lightbox-next { right: 0; } }