/* =============================================
   THEO VIDGEN — style.css
   Palette: #000  #fff  #9ED1FF (accent: hover/buttons/preloader only)
   Font: Epilogue
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #000;  --white: #fff;  --blue: #0081f5;
  --grey: #888;   --light: #f6f6f6;  --border: #e4e4e4;
  --font: 'Epilogue', sans-serif;
  --ease: cubic-bezier(0.16,1,0.3,1);
  --ease2: cubic-bezier(0.87,0,0.13,1);
  --max: 1300px;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* Sections z-index: 2 so they scroll over fixed footer-cta (z-index:1) and footer (z-index:0) */
#hero, #welcome, #marquee, #featured, #centertext, #sound, #testimonials, #ytvideo,
.page-hdr, .breadcrumb, .work-filters, .work-grid, .contact-6040, .about-6040, .about-3070, .about-5050,
#ytvideo, .sp-featured, .sp-video, .sp-6040, .sp-5050, .sp-audio, .sp-pager { position: relative; z-index: 2; }
/* Ensure every white section has a solid bg so it covers fixed footer-cta and footer */
#welcome, #marquee, #featured, #centertext, #testimonials, #ytvideo,
.work-filters, .work-grid, .contact-6040, .about-6040, .about-3070, .about-5050,
.sp-featured, .sp-video, .sp-6040, .sp-5050, .sp-audio, .sp-pager { background-color: var(--white); }
/* Black sections */
#sound { background-color: var(--black); }
/* Page header and breadcrumb — always black */
.page-hdr, .breadcrumb { background-color: var(--black); }
/* Inner page wrapper divs (about, contact, single project use inline style="background:#fff") */
body > div[style*="background"], main > div[style*="background"],
body > section, main > section,
body > section[style*="background"], main > section[style*="background"] { position: relative; z-index: 2; background-color: var(--white); }
/* Override for explicitly black sections */
body > section#sound, main > section#sound { background-color: var(--black); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ===== PRELOADER ===== */
#preloader { position: fixed; inset: 0; background: var(--black); z-index: 9999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 32px; animation: pre-fallback 0s linear 4s forwards; }
@keyframes pre-fallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* 8-note equalizer */
.pre-eq { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.pre-eq-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.pre-eq-note { color: var(--white); flex-shrink: 0; margin-bottom: 6px; opacity: 0; animation: pre-note-in .45s ease forwards; }
.pre-eq-col:nth-child(1) .pre-eq-note { animation-delay: .08s; }
.pre-eq-col:nth-child(2) .pre-eq-note { animation-delay: .16s; }
.pre-eq-col:nth-child(3) .pre-eq-note { animation-delay: .24s; }
.pre-eq-col:nth-child(4) .pre-eq-note { animation-delay: .32s; }
.pre-eq-col:nth-child(5) .pre-eq-note { animation-delay: .40s; }
.pre-eq-col:nth-child(6) .pre-eq-note { animation-delay: .48s; }
.pre-eq-col:nth-child(7) .pre-eq-note { animation-delay: .56s; }
.pre-eq-col:nth-child(8) .pre-eq-note { animation-delay: .64s; }
@keyframes pre-note-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pre-eq-bar { width: 3px; border-radius: 2px; background: var(--blue); }
.pre-eq-col:nth-child(1) .pre-eq-bar { animation: eq-1  .72s ease-in-out infinite alternate  .00s; }
.pre-eq-col:nth-child(2) .pre-eq-bar { animation: eq-2 1.08s ease-in-out infinite alternate  .28s; }
.pre-eq-col:nth-child(3) .pre-eq-bar { animation: eq-3  .84s ease-in-out infinite alternate  .06s; }
.pre-eq-col:nth-child(4) .pre-eq-bar { animation: eq-4  .66s ease-in-out infinite alternate  .44s; }
.pre-eq-col:nth-child(5) .pre-eq-bar { animation: eq-5  .96s ease-in-out infinite alternate  .14s; }
.pre-eq-col:nth-child(6) .pre-eq-bar { animation: eq-6  .78s ease-in-out infinite alternate  .56s; }
.pre-eq-col:nth-child(7) .pre-eq-bar { animation: eq-7 1.14s ease-in-out infinite alternate  .22s; }
.pre-eq-col:nth-child(8) .pre-eq-bar { animation: eq-8  .90s ease-in-out infinite alternate  .38s; }
@keyframes eq-1 { from { height:  8px; } to { height: 52px; } }
@keyframes eq-2 { from { height: 14px; } to { height: 76px; } }
@keyframes eq-3 { from { height:  6px; } to { height: 60px; } }
@keyframes eq-4 { from { height: 20px; } to { height: 80px; } }
@keyframes eq-5 { from { height: 10px; } to { height: 64px; } }
@keyframes eq-6 { from { height: 12px; } to { height: 46px; } }
@keyframes eq-7 { from { height: 18px; } to { height: 72px; } }
@keyframes eq-8 { from { height:  8px; } to { height: 56px; } }

.pre-logo { height: 56px; width: auto; opacity: 0; animation: pre-logo .6s ease .5s forwards; }
@keyframes pre-logo { to { opacity: 1; } }
.pre-bar { width: 160px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.pre-fill { height: 100%; width: 0; background: var(--blue); }

/* ===== CURSOR ===== */
#cursor { position: fixed; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; pointer-events: none; z-index: 9990; transform: translate(-50%,-50%); }
#cursor-ring { position: fixed; width: 34px; height: 34px; border: 1px solid rgba(158,209,255,.6); border-radius: 50%; pointer-events: none; z-index: 9989; transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), border-color .25s; }
#cursor-ring.on { width: 52px; height: 52px; border-color: var(--blue); }

/* ===== NAV (hide on scroll down / show on up) ===== */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; transition: transform .45s var(--ease), background .35s, box-shadow .3s; }
#nav.hidden { transform: translateY(-100%); }
#nav.shadow { background: var(--black); box-shadow: 0 4px 30px rgba(0,0,0,.5); }
.nav-logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.logo-box { width: 38px; height: 38px; border: 1px solid var(--white); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; transition: border-color .3s; }
.logo-box::after { content: ''; position: absolute; top: 3px; left: 3px; right: -3px; bottom: -3px; border: 1px solid rgba(255,255,255,.3); transition: border-color .3s; }
.logo-box span { font-size: .85rem; font-weight: 900; color: var(--white); }
.nav-logo:hover .logo-box { border-color: var(--blue); }
.nav-logo:hover .logo-box::after { border-color: var(--blue); }
.logo-tw { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: .62rem; font-weight: 700; letter-spacing: .2em; color: var(--white); }
.logo-sub { font-size: .5rem; font-weight: 400; letter-spacing: .25em; color: rgba(255,255,255,.5); }
.nav-logo-img { height: 36px; width: auto; }
.hamburger { display: flex; flex-direction: column; gap: 6px; z-index: 1001; padding: 4px; align-items: flex-end; }
.hamburger span { display: block; height: 2px; background: var(--white); transition: transform .4s var(--ease), opacity .3s, width .3s, background .3s; }
.hamburger span:nth-child(1) { width: 30px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger:hover span { background: var(--blue); }
.hamburger:hover span:nth-child(2) { width: 30px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); width: 28px; }
.hamburger.open span:nth-child(2) { transform: rotate(-45deg) translate(4px,-5px); width: 28px; }

/* ===== MENU OVERLAY ===== */
#menu { position: fixed; inset: 0; background: var(--black); z-index: 995; display: flex; align-items: center; padding: 160px 40px 80px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease2); pointer-events: none; }
#menu.open { clip-path: inset(0 0 0% 0); pointer-events: all; }
.menu-list { width: 100%; max-width: var(--max); margin: 0 auto; }
.menu-item { overflow: hidden; }
.menu-link { display: flex; align-items: baseline; gap: 22px; padding: 11px 0; font-size: clamp(2.3rem,6.4vw,5.6rem); font-weight: 800; color: rgba(255,255,255,.4); transform: translateY(110%); transition: color .35s; position: relative; }
.menu-link .mnum { font-size: .7rem; font-weight: 600; letter-spacing: .15em; color: var(--blue); }
.menu-link .mtext { position: relative; display: inline-block; }
.menu-link .mtext::after { content: ''; position: absolute; bottom: 2px; left: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease); }
.menu-link:hover { color: var(--white); }
.menu-link:hover .mtext::after { transform: scaleX(1); transform-origin: left center; }
.menu-link.cur { color: var(--white); }
.menu-link.cur .mtext::after { transform: scaleX(1); transform-origin: left center; }

