/*
Theme Name: Dream Eye
Theme URI: https://dreameye.com
Author: Dream Eye
Author URI: https://dreameye.com
Description: Ultra-premium cinematic WordPress theme for Dream Eye — One Stop Visual Solution. Dark luxury aesthetic with gold accents, GSAP animations, custom cursor, and full production company functionality.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dreameye
Tags: one-column, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
  --bg: #070707;
  --sec: #111111;
  --surface: #171717;
  --gold: #C6A96B;
  --red: #E63946;
  --green: #2A9D8F;
  --blue: #2573EB;
  --cyan: #00B4D8;
  --text: #FFFFFF;
  --sub: #BFBFBF;
  --muted: #666;
  --border: rgba(255,255,255,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--gold); color: #000; }
html { scroll-behavior: auto; cursor: none; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
a, button, input, textarea, select { cursor: none; }
img { max-width: 100%; height: auto; }
@media (pointer: coarse) {
  html, body, a, button, input, textarea, select { cursor: auto; }
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; pointer-events: none;
  z-index: 99999; transform: translate(-50%, -50%);
  transition: width .3s, height .3s, background .3s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 1px solid rgba(198,169,107,.4); border-radius: 50%;
  pointer-events: none; z-index: 99998; transform: translate(-50%, -50%);
  transition: width .4s cubic-bezier(.25,.46,.45,.94), height .4s cubic-bezier(.25,.46,.45,.94), border-color .3s, opacity .3s;
}
.cursor-dot.hovering { width: 12px; height: 12px; opacity: .8; }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: rgba(198,169,107,.2); }
.cursor-dot.hidden, .cursor-ring.hidden { opacity: 0; }

/* ========== LOADER ========== */
#loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .8s cubic-bezier(.76,0,.24,1);
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo-container {
  position: relative; width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.loader-logo-ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold);
  opacity: 0; transform: rotate(0deg);
}
.loader-logo-glow {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,169,107,.06), transparent 70%); opacity: 0;
}
.loader-logo-container img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 50%; opacity: 0; filter: brightness(1.05);
}
.loader-bar-track {
  width: 200px; height: 1px; background: rgba(255,255,255,.06);
  margin-top: 40px; border-radius: 1px; overflow: hidden;
}
.loader-bar-fill {
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(198,169,107,.6));
  border-radius: 1px;
}
.loader-label {
  opacity: 0; margin-top: 20px; font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold);
}

/* ========== GRAIN ========== */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .03;
}
.grain::after {
  content: ''; position: absolute; inset: -200%; width: 400%; height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: gA .5s steps(6) infinite;
}
@keyframes gA {
  0%,100% { transform: translate(0); }
  20% { transform: translate(-5%,-5%); }
  40% { transform: translate(3%,3%); }
  60% { transform: translate(-3%,5%); }
  80% { transform: translate(5%,-3%); }
}

/* ========== PROGRESS BAR ========== */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 1px;
  background: var(--gold); z-index: 9100;
  transform-origin: left; transform: scaleX(0);
}

/* ========== NAVIGATION ========== */
.nav-glass {
  background: transparent;
  transition: all .5s cubic-bezier(.25,.46,.45,.94);
}
.nav-glass.scrolled {
  background: rgba(7,7,7,.85);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  border-bottom: 1px solid rgba(198,169,107,.06);
}
.nav-link {
  position: relative; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  transition: color .4s; padding: 4px 0; text-decoration: none;
}
.nav-link:hover { color: var(--gold); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0;
  height: 1px; background: var(--gold);
  transition: width .4s cubic-bezier(.25,.46,.45,.94);
}
.nav-link:hover::after { width: 100%; }
.logo-glow {
  box-shadow: 0 0 0 1px rgba(198,169,107,.1), 0 0 30px rgba(198,169,107,.04);
  border-radius: 50%; display: inline-block;
}

/* ========== HERO ========== */
.hero-bg {
  position: absolute; inset: -5%; transition: transform .1s linear;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenBurns 25s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.08) translate(-1%,-1%); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, rgba(7,7,7,.4) 70%, rgba(7,7,7,.95) 100%);
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,.3) 0%, rgba(7,7,7,0) 30%, rgba(7,7,7,0) 60%, rgba(7,7,7,1) 100%);
}
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 40%;
  background: var(--gold); animation: sD 2.5s ease-in-out infinite;
}
@keyframes sD { 0% { top: -40%; } 100% { top: 140%; } }

/* ========== BUTTONS ========== */
.btn-gold {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px; background: var(--gold); color: #0a0a0a;
  font-family: 'Montserrat', sans-serif; font-size: 10px;
  letter-spacing: .25em; text-transform: uppercase; font-weight: 600;
  border: none; overflow: hidden; transition: all .4s cubic-bezier(.25,.46,.45,.94);
  text-decoration: none;
}
.btn-gold:hover {
  background: #d4b87a; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(198,169,107,.2); color: #0a0a0a;
}
.btn-gold span, .btn-gold i { position: relative; z-index: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px; border: 1px solid rgba(255,255,255,.15);
  color: var(--text); font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  font-weight: 500; background: transparent; transition: all .4s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-2px);
}

