:root {
  --bg: #12100e;
  --surface: #1c1916;
  --surface-2: #26221e;
  --line: #34302a;
  --text: #f3eee6;
  --muted: #a49b8f;
  --accent: #f2b544;
  --accent-ink: #141210;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 Manrope, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5; background: rgba(18,16,14,.88); backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 15px/1 Unbounded, sans-serif; letter-spacing: .02em; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(242,181,68,.6); }
.top-note { color: var(--muted); font-size: 14px; }

main { padding: 0 var(--gutter) 64px; max-width: 1400px; margin: 0 auto; }

.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(28px, 5vw, 56px); }
.hero h1 { font: 700 clamp(36px, 7vw, 76px)/1.02 Unbounded, sans-serif; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 640px; margin: 0; }
.stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font: 700 28px/1 Unbounded, sans-serif; }
.stats span { color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card {
  text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #4a443b; }
.card .cover { aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .cover img { transform: scale(1.04); }
.card .body { padding: 16px 18px 18px; }
.kind { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card h2 { font: 600 21px/1.2 Unbounded, sans-serif; margin: 6px 0 8px; }
.count { color: var(--muted); font-size: 14px; }

.back { display: inline-block; margin: 28px 0 0; color: var(--muted); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--text); }
.phead { padding: 18px 0 32px; max-width: 820px; }
.phead h1 { font: 700 clamp(30px, 5.5vw, 56px)/1.05 Unbounded, sans-serif; margin: 8px 0 14px; letter-spacing: -.01em; }
.phead p { color: var(--muted); font-size: 18px; margin: 0; }
.btn {
  display: inline-block; margin-top: 18px; padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}

h3.sec { font: 600 15px/1 Unbounded, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 40px 0 16px; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: start; }
.videos.vertical { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.vid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vid video { width: 100%; height: auto; background: #000; object-fit: contain; }
.vid .meta { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.vid .meta b { font-weight: 600; }
.badge { flex: none; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }

.masonry { columns: 4 240px; column-gap: 14px; }
.tile { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: 10px; overflow: hidden; cursor: zoom-in; position: relative; }
.tile img { width: 100%; height: auto; transition: opacity .2s; }
.tile:hover img { opacity: .85; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12px; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .2s; }
.tile:hover span, .tile:focus-visible span { opacity: 1; }
.tile:focus-visible, .card:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lb { position: fixed; inset: 0; z-index: 20; background: rgba(8,7,6,.94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lb figcaption { color: var(--muted); margin-top: 12px; font-size: 14px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 24px var(--gutter); text-align: center; }

@media (max-width: 600px) {
  .top-note { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .masonry { columns: 2; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
