/*
Theme Name: PixyDreams
Theme URI: https://pixydreams.com/
Author: PixyDreams
Author URI: https://pixydreams.com/
Description: A cinematic one-page WordPress theme for PixyDreams, a Delhi-based film & photography production house. Hero cloud/photo backdrop, 3D rotating work gallery, filterable photography grid, light/dark theme toggle, cursor glitter trail, and fully block-editable homepage content.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixydreams
*/

  :root{
    --ink:#0B0E13;
    --ink-2:#0F131A;
    --surface:#1B212B;
    --surface-2:#232A35;
    --ivory:#F1EAD9;
    --stone:#9BA0AC;
    --amber:#E3A052;
    --amber-soft:#c98d46;
    --moss:#7C8F68;
    --line: rgba(241,234,217,0.14);
    --line-strong: rgba(241,234,217,0.28);
    --font-display:'Fraunces', serif;
    --font-body:'Archivo', sans-serif;
    --font-mono:'IBM Plex Mono', monospace;
    --nav-h: 84px;
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; scroll-padding-top: var(--nav-h); }
  body{
    margin:0;
    background:var(--ink);
    color:var(--ivory);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    transition: background 0.3s ease, color 0.3s ease;
  }
  img{ max-width:100%; display:block; }
  button{ font:inherit; }
  a{ color:inherit; }
  ul{ margin:0; padding:0; list-style:none; }
  h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:500; }
  p{ margin:0; }
  svg{ display:block; }

  :focus-visible{
    outline: 2px solid var(--amber);
    outline-offset: 3px;
  }

  .wrap{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .eyebrow{
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    display:flex;
    align-items:center;
    gap: 10px;
  }
  .eyebrow::before{
    content:"";
    width: 22px; height:1px;
    background: var(--amber);
    display:inline-block;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-family: var(--font-mono);
    font-size:0.82rem;
    letter-spacing:0.06em;
    text-transform:uppercase;
    padding: 15px 26px;
    border-radius: 2px;
    border:1px solid var(--line-strong);
    background:transparent;
    color:var(--ivory);
    cursor:pointer;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
    text-decoration:none;
    white-space:nowrap;
  }
  .btn:hover{ border-color: var(--amber); transform: translateY(-1px); }
  .btn--solid{ background:var(--amber); border-color:var(--amber); color:#1a1305; font-weight:600; }
  .btn--solid:hover{ background: var(--amber-soft); border-color:var(--amber-soft); }
  .btn svg{ width:14px; height:14px; }

  /* ---------- reveal on scroll ---------- */
  .reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.is-visible{ opacity:1; transform:none; }
  .reveal-delay-1{ transition-delay:.08s; }
  .reveal-delay-2{ transition-delay:.16s; }
  .reveal-delay-3{ transition-delay:.24s; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .reveal{ opacity:1; transform:none; transition:none; }
    *{ animation-duration: 0.001ms !important; animation-iteration-count:1 !important; }
  }

  /* ================= THEME TOGGLE ================= */
  .theme-toggle {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ivory);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, transform .25s ease, color .25s ease;
    padding: 0;
  }
  .theme-toggle:hover {
    border-color: var(--amber);
    color: var(--amber);
    transform: translateY(-1px);
  }
  .theme-toggle svg { width: 18px; height: 18px; }

  body.light-theme {
    --ink: #F9F6F0;
    --ink-2: #F1EAD9;
    --surface: #FFFFFF;
    --surface-2: #E8E2D2;
    --ivory: #0B0E13;
    --stone: #5A6070;
    --amber: #c27c2b;
    --line: rgba(11,14,19,0.14);
    --line-strong: rgba(11,14,19,0.28);
  }
  body.light-theme .hero-scrim { background: linear-gradient(180deg, rgba(249,246,240,0.08) 0%, rgba(249,246,240,0.4) 26%, rgba(249,246,240,0.85) 60%, rgba(249,246,240,1) 100%); }
  body.light-theme .nav.is-scrolled { background: rgba(249,246,240,0.92); }
  body.light-theme .play-icon { background: rgba(249,246,240,0.5); border-color: rgba(11,14,19,0.3); }
  body.light-theme .carousel-meta { background: linear-gradient(to top, rgba(249,246,240,0.9), transparent); }
  body.light-theme .lightbox { background: rgba(249,246,240,0.92); }
  body.light-theme .lightbox-play { background: rgba(249,246,240,0.45); border-color: rgba(11,14,19,0.3); }

  /* ================= GLITTER TRAIL ================= */
  .glitter-particle{
    position:fixed; top:0; left:0; z-index:250; pointer-events:none;
    animation-name:glitterFloat; animation-timing-function:ease-out; animation-fill-mode:forwards;
  }
  .glitter-particle svg{ filter: drop-shadow(0 0 3px rgba(227,160,82,0.75)); }
  @keyframes glitterFloat{
    0%{ transform:translate(-50%,-50%) scale(0) rotate(0deg); opacity:1; }
    18%{ transform:translate(-50%,-50%) scale(1) rotate(50deg); opacity:1; }
    100%{ transform:translate(calc(-50% + var(--gx)), calc(-50% + var(--gy))) scale(0.1) rotate(var(--gr)); opacity:0; }
  }

  /* ================= NAV ================= */
  .nav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    height:var(--nav-h);
    display:flex; align-items:center;
    border-bottom: 1px solid transparent;
    transition: background .35s ease, border-color .35s ease;
  }
  .nav.is-scrolled{
    background: rgba(11,14,19,0.92);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
  }
  .nav .wrap{ display:flex; align-items:center; justify-content:space-between; width:100%; }
  .brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-style:italic; font-size:1.35rem; letter-spacing:0.01em; text-decoration:none; }
  .brand-dot{ width:9px; height:9px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 3px rgba(227,160,82,0.18); flex-shrink:0; }
  .nav-links{ display:flex; align-items:center; gap:38px; }
  .nav-links a{
    font-family:var(--font-mono); font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase;
    text-decoration:none; position:relative; padding: 6px 0;
  }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--amber);
    transition:width .25s ease;
  }
  .nav-links a:hover::after{ width:100%; }
  .nav-cta{ display:flex; align-items:center; gap:22px; }
  .nav-cta .btn{ padding:11px 20px; font-size:0.76rem; }
  .burger{
    display:none; background:none; border:none; color:var(--ivory); cursor:pointer;
    width:34px; height:34px; padding:0; align-items:center; justify-content:center;
  }
  .burger span, .burger span::before, .burger span::after{
    content:""; display:block; width:22px; height:1.5px; background:var(--ivory); position:relative; transition:.25s ease;
  }
  .burger span::before{ position:absolute; top:-7px; }
  .burger span::after{ position:absolute; top:7px; }
  .mobile-panel{
    position:fixed; inset:0; top:var(--nav-h); background:var(--ink); z-index:90;
    display:flex; flex-direction:column; padding:40px 32px; gap:26px;
    transform: translateY(-8px); opacity:0; pointer-events:none; transition:.3s ease;
  }
  .mobile-panel.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .mobile-panel a{ font-family:var(--font-display); font-size:1.8rem; text-decoration:none; }

  /* ================= HERO ================= */
  .hero{
    position:relative; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end;
    overflow:hidden; padding-top:var(--nav-h);
  }
  .hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; background:#7d879b; }
  .hero-scrim{
    position:absolute; inset:0; z-index:1;
    background: linear-gradient(180deg, rgba(11,14,19,0.08) 0%, rgba(11,14,19,0.14) 26%, rgba(11,14,19,0.58) 60%, rgba(11,14,19,0.96) 100%);
  }
  .hero-grain{
    position:absolute; inset:0; z-index:2; opacity:0.05; mix-blend-mode:overlay; pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .hud{ position:absolute; inset:24px; z-index:3; pointer-events:none; }
  .hud-corner{ position:absolute; width:26px; height:26px; border-color:rgba(241,234,217,0.55); }
  .hud-corner.tl{ top:0; left:0; border-top:1px solid; border-left:1px solid; }
  .hud-corner.tr{ top:0; right:0; border-top:1px solid; border-right:1px solid; }
  .hud-corner.bl{ bottom:0; left:0; border-bottom:1px solid; border-left:1px solid; }
  .hud-corner.br{ bottom:0; right:0; border-bottom:1px solid; border-right:1px solid; }

  .hud-rec{
    position:absolute; top:0; left:40px; display:flex; align-items:center; gap:9px;
    font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.08em; color:var(--ivory);
  }
  .rec-dot{ width:8px; height:8px; border-radius:50%; background:#e05b4b; animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.25; } }
  .hud-meta{
    position:absolute; top:0; right:40px; font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.06em; color:var(--stone); text-align:right;
  }

  .hero-content{ position:relative; z-index:4; padding-bottom: clamp(56px, 8vw, 96px); }
  .hero-eyebrow{ margin-bottom:22px; }
  .hero-title{
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    line-height:1.03; letter-spacing:-0.01em; max-width: 16ch;
    font-weight:500;
  }
  .hero-title em{ font-style:italic; color: var(--amber); font-weight:400; }
  .hero-sub{
    margin-top:24px; max-width:46ch; font-size:clamp(1rem,1.6vw,1.15rem); color:var(--stone);
  }
  .hero-actions{ margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; }

  .scroll-cue{
    position:absolute; z-index:4; bottom:28px; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:10px;
    font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.2em; color:var(--stone);
  }
  .scroll-cue .line{ width:1px; height:34px; background:linear-gradient(var(--stone), transparent); overflow:hidden; position:relative; }
  .scroll-cue .line::after{
    content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--amber);
    animation: scrollline 1.8s ease-in-out infinite;
  }
  @keyframes scrollline{ 0%{ top:-100%; } 100%{ top:100%; } }

  /* ================= MARQUEE ================= */
  .marquee-section{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:26px 0; overflow:hidden; background:var(--ink-2); }
  .marquee-label{ text-align:center; font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.18em; color:var(--stone); margin-bottom:18px; }
  .marquee-track{ display:flex; width:max-content; gap:64px; animation: marquee 34s linear infinite; }
  .marquee-track span{
    font-family:var(--font-display); font-style:italic; font-size:1.5rem; color:var(--stone); white-space:nowrap;
  }
  @keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

  /* ================= STATS ================= */
  .stats{ padding: 64px 0; border-bottom:1px solid var(--line); }
  .stats .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
  .stat-num{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3.2rem); color:var(--amber); }
  .stat-label{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--stone); margin-top:8px; }

  /* ================= SECTION shared ================= */
  .section{ padding: clamp(72px, 10vw, 128px) 0; }
  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head h2{ font-size:clamp(2rem,3.6vw, 2.9rem); margin-top:18px; line-height:1.12; }
  .section-alt{ background:var(--ink-2); }

  /* ================= SERVICES ================= */
  .services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  .service-card{ background:var(--ink); padding:34px 30px; display:flex; flex-direction:column; gap:18px; min-height:230px; transition: background .3s ease; }
  .service-card:hover{ background:var(--surface); }
  .service-tag{
    align-self:flex-start; font-family:var(--font-mono); font-size:0.85rem; color:var(--amber);
    border:1px solid rgba(227,160,82,0.4); padding:5px 11px; border-radius:2px; letter-spacing:0.03em;
  }
  .service-card h3{ font-size:1.3rem; }
  .service-card p{ color:var(--stone); font-size:0.94rem; }

  /* ================= WORK / 3D GALLERY ================= */
  .cloud-section {
    position: relative;
    background: linear-gradient(180deg, #d2d9e5 0%, #f7ecd0 100%);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 120px;
  }
  .cloud-section * { color: #1a202c; } 
  .cloud-section .eyebrow { color: #a46d29; }
  .cloud-section .eyebrow::before { background: #a46d29; }
  
  .work-bg-clouds {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
  }
  .cloud-section .wrap { position: relative; z-index: 2; }

  .gallery-container {
    perspective: 1400px;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 40px;
  }
  
  .carousel {
    width: 320px;
    height: 220px;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .carousel-item {
    position: absolute;
    width: 320px;
    height: 180px;
    left: 0;
    top: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 20px 40px rgba(11,14,19,0.3);
    cursor: pointer;
    transition: filter 0.4s ease, transform 0.4s ease;
  }
  .carousel-item:hover { filter: brightness(1.1); }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s ease;
  }
  .carousel-item:hover img { transform: scale(1.05); }

  .work-frame-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,14,19,0.1);
  }
  .play-icon {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(241,234,217,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.8); transition: .3s ease;
    background: rgba(11,14,19,0.5); backdrop-filter: blur(2px);
  }
  .carousel-item:hover .play-icon { opacity: 1; transform: scale(1); }
  .play-icon svg { width: 16px; height: 16px; margin-left: 2px; fill: var(--ivory); }

  .carousel-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(11,14,19,0.9), transparent);
    color: var(--ivory);
  }
  .carousel-meta h4 { color: var(--ivory); font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; margin-bottom: 2px; }
  .carousel-meta span { color: var(--amber); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }

  .carousel-controls {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
  }
  .carousel-controls button {
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(0,0,0,0.2);
    color: #1a202c;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }
  .carousel-controls button:hover {
    background: #1a202c;
    color: var(--ivory);
    border-color: #1a202c;
  }
  .carousel-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

  /* ================= PHOTOGRAPHY GRID Specifics ================= */
  .chip-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:10px; margin-bottom: 24px; position:relative; z-index:10; }
  .chip{
    font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.05em; padding:9px 16px;
    border:1px solid var(--line-strong); border-radius:20px; color:var(--stone); transition:.25s ease; cursor:pointer;
  }
  .chip:hover{ border-color:var(--amber); color:var(--ivory); }
  .chip.is-active{ background:var(--amber); border-color:var(--amber); color:#1a1305; font-weight:600; }
  body.light-theme .chip:hover { color:var(--amber); }

  .photo-grid {
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    grid-auto-rows: 120px; 
    gap: 16px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
    position: relative;
    z-index: 10;
  }
  .photo-grid.is-animating {
    opacity: 0;
    transform: scale(0.98);
  }
  .photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; cursor: pointer; transition: transform 0.4s ease, filter 0.4s ease; }
  .photo-grid img:hover { transform: scale(1.02); filter: brightness(1.1); }
  .photo-grid .p1 { grid-column: span 3; grid-row: span 3; }
  .photo-grid .p2 { grid-column: span 3; grid-row: span 2; }
  .photo-grid .p3 { grid-column: span 3; grid-row: span 2; }
  .photo-grid .p4 { grid-column: span 2; grid-row: span 2; }
  .photo-grid .p5 { grid-column: span 2; grid-row: span 2; }
  .photo-grid .p6 { grid-column: span 2; grid-row: span 2; }

  /* ================= STUDIO ================= */
  .studio{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
  .studio-copy p{ color:var(--stone); font-size:1.05rem; margin-top:22px; max-width:52ch; }
  .studio-frame{ position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:2px; }
  .studio-frame img{ width:100%; height:100%; object-fit:cover; }
  .studio-frame::after{
    content:""; position:absolute; inset:0; border:1px solid var(--line-strong); margin:16px;
  }

  /* ================= PROCESS ================= */
  .process-strip{ display:flex; border-top:1px dashed var(--line-strong); }
  .sprockets{ display:flex; justify-content:space-between; padding:0 2px; margin-bottom:-1px; }
  .sprockets span{ width:8px; height:8px; margin-top:-4.5px; border-radius:1px; background:var(--ink); border:1px solid var(--line-strong); }
  .process-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
  .process-step{ padding:36px 26px 0; border-right:1px dashed var(--line-strong); }
  .process-step:last-child{ border-right:none; }
  .process-index{ font-family:var(--font-mono); color:var(--amber); font-size:0.85rem; }
  .process-step h3{ margin-top:14px; font-size:1.25rem; }
  .process-step p{ margin-top:12px; color:var(--stone); font-size:0.94rem; }

  /* ================= CONTACT ================= */
  .contact-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:72px; }
  .contact-info-list{ margin-top:34px; display:flex; flex-direction:column; gap:18px; }
  .contact-info-item{ display:flex; flex-direction:column; gap:4px; }
  .contact-info-item .label{ font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--stone); }
  .contact-info-item .value{ font-size:1.05rem; }
  .contact-info-item a{ text-decoration:none; }
  .contact-info-item a:hover{ color:var(--amber); }

  .form-field{ margin-bottom:20px; }
  .form-field label{ display:block; font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--stone); margin-bottom:9px; }
  .form-field input, .form-field select, .form-field textarea{
    width:100%; background:transparent; border:none; border-bottom:1px solid var(--line-strong);
    color:var(--ivory); font-family:var(--font-body); font-size:1rem; padding:10px 2px; transition:.25s ease;
  }
  .form-field select option{ background:var(--surface); color: var(--ivory); }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus{
    outline:none; border-bottom-color:var(--amber);
  }
  .form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }

  /* ================= FOOTER ================= */
  .footer{ border-top:1px solid var(--line); padding:56px 0 34px; }
  .footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px; margin-bottom:48px; }
  .footer-links{ display:flex; gap:34px; flex-wrap:wrap; }
  .footer-links a{ font-family:var(--font-mono); font-size:0.8rem; letter-spacing:0.05em; text-decoration:none; color:var(--stone); }
  .footer-links a:hover{ color:var(--ivory); }
  .social-row{ display:flex; gap:16px; }
  .social-row a{ width:36px; height:36px; border:1px solid var(--line-strong); border-radius:50%; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:.25s ease; }
  .social-row a:hover{ border-color:var(--amber); }
  .social-row svg{ width:14px; height:14px; fill:var(--ivory); }
  .footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-family:var(--font-mono); font-size:0.72rem; color:var(--stone); border-top:1px solid var(--line); padding-top:26px; }

  /* ================= LIGHTBOX ================= */
  .lightbox{
    position:fixed; inset:0; z-index:200; background:rgba(6,8,11,0.92); backdrop-filter:blur(6px);
    display:flex; align-items:center; justify-content:center; padding:40px;
    opacity:0; pointer-events:none; transition:opacity .3s ease;
  }
  .lightbox.is-open{ opacity:1; pointer-events:auto; }
  .lightbox-inner{ max-width:900px; width:100%; }
  .lightbox-frame{ position:relative; }
  .lightbox-frame img{ width:100%; max-height:64vh; object-fit:cover; border-radius:2px; }
  .lightbox-play{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:64px; height:64px; border-radius:50%; border:1px solid rgba(241,234,217,0.7);
    display:flex; align-items:center; justify-content:center; background:rgba(11,14,19,0.45);
  }
  .lightbox-play svg{ width:18px; height:18px; fill:var(--ivory); margin-left:2px; }
  .lightbox-meta{ display:flex; justify-content:space-between; align-items:baseline; margin-top:20px; gap:20px; }
  .lightbox-meta h3{ font-size:1.5rem; color:var(--ivory); }
  .lightbox-note{ margin-top:8px; color:var(--stone); font-size:0.88rem; max-width:60ch; }
  .lightbox-close{
    position:absolute; top:-46px; right:0; background:none; border:1px solid var(--line-strong); color:var(--ivory);
    width:38px; height:38px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  .lightbox-close svg{ width:14px; height:14px; }

  /* ================= RESPONSIVE ================= */
  @media (max-width:980px){
    .nav-links, .nav-cta .btn{ display:none; }
    .burger{ display:flex; }
    .services-grid{ grid-template-columns:repeat(2,1fr); }
    .studio{ grid-template-columns:1fr; }
    .studio-frame{ order:-1; aspect-ratio:16/9; }
    .contact-grid{ grid-template-columns:1fr; gap:48px; }
    .process-grid{ grid-template-columns:1fr 1fr; }
    .process-step{ border-right:none; border-bottom:1px dashed var(--line-strong); padding-bottom:30px; margin-bottom:20px; }
    .stats .wrap{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
    .photo-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
    .photo-grid .p1,.photo-grid .p2,.photo-grid .p3,.photo-grid .p4,.photo-grid .p5,.photo-grid .p6{ grid-column:span 1; grid-row:span 2; }
  }
  @media (max-width:600px){
    .wrap{ padding:0 22px; }
    .services-grid{ grid-template-columns:1fr; }
    .form-row-2{ grid-template-columns:1fr; }
    .hud{ inset:14px; }
    .hud-meta{ display:none; }
    .footer-bottom{ flex-direction:column; }
    .gallery-container { transform: scale(0.85); margin-top: 10px; }
  }
