/* Odom Media Production - public site */
:root {
  --accent: #8b3dff;
  --accent-2: #b37cff;
  --accent-deep: #4a1a9e;
  --bg: #050307;
  --bg-2: #0c0812;
  --surface: #120c1b;
  --surface-2: #1a1226;
  --line: rgba(179, 124, 255, 0.14);
  --line-strong: rgba(179, 124, 255, 0.3);
  --text: #f4f0fa;
  --muted: #a99cbc;
  --dim: #6f6382;
  --radius: 16px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-wide: "Michroma", "Sora", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  font: 400 11px/1.4 var(--font-wide); letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-2); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-2)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 600; margin: 14px 0 16px; max-width: 18ch; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 0; }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #e2d0ff 35%, var(--accent-2) 70%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--accent) 85%, transparent), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(139, 61, 255, .1); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid { background: rgba(5, 3, 7, .78); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-name { font: 400 13px/1.1 var(--font-wide); letter-spacing: .2em; }
.brand-name small { display: block; font-size: 8.5px; letter-spacing: .5em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 14px; color: var(--muted); transition: color .2s; position: relative; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent-2); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; border-radius: 2px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,3,7,.97); backdrop-filter: blur(18px); padding: 12px 20px 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  body.menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open .site-header { background: rgba(5,3,7,.97); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px; isolation: isolate;
}
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,3,7,.55) 0%, rgba(5,3,7,.35) 40%, rgba(5,3,7,.92) 92%, var(--bg) 100%),
              radial-gradient(ellipse at 20% 50%, rgba(5,3,7,.6), transparent 60%);
}
.hero-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-fx .beam {
  position: absolute; top: -20%; width: 46vw; height: 140%; transform-origin: top center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 75%);
  filter: blur(40px); opacity: .45; mix-blend-mode: screen; animation: sweep 14s ease-in-out infinite alternate;
}
.hero-fx .beam.b1 { left: -8%; --r0: -28deg; --r1: -8deg; }
.hero-fx .beam.b2 { left: 30%; --r0: 12deg; --r1: -14deg; animation-duration: 17s; opacity: .3; }
.hero-fx .beam.b3 { right: -10%; --r0: 26deg; --r1: 6deg; animation-duration: 12s; background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 70%); }
@keyframes sweep { from { transform: rotate(var(--r0)); } to { transform: rotate(var(--r1)); } }
.hero-fx .grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 60%, #000 10%, transparent 70%);
}
.hero-mark { position: absolute; right: -6vw; top: 50%; translate: 0 -50%; width: min(56vw, 760px); opacity: .1; z-index: -1; filter: blur(1px); }
.has-media .hero-fx .grid, .has-media .hero-mark { display: none; }
.hero-content { max-width: 820px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); font-weight: 700; margin: 22px 0 24px; letter-spacing: -0.035em; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: #d7cde6; max-width: 60ch; margin: 0 0 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 3px; background: var(--accent-2); translate: -50% 0; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 34px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat-value { font: 600 clamp(30px, 3.4vw, 42px)/1 var(--font-display); letter-spacing: -.02em; }
.stat-label { margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(odd)::before { display: none; } .stat { padding: 26px 12px; } }

/* ---------- sections ---------- */
section.block { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.block-head { margin-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.service {
  position: relative; padding: 32px 30px 34px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%);
}
.service:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent-deep) 20%, transparent));
  border: 1px solid var(--line-strong); color: var(--accent-2);
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.service p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.work {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); display: block; text-align: left; padding: 0; width: 100%;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,3,7,.9)); }
.work:hover img { transform: scale(1.06); filter: saturate(1.15); }
.work-meta { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.work-meta .cat { font: 400 10px/1 var(--font-wide); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-2); }
.work-meta h3 { font-size: 20px; margin-top: 8px; font-weight: 600; }
.play {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(139,61,255,.25); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px); transition: transform .3s, background .3s;
}
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.work:hover .play, .vcard:hover .play { transform: scale(1.1); background: var(--accent); }
.work-empty { display: grid; place-items: center; height: 100%; }
.work-empty img { width: 40%; height: auto; opacity: .25; object-fit: contain; }