/* ===== HERO SLIDER ===== */
#hero { height: 100vh; min-height: 600px; position: relative; overflow: hidden; background: var(--black); }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 40px 88px; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.slide.active { opacity: 1; pointer-events: all; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg-ph { width: 100%; height: 100%; background: #111; display: flex; align-items: center; justify-content: center; font-size: .68rem; letter-spacing: .12em; color: #333; text-transform: uppercase; }
.slide-bg video, .slide-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.05); transition: transform 8s ease; }
.slide.active .slide-bg video, .slide.active .slide-bg img { transform: scale(1); }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.05) 100%); }
.slide-content { padding-bottom:30px; position: relative; z-index: 2; max-width: 840px; }
.slide-title { font-size: 60px; font-weight: 600; line-height: 1.02; color: var(--white); margin-bottom: 16px; }
.slide-title em { font-style: italic; font-weight: 300; }
.slide-body { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.7); margin-bottom: 32px; max-width: 520px; }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 100px; transition: border-color .35s, color .35s, gap .35s var(--ease); position: relative; overflow: hidden; }
.btn-pill::before { content: ''; position: absolute; inset: 0; background: var(--blue); border-radius: inherit; transform: translateY(-100%); transition: transform .4s var(--ease); z-index: 0; }
.btn-pill:hover::before { transform: translateY(0); }
.btn-pill:not(:hover)::before { transform: translateY(100%); transition: transform .35s var(--ease); }
.btn-pill:hover { border-color: var(--blue); color: var(--black); }
.btn-pill span, .btn-pill svg { position: relative; z-index: 1; }
.btn-pill svg, .btn-pill-dark svg { order: -1; flex-shrink: 0; }
.slide-dots { position: absolute; right: 40px; bottom: 130px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.dot { width: 22px; height: 2px; background: rgba(255,255,255,.25); border: none; cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.dot.active { width: 42px; background: var(--blue); }
.slide-arrows { position: absolute; bottom: 40px; left: 40px; right: 40px; z-index: 10; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.arr { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; background: transparent; pointer-events: all; box-shadow: inset 0 0 0 0px var(--blue); transition: border-color .35s, color .35s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.arr:hover { border-color: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 3px var(--blue); transform: scale(.93); }

/* ===== SECTION HELPERS ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.eyebrow { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.sec-title { font-size: 60px; font-weight: 600; line-height: 1.08; }

/* underline-on-hover link (universal) */
.ul-link { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.ul-link::after { content: ''; position: absolute; bottom: -3px; left: 0; height: 1.5px; width: 0; background: var(--blue); transition: width .45s var(--ease); }
.ul-link:hover::after { width: 100%; }

/* pill button (light bg) */
.btn-pill-dark { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border: 1px solid var(--black); background: var(--black); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; transition: color .4s var(--ease); position: relative; overflow: hidden; }
.btn-pill-dark::before { content: ''; position: absolute; inset: 0; background: var(--white); border-radius: inherit; transform: translateY(-100%); transition: transform .4s var(--ease); z-index: 0; }
.btn-pill-dark:hover::before { transform: translateY(0); }
.btn-pill-dark:not(:hover)::before { transform: translateY(100%); transition: transform .35s var(--ease); }
.btn-pill-dark:hover { color: var(--black); }
.btn-pill-dark span, .btn-pill-dark svg { position: relative; z-index: 1; }
.btn-pill-dark svg circle { fill: var(--white); transition: fill .4s var(--ease); }
.btn-pill-dark svg path { stroke: var(--black); transition: stroke .4s var(--ease); }
.btn-pill-dark:hover svg circle { fill: var(--black); }
.btn-pill-dark:hover svg path { stroke: var(--white); }

/* ===== WELCOME SECTION (white) ===== */
#welcome { background: var(--white); padding: 90px 40px; }
.welcome-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 7fr 3fr; gap: 80px; align-items: start; }
.welcome-left { display: flex; flex-direction: column; }
.welcome-heading { font-size: 60px; font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.welcome-body { font-size: 20px; line-height: 1.85; color: #444; }
.welcome-body strong { color: var(--black); font-weight: 700; }
.welcome-left .mg-cols { margin-top: 44px; }
.welcome-right { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.mg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mg-label { font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.mg-text { font-size: 18px; line-height: 1.75; color: #555; }
/* rotating badge */
.badge { position: relative; width: 220px; height: 220px; }
.badge-outer { position: absolute; inset: 0; border: 2.5px solid var(--black); border-radius: 50%; }
.badge-spin { position: absolute; inset: 0; animation: badge-rotate 13s linear infinite; }
.badge-inner { position: absolute; inset: 26px; border: 2.5px solid var(--black); border-radius: 50%; }
.badge-num { position: absolute; inset: 26px; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', var(--font); font-size: 6.8rem; font-weight: 600; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px var(--black); }
@keyframes badge-rotate { to { transform: rotate(360deg); } }
.badge-spin svg { width: 100%; height: 100%; }
.badge-spin text { font-size: 14px; font-weight: 700; letter-spacing: 4.5px; text-transform: uppercase; fill: var(--black); }

/* ===== MARQUEE (white) ===== */
#marquee { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; overflow: hidden; }
.mq-track { display: flex; white-space: nowrap; animation: mq 24s linear infinite; }
.mq-track:hover { animation-play-state: paused; }
.mq-item { font-family: 'Oswald', var(--font); font-size: 100px; font-weight: 600; font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px #000; padding: 0 28px; flex-shrink: 0; transition: color .3s, -webkit-text-stroke .3s; }
.mq-item:hover { color: var(--blue); -webkit-text-stroke: 1.5px var(--blue); }
.mq-sep { color: var(--blue); display: flex; align-items: center; padding: 0 4px; font-size: .9rem; }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== FEATURED PROJECTS (white) ===== */
#featured { background: var(--white); padding: 90px 40px; }
.feat-head { max-width: var(--max); margin: 0 auto 48px; display: flex; align-items: flex-end; justify-content: space-between; }
.feat-layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 50fr 50fr; gap: 60px; align-items: start; }
.feat-list {}
.feat-row { border-top: 1px solid var(--border); }
.feat-row:last-child { border-bottom: 1px solid var(--border); }
.feat-link { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 70px; padding: 24px 0; transition: padding-left .35s var(--ease); }
.feat-link:hover, .feat-link.active { padding-left: 12px; }
.feat-link.active .feat-name { color: var(--black); }
.feat-link.active .feat-name::after { width: 100%; }
.feat-cat { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--grey); }
.feat-name { font-size: 26px; font-weight: 900; color: #aaa; transition: color .3s; position: relative; display: inline-block; }
.feat-name::after { content: ''; position: absolute; bottom: -3px; left: 0; height: 2px; width: 0; background: var(--blue); transition: width .5s var(--ease); }
.feat-link:hover .feat-name { color: var(--black); }
.feat-link:hover .feat-name::after { width: 100%; }
.feat-arrow { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #bbb; transition: border-color .3s, color .3s, transform .3s var(--ease); }
.feat-link:hover .feat-arrow { border-color: var(--blue); color: var(--black); transform: rotate(45deg); }
/* tilted image panel with round bg */
.feat-visual { position: sticky; top: 110px; height: 520px; display: flex; align-items: center; justify-content: center; }
.feat-blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--blue); opacity: .15; filter: blur(10px); z-index: 0; transition: transform .6s var(--ease); }
.feat-deco { position: absolute; bottom: 10px; right: -10px; color: var(--black); opacity: .18; z-index: 0; pointer-events: none; animation: feat-float 5s ease-in-out infinite; }
@keyframes feat-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
.feat-imgwrap { position: relative; z-index: 1; width: 90%; aspect-ratio: 4/3; transform: rotate(-5deg); transition: transform .5s var(--ease); }
.feat-img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); background: var(--light); border: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: flex-start; flex-direction: column; gap: 4px; box-shadow: 0 36px 70px rgba(0,0,0,.14); overflow: hidden; }
.feat-img.show { opacity: 1; }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, transparent 55%); pointer-events: none; z-index: 1; }
.feat-img .fi-cat { position: relative; z-index: 2; font-size: .55rem; text-transform: uppercase; color: var(--blue); padding: 0 16px; }
.feat-img .fi-name { position: relative; z-index: 2; font-size: .85rem; font-weight: 700; color: #fff; padding: 0 16px 18px; }
.feat-default { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #bbb; background: var(--light); border: 1px solid var(--border); transition: opacity .4s; }

/* ===== TEXT CENTER (white) ===== */
#centertext { background: var(--white); padding: 100px 40px; text-align: center; border-top: 1px solid var(--border); }
.ct-text { font-size: clamp(1.4rem,3vw,2.4rem); font-weight: 600; font-style: italic; line-height: 1.45; max-width: 840px; margin: 0 auto; }

/* ===== SPOTIFY / SOUND (black) ===== */
#sound { background: var(--black); color: var(--white); padding: 90px 40px; }
.sound-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.sound-eyebrow { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.sound-title { font-size: 60px; font-weight: 600; line-height: 1.1; margin-bottom: 14px; }
.sound-title em { font-style: italic; font-weight: 300; }
.sound-body { font-size: 20px; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 540px; margin: 0 auto 40px; }
.sound-embed iframe { border-radius: 12px; display: block; }

/* ===== TESTIMONIALS (white) ===== */
#testimonials { background: var(--white); padding: 90px 40px; border-top: 1px solid var(--border); }
.test-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 460px 1fr; gap: 90px; align-items: center; }
.test-left {}
.test-rating { display: flex; align-items: center; gap: 12px; margin: 18px 0 24px; }
.test-stars { display: flex; gap: 3px; color: var(--blue); }
.test-score { font-size: 22px; font-weight: 600; color: var(--black); }
.test-score span { color: var(--grey); font-weight: 400; }
.test-nav { display: flex; gap: 0; margin-top: 28px; }
.test-arr { width: 50px; height: 50px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.test-arr:hover { background: var(--blue); border-color: var(--blue); color: var(--black); }
.test-arr + .test-arr { margin-left: 12px; }
.test-right { position: relative; min-height: 200px; overflow: hidden; border-left: 2px solid var(--border); padding-left: 48px; }
.test-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.test-slide.active { opacity: 1; transform: none; pointer-events: all; position: relative; }
.test-quote { font-size: 26px; font-weight: 300; line-height: 1.5; margin-bottom: 24px; }
.test-author { font-size: 26px; font-weight: 600; }
.test-role { font-size: 18px; color: var(--grey); margin-top: 2px; }

/* ===== YOUTUBE VIDEO (white) ===== */
#ytvideo { background: var(--white); padding: 90px 40px; border-top: 1px solid var(--border); }
.yt-wrap { max-width: 1000px; margin: 0 auto; }
.yt-frame { position: relative; aspect-ratio: 16/9; background: #111; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.yt-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #333; }
.play-wrap { position: absolute; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play-outer { position: absolute; inset: 0; background: var(--blue); border-radius: 50%; }
.play-spin { position: absolute; inset: 0; animation: badge-rotate 12s linear infinite; z-index: 1; }
.play-spin svg { width: 100%; height: 100%; }
.play-spin text { font-size: 16px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; fill: var(--black); }
.play-inner { position: absolute; inset: 28px; border: 2px solid var(--black); border-radius: 50%; z-index: 2; }
.play-circle { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 3; transition: transform .3s; }
.play-circle::after { content: ''; width: 0; height: 0; border-left: 30px solid var(--black); border-top: 20px solid transparent; border-bottom: 20px solid transparent; margin-left: 8px; }
.play-wrap:hover .play-circle { transform: scale(1.08); }
.yt-cta { text-align: center; margin-top: 40px; }

/* ===== FOOTER CTA ===== */
#footer-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1; background: var(--black); color: var(--white); padding: 80px 40px; }
.fcta-inner { max-width: var(--max); margin: 0 auto; }
.fcta-title { font-size: 60px; font-weight: 600; line-height: 1.02; margin-bottom: 24px; color: rgba(255,255,255,.35); }
.fcta-link { font-size: 20px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--white); position: relative; display: inline-flex; align-items: center; gap: 10px; }
.fcta-link::after { content: ''; position: absolute; bottom: -3px; left: 0; height: 2px; width: 0; background: var(--blue); transition: width .45s var(--ease); }
.fcta-link:hover::after { width: 100%; }

/* ===== FOOTER (sticky behind sections — revealed as last section scrolls away) ===== */
#footer { background: var(--black); color: var(--white); overflow: hidden; position: fixed; bottom: 0; left: 0; right: 0; z-index: 0; }
#footer-curtain { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 40px; padding: 60px 40px 40px; }
.f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-logo-img { height: 120px; width: auto; }
.f-tagline { font-size: 18px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 320px; }
.f-col-title { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.f-links { display: flex; flex-direction: column; gap: 11px; }
.f-links a { font-size: 18px; color: rgba(255,255,255,.5); transition: color .3s; position: relative; display: inline-block; }
.f-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; height: 1.5px; width: 0; background: var(--blue); transition: width .35s var(--ease); }
.f-links a:hover { color: var(--white); }
.f-links a:hover::after { width: 100%; }
.f-cval { font-size: 18px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 40px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-copy { font-size: 18px; color: rgba(255,255,255,.35); }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.55); transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease); }
.f-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--black); transform: translateY(-3px); }

/* ===== PAGE HEADER (inner, black) ===== */
.page-hdr { background: var(--black); color: var(--white); padding: 0 40px; min-height: 370px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 0; }
.page-hdr-inner { max-width: var(--max); margin: 0 auto; width: 100%; padding-top: 100px; padding-bottom: 45px; }
.page-hdr h1 { font-size: 60px; font-weight: 600; line-height: 1.02; display: flex; align-items: center; gap: 18px; }
.hdr-note { display: inline-flex; flex-shrink: 0; color: var(--white); animation: note-float 2.8s ease-in-out infinite; }
@keyframes note-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.page-hdr-sub { font-size: 18px; color: rgba(255,255,255,.5); margin-top: 14px; max-width: 540px; }
.onovo-title-1 { font-size: 70px; font-weight: 600; }
.page-hdr-sep { width: 100%; max-width: var(--max); margin: 0 auto; height: 1px; background: rgba(255,255,255,.35); }
.breadcrumb { background: var(--black); color: rgba(255,255,255,.4); padding: 30px 40px; }
.breadcrumb-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 12px; font-size: 16px; }
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .3s; }
.breadcrumb a:hover { color: var(--blue); }
.bc-sep { opacity: .3; }
.bc-cur { color: var(--white); font-weight: 600; }

/* ===== ABOUT PAGE ===== */
.about-6040 { max-width: var(--max); margin: 0 auto; padding: 90px 40px; display: grid; grid-template-columns: 60fr 40fr; gap: 70px; align-items: center; }
.about-6040 .col-text h2 { font-size: 60px; font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.about-6040 .col-text p { font-size: 20px; line-height: 1.85; color: #444; margin-bottom: 14px; }
.about-6040 .col-text strong { color: var(--black); }
.about-img-anim { aspect-ratio: 4/5; background: var(--light); border: 1px solid var(--border); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.about-3070 { max-width: var(--max); margin: 0 auto; padding: 70px 40px; display: grid; grid-template-columns: 30fr 70fr; gap: 60px; align-items: start; border-top: 1px solid var(--border); }
.about-3070 h2 { font-size: 60px; font-weight: 600; line-height: 1.12; }
.about-3070 .col-text p { font-size: 20px; line-height: 1.9; color: #444; margin-bottom: 14px; }
.about-5050 { max-width: var(--max); margin: 0 auto; padding: 40px 40px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.about-5050 .img-ph { aspect-ratio: 4/3; background: var(--light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }

/* ===== WORK PAGE ===== */
.work-filters { background: var(--white); padding: 48px 40px; }
.work-filters-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: center; }
.work-filters-wrap { position: relative; display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 100px; padding: 14px 6px; overflow: hidden; }
.filter-pill { position: absolute; top: 14px; bottom: 14px; background: var(--blue); border-radius: 100px; pointer-events: none; z-index: 0; transition: none; }
.fbtn { position: relative; z-index: 2; padding: 14px 26px; border-radius: 100px; border: none; font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: .05em; background: transparent; color: #888; cursor: pointer; transition: color .3s; white-space: nowrap; }
.fbtn.on { color: var(--black); }
.fbtn:hover:not(.on) { color: var(--black); }
.f-div { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; position: relative; z-index: 2; }
.work-grid { max-width: var(--max); margin: 0 auto; padding: 50px 40px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.wcard { cursor: pointer; }
.wcard-img { aspect-ratio: 16/11; background: #e9e9e9; overflow: hidden; position: relative; }
.wcard-ph { width: 100%; height: 100%; background: #e9e9e9; display: flex; align-items: center; justify-content: center; font-size: 26px; letter-spacing: .1em; text-transform: uppercase; color: #999; transition: transform .6s var(--ease); }
.wcard:hover .wcard-ph { transform: scale(1.05); }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wcard:hover img { transform: scale(1.05); }
.wcard-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; }
.wcard:hover .wcard-overlay { opacity: 1; }
.wcard-view { width: 56px; height: 56px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); transform: scale(.8); transition: transform .35s var(--ease); }
.wcard:hover .wcard-view { transform: scale(1); }
.wcard-info { padding: 18px 0 0; }
.wcard-sep { height: 1px; background: var(--border); margin-top: 12px; }
.wcard-title { font-size: 1.15rem; font-weight: 900; transition: color .3s; padding-bottom: 10px; }
.wcard:hover .wcard-title { color: var(--blue); }
.wcard-cat { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--grey); margin-top: 5px; }

/* ===== CONTACT PAGE ===== */
.contact-6040 { max-width: var(--max); margin: 0 auto; padding: 0 40px 90px; display: grid; grid-template-columns: 60fr 40fr; gap: 60px; align-items: stretch; }
.contact-info-box { background: var(--black); color: var(--white); padding: 18px; }
.cib-inner { border: 1px solid var(--white); padding: 36px; height: 100%; box-sizing: border-box; }
.cib-title { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 28px; }
.cib-row { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cib-row:last-child { border-bottom: none; }
.cib-label { font-size: 20px; font-weight: 700; text-transform: capitalize; color: var(--white); margin-bottom: 6px; }
.cib-val { font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.6; }
.cib-socials { display: flex; gap: 10px; margin-top: 24px; }
.cib-socials a { width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.6); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.cib-socials a:hover { background: var(--blue); border-color: var(--blue); color: var(--black); transform: translateY(-3px); }
.contact-form-title { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.contact-form-sub { font-size: 18px; color: var(--grey); margin-bottom: 32px; }
.contact-video-wrap { background: var(--white); padding: 90px 40px; }
.contact-video-box { max-width: var(--max); margin: 0 auto; height: 60vh; min-height: 500px; border-radius: 16px; overflow: hidden; position: relative; background: #111; display: flex; align-items: center; justify-content: center; }
.contact-video-box .slide-bg-ph { font-size: .68rem; letter-spacing: .12em; color: #333; text-transform: uppercase; }
.ff { margin-bottom: 14px; }
.ff-input, .ff-textarea, .ff-select { width: 100%; padding: 20px 40px; border: 1px solid #ddd; border-radius: 40px; font-family: var(--font); font-size: 16px; color: var(--black); background: var(--white); outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.ff-input::placeholder, .ff-textarea::placeholder { color: #bbb; }
.ff-input:focus, .ff-textarea:focus, .ff-select:focus { border-color: var(--blue); }
.ff-textarea { resize: none; min-height: 150px; }
.ff-select { color: #999; cursor: pointer; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-send { padding: 15px 36px; background: var(--black); color: var(--white); font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: none; cursor: pointer; border-radius: 100px; margin-top: 12px; transition: color .3s, gap .3s; display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden; }
.btn-send::before { content: ''; position: absolute; inset: 0; background: var(--blue); border-radius: inherit; transform: translateY(-100%); transition: transform .4s var(--ease); z-index: 0; }
.btn-send:hover::before { transform: translateY(0); }
.btn-send:not(:hover)::before { transform: translateY(100%); transition: transform .35s var(--ease); }
.btn-send:hover { color: var(--black); gap: 16px; }
.btn-send span, .btn-send svg { position: relative; z-index: 1; }

/* ===== SINGLE PROJECT PAGE ===== */
.sp-featured { max-width: var(--max); margin: 0 auto; padding: 70px 40px 0; }
.sp-featured-img { aspect-ratio: 16/9; background: #ececec; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #999; }
.sp-video { max-width: var(--max); margin: 0 auto; padding: 0 40px 70px; }
.sp-video-frame { aspect-ratio: 16/9; background: #111; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #333; }
.sp-6040 { max-width: var(--max); margin: 0 auto; padding: 70px 40px; display: grid; grid-template-columns: 60fr 40fr; gap: 60px; align-items: start; }
.sp-desc-title { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.sp-desc { font-size: 18px; line-height: 1.95; color: #444; margin-bottom: 16px; }
.sp-desc strong { color: var(--black); font-weight: 700; }
.sp-meta { background: var(--black); color: var(--white); padding: 18px; }
.sp-meta-inner { border: 1px solid var(--white); padding: 28px; }
.sp-meta-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.sp-meta-row:last-child { border-bottom: none; }
.sp-meta-label { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.sp-meta-val { font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.5; }
.sp-5050 { max-width: var(--max); margin: 0 auto; padding: 0 40px 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-items: center; }
.sp-5050 .img-ph { height: 460px; background: var(--light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.sp-5050 .img-ph--sm { width: 72%; margin: 0 auto; }
.sp-5050 .img-ph { overflow: hidden; }
.wcard-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.wcard:hover .wcard-thumb { transform: scale(1.05); }

/* MP3 player */
.sp-audio { max-width: var(--max); margin: 0 auto; padding: 0 40px 70px; }
.audio-player { background: var(--black); color: var(--white); border-radius: 14px; padding: 36px; }
.ap-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.ap-cover { width: 80px; height: 80px; border-radius: 8px; background: linear-gradient(135deg,#9ED1FF22,#9ED1FF44); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.ap-meta .ap-eyebrow { font-size: .58rem; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.ap-meta h3 { font-size: 1.3rem; font-weight: 800; }
.ap-meta p { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.ap-list {}
.ap-track { display: flex; align-items: center; gap: 16px; padding: 13px 14px; border-radius: 8px; cursor: pointer; transition: background .25s; }
.ap-track:hover { background: rgba(255,255,255,.05); }
.ap-track.playing { background: rgba(158,209,255,.12); }
.ap-track-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; transition: background .25s, color .25s, border-color .25s; }
.ap-track.playing .ap-track-btn, .ap-track:hover .ap-track-btn { background: var(--blue); border-color: var(--blue); color: var(--black); }
.ap-track-num { font-size: .8rem; color: rgba(255,255,255,.4); width: 22px; }
.ap-track-info { flex: 1; }
.ap-track-title { font-size: .9rem; font-weight: 600; }
.ap-track-artist { font-size: .74rem; color: rgba(255,255,255,.45); }
.ap-track-time { font-size: .78rem; color: rgba(255,255,255,.4); }

/* project pagination */
.sp-pager { max-width: var(--max); margin: 0 auto 90px; padding: 0 40px; }
.sp-pager-inner { border: 1px solid var(--border); border-radius: 100px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.sp-pager-arr { width: 50px; height: 50px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.sp-pager-arr:hover { background: var(--blue); border-color: var(--blue); color: var(--black); }
.sp-pager-grid { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); transition: color .3s; }
.sp-pager-grid:hover { color: var(--blue); }

/* ===== SCROLL REVEAL ===== */
.sr { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.sr.left { transform: translateX(-34px); }
.sr.right { transform: translateX(34px); }
.sr.scale { transform: scale(.94); }
.sr.vis { opacity: 1; transform: none; }
html:not(.js-ready) .sr { animation: sr-fb 0s linear 4.5s forwards; }
@keyframes sr-fb { to { opacity: 1; transform: none; } }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s} .d4{transition-delay:.32s} .d5{transition-delay:.4s}

/* image rollout reveal */
.rollout { position: relative; overflow: hidden; }
.rollout::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(1); transform-origin: right; z-index: 3; }
.rollout.vis::after { animation: rollout-anim 1s var(--ease2) forwards; }
@keyframes rollout-anim { 0%{transform:scaleX(1);transform-origin:right} 100%{transform:scaleX(0);transform-origin:right} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feat-layout { grid-template-columns: 1fr; }
  .feat-visual { display: none; }
  .welcome-grid { grid-template-columns: 1fr; gap: 48px; }
  .test-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-6040, .about-3070 { grid-template-columns: 1fr; gap: 40px; }
  .contact-6040 { grid-template-columns: 1fr; }
  .sp-6040 { grid-template-columns: 1fr; }
  .work-grid { gap: 32px 28px; }
}
@media (max-width: 768px) {
  #nav { padding: 16px 22px; }
  #menu { padding: 110px 22px 60px; }
  .slide { padding: 0 22px 72px; }
  .slide-dots { right: 22px; bottom: 80px; }
  .slide-arrows { left: 22px; right: 22px; bottom: 32px; }
  .wrap, .welcome-grid, .feat-head, .feat-layout, .test-grid { padding-left: 22px; padding-right: 22px; }
  #welcome, #featured, #testimonials, #ytvideo, #sound, #footer-cta { padding: 60px 22px; }
  .mg-cols { grid-template-columns: 1fr; gap: 24px; }
  #centertext { padding: 70px 22px; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 22px 32px; }
  .footer-bottom { padding: 20px 22px; flex-direction: column; gap: 16px; }
  .page-hdr { min-height: 260px; padding: 0 22px; }
  .page-hdr-inner { padding-top: 100px; padding-bottom: 28px; }
  .breadcrumb { padding: 14px 22px; }
  .about-6040, .about-3070, .about-5050 { padding: 60px 22px; grid-template-columns: 1fr; }
  .about-5050 { grid-template-columns: 1fr; }
  .work-filters { padding: 28px 22px; }
  .work-grid { grid-template-columns: 1fr; padding: 40px 22px 60px; }
  .contact-6040 { padding: 60px 22px; }
  .ff-row { grid-template-columns: 1fr; }
  .sp-featured, .sp-video, .sp-6040, .sp-5050, .sp-audio, .sp-pager { padding-left: 22px; padding-right: 22px; }
  .sp-5050 { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
}

/* ===== POPUPS ===== */
.popup-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.popup-overlay.open { opacity: 1; visibility: visible; }

.popup-close {
  position: fixed; top: 28px; right: 32px; z-index: 2001;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); background: transparent; cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.popup-close:hover { border-color: var(--blue); background: var(--blue); color: var(--black); transform: rotate(90deg); }

.popup-inner {
  background: var(--black);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform .45s var(--ease);
}
.popup-overlay.open .popup-inner { transform: translateY(0); }

.popup-title { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 900; color: var(--white); margin-bottom: 6px; }
.popup-sub { font-size: .8rem; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* Image popup */
.popup-inner--image { max-width: 860px; }
.popup-img-ph {
  width: 100%; aspect-ratio: 16/9;
  background: #1a1a1a; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #444;
  margin-bottom: 20px;
}
.popup-image-main { margin-bottom: 16px; }
.popup-image-strip { display: flex; gap: 10px; margin-bottom: 24px; }
.popup-img-thumb {
  flex: 1; aspect-ratio: 4/3;
  background: #1a1a1a; border-radius: 6px; border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; color: #555;
  cursor: pointer; transition: border-color .3s;
  overflow: hidden;
}
.popup-img-thumb.active { border-color: var(--blue); }
.popup-img-thumb:hover { border-color: rgba(158,209,255,.5); }

/* Audio popup */
.popup-inner--audio { max-width: 680px; color: var(--white); }

/* Video popup */
.popup-inner--video { max-width: 960px; color: var(--white); }
.popup-video-main { margin-bottom: 16px; }
.popup-video-strip { display: flex; gap: 10px; }
.popup-vthumb {
  flex: 1; cursor: pointer;
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  transition: border-color .3s;
}
.popup-vthumb.active { border-color: var(--blue); }
.popup-vthumb:hover { border-color: rgba(158,209,255,.5); }
.popup-vthumb-ph {
  aspect-ratio: 16/9; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: #444;
}
.popup-vthumb-label { font-size: .65rem; font-weight: 600; color: rgba(255,255,255,.6); padding: 6px 6px 8px; background: #111; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .mq-track, .badge-spin, .play-spin { animation: none; }
}