← back to Rentv 2026
public/2026/c.html
1097 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RENTV — Cinematic CRE</title>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
/* ── RESET + TOKENS ────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
--bg:#07090c;
--bg2:#0b0e12;
--bg3:#131820;
--bg4:#1a2030;
--text:#e7ecf1;
--text2:#9ba8b8;
--red:#c8102e;
--gold:#f0b429;
--border:rgba(255,255,255,0.08);
--card-w:280px;
--radius:6px;
--header-h:62px;
}
html{scroll-behavior:smooth}
body{
background:var(--bg);
color:var(--text);
font-family:'Inter',sans-serif;
font-size:15px;
line-height:1.5;
overflow-x:hidden;
min-height:100vh;
}
/* ── SCROLLBAR ─────────────────────────────────────────────────────── */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:var(--bg2)}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.15);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--red)}
/* ── HEADER ────────────────────────────────────────────────────────── */
#site-header{
position:sticky;top:0;z-index:900;
height:var(--header-h);
background:rgba(7,9,12,0.92);
backdrop-filter:blur(16px) saturate(1.4);
-webkit-backdrop-filter:blur(16px) saturate(1.4);
border-bottom:1px solid var(--border);
display:flex;align-items:center;justify-content:space-between;
padding:0 24px;
gap:16px;
}
#site-header .hd-left,#site-header .hd-right{
display:flex;align-items:center;gap:16px;flex:1;
}
#site-header .hd-right{justify-content:flex-end}
.wordmark{
font-family:'Playfair Display',serif;
font-weight:800;font-size:26px;
letter-spacing:-0.5px;
color:var(--text);
text-decoration:none;
flex-shrink:0;
}
.wordmark span{color:var(--red)}
.hd-btn{
background:none;border:1px solid rgba(255,255,255,0.2);
color:var(--text2);
font-family:inherit;font-size:13px;font-weight:600;
padding:6px 14px;border-radius:4px;cursor:pointer;
transition:all .2s;white-space:nowrap;
}
.hd-btn:hover{color:var(--text);border-color:rgba(255,255,255,0.45)}
.hd-btn.primary{
background:var(--red);border-color:var(--red);
color:#fff;
}
.hd-btn.primary:hover{background:#a50d24;border-color:#a50d24}
/* ── CONTROLS BAR ──────────────────────────────────────────────────── */
#controls-bar{
display:flex;align-items:center;gap:24px;
padding:14px 32px 10px;
background:var(--bg2);
border-bottom:1px solid var(--border);
flex-wrap:wrap;
}
#controls-bar label{
font-size:12px;font-weight:600;color:var(--text2);
text-transform:uppercase;letter-spacing:.06em;
display:flex;align-items:center;gap:8px;
white-space:nowrap;
}
#sort-select{
background:var(--bg3);border:1px solid var(--border);
color:var(--text);font-family:inherit;font-size:13px;font-weight:500;
padding:6px 28px 6px 10px;border-radius:4px;cursor:pointer;
appearance:none;-webkit-appearance:none;
background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ba8b8'/%3E%3C/svg%3E");
background-repeat:no-repeat;background-position:right 8px center;
transition:border-color .2s;
}
#sort-select:hover,#sort-select:focus{border-color:var(--red);outline:none}
.density-wrap{display:flex;align-items:center;gap:8px}
#density-slider{
-webkit-appearance:none;appearance:none;
width:120px;height:4px;border-radius:2px;
background:linear-gradient(to right,var(--red) 0%,var(--red) 50%,var(--bg4) 50%);
outline:none;cursor:pointer;
}
#density-slider::-webkit-slider-thumb{
-webkit-appearance:none;appearance:none;
width:16px;height:16px;border-radius:50%;
background:var(--text);border:2px solid var(--red);
cursor:pointer;transition:transform .15s;
}
#density-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}
.density-label{font-size:11px;color:var(--text2);min-width:18px;text-align:right}
/* ── AD SLOTS ──────────────────────────────────────────────────────── */
[data-ad-slot]{
width:100%;min-height:60px;
background:linear-gradient(135deg,rgba(200,16,46,0.04),rgba(240,180,41,0.04));
border:1px dashed rgba(240,180,41,0.2);
display:flex;align-items:center;justify-content:center;
color:rgba(240,180,41,0.5);font-size:11px;font-weight:600;
letter-spacing:.12em;text-transform:uppercase;
border-radius:4px;transition:opacity .3s;
}
[data-ad-slot]:empty::after{content:attr(data-ad-slot) " · ADVERTISING SLOT · RENTV"}
#ad-masthead{margin:0;padding:0 32px;background:var(--bg2)}
#ad-masthead [data-ad-slot]{border-radius:6px;min-height:72px}
#ad-footer{padding:0 32px 32px;background:var(--bg)}
#ad-footer [data-ad-slot]{min-height:90px}
/* ── HERO ───────────────────────────────────────────────────────────── */
#hero{
position:relative;width:100%;
background:var(--bg);
overflow:hidden;
}
#hero-inner{
position:relative;
max-width:1400px;margin:0 auto;
aspect-ratio:16/7;min-height:420px;
background:#0d1018;
}
@media(max-width:768px){#hero-inner{aspect-ratio:16/9;min-height:260px}}
#hero-thumb{
position:absolute;inset:0;
background:var(--bg2);
}
#hero-thumb img{
width:100%;height:100%;object-fit:cover;
display:block;opacity:0.65;
filter:saturate(0.7);
}
#hero-gradient{
position:absolute;inset:0;
background:linear-gradient(
to right,
rgba(7,9,12,0.92) 0%,
rgba(7,9,12,0.7) 40%,
rgba(7,9,12,0.2) 65%,
transparent 100%
),linear-gradient(
to top,
rgba(7,9,12,0.85) 0%,
transparent 50%
);
}
#hero-content{
position:absolute;
left:5%;bottom:0;top:0;
display:flex;flex-direction:column;
justify-content:center;
max-width:520px;
padding:40px 0;
}
.hero-eyebrow{
display:inline-flex;align-items:center;gap:8px;
font-size:11px;font-weight:700;letter-spacing:.15em;
text-transform:uppercase;color:var(--red);
margin-bottom:14px;
}
.hero-eyebrow::before{
content:'';display:block;
width:28px;height:2px;background:var(--red);border-radius:1px;
}
.hero-title{
font-family:'Playfair Display',serif;
font-size:clamp(24px,3.5vw,48px);
font-weight:800;line-height:1.15;
color:#fff;margin-bottom:14px;
text-shadow:0 2px 20px rgba(0,0,0,0.6);
}
.hero-desc{
font-size:clamp(13px,1.2vw,15px);
color:rgba(231,236,241,0.8);
line-height:1.6;margin-bottom:24px;
max-width:400px;
}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.hero-play{
display:inline-flex;align-items:center;gap:8px;
background:var(--red);color:#fff;
font-size:14px;font-weight:700;
padding:12px 24px;border-radius:4px;
cursor:pointer;border:none;font-family:inherit;
transition:all .2s;text-decoration:none;
box-shadow:0 4px 20px rgba(200,16,46,0.4);
}
.hero-play:hover{background:#a50d24;transform:translateY(-1px)}
.hero-play svg{flex-shrink:0}
.hero-advert{
display:inline-flex;align-items:center;
background:transparent;
border:1px solid rgba(231,236,241,0.35);color:var(--text);
font-size:13px;font-weight:600;
padding:12px 20px;border-radius:4px;
cursor:pointer;font-family:inherit;
transition:all .2s;text-decoration:none;
}
.hero-advert:hover{border-color:var(--gold);color:var(--gold)}
#hero-play-icon{
position:absolute;right:5%;top:50%;transform:translateY(-50%);
width:72px;height:72px;border-radius:50%;
background:rgba(200,16,46,0.85);
display:flex;align-items:center;justify-content:center;
cursor:pointer;transition:all .3s;
box-shadow:0 0 40px rgba(200,16,46,0.3);
}
#hero-play-icon:hover{background:var(--red);transform:translateY(-50%) scale(1.08)}
@media(max-width:600px){#hero-play-icon{display:none}}
/* ── RAILS SECTION ─────────────────────────────────────────────────── */
#rails{padding:32px 0 48px}
.rail{margin-bottom:40px}
.rail-header{
display:flex;align-items:baseline;gap:16px;
padding:0 32px;margin-bottom:16px;
}
.rail-title{
font-family:'Playfair Display',serif;
font-size:20px;font-weight:700;
color:var(--text);
}
.rail-count{
font-size:12px;font-weight:500;color:var(--text2);
}
.rail-all{
margin-left:auto;font-size:12px;font-weight:600;
color:var(--red);text-decoration:none;
transition:opacity .2s;letter-spacing:.03em;
}
.rail-all:hover{opacity:.75}
.rail-scroll-wrap{
position:relative;
}
.rail-row{
display:flex;gap:14px;
overflow-x:auto;
scroll-snap-type:x mandatory;
scroll-behavior:smooth;
padding:4px 32px 16px;
scrollbar-width:none;
}
.rail-row::-webkit-scrollbar{display:none}
/* scroll arrows */
.rail-arrow{
position:absolute;top:50%;transform:translateY(-50%);
z-index:10;width:40px;height:72px;
display:flex;align-items:center;justify-content:center;
cursor:pointer;border:none;
background:linear-gradient(to right,rgba(7,9,12,0.92),transparent);
color:var(--text);transition:opacity .2s;
opacity:0;
}
.rail-scroll-wrap:hover .rail-arrow{opacity:1}
.rail-arrow.left{left:0}
.rail-arrow.right{
right:0;
background:linear-gradient(to left,rgba(7,9,12,0.92),transparent);
}
.rail-arrow:hover{color:#fff}
/* ── VIDEO CARD ────────────────────────────────────────────────────── */
.v-card{
flex:0 0 var(--card-w);
width:var(--card-w);
scroll-snap-align:start;
border-radius:var(--radius);
overflow:hidden;
background:var(--bg3);
cursor:pointer;
position:relative;
transition:transform .22s,box-shadow .22s;
border:1px solid transparent;
}
.v-card:hover{
transform:translateY(-4px) scale(1.02);
box-shadow:0 12px 40px rgba(0,0,0,0.55);
border-color:rgba(255,255,255,0.12);
}
.v-card-thumb{
position:relative;width:100%;aspect-ratio:16/9;
overflow:hidden;background:var(--bg4);
}
.v-card-thumb img{
width:100%;height:100%;object-fit:cover;
display:block;transition:transform .4s;
}
.v-card:hover .v-card-thumb img{transform:scale(1.06)}
.v-card-play{
position:absolute;inset:0;
display:flex;align-items:center;justify-content:center;
background:rgba(7,9,12,0.3);
opacity:0;transition:opacity .2s;
}
.v-card:hover .v-card-play{opacity:1}
.v-card-play-btn{
width:44px;height:44px;border-radius:50%;
background:rgba(200,16,46,0.9);
display:flex;align-items:center;justify-content:center;
color:#fff;
}
.v-card-duration{
position:absolute;bottom:6px;right:6px;
background:rgba(0,0,0,0.75);color:#fff;
font-size:11px;font-weight:600;
padding:2px 5px;border-radius:3px;
}
.v-card-flag{
position:absolute;top:6px;left:6px;
font-size:10px;font-weight:700;letter-spacing:.04em;
padding:3px 7px;border-radius:3px;
}
.v-card-flag.sponsored{background:var(--gold);color:#000}
.v-card-flag.available{
background:rgba(240,180,41,0.12);
border:1px solid rgba(240,180,41,0.3);
color:var(--gold);
}
.v-card-body{padding:10px 12px 12px}
.v-card-cat{
font-size:10px;font-weight:700;letter-spacing:.1em;
text-transform:uppercase;color:var(--red);
margin-bottom:5px;
}
.v-card-title{
font-size:13px;font-weight:600;
color:var(--text);line-height:1.4;
display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
overflow:hidden;margin-bottom:6px;
}
.v-card-sponsor-link{
display:block;font-size:11px;font-weight:600;color:var(--gold);
text-decoration:none;margin-top:4px;opacity:0;transition:opacity .2s;
}
.v-card:hover .v-card-sponsor-link{opacity:1}
/* thumb gradient fallback */
.thumb-gradient{
width:100%;height:100%;
background:linear-gradient(135deg,var(--bg4),#1d2535);
display:flex;align-items:center;justify-content:center;
color:var(--text2);font-size:28px;
}
/* ── SPONSORED RAIL ────────────────────────────────────────────────── */
.rail.sponsored .rail-title{color:var(--gold)}
.rail.sponsored .rail-title::after{
content:'SPONSORED';
font-size:9px;font-family:'Inter',sans-serif;font-weight:700;
letter-spacing:.15em;color:var(--gold);
background:rgba(240,180,41,0.12);border:1px solid rgba(240,180,41,0.25);
padding:2px 6px;border-radius:3px;margin-left:10px;vertical-align:middle;
}
/* ── LIGHTBOX MODAL ─────────────────────────────────────────────────── */
#modal-overlay{
display:none;position:fixed;inset:0;z-index:2000;
background:rgba(4,6,8,0.94);
backdrop-filter:blur(8px);
align-items:center;justify-content:center;
animation:fadeIn .2s ease;
}
#modal-overlay.open{display:flex}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
#modal-box{
position:relative;
width:min(860px,92vw);
background:var(--bg2);
border-radius:10px;
overflow:hidden;
box-shadow:0 30px 80px rgba(0,0,0,0.7);
border:1px solid var(--border);
animation:slideUp .25s ease;
}
@keyframes slideUp{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
#modal-video-wrap{
position:relative;width:100%;aspect-ratio:16/9;
background:#000;
}
#modal-video-wrap iframe,#modal-video-wrap video{
position:absolute;inset:0;width:100%;height:100%;border:0;
}
#modal-info{padding:18px 22px 20px}
#modal-eyebrow{
font-size:11px;font-weight:700;letter-spacing:.12em;
text-transform:uppercase;color:var(--red);margin-bottom:6px;
}
#modal-title{
font-family:'Playfair Display',serif;
font-size:clamp(16px,2vw,22px);font-weight:700;
color:var(--text);margin-bottom:8px;line-height:1.3;
}
#modal-desc{
font-size:13px;color:var(--text2);line-height:1.6;
display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
overflow:hidden;
}
#modal-close{
position:absolute;top:12px;right:14px;
background:rgba(0,0,0,0.5);border:none;
color:var(--text);font-size:22px;line-height:1;
width:34px;height:34px;border-radius:50%;
cursor:pointer;display:flex;align-items:center;justify-content:center;
transition:background .2s;z-index:10;
}
#modal-close:hover{background:var(--red);color:#fff}
/* ── FOOTER ─────────────────────────────────────────────────────────── */
#site-footer{
background:var(--bg2);
border-top:1px solid var(--border);
padding:48px 32px 32px;
}
.footer-inner{
max-width:1100px;margin:0 auto;
display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;
}
@media(max-width:700px){.footer-inner{grid-template-columns:1fr 1fr}}
.footer-brand .wordmark{font-size:24px;display:inline-block;margin-bottom:12px}
.footer-brand p{font-size:13px;color:var(--text2);line-height:1.6;max-width:220px}
.footer-col h4{
font-size:11px;font-weight:700;letter-spacing:.1em;
text-transform:uppercase;color:var(--text2);
margin-bottom:14px;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:8px}
.footer-col a{
color:var(--text2);text-decoration:none;font-size:13px;
transition:color .2s;
}
.footer-col a:hover{color:var(--text)}
.footer-bottom{
max-width:1100px;margin:32px auto 0;
padding-top:20px;border-top:1px solid var(--border);
display:flex;align-items:center;justify-content:space-between;
flex-wrap:wrap;gap:12px;
}
.footer-bottom p{font-size:12px;color:rgba(155,168,184,0.5)}
/* ── SWITCH CHIP ─────────────────────────────────────────────────────── */
#switch-chip{
position:fixed;bottom:24px;right:24px;z-index:800;
display:inline-flex;align-items:center;gap:7px;
background:rgba(7,9,12,0.9);
border:1px solid var(--border);
backdrop-filter:blur(10px);
color:var(--text2);font-size:12px;font-weight:600;
padding:8px 14px;border-radius:20px;
text-decoration:none;
transition:all .2s;
box-shadow:0 4px 20px rgba(0,0,0,0.4);
}
#switch-chip:hover{color:var(--text);border-color:rgba(255,255,255,0.3)}
#switch-chip .chip-gem{color:var(--gold)}
/* ── LOADING SKELETON ────────────────────────────────────────────────── */
.skel{
background:linear-gradient(90deg,var(--bg3) 25%,var(--bg4) 50%,var(--bg3) 75%);
background-size:400% 100%;
animation:shimmer 1.5s infinite;
border-radius:var(--radius);
}
@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
.skel-card{
flex:0 0 var(--card-w);min-height:200px;
}
/* ── HERO SKELETON ────────────────────────────────────────────────────── */
#hero-skeleton{
aspect-ratio:16/7;min-height:300px;
background:var(--bg2);
display:flex;align-items:flex-end;
padding:40px 5%;
}
.hero-skel-content{display:flex;flex-direction:column;gap:12px;max-width:400px}
.hero-skel-eyebrow{height:12px;width:120px;border-radius:3px}
.hero-skel-title{height:48px;width:340px;border-radius:4px}
.hero-skel-desc{height:36px;width:280px;border-radius:4px}
.hero-skel-btns{height:44px;width:200px;border-radius:4px}
/* ── UTILITY ─────────────────────────────────────────────────────────── */
.visually-hidden{
position:absolute;width:1px;height:1px;
padding:0;overflow:hidden;clip:rect(0,0,0,0);
white-space:nowrap;border:0;
}
</style>
</head>
<body>
<!-- STICKY HEADER -->
<header id="site-header" role="banner">
<div class="hd-left">
<button class="hd-btn" id="btn-explore" aria-label="Explore menu">
<svg width="16" height="12" viewBox="0 0 16 12" fill="currentColor" aria-hidden="true">
<rect width="16" height="2" rx="1"/><rect y="5" width="16" height="2" rx="1"/>
<rect y="10" width="16" height="2" rx="1"/>
</svg>
Explore
</button>
</div>
<a href="/" class="wordmark" aria-label="RENTV Home">REN<span>TV</span></a>
<div class="hd-right">
<button class="hd-btn" id="btn-sections">Sections</button>
<a href="/advertise.html" class="hd-btn primary">Advertise</a>
</div>
</header>
<!-- CONTROLS BAR (sort + density) -->
<div id="controls-bar" role="toolbar" aria-label="Video controls">
<label for="sort-select">
<svg width="14" height="14" viewBox="0 0 14 14" fill="currentColor" aria-hidden="true">
<path d="M1 2h12M3 6h8M5 10h4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" fill="none"/>
</svg>
Sort
<select id="sort-select" aria-label="Sort videos">
<option value="newest">Newest</option>
<option value="mostviewed">Most Viewed</option>
<option value="titleaz">Title A→Z</option>
</select>
</label>
<label>
<svg width="13" height="13" viewBox="0 0 13 13" fill="currentColor" aria-hidden="true">
<rect x="0" y="0" width="5" height="5" rx="1"/>
<rect x="8" y="0" width="5" height="5" rx="1"/>
<rect x="0" y="8" width="5" height="5" rx="1"/>
<rect x="8" y="8" width="5" height="5" rx="1"/>
</svg>
Size
<span class="density-wrap">
<input type="range" id="density-slider" min="200" max="380" step="10" value="280" aria-label="Card density / size">
<span class="density-label" id="density-label" aria-live="polite">M</span>
</span>
</label>
</div>
<!-- HERO SECTION -->
<section id="hero" aria-label="Featured video">
<!-- Skeleton shown while loading -->
<div id="hero-skeleton" aria-hidden="true">
<div class="hero-skel-content">
<div class="skel hero-skel-eyebrow"></div>
<div class="skel hero-skel-title"></div>
<div class="skel hero-skel-desc"></div>
<div class="skel hero-skel-btns"></div>
</div>
</div>
<div id="hero-inner" style="display:none" role="img" aria-labelledby="hero-title">
<div id="hero-thumb">
<img id="hero-img" src="" alt="" loading="eager">
</div>
<div id="hero-gradient" aria-hidden="true"></div>
<div id="hero-content">
<div class="hero-eyebrow" id="hero-eyebrow">Featured</div>
<h1 class="hero-title" id="hero-title">Loading…</h1>
<p class="hero-desc" id="hero-desc"></p>
<div class="hero-btns">
<button class="hero-play" id="hero-play-btn" aria-label="Watch featured video">
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
<path d="M3 2l11 6-11 6V2z"/>
</svg>
Watch
</button>
<a href="/advertise.html" class="hero-advert">Advertise on RENTV</a>
</div>
</div>
<button id="hero-play-icon" aria-label="Play featured video">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" aria-hidden="true">
<path d="M5 3l18 10L5 23V3z"/>
</svg>
</button>
</div>
</section>
<!-- AD MASTHEAD -->
<div id="ad-masthead" aria-label="Advertisement">
<div data-ad-slot="review-masthead" role="complementary"></div>
</div>
<!-- RAILS -->
<main id="rails" aria-label="Video library">
<!-- Skeleton rails while loading -->
<div id="rails-skeleton" aria-hidden="true">
<div class="rail" id="skel-rail-1">
<div class="rail-header"><div class="rail-title skel" style="width:160px;height:22px;border-radius:3px"></div></div>
<div class="rail-row">
<div class="skel skel-card"></div>
<div class="skel skel-card"></div>
<div class="skel skel-card"></div>
<div class="skel skel-card"></div>
<div class="skel skel-card"></div>
</div>
</div>
</div>
<div id="rails-content" style="display:none"></div>
</main>
<!-- AD FOOTER BAND -->
<div id="ad-footer" aria-label="Advertisement">
<div data-ad-slot="footer-band" role="complementary"></div>
</div>
<!-- FOOTER -->
<footer id="site-footer" role="contentinfo">
<div class="footer-inner">
<div class="footer-brand">
<a href="/" class="wordmark" aria-label="RENTV Home">REN<span>TV</span></a>
<p>The Western U.S. commercial real estate authority since 1998. Video-first CRE news, intelligence, and deal coverage.</p>
</div>
<div class="footer-col">
<h4>Sections</h4>
<ul>
<li><a href="/deals.html">Deals</a></li>
<li><a href="/cre-talk.html">CRE Talk</a></li>
<li><a href="/conferences.html">Events</a></li>
<li><a href="/closings.html">Closings</a></li>
<li><a href="/directory.html">Directory</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Intelligence</h4>
<ul>
<li><a href="/deals-log.html">Deal Log</a></li>
<li><a href="/hub.html">Market Hub</a></li>
<li><a href="/article.html">Analysis</a></li>
<li><a href="/desk.html">Desk</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Company</h4>
<ul>
<li><a href="/about.html">About</a></li>
<li><a href="/advertise.html">Advertise</a></li>
<li><a href="/audience.html">Audience</a></li>
<li><a href="/consulting">Consulting</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2026 RENTV / rentvreview.com. All rights reserved.</p>
<p>The REview — Face to Face with the Dealmakers</p>
</div>
</footer>
<!-- TEMPLATE SWITCH CHIP -->
<a href="/2026/" id="switch-chip" aria-label="Switch 2026 template">
<span class="chip-gem">◆</span>
2026 Templates — switch
</a>
<!-- LIGHTBOX MODAL -->
<div id="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="modal-title" aria-hidden="true">
<div id="modal-box">
<button id="modal-close" aria-label="Close video">×</button>
<div id="modal-video-wrap" aria-label="Video player"></div>
<div id="modal-info">
<div id="modal-eyebrow"></div>
<h2 id="modal-title"></h2>
<p id="modal-desc"></p>
</div>
</div>
</div>
<!-- AD SLOT SCRIPT -->
<script src="/ad-slot.js" defer></script>
<script>
/* ──────────────────────────────────────────────────────────────
RENTV CINEMATIC — Template C 2026
────────────────────────────────────────────────────────────── */
(function(){
'use strict';
// ── CONSTANTS ───────────────────────────────────────────────
const LS_SORT = 'rentv_c_sort';
const LS_DENSITY = 'rentv_c_density';
const RAIL_ORDER = [
'Featured',
'RENTV Originals',
'JLL TV',
'Most Recent',
'Industry Events',
'Most Viewed',
'CRE Talk',
'CRE Talk · Clips',
'Deal Wire · Video',
];
// cat → sponsored-rail flag (first rail = sponsored concept)
const SPONSORED_CAT = 'Featured';
// ── STATE ────────────────────────────────────────────────────
let allItems = [];
let heroItem = null;
let sortMode = localStorage.getItem(LS_SORT) || 'newest';
let densityVal = parseInt(localStorage.getItem(LS_DENSITY) || '280', 10);
// ── SORT CONTROL ─────────────────────────────────────────────
const sortSelect = document.getElementById('sort-select');
sortSelect.value = sortMode;
sortSelect.addEventListener('change', () => {
sortMode = sortSelect.value;
localStorage.setItem(LS_SORT, sortMode);
rebuildRails();
});
// ── DENSITY CONTROL ──────────────────────────────────────────
const densitySlider = document.getElementById('density-slider');
const densityLabel = document.getElementById('density-label');
function applyDensity(val){
document.documentElement.style.setProperty('--card-w', val + 'px');
// Update gradient on slider track
const pct = ((val - 200) / (380 - 200)) * 100;
densitySlider.style.background =
`linear-gradient(to right,var(--red) 0%,var(--red) ${pct}%,var(--bg4) ${pct}%)`;
const labels = {200:'XS',240:'S',280:'M',320:'L',380:'XL'};
densityLabel.textContent = val <= 210 ? 'XS' : val <= 255 ? 'S' : val <= 305 ? 'M' : val <= 350 ? 'L' : 'XL';
}
densitySlider.value = densityVal;
applyDensity(densityVal);
densitySlider.addEventListener('input', () => {
densityVal = parseInt(densitySlider.value, 10);
localStorage.setItem(LS_DENSITY, densityVal);
applyDensity(densityVal);
});
// ── SORT FUNCTION ─────────────────────────────────────────────
function sortItems(items){
const arr = [...items];
if(sortMode === 'newest'){
arr.sort((a,b)=>{
const da = a.date ? new Date(a.date).getTime() : 0;
const db = b.date ? new Date(b.date).getTime() : 0;
return db - da;
});
} else if(sortMode === 'mostviewed'){
arr.sort((a,b)=> (b.plays||0) - (a.plays||0));
} else if(sortMode === 'titleaz'){
arr.sort((a,b)=> (a.title||'').localeCompare(b.title||''));
}
return arr;
}
// ── THUMB HELPER ─────────────────────────────────────────────
function thumbUrl(item){
if(item.thumb && !item.thumb.includes('undefined')){
return item.thumb;
}
return null;
}
// ── ESCAPE HTML ───────────────────────────────────────────────
function esc(str){
if(!str) return '';
return String(str)
.replace(/&/g,'&')
.replace(/</g,'<')
.replace(/>/g,'>')
.replace(/"/g,'"')
.replace(/'/g,''');
}
// ── CARD BUILDER ──────────────────────────────────────────────
function buildCard(item){
const div = document.createElement('div');
div.className = 'v-card';
div.setAttribute('role','button');
div.setAttribute('tabindex','0');
div.setAttribute('aria-label', 'Play: ' + (item.title||'Video'));
const thumb = thumbUrl(item);
const sp = item.sponsorship || {};
const sold = sp.status === 'sold';
const flagHtml = sold
? `<span class="v-card-flag sponsored">SPONSORED · ${esc(sp.advertiser||'')}</span>`
: `<a class="v-card-flag available" href="/advertise.html?video=${esc(item.uid)}" title="Sponsor this video" tabindex="-1">Sponsor this video →</a>`;
div.innerHTML = `
<div class="v-card-thumb">
${thumb
? `<img src="${esc(thumb)}" alt="${esc(item.title||'')}" loading="lazy">`
: `<div class="thumb-gradient">🎬</div>`
}
<div class="v-card-play" aria-hidden="true">
<div class="v-card-play-btn">
<svg width="14" height="14" viewBox="0 0 14 14" fill="#fff">
<path d="M2 1l11 6-11 6V1z"/>
</svg>
</div>
</div>
${flagHtml}
</div>
<div class="v-card-body">
<div class="v-card-cat">${esc(item.cat||'')}</div>
<div class="v-card-title">${esc(item.title||'Untitled')}</div>
${!sold ? `<a class="v-card-sponsor-link" href="/advertise.html?video=${esc(item.uid)}" tabindex="-1">Sponsor this video →</a>` : ''}
</div>`;
// click / keypress to open modal
const open = (e)=>{
e.preventDefault();
openModal(item);
};
div.addEventListener('click', open);
div.addEventListener('keydown',(e)=>{
if(e.key==='Enter'||e.key===' '){ e.preventDefault(); openModal(item); }
});
return div;
}
// ── RAIL BUILDER ─────────────────────────────────────────────
function buildRail(catName, items, isSponsored){
if(!items || !items.length) return null;
const rail = document.createElement('div');
rail.className = 'rail' + (isSponsored?' sponsored':'');
rail.setAttribute('aria-label', catName + ' videos');
// header
const hdr = document.createElement('div');
hdr.className = 'rail-header';
hdr.innerHTML = `
<h2 class="rail-title">${esc(catName)}</h2>
<span class="rail-count">${items.length} video${items.length!==1?'s':''}</span>
<a class="rail-all" href="/cre-talk.html" aria-label="View all ${esc(catName)} videos">View all →</a>
`;
rail.appendChild(hdr);
// scroll wrap
const wrap = document.createElement('div');
wrap.className = 'rail-scroll-wrap';
// arrows
const leftArr = document.createElement('button');
leftArr.className = 'rail-arrow left';
leftArr.setAttribute('aria-label', 'Scroll ' + catName + ' left');
leftArr.innerHTML = `<svg width="10" height="16" viewBox="0 0 10 16" fill="currentColor"><path d="M8 1L2 8l6 7"/></svg>`;
const rightArr = document.createElement('button');
rightArr.className = 'rail-arrow right';
rightArr.setAttribute('aria-label', 'Scroll ' + catName + ' right');
rightArr.innerHTML = `<svg width="10" height="16" viewBox="0 0 10 16" fill="currentColor"><path d="M2 1l6 7-6 7"/></svg>`;
// row
const row = document.createElement('div');
row.className = 'rail-row';
row.setAttribute('role','list');
const sorted = sortItems(items);
sorted.forEach(item => {
const card = buildCard(item);
card.setAttribute('role','listitem');
row.appendChild(card);
});
// arrow scroll
const SCROLL_AMT = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--card-w')) + 14 || 294;
leftArr.addEventListener('click', ()=> row.scrollBy({left: -SCROLL_AMT*2, behavior:'smooth'}));
rightArr.addEventListener('click', ()=> row.scrollBy({left: SCROLL_AMT*2, behavior:'smooth'}));
wrap.appendChild(leftArr);
wrap.appendChild(row);
wrap.appendChild(rightArr);
rail.appendChild(wrap);
return rail;
}
// ── REBUILD RAILS ─────────────────────────────────────────────
function rebuildRails(){
const container = document.getElementById('rails-content');
container.innerHTML = '';
// group by cat
const grouped = {};
allItems.forEach(item => {
const c = item.cat || 'Other';
if(!grouped[c]) grouped[c] = [];
grouped[c].push(item);
});
// render in RAIL_ORDER, then any extras
const rendered = new Set();
RAIL_ORDER.forEach((cat, idx) => {
if(!grouped[cat] || !grouped[cat].length) return;
const rail = buildRail(cat, grouped[cat], cat === SPONSORED_CAT);
if(rail) container.appendChild(rail);
rendered.add(cat);
});
// any categories not in RAIL_ORDER
Object.keys(grouped).forEach(cat => {
if(rendered.has(cat)) return;
if(!grouped[cat].length) return;
const rail = buildRail(cat, grouped[cat], false);
if(rail) container.appendChild(rail);
});
}
// ── HERO RENDER ───────────────────────────────────────────────
function renderHero(item){
if(!item) return;
heroItem = item;
const skeleton = document.getElementById('hero-skeleton');
const inner = document.getElementById('hero-inner');
const img = document.getElementById('hero-img');
const t = thumbUrl(item);
if(t){ img.src = t; img.alt = item.title||''; }
else { img.style.display='none'; }
document.getElementById('hero-eyebrow').textContent = item.cat || 'Featured';
document.getElementById('hero-title').textContent = item.title || 'RENTV';
document.getElementById('hero-desc').textContent = (item.desc||'').slice(0,180);
skeleton.style.display = 'none';
inner.style.display = 'block';
const playBtn = document.getElementById('hero-play-btn');
const playIcon = document.getElementById('hero-play-icon');
const doPlay = ()=> openModal(item);
playBtn.addEventListener('click', doPlay);
playIcon.addEventListener('click', doPlay);
}
// ── MODAL ─────────────────────────────────────────────────────
const overlay = document.getElementById('modal-overlay');
const modalBox = document.getElementById('modal-box');
const modalVid = document.getElementById('modal-video-wrap');
const modalClose= document.getElementById('modal-close');
const modalEye = document.getElementById('modal-eyebrow');
const modalTitl = document.getElementById('modal-title');
const modalDesc = document.getElementById('modal-desc');
function openModal(item){
// build video player
modalVid.innerHTML = '';
if(item.mp4){
const vid = document.createElement('video');
vid.src = item.mp4;
vid.controls = true;
vid.autoplay = true;
vid.style.cssText='position:absolute;inset:0;width:100%;height:100%;background:#000';
modalVid.appendChild(vid);
} else if(item.embed && !item.embed.includes('undefined')){
const fr = document.createElement('iframe');
fr.src = item.embed + (item.embed.includes('?')?'&':'?') + 'autoplay=1';
fr.allow = 'autoplay; fullscreen; picture-in-picture';
fr.allowFullscreen = true;
fr.setAttribute('loading','lazy');
modalVid.appendChild(fr);
} else if(item.view_url){
// fallback: link out
modalVid.innerHTML = `
<div style="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
background:var(--bg3);flex-direction:column;gap:16px;">
<svg width="56" height="56" viewBox="0 0 56 56" fill="none">
<circle cx="28" cy="28" r="27" stroke="#c8102e" stroke-width="2"/>
<path d="M20 16l22 12-22 12V16z" fill="#c8102e"/>
</svg>
<a href="${esc(item.view_url)}" target="_blank" rel="noopener"
style="color:var(--red);font-weight:700;font-size:15px;text-decoration:none;">
Watch on rentvreview.com →
</a>
</div>`;
} else {
modalVid.innerHTML = `<div style="position:absolute;inset:0;background:var(--bg3);display:flex;align-items:center;justify-content:center;color:var(--text2)">No preview available</div>`;
}
modalEye.textContent = item.cat || '';
modalTitl.textContent = item.title || 'Untitled';
modalDesc.textContent = item.desc || '';
overlay.classList.add('open');
overlay.setAttribute('aria-hidden','false');
document.body.style.overflow='hidden';
modalClose.focus();
}
function closeModal(){
overlay.classList.remove('open');
overlay.setAttribute('aria-hidden','true');
document.body.style.overflow='';
modalVid.innerHTML = ''; // stop video/audio
}
modalClose.addEventListener('click', closeModal);
overlay.addEventListener('click', e => { if(e.target===overlay) closeModal(); });
document.addEventListener('keydown', e => {
if(e.key==='Escape' && overlay.classList.contains('open')) closeModal();
});
// ── FETCH + INIT ─────────────────────────────────────────────
async function init(){
try{
// parallel fetch
const [invRes, vidRes] = await Promise.all([
fetch('/api/ad/inventory'),
fetch('/api/videos'),
]);
const invData = await invRes.json();
const vidData = await vidRes.json();
allItems = (invData.items || []).filter(i =>
i.title && i.uid && !i.uid.includes('undefined')
);
// find hero: prefer pinned from /api/videos, else Featured from inventory
const pinnedVid = (vidData.items||[]).find(v => v.pinned);
if(pinnedVid){
// map to inventory shape
heroItem = allItems.find(i =>
i.uid === 'yt-'+pinnedVid.id ||
i.title === pinnedVid.title
) || {
uid: 'yt-' + pinnedVid.id,
title: pinnedVid.title,
desc: pinnedVid.desc,
cat: pinnedVid.cat || 'Featured',
thumb: pinnedVid.thumb,
embed: pinnedVid.embed,
view_url: pinnedVid.view_url,
mp4: pinnedVid.mp4,
sponsorship: {status:'available'}
};
} else {
heroItem = allItems.find(i => i.cat==='Featured') || allItems[0];
}
renderHero(heroItem);
// show rails
document.getElementById('rails-skeleton').style.display = 'none';
document.getElementById('rails-content').style.display = 'block';
rebuildRails();
} catch(err){
console.error('RENTV init error:', err);
// hide skeletons gracefully
document.getElementById('hero-skeleton').innerHTML =
'<div style="display:flex;align-items:center;justify-content:center;height:100%;color:var(--text2);font-size:14px;">Could not load videos — <a href="/" style="color:var(--red);margin-left:6px;">refresh</a></div>';
document.getElementById('rails-skeleton').innerHTML =
'<div style="padding:32px;color:var(--text2);font-size:14px;">Could not load video library.</div>';
}
}
// ── SECTIONS MENU (simple scroll reveal) ─────────────────────
document.getElementById('btn-sections').addEventListener('click', ()=>{
document.getElementById('rails').scrollIntoView({behavior:'smooth'});
});
document.getElementById('btn-explore').addEventListener('click', ()=>{
window.scrollTo({top:0,behavior:'smooth'});
});
// ── START ────────────────────────────────────────────────────
init();
})();
</script>
<script src="/2026/elements.js" defer></script>
<script src="/template-toggle.js" defer></script>
</body>
</html>