/* process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 10px 0; position: relative; counter-increment: step; }
.step::before {
  content: "0" counter(step); display: block; font: 400 12px/1 var(--font-wide); letter-spacing: .2em; color: var(--accent-2); margin-bottom: 22px;
}
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(139,61,255,.18), 0 0 18px var(--accent); }
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-body p { color: #cfc4df; font-size: 17px; margin: 0 0 18px; }
.about-visual { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg)); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual.logo-fallback { display: grid; place-items: center; }
.about-visual.logo-fallback img { width: 70%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(139,61,255,.4)); }
.about-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -120px 120px -60px rgba(5,3,7,.7); pointer-events: none; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-visual { aspect-ratio: 4/3; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.quote { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); margin: 0; }
.quote svg { width: 30px; height: 30px; color: var(--accent); opacity: .8; margin-bottom: 16px; }
.quote blockquote { margin: 0 0 22px; font-size: 17px; color: #e3d9f0; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted); font-size: 14px; }

/* contact */
.contact-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); padding: clamp(28px, 5vw, 64px);
  border-radius: 28px; border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  background: radial-gradient(800px circle at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2));
}
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; color: #d9cfe8; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(139,61,255,.14); border: 1px solid var(--line); color: var(--accent-2); flex: none; }
.contact-list svg { width: 19px; height: 19px; }
.contact-list small { display: block; color: var(--dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(5,3,7,.6); border: 1px solid var(--line); color: var(--text); border-radius: 12px;
  padding: 14px 16px; font: 15px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139,61,255,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b37cff' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-status.ok { color: #9ff0c4; }
.form-status.err { color: #ff9fb3; }
.form-sent { text-align: center; padding: 40px 10px; }
.form-sent svg { width: 56px; height: 56px; color: var(--accent-2); margin: 0 auto 18px; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: var(--bg-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; }
.footer-logo img { height: 92px; width: auto; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.socials a:hover { color: #fff; border-color: var(--accent); background: rgba(139,61,255,.15); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 13px; }
.footer-bottom .tag { font: 400 10px/1.4 var(--font-wide); letter-spacing: .22em; text-transform: uppercase; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-fx .beam, .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- modal / lightbox ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(3, 2, 5, .94); backdrop-filter: blur(10px); padding: 20px;
}
.modal.open { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-frame { width: min(1280px, 100%); aspect-ratio: 16/9; max-height: 86vh; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 120px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.modal-frame iframe, .modal-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.modal-close, .lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(18,12,27,.8);
  display: grid; place-items: center; transition: .2s; z-index: 3;
}
.modal-close:hover, .lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.modal-close { top: 18px; right: 18px; }
.modal-close svg, .lb-btn svg { width: 20px; height: 20px; }

.lightbox .lb-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; touch-action: pan-y; }
.lightbox img.lb-img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; user-select: none; transition: opacity .2s; }
.lightbox img.lb-img.loading { opacity: .35; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; z-index: 3; }
.lb-bar .btn { height: 40px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 70px; translate: none; } }

/* ---------- event / gallery pages ---------- */
.event-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 64px; overflow: hidden; isolation: isolate; }
.event-hero .cover { position: absolute; inset: 0; z-index: -2; }
.event-hero .cover img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.event-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,3,7,.45) 0%, rgba(5,3,7,.2) 40%, rgba(5,3,7,.85) 85%, var(--bg) 100%); }
.event-hero.no-cover { min-height: 52svh; }
.event-hero.no-cover::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 30% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%), var(--bg); }
.event-hero h1 { font-size: clamp(40px, 7vw, 86px); font-weight: 600; letter-spacing: -.03em; margin: 18px 0 14px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #ddd2ec; font-size: 15px; }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta svg { width: 16px; height: 16px; color: var(--accent-2); }
.event-message { max-width: 64ch; margin-top: 22px; color: #d7cde6; font-size: 17px; }
.event-message p { margin: 0 0 12px; }

.gallery-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(5,3,7,.85); backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.gallery-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.gallery-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; border: 1px solid transparent; transition: .2s; }
.gallery-tabs a:hover, .gallery-tabs a.active { color: var(--text); border-color: var(--line-strong); background: rgba(139,61,255,.1); }
.gallery-tabs a .n { color: var(--dim); margin-left: 6px; font-size: 12px; }
.dl-menu { position: relative; }
.dl-menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 6px; display: none; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.dl-menu.open .dl-menu-list { display: block; }
.dl-menu-list a { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 9px; font-size: 14px; }
.dl-menu-list a:hover { background: rgba(139,61,255,.15); }
.dl-menu-list a span { color: var(--dim); }
@media (max-width: 560px) { .dl-menu .btn .lbl { display: none; } }

.g-section { padding: 70px 0 20px; }
.g-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.g-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.g-head .count { color: var(--dim); font-size: 14px; }

.film { border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--accent) 50%, transparent); }
.film video { width: 100%; aspect-ratio: 16/9; background: #000; }
.film-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.film + .film { margin-top: 28px; }

.masonry { columns: 4 260px; column-gap: 10px; }
.masonry a { display: block; margin-bottom: 10px; break-inside: avoid; border-radius: 8px; overflow: hidden; background: var(--surface); position: relative; }
.masonry img { width: 100%; height: auto; min-height: 120px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; opacity: 0; }
.masonry img.loaded { opacity: 1; min-height: 0; }
.masonry a:hover img { transform: scale(1.035); }
.masonry a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); border-radius: inherit; pointer-events: none; }
@media (max-width: 520px) { .masonry { columns: 2; column-gap: 6px; } .masonry a { margin-bottom: 6px; border-radius: 5px; } }
.load-more-wrap { text-align: center; margin-top: 26px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.vcard { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-align: left; padding: 0; }
.vcard .thumb { aspect-ratio: 16/9; position: relative; background: #000; }
.vcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard .play { width: 54px; height: 54px; }
.vcard .vmeta { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.vcard .vmeta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }

.file-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.file-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-row .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(139,61,255,.12); color: var(--accent-2); flex: none; }
.file-row .fi svg { width: 18px; height: 18px; }
.file-row .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fsize { color: var(--dim); font-size: 13px; }

.preview-banner { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 60; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; box-shadow: 0 20px 60px rgba(0,0,0,.6); max-width: calc(100% - 24px); }
.preview-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: #f7c35c; flex: none; }

.gate { min-height: 100svh; display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden; isolation: isolate; }
.gate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--accent-deep) 40%, transparent), transparent 60%); }
.gate-card { width: min(440px, 100%); text-align: center; padding: 44px 34px; border-radius: 24px; background: rgba(18,12,27,.75); border: 1px solid var(--line-strong); backdrop-filter: blur(20px); box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.gate-card .logo { width: 170px; margin: 0 auto 28px; }
.gate-card h1 { font-size: 28px; font-weight: 600; margin: 10px 0 8px; }
.gate-card p { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.gate-card .field input { text-align: center; font-size: 17px; letter-spacing: .06em; }
.gate-card .btn { width: 100%; margin-top: 14px; }
.gate-error { color: #ff9fb3; font-size: 14px; margin: 0 0 14px !important; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound .code { font: 400 14px var(--font-wide); letter-spacing: .4em; color: var(--accent-2); }
.notfound h1 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 14px; }
.notfound p { color: var(--muted); margin: 0 0 30px; }