/* ========== SECTION LABEL ========== */
.sec-label {
  font-family: 'Montserrat', sans-serif; font-size: 10px;
  letter-spacing: .45em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 16px;
}
.sec-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); opacity: .5; }
.sec-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.06); }

/* ========== DIVIDER ========== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,169,107,.12), rgba(255,255,255,.04), rgba(198,169,107,.12), transparent);
  max-width: 1400px; margin: 0 auto;
}

/* ========== TRUST MARQUEE ========== */
.trust-item {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; white-space: nowrap;
  padding: 14px 32px; border: 1px solid var(--border); border-radius: 4px;
  color: rgba(255,255,255,.2); transition: all .5s; flex-shrink: 0;
}
.trust-item:hover { border-color: rgba(198,169,107,.2); color: rgba(255,255,255,.5); }

/* ========== STAT ========== */
.stat-num { font-variant-numeric: tabular-nums; }

/* ========== 3D SLIDER ========== */
.slider-3d-viewport {
  perspective: 1400px; perspective-origin: 50% 50%;
  overflow: hidden; position: relative; height: 540px;
}
@media (min-width: 768px) { .slider-3d-viewport { height: 620px; } }
@media (min-width: 1024px) { .slider-3d-viewport { height: 700px; } }
.slider-3d-track {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
}
.slider-3d-card {
  position: absolute; left: 50%; top: 50%; width: 280px; height: 400px;
  transform-origin: center center;
  transition: all .8s cubic-bezier(.25,.46,.45,.94);
  border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
@media (min-width: 768px) { .slider-3d-card { width: 340px; height: 480px; } }
@media (min-width: 1024px) { .slider-3d-card { width: 380px; height: 540px; } }
.slider-3d-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.slider-3d-card.active img { transform: scale(1.03); }
.slider-3d-card .card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; opacity: 0; transition: opacity .6s;
}
.slider-3d-card.active .card-ov { opacity: 1; }
.slider-3d-card .card-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.7);
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all .5s cubic-bezier(.25,.46,.45,.94);
  background: rgba(0,0,0,.3); backdrop-filter: blur(10px);
}
.slider-3d-card.active .card-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.slider-3d-card .card-play:hover { border-color: var(--gold); background: rgba(198,169,107,.1); }
.slider-3d-card .card-badge {
  position: absolute; top: 16px; left: 16px; padding: 5px 14px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.06); border-radius: 2px;
  font-size: 8px; letter-spacing: .25em; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; color: var(--gold);
}
.slider-3d-card .card-ref {
  position: absolute; bottom: -60%; left: 10%; right: 10%; height: 60%;
  filter: blur(25px); pointer-events: none; opacity: 0; transition: opacity .6s;
}
.slider-3d-card.active .card-ref { opacity: .12; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(7,7,7,.4); backdrop-filter: blur(15px);
  transition: all .4s; color: var(--sub);
}
.slider-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(198,169,107,.06); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
@media (max-width: 767px) {
  .slider-arrow { width: 42px; height: 42px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.12); transition: all .5s; border: none;
}
.slider-dot.active {
  background: var(--gold); width: 24px; border-radius: 3px;
  box-shadow: 0 0 12px rgba(198,169,107,.3);
}
.slider-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 15;
  padding: 0 100px 36px; text-align: center; pointer-events: none;
}
@media (max-width: 767px) { .slider-info { padding: 0 20px 24px; bottom: -10px; display: none !important; } }

/* ========== SERVICE CARD ========== */
.service-card {
  position: relative; padding: 36px; border: 1px solid var(--border);
  border-radius: 4px; background: rgba(255,255,255,.01);
  transition: all .5s cubic-bezier(.25,.46,.45,.94); overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(198,169,107,.2));
  transition: width .5s cubic-bezier(.25,.46,.45,.94);
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
  border-color: rgba(198,169,107,.12); background: rgba(198,169,107,.02);
  transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.svc-icon {
  width: 44px; height: 44px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: all .4s;
}

/* ========== TIMELINE ========== */
.tl-node {
  width: 14px; height: 14px; border: 1.5px solid var(--gold);
  border-radius: 50%; background: var(--bg); transition: all .5s; position: relative;
}
.tl-node.active, .tl-node:hover {
  background: var(--gold); box-shadow: 0 0 24px rgba(198,169,107,.25);
}

/* ========== BTS ========== */
.bts-item { position: relative; overflow: hidden; border-radius: 4px; }
.bts-item img { transition: transform 1s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.bts-item:hover img { transform: scale(1.06); }
.bts-item .bts-ov {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s; backdrop-filter: blur(2px);
}
.bts-item:hover .bts-ov { opacity: 1; }

/* ========== FILTER TABS ========== */
.filter-tab {
  position: relative; padding: 10px 24px; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .4s; background: none; border: none;
  font-family: 'Montserrat', sans-serif;
}
.filter-tab.active { color: var(--gold); }
.filter-tab::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0;
  height: 1.5px; background: var(--gold); transform: translateX(-50%);
  transition: width .4s cubic-bezier(.25,.46,.45,.94);
}
.filter-tab.active::after { width: 100%; }

/* ========== PROD CARD ========== */
.prod-card { position: relative; overflow: hidden; border-radius: 4px; background: var(--surface); }
.prod-card img { transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.prod-card:hover img { transform: scale(1.05); }
.prod-card .prod-ov {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: opacity .5s;
}
.prod-card:hover .prod-ov { opacity: 1; }
.prod-card .prod-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.8); opacity: 0; transition: all .4s;
}
.prod-card:hover .prod-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ========== SOCIAL / YT CARD ========== */
.yt-card, .social-card {
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: all .5s cubic-bezier(.25,.46,.45,.94); background: rgba(255,255,255,.01);
}
.yt-card:hover, .social-card:hover {
  border-color: rgba(198,169,107,.15); transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.social-card { padding: 32px; text-align: center; text-decoration: none; display: block; }

/* ========== TEAM CARD ========== */
.team-card {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--border);
  transition: all .6s cubic-bezier(.25,.46,.45,.94);
}
.team-card:hover {
  border-color: rgba(198,169,107,.15); transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.team-card .team-img { transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.team-card:hover .team-img { transform: scale(1.05); }
.team-card .team-ov {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 50%, transparent 80%);
  opacity: 0; transition: opacity .5s;
}
.team-card:hover .team-ov { opacity: 1; }
.team-card .team-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  transform: translateY(10px); opacity: 0;
  transition: all .5s cubic-bezier(.25,.46,.45,.94);
}
.team-card:hover .team-info { transform: translateY(0); opacity: 1; }
.team-social {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s; color: rgba(255,255,255,.5);
}
.team-social:hover { border-color: var(--gold); color: var(--gold); background: rgba(198,169,107,.1); }

/* ========== TESTIMONIALS ========== */
.testi-slide { min-width: 100%; padding: 0 60px; }
.testi-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.1); transition: all .5s; border: none;
}
.testi-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }

/* ========== LIGHTBOX ========== */
#lightbox {
  position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }

/* ========== MOBILE MENU ========== */
#mobile-menu {
  position: fixed; inset: 0; z-index: 8000; background: rgba(7,7,7,.97);
  backdrop-filter: blur(40px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  transform: translateY(-100%); transition: transform .7s cubic-bezier(.76,0,.24,1);
}
#mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4);
  transition: color .4s; text-decoration: none;
}
.mobile-link:hover { color: var(--gold); }

/* ========== FORM ========== */
.form-input {
  width: 100%; background: rgba(255,255,255,.03);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 16px 18px; font-size: 14px; font-family: 'Inter', sans-serif;
  font-weight: 300; color: var(--text); transition: all .4s; outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,.2); }
.form-input:focus { border-color: rgba(198,169,107,.3); box-shadow: 0 0 0 3px rgba(198,169,107,.05); }

/* ========== FOOTER ========== */
.footer-link {
  color: rgba(255,255,255,.3); font-size: 13px; font-weight: 300;
  transition: color .3s; text-decoration: none; display: block;
}
.footer-link:hover { color: var(--gold); }
.footer-social {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .4s; color: rgba(255,255,255,.3);
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); background: rgba(198,169,107,.06); }

/* ========== BACK TO TOP ========== */
#back-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 8500; opacity: 0; transform: translateY(20px);
  transition: all .5s; background: rgba(7,7,7,.6);
  backdrop-filter: blur(10px); color: var(--sub);
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { border-color: var(--gold); color: var(--gold); background: rgba(198,169,107,.06); }

/* ========== HAMBURGER ========== */
.hamburger { display: none; flex-direction: column; gap: 6px; z-index: 8500; }
.hamburger span {
  width: 22px; height: 1px; background: var(--text);
  transition: all .4s cubic-bezier(.25,.46,.45,.94); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* ========== REVEALS ========== */
.reveal-up { opacity: 0; transform: translateY(50px); }
.reveal-left { opacity: 0; transform: translateX(-50px); }
.reveal-right { opacity: 0; transform: translateX(50px); }
.reveal-scale { opacity: 0; transform: scale(.92); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .nav-links-desktop { display: none !important; }
}
@media (max-width: 767px) {
  .btn-gold, .btn-ghost { padding: 14px 28px; font-size: 9px; letter-spacing: .2em; }
  .testi-slide { padding: 0 20px; }
}

/* ========== WP ALIGNMENTS ========== */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ========== SINGLE PROJECT ========== */
.project-hero { position: relative; height: 70vh; min-height: 500px; overflow: hidden; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(7,7,7,.6) 50%, rgba(7,7,7,.4) 100%);
}

/* ========== ARCHIVE HEADER ========== */
.archive-header { padding: 160px 0 80px; text-align: center; }

/* ========== 404 ========== */
.error-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; }