/* ===== VARIABLES — LUXURY PASTEL EDITORIAL PALETTE ===== */
:root{
  --butter:#ffe88b;
  --butter-soft:#fff3c2;
  --light-blue:#ceecf9;
  --baby-blue:#8fe0eb;
  --choc:#432e2b;
  --choc-deep:#2c1e1c;
  --cream:#fffaf0;
  --paper:#f8fcfd;
  --ink:#2a201d;

  /* legacy var names kept so existing rules resolve to the new palette */
  --maroon:var(--choc);
  --maroon-dark:var(--choc-deep);
  --blue:var(--baby-blue);
  --case-yellow:var(--butter);
  --case-yellow-dark:#f0d264;
  --case-bg:var(--light-blue);
  --hammer-pink:var(--baby-blue);
  --luxe-blue:var(--baby-blue);
  --luxe-blue-soft:var(--light-blue);
  --luxe-navy:var(--choc);
  --luxe-navy-deep:var(--choc-deep);
  --scrap-pink:var(--choc);
  --ed-dark:var(--choc);
  --ed-dark2:var(--choc-deep);
  --ed-cream:var(--cream);
  --ed-ink:var(--ink);

  /* type system: Inter (tight, all-caps) for every title / label,
     Montserrat for all body copy, Permanent Marker reserved ONLY
     for the "Hi, I'm Kristina" signature on the About page,
     Beau Rivage reserved ONLY for the "Let's Connect" title. */
  --font-title:'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body:'Montserrat', sans-serif;
  --font-name:'Permanent Marker', cursive;
  --font-script:'Yellowtail', cursive;
  --font-case:'Inter', sans-serif;
  --font-hand:'Inter', sans-serif;
  --font-alt:'Inter', sans-serif;
  --font-serif:'Inter', sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  background:var(--cream);
  color:var(--ink);
  overflow-x:hidden;
  cursor:none;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,.cursor-ring{
  position:fixed;top:0;left:0;
  pointer-events:none;
  border-radius:50%;
  z-index:9999;
  transform:translate(-50%,-50%);
}
.cursor-dot{
  width:8px;height:8px;background:var(--baby-blue);
}
.cursor-ring{
  width:36px;height:36px;
  border:2px solid var(--baby-blue);
  transition:width .2s,height .2s,opacity .2s;
}
@media (hover:none){
  .cursor-dot,.cursor-ring{display:none;}
  body{cursor:auto;}
}

/* ===== MOBILE VIEWING DISCLAIMER (TOC page — landing page bakes its own in) ===== */
.mobile-disclaimer{display:none;}
@media (max-width:768px){
  .mobile-disclaimer{
    display:block;margin-top:.9rem;
    color:var(--choc);text-align:center;
    font-family:var(--font-title);font-weight:600;
    font-size:.64rem;letter-spacing:.04em;text-transform:uppercase;
    opacity:.65;
  }
}

/* ===== MOBILE-ONLY BREAK-GLASS HERO (AUG UPDATES graphic) ===== */
.m-hero-case, .m-hero-reveal{display:none;}

@media (max-width:768px){
  .hero{padding:0;}
  .case-scene.desktop-only,
  .glassbreak-scene.desktop-only,
  .reveal-scene.desktop-only{display:none !important;}

  .m-hero-case{
    display:flex;position:absolute;inset:0;
    align-items:center;justify-content:center;
    transition:opacity .35s ease;
  }
  .m-hero-case.hidden{opacity:0;pointer-events:none;}

  .mobile-landing-frame{position:relative;width:100%;}
  .mobile-landing-frame img{width:100%;height:auto;display:block;}
  .mobile-hammer-hotspot{
    position:absolute;left:78%;top:32%;width:18%;height:44%;
    background:transparent;border:none;padding:0;cursor:pointer;
  }

  .m-hero-reveal{
    display:none;position:absolute;inset:0;
    align-items:center;justify-content:center;
    background:var(--choc);
  }
  .m-hero-reveal.active{display:flex;}
  .m-hero-reveal video{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  }
  .m-hero-reveal video.is-clickable{cursor:pointer;}
}

/* ===== PRELOADER ===== */
.preloader{
  position:fixed;inset:0;z-index:9000;
  background:var(--choc);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;
}
.preloader-inner{text-align:center;color:var(--baby-blue);}
.preloader-name{
  font-family:var(--font-title);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:-.01em;
  font-size:clamp(1.4rem,4.4vw,2.4rem);
  line-height:1.2;
  margin-bottom:1.5rem;
}
.preloader-count{
  font-family:var(--font-title);
  font-weight:800;
  font-size:clamp(3rem,10vw,6rem);
  color:var(--butter);
}
.preloader-bar{
  width:min(60vw,320px);height:4px;
  background:rgba(255,255,255,.2);
  margin-top:1.2rem;border-radius:4px;overflow:hidden;
}
.preloader-bar-fill{
  width:0%;height:100%;background:var(--butter);
}
.preloader-curtain{
  position:absolute;inset:0;background:var(--choc-deep);
  transform:translateY(0);
}

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:100vh;
  background:url('assets/landing-bg.jpg') center/cover no-repeat, linear-gradient(160deg, var(--light-blue), var(--baby-blue));
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  padding:2rem;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 30%, rgba(255,255,255,.35), transparent 60%);
  pointer-events:none;
}

/* --- Case scene (real photo based) --- */
.case-scene, .glassbreak-scene{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;
  transition:opacity .35s ease;
}
.glassbreak-scene{opacity:0;pointer-events:none;}
.glassbreak-scene.active{opacity:1;}
.case-scene.hidden{opacity:0;pointer-events:none;}
.photo-frame{
  position:relative;
  width:min(94vw,1300px);
  filter:drop-shadow(0 30px 60px rgba(67,46,43,.35));
}
.photo-frame img{width:100%;height:100%;display:block;object-fit:fill;}
.case-frame{aspect-ratio:1672/941;}
.glassbreak-frame{aspect-ratio:758/716;width:min(60vw,650px);}
.hammer-hotspot{
  position:absolute;
  left:65%;top:28%;width:11%;height:72%;
  background:transparent;border:none;cursor:pointer;padding:0;
}
.hammer-hotspot:hover{background:rgba(255,255,255,.1);border-radius:12px;}
.case-hint{
  font-family:var(--font-title);
  color:var(--choc);font-size:.8rem;letter-spacing:.14em;
  text-transform:uppercase;opacity:.75;font-weight:600;
}

/* full-screen shatter transition */
.shatter-overlay{
  position:fixed;inset:0;z-index:8000;
  pointer-events:none;
  overflow:hidden;
  background:rgba(255,255,255,0);
}
.gshard{
  position:absolute;
  opacity:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(180,210,228,.4) 45%, rgba(100,130,150,.65) 100%);
  border:1px solid rgba(210,230,240,.85);
  box-shadow:0 0 18px rgba(180,210,230,.5) inset;
  will-change:transform, opacity;
}

/* --- Reveal / LP video scene --- */
.reveal-scene{
  position:absolute;inset:0;
  display:none;
  align-items:center;justify-content:center;
  text-align:center;
  background:var(--choc);
}
.reveal-scene.active{display:flex;}
.lp-video{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  opacity:0;
}
.watch-cta{
  position:absolute;left:50%;bottom:3%;z-index:3;
  transform:translateX(-50%) scale(.85);
  opacity:0;
  pointer-events:none;
  background:var(--choc);
  color:var(--butter);
  border:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;
  padding:.75rem 1.5rem .8rem;
  border-radius:50%/38%;
  width:min(30vw,210px);
  aspect-ratio:2.1/1;
  font-family:var(--font-title);
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 25px 60px rgba(0,0,0,.5);
  transition:transform .2s ease, background .3s ease, opacity .18s ease;
}
.watch-cta.is-visible{opacity:1;pointer-events:auto;transform:translateX(-50%) scale(1);}
.watch-cta:hover{transform:translateX(-50%) scale(1.05);background:var(--choc-deep);}
.watch-cta span{display:block;}
.watch-cta .cta-line1{font-size:clamp(.85rem,1.7vw,1.1rem);font-weight:800;}
.watch-cta .cta-line2,.watch-cta .cta-line3{font-size:clamp(.7rem,1.3vw,.88rem);font-weight:600;opacity:.92;}

.scroll-cue{
  position:absolute;bottom:3rem;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.4rem;
  color:var(--cream);opacity:0;z-index:2;
}
.scroll-cue span{
  width:1px;height:36px;background:var(--cream);
  box-shadow:0 0 6px rgba(255,255,255,.9);
  animation:scrollcue 1.6s ease infinite;
}
.scroll-cue p{font-family:var(--font-title);font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;}
@keyframes scrollcue{
  0%{transform:scaleY(0);transform-origin:top;}
  50%{transform:scaleY(1);transform-origin:top;}
  50.1%{transform-origin:bottom;}
  100%{transform:scaleY(0);transform-origin:bottom;}
}

/* ===== TABLE OF CONTENTS POP-OUT ===== */
.toc-scene{
  position:relative;
  min-height:100vh;
  background:url('assets/landing-bg.jpg') center/cover no-repeat, linear-gradient(160deg, var(--light-blue), var(--baby-blue));
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;
  padding:2rem;
}
.toc-photo-wrap{
  width:min(30.6vw,250px);
  aspect-ratio:3/4;
  opacity:0;transform:scale(.6);
  position:relative;z-index:2;
  filter:drop-shadow(0 30px 60px rgba(67,46,43,.35));
}
.toc-photo-wrap img{width:100%;height:100%;object-fit:contain;}
.toc-icons{
  position:absolute;top:50%;left:50%;
  width:0;height:0;
  z-index:1;
}
.toc-icon{
  position:absolute;top:0;left:0;
  transform:translate(-50%,-50%) translate(0,0) scale(0);
  opacity:0;
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  width:130px;
}
.toc-icon-img{
  width:187px;height:187px;
  animation:iconSway 3.6s ease-in-out infinite;
}
.toc-icon:nth-child(2) .toc-icon-img{animation-delay:.3s;}
.toc-icon:nth-child(3) .toc-icon-img{animation-delay:.6s;}
.toc-icon:nth-child(4) .toc-icon-img{animation-delay:.9s;}
@keyframes iconSway{
  0%,100%{transform:rotate(-6deg);}
  50%{transform:rotate(6deg);}
}
.toc-icon-license .toc-icon-img{width:255px;height:auto;}
.toc-icon-gondola .toc-icon-img{width:72px;height:72px;}
.toc-icon-video-duo .toc-icon-img{
  width:auto;height:auto;
  display:flex;align-items:flex-end;justify-content:center;gap:0;
}
.toc-icon-video-duo .toc-icon-img img{
  width:auto !important;height:auto !important;
  object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(67,46,43,.4));
  border-radius:6px;
}
.toc-icon-video-duo .duo-iphone{height:150px;margin-right:-6px;position:relative;z-index:2;}
.toc-icon-video-duo .duo-camera{height:112px;margin-left:-6px;}
.toc-icon-product{
  display:flex;align-items:center;justify-content:center;
}
.toc-icon-product img{
  width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(67,46,43,.4));
  border-radius:6px;
}
.toc-icon span{
  background:var(--choc);color:var(--butter);
  font-family:var(--font-title);font-weight:700;
  font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;
  padding:.3rem .8rem;border-radius:100px;
  white-space:nowrap;
}
.toc-icon:hover .toc-icon-img{animation-play-state:paused;transform:rotate(0deg) scale(1.08);}

.toc-hint{
  margin-top:3rem;color:var(--choc);opacity:0;
  font-family:var(--font-title);
  text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:600;
}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--choc);color:var(--cream);
  text-align:center;padding:5rem 2rem 3rem;
}
.site-footer h3{
  font-family:var(--font-title);color:var(--baby-blue);font-weight:700;
  text-transform:uppercase;letter-spacing:-.01em;
  font-size:clamp(1.6rem,4vw,2.5rem);margin-bottom:1.2rem;
}
.footer-email{
  display:inline-block;font-family:var(--font-body);font-size:1.05rem;margin-bottom:1.5rem;
  border-bottom:1px solid var(--baby-blue);
}
.footer-socials{display:flex;gap:1.5rem;justify-content:center;margin-bottom:2rem;font-family:var(--font-body);}
.footer-copy{opacity:.6;font-size:.8rem;font-family:var(--font-body);}

/* ===== SUBPAGE NAV ===== */
.site-nav{
  position:sticky;top:0;z-index:500;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.2rem 2.5rem;
  background:rgba(255,250,240,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(67,46,43,.15);
}
.site-nav .logo{
  font-family:var(--font-title);color:var(--baby-blue);font-size:1.05rem;
  font-weight:800;letter-spacing:.02em;text-transform:uppercase;
}
.site-nav .nav-links{display:flex;gap:1.8rem;flex-wrap:wrap;}
.site-nav .nav-links a{
  font-family:var(--font-title);font-weight:600;
  font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;
  color:var(--choc);
  padding-bottom:2px;border-bottom:2px solid transparent;
  transition:border-color .2s ease, color .2s ease;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active{border-color:var(--baby-blue);}

/* ===== SUBPAGE HERO ===== */
.page-hero{
  padding:8rem 2rem 5rem;text-align:center;
  background:linear-gradient(160deg, var(--light-blue), var(--butter-soft));
}
.page-hero h1{
  font-family:var(--font-title);color:var(--choc);
  font-weight:800;text-transform:uppercase;letter-spacing:-.01em;
  font-size:clamp(2.6rem,7.5vw,5rem);
}
.page-hero p{
  margin-top:.8rem;color:var(--choc);opacity:.7;font-weight:500;
  font-family:var(--font-body);
}

/* ===== GALLERY GRID ===== */
.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.5rem;max-width:1200px;margin:0 auto;padding:4rem 2rem;
  background:var(--cream);
  counter-reset:item;
}
.gallery-item{
  counter-increment:item;
  position:relative;
  background:transparent;border:none;box-shadow:none;padding:0;
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .7s ease;
}
.gallery-item.in-view{opacity:1;transform:translateY(0);}
.gallery-item::before{
  content:counter(item, decimal-leading-zero);
  display:block;margin-bottom:.6rem;
  font-family:var(--font-title);font-weight:700;
  color:var(--choc);opacity:.4;font-size:.9rem;letter-spacing:.05em;
}
.gallery-item:hover{transform:translateY(-4px);z-index:2;}
.gallery-item .ph-img{aspect-ratio:4/5;border-radius:4px;}
.gallery-item img{
  width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:4px;
  display:block;
  box-shadow:0 25px 50px rgba(67,46,43,.15);
  transition:transform .4s ease;
}
.gallery-item:hover img{transform:scale(1.03);}
.gallery-item figcaption{
  font-family:var(--font-body);font-weight:500;
  color:var(--choc);font-size:.95rem;text-align:left;margin-top:.8rem;
}

.gallery-item.video-item{position:relative;}
.gallery-item.video-item::after{
  content:'';position:absolute;top:50%;left:50%;
  width:0;height:0;
  border-top:14px solid transparent;
  border-bottom:14px solid transparent;
  border-left:22px solid var(--cream);
  transform:translate(-40%,-50%);
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.4));
}

/* ===== CREATIVE LICENSE CARD ===== */
.license-wrap{
  display:flex;justify-content:center;padding:2rem 2rem 6rem;
  background:var(--cream);
}
.license-card-img{
  width:min(90vw,700px);
  border-radius:12px;
  box-shadow:0 30px 60px rgba(67,46,43,.25);
  transform:rotate(-1.5deg);
}

/* ===== ABOUT PAGE ===== */
.about-hero{
  padding:8rem 2rem 3rem;text-align:center;
  background:linear-gradient(160deg, var(--light-blue), var(--butter-soft));
}
.about-title{
  font-family:var(--font-title);color:var(--choc);
  font-weight:800;text-transform:uppercase;letter-spacing:-.01em;
  font-size:clamp(2.2rem,6.4vw,4.4rem);
  max-width:1100px;margin:0 auto;line-height:1.08;
}
.about-intro{
  max-width:1100px;margin:0 auto;padding:5rem 2rem 3rem;
  display:flex;gap:4rem;align-items:flex-start;
  background:var(--cream);
}
.about-photo{
  flex:0 0 320px;position:relative;
}
.about-photo-img{
  width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;
  box-shadow:0 30px 60px rgba(67,46,43,.2);
  background:linear-gradient(135deg, var(--light-blue), var(--butter));
}
.about-signature{
  position:absolute;bottom:-1.4rem;right:-1.2rem;
  background:var(--butter);
  color:var(--choc);
  font-family:var(--font-name);
  font-size:1.7rem;
  padding:.6rem 1.4rem;
  border-radius:6px;
  transform:rotate(-4deg);
  box-shadow:0 12px 24px rgba(67,46,43,.25);
}
.about-bio{flex:1 1 auto;}
.about-bio p{
  font-family:var(--font-body);font-weight:400;line-height:1.85;
  color:var(--ink);font-size:1.02rem;margin-bottom:1.4rem;
}
.about-bio p:first-child{
  font-weight:500;font-size:1.12rem;
}

/* ===== ABOUT — exact "ame" design, single flat image ===== */
.about-ame{width:100%;line-height:0;background:#dcdcdc;}
.about-ame img{width:100%;height:auto;display:block;}

/* ===== LOGO GRID (Lo-Fi Content) ===== */
.logo-grid-section{
  background:var(--cream);
  padding:2rem 2rem 6rem;
}
.logo-grid-intro{
  max-width:640px;margin:0 auto 3rem;text-align:center;
  font-family:var(--font-body);color:var(--choc);opacity:.75;
  font-size:1rem;line-height:1.7;
}
.logo-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:1.5rem;max-width:1200px;margin:0 auto;
}
.logo-item{
  aspect-ratio:5/4;
  background:var(--light-blue);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateY(50px) scale(.92);
  transition:opacity .7s ease, transform .7s ease;
  font-family:var(--font-title);font-weight:800;text-transform:uppercase;
  letter-spacing:.04em;color:var(--choc);font-size:1.05rem;text-align:center;
  padding:1.5rem;
}
.logo-item:nth-child(3n+1){background:var(--butter-soft);}
.logo-item:nth-child(3n+2){background:var(--baby-blue);}
.logo-item.in-view{opacity:1;transform:translateY(0) scale(1);}
.logo-item span{opacity:.55;font-weight:600;}

/* ===== AUDIENCE STATS (High Production Video page) ===== */
.stats-section{
  background:var(--cream);
  padding:2rem 2rem 6rem;
}
.stats-intro{
  max-width:640px;margin:0 auto 3.5rem;text-align:center;
  font-family:var(--font-body);color:var(--choc);opacity:.75;
  font-size:1rem;line-height:1.7;
}
.stats-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.8rem;max-width:1200px;margin:0 auto;
}
.stat-card{
  background:linear-gradient(160deg, var(--light-blue), var(--butter-soft));
  border-radius:16px;padding:2.4rem 2rem;
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .7s ease;
  box-shadow:0 20px 50px rgba(67,46,43,.1);
}
.stat-card.in-view{opacity:1;transform:translateY(0);}
.stat-platform{
  font-family:var(--font-title);font-weight:700;text-transform:uppercase;
  letter-spacing:.1em;font-size:.8rem;color:var(--choc);opacity:.65;margin-bottom:1rem;
}
.stat-number{
  font-family:var(--font-title);font-weight:800;color:var(--choc);
  font-size:clamp(2.4rem,5vw,3.4rem);line-height:1;margin-bottom:.6rem;
}
.stat-label{
  font-family:var(--font-body);color:var(--ink);font-size:.9rem;opacity:.75;
  margin-bottom:1.4rem;
}
.stat-bar-track{
  width:100%;height:6px;border-radius:6px;background:rgba(67,46,43,.12);overflow:hidden;
}
.stat-bar-fill{
  height:100%;border-radius:6px;background:var(--choc);
  width:0%;transition:width 1.4s cubic-bezier(.16,1,.3,1);
}
.stat-card.in-view .stat-bar-fill{width:var(--fill, 60%);}

/* ===== LET'S CONNECT PAGE ===== */
.connect-hero{
  position:relative;min-height:100vh;
  overflow:hidden;
}
.connect-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:50% 30%;
}
.connect-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(67,46,43,.05) 0%, rgba(67,46,43,0) 30%, rgba(43,30,27,.1) 55%, rgba(30,20,18,.85) 100%);
}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.connect-top{
  position:absolute;top:42%;left:6%;z-index:2;
}
.connect-icons{
  display:flex;gap:1.6rem;align-items:center;
}
.connect-icon{
  width:80px;height:80px;
  display:flex;align-items:center;justify-content:center;
  transition:transform .25s ease;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.4));
}
.connect-icon:hover{transform:translateY(-6px) scale(1.08);}
.connect-icon svg{width:100%;height:100%;}
.connect-icon img{width:100%;height:100%;object-fit:contain;}
.connect-bottom{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:3rem 3rem 3.5rem;
}
.connect-copy{
  max-width:960px;margin:0 auto;text-align:center;
  color:var(--cream);font-family:var(--font-body);
  font-size:clamp(.95rem,1.6vw,1.15rem);
  font-weight:400;line-height:1.75;
}

/* ===== DARK PAGE THEME (Photography / Lo-Fi / High Production) ===== */
body.theme-dark{background:#242121;}
.theme-dark .page-hero{background:#242121;}
.theme-dark .page-hero h1{color:var(--cream);}
.theme-dark .page-hero p{color:rgba(255,250,240,.6);}
.theme-dark .gallery-grid{background:#242121;}
.theme-dark .gallery-item::before{color:var(--cream);opacity:.4;}
.theme-dark .gallery-item figcaption{color:var(--cream);}
.theme-dark .site-footer{background:var(--choc-deep);}

/* ===== PHOTOGRAPHY HERO IMAGE ===== */
.photo-hero{width:100%;line-height:0;}
.photo-hero img{width:100%;height:auto;display:block;}

/* ===== GRID PREVIEWER (Photography) ===== */
.preview-grid-section{background:#242121;padding:5rem 2rem 6rem;}
.preview-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.4rem;max-width:1400px;margin:0 auto;
  align-items:start;
}
.preview-grid-item{
  position:relative;overflow:hidden;border-radius:8px;
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .5s ease, filter .4s ease;
  background:#000;
}
.preview-grid-item.in-view{opacity:1;transform:translateY(0);}
.preview-grid-item img{
  width:100%;aspect-ratio:4/5;object-fit:cover;display:block;
  transition:transform .45s cubic-bezier(.16,1,.3,1), object-fit 0s linear .2s;
  cursor:pointer;
}
.preview-grid.has-hover .preview-grid-item{filter:brightness(.45) saturate(.6);}
.preview-grid.has-hover .preview-grid-item.is-active{
  filter:brightness(1) saturate(1);z-index:5;
  box-shadow:0 30px 70px rgba(0,0,0,.6);
}
.preview-grid-item.is-active{
  aspect-ratio:auto;
}
.preview-grid-item.is-active img{
  aspect-ratio:auto;object-fit:contain;
  transform:scale(1);
  transition:transform .45s cubic-bezier(.16,1,.3,1);
}

/* ===== PHOTO LIGHTBOX ===== */
.lightbox{
  position:fixed;inset:0;z-index:9500;
  background:rgba(10,8,7,.92);
  display:flex;align-items:center;justify-content:center;
  padding:4vh 4vw;
  opacity:0;pointer-events:none;
  transition:opacity .35s ease;
}
.lightbox.is-open{opacity:1;pointer-events:auto;}
.lightbox img{
  max-width:100%;max-height:92vh;object-fit:contain;
  border-radius:6px;box-shadow:0 40px 90px rgba(0,0,0,.6);
  transform:scale(.92);transition:transform .35s ease;
}
.lightbox.is-open img{transform:scale(1);}
.lightbox-close{
  position:absolute;top:1.5rem;right:2rem;
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,250,240,.12);border:1px solid rgba(255,250,240,.3);
  color:var(--cream);font-family:var(--font-title);font-size:1.3rem;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .2s ease;
}
.lightbox-close:hover{background:rgba(255,250,240,.25);}

/* ===== LO-FI: STACKED IPHONE VIDEO FRAMES ===== */
.lofi-page .page-hero{padding:4.5rem 2rem 1.2rem;}
.phone-stack-section{background:#242121;padding:0 2rem 2rem;}
.lofi-intro{
  text-align:center;margin:0 0 1.4rem;
  font-family:var(--font-title);color:#fff;
  text-transform:uppercase;letter-spacing:.14em;
  font-size:.66rem;font-weight:600;line-height:1.8;opacity:.75;
}
.phone-stack{
  display:flex;flex-direction:column;gap:1.3rem;
  max-width:1300px;margin:0 auto;
}
.phone-row{
  display:flex;justify-content:center;align-items:flex-start;
  gap:1.1rem;flex-wrap:wrap;
}
.phone-frame-card{
  opacity:1;position:relative;z-index:1;
  width:min(15vw,150px);
  transition:transform .35s cubic-bezier(.2,.8,.3,1), z-index 0s;
}
.phone-frame-card:hover,
.phone-frame-card.is-active{
  transform:scale(1.55);
  z-index:20;
}
.phone-mock{
  position:relative;width:100%;margin:0 auto;
  aspect-ratio:9/19.5;background:#050505;border-radius:22px;
  padding:6px;box-shadow:0 20px 45px rgba(0,0,0,.5);
  transition:box-shadow .35s ease;
}
.phone-frame-card:hover .phone-mock,
.phone-frame-card.is-active .phone-mock{
  box-shadow:0 35px 80px rgba(0,0,0,.7);
}
.phone-mock::before{
  content:'';position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:34%;height:14px;background:#050505;border-radius:10px;z-index:3;
}
.phone-screen{
  width:100%;height:100%;border-radius:20px;overflow:hidden;position:relative;
  background:linear-gradient(160deg, var(--baby-blue), var(--butter));
  display:flex;align-items:center;justify-content:center;
}
.phone-screen video{width:100%;height:100%;object-fit:cover;display:block;}
.phone-placeholder{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;
  color:var(--choc);font-family:var(--font-title);font-weight:800;
  font-size:.66rem;text-transform:uppercase;letter-spacing:.07em;text-align:center;padding:.8rem;
}
.phone-placeholder .play-dot{
  width:32px;height:32px;border-radius:50%;background:rgba(67,46,43,.85);
  display:flex;align-items:center;justify-content:center;
}
.phone-placeholder .play-dot::after{
  content:'';border-top:8px solid transparent;border-bottom:8px solid transparent;
  border-left:12px solid var(--cream);margin-left:3px;
}

/* ===== VIDEO SHOWCASE (High Production) ===== */
.video-showcase-section{background:#242121;padding:1rem 2rem 5rem;}
.video-showcase{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2rem;max-width:1100px;margin:0 auto;
}
.video-card{
  position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;
  background:linear-gradient(160deg, var(--baby-blue), var(--butter-soft));
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .7s ease;
}
.video-card.in-view{opacity:1;transform:translateY(0);}
.video-card .play-icon{
  width:64px;height:64px;border-radius:50%;background:rgba(42,32,29,.78);
  display:flex;align-items:center;justify-content:center;
}
.video-card .play-icon::after{
  content:'';border-top:12px solid transparent;border-bottom:12px solid transparent;
  border-left:18px solid var(--cream);margin-left:4px;
}
.video-card .video-label{
  position:absolute;bottom:1rem;left:1rem;
  font-family:var(--font-title);color:var(--choc);font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;font-size:.72rem;
  background:rgba(255,250,240,.88);padding:.35rem .8rem;border-radius:100px;
}
.video-card-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;cursor:pointer;
}
.video-card.has-video .play-icon{
  position:relative;z-index:2;opacity:.9;transition:opacity .25s ease;
}
.video-card.has-video.is-playing .play-icon{opacity:0;}
.video-card.is-vertical{
  aspect-ratio:9/16;width:220px;max-width:220px;justify-self:center;
}
.video-showcase.is-all-vertical{
  grid-template-columns:repeat(auto-fit, 220px);
  justify-content:center;
}

/* ===== STATS — DARK VARIANT ===== */
.theme-dark .stats-section{background:#242121;}
.theme-dark .stats-intro{color:rgba(255,250,240,.7);}
.theme-dark .stat-card{
  background:linear-gradient(160deg, rgba(255,232,139,.1), rgba(143,224,235,.08));
  border:1px solid rgba(255,250,240,.1);
}
.theme-dark .stat-platform{color:var(--butter);opacity:.85;}
.theme-dark .stat-number{color:var(--cream);}
.theme-dark .stat-label{color:rgba(255,250,240,.6);}
.theme-dark .stat-bar-track{background:rgba(255,250,240,.12);}
.theme-dark .stat-bar-fill{background:var(--butter);}

/* ===== SECTION DIVIDER (Video page: Lo-Fi / Produced) ===== */
.section-divider{
  text-align:center;color:var(--cream);font-family:var(--font-title);
  font-weight:800;text-transform:uppercase;letter-spacing:.08em;
  font-size:clamp(1.3rem,3vw,1.9rem);margin:0 0 .6rem;padding-top:3rem;
}
.video-showcase-section .section-divider{padding-top:0;margin-bottom:1.4rem;}

/* ===== STRATEGY PAGE ===== */
.strategy-section{background:#242121;padding:1rem 2rem 6rem;}
.strategy-statement{
  max-width:820px;margin:0 auto 3rem;text-align:center;
  font-family:var(--font-body);color:rgba(255,250,240,.82);
  font-size:clamp(.95rem,1.6vw,1.15rem);line-height:1.85;font-weight:400;
  padding:0 1rem;
}
.case-study-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2rem;max-width:1200px;margin:0 auto;
}
.case-study-card{
  background:linear-gradient(160deg, rgba(255,232,139,.1), rgba(143,224,235,.08));
  border:1px solid rgba(255,250,240,.1);
  border-radius:16px;overflow:hidden;
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .7s ease;
}
.case-study-card.in-view{opacity:1;transform:translateY(0);}
.case-study-image{
  aspect-ratio:16/9;
  border:1.5px dashed rgba(255,250,240,.3);
  margin:1.2rem 1.2rem 0;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,250,240,.03);
}
.case-study-image span{
  font-family:var(--font-title);color:rgba(255,250,240,.45);
  text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:700;
}
.case-study-image.has-video{
  border:none;background:#000;overflow:hidden;position:relative;
}
.case-study-image.has-image{
  border:none;background:#000;overflow:hidden;position:relative;
}
.case-study-image.has-image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.case-study-image.has-image.is-contain img{
  object-fit:contain;
}
.case-study-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;cursor:pointer;
}
.case-study-image .play-icon{
  width:56px;height:56px;border-radius:50%;background:rgba(42,32,29,.78);
  display:flex;align-items:center;justify-content:center;
  position:relative;z-index:2;opacity:.9;transition:opacity .25s ease;
}
.case-study-image .play-icon::after{
  content:'';border-top:10px solid transparent;border-bottom:10px solid transparent;
  border-left:15px solid var(--cream);margin-left:3px;
}
.case-study-image.is-playing .play-icon{opacity:0;}
.case-study-body{padding:1.6rem 1.6rem 1.8rem;}
.case-study-body h3{
  font-family:var(--font-title);color:var(--butter);font-weight:700;
  text-transform:uppercase;letter-spacing:.02em;
  font-size:1.05rem;margin-bottom:.7rem;
}
.case-study-copy{
  font-family:var(--font-body);color:rgba(255,250,240,.5);font-style:italic;
  font-size:.85rem;line-height:1.6;
  border:1.5px dashed rgba(255,250,240,.25);border-radius:8px;
  padding:.8rem .9rem;margin-bottom:1.2rem;
}
.case-study-metrics{
  display:flex;gap:.7rem;flex-wrap:wrap;
}
.metric-placeholder{
  flex:1;min-width:90px;
  border:1.5px dashed rgba(255,250,240,.25);border-radius:8px;
  padding:.7rem .5rem;text-align:center;
}
.metric-placeholder .metric-value{
  display:block;font-family:var(--font-title);color:var(--cream);
  font-weight:800;font-size:1.3rem;opacity:.5;margin-bottom:.25rem;
}
.metric-placeholder .metric-label{
  display:block;font-family:var(--font-title);color:rgba(255,250,240,.45);
  text-transform:uppercase;letter-spacing:.05em;font-size:.6rem;font-weight:600;
}

/* ===== STRATEGY: SECTION HEADINGS ===== */
.strategy-section .section-divider{padding-top:0;margin:0 0 .8rem;}
.strategy-section .section-divider.is-second{margin-top:4rem;}

/* ===== STRATEGY: INFLUENCER GRID ===== */
.influencer-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.8rem;max-width:1200px;margin:0 auto;
}
.influencer-card{
  opacity:0;transform:translateY(40px);
  transition:opacity .7s ease, transform .7s ease;
}
.influencer-card.in-view{opacity:1;transform:translateY(0);}
.influencer-media{
  aspect-ratio:4/5;border-radius:12px;overflow:hidden;
  background:#000;position:relative;
}
.influencer-media img,
.influencer-media video{
  width:100%;height:100%;object-fit:cover;display:block;
}
.influencer-media video{cursor:pointer;}
.influencer-media .play-icon{
  width:52px;height:52px;border-radius:50%;background:rgba(42,32,29,.78);
  display:flex;align-items:center;justify-content:center;
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  z-index:2;opacity:.9;transition:opacity .25s ease;
}
.influencer-media .play-icon::after{
  content:'';border-top:9px solid transparent;border-bottom:9px solid transparent;
  border-left:14px solid var(--cream);margin-left:3px;
}
.influencer-media.is-playing .play-icon{opacity:0;}
.influencer-caption{
  margin-top:.7rem;text-align:center;
  font-family:var(--font-title);color:var(--cream);opacity:.75;
  text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;font-weight:700;
}

/* ===== RESPONSIVE ===== */
.mobile-only{display:none;}
@media (max-width:768px){
  .site-nav{flex-direction:column;gap:.8rem;padding:1rem;}
  .site-nav .nav-links{justify-content:center;gap:1rem 1.3rem;}

  /* TOC icons: shrink so the scaled-down JS offsets have room to breathe */
  .toc-icon{width:82px;}
  .toc-icon-img{width:58px;height:58px;}
  .toc-icon-license .toc-icon-img{width:96px;height:auto;}
  .toc-icon-gondola .toc-icon-img{width:48px;height:48px;}
  .toc-icon-video-duo .duo-iphone{height:72px;margin-right:-4px;}
  .toc-icon-video-duo .duo-camera{height:54px;margin-left:-4px;}
  .toc-icon span{font-size:.62rem;padding:.24rem .6rem;}

  /* grids: force a single column so minmax() floors can't overflow the viewport */
  .case-study-grid,
  .influencer-grid,
  .preview-grid,
  .gallery-grid{grid-template-columns:1fr;}

  .strategy-section,
  .video-showcase-section,
  .preview-grid-section,
  .phone-stack-section{padding-left:1.2rem;padding-right:1.2rem;}

  .site-footer{padding:3.5rem 1.5rem 2.5rem;}

  .connect-top{padding:5rem 1.6rem 0;}
  .connect-bottom{padding:2rem 1.6rem 2.4rem;}
  .connect-icons{gap:1.1rem;}
  .connect-icon{width:60px;height:60px;}

  /* Video page: Lo-Fi + Produced grids collapse to 2 per row */
  .phone-stack{
    display:grid;grid-template-columns:1fr 1fr;
    gap:1rem;max-width:480px;margin:0 auto;
  }
  .phone-row{display:contents;}
  .phone-frame-card{width:100%;}
  .phone-frame-card:hover, .phone-frame-card.is-active{transform:scale(1.06);}

  .video-showcase.is-all-vertical{
    grid-template-columns:1fr 1fr;gap:.9rem;max-width:480px;margin:0 auto;
  }
  .video-card.is-vertical{width:100%;max-width:none;}

  /* Connect page: mobile-only flat graphic with working hotspots */
  .desktop-only{display:none;}
  .mobile-only{display:block;}
  .mobile-connect-frame{position:relative;width:100%;}
  .mobile-connect-frame img{width:100%;height:auto;display:block;}
  .mobile-connect-hotspot{position:absolute;background:transparent;}
  .mobile-connect-email{left:27.5%;top:28.7%;width:23%;height:12.7%;}
  .mobile-connect-linkedin{left:49.6%;top:27.7%;width:22.4%;height:14.5%;}
}

@media (max-width:480px){
  .toc-icon{width:70px;}
  .toc-icon-img{width:48px;height:48px;}
  .toc-icon-license .toc-icon-img{width:78px;height:auto;}
  .toc-icon-gondola .toc-icon-img{width:40px;height:40px;}
  .toc-icon-video-duo .duo-iphone{height:58px;}
  .toc-icon-video-duo .duo-camera{height:44px;}
  .toc-icon span{font-size:.56rem;padding:.2rem .5rem;}
  .toc-photo-wrap{width:min(38vw,220px);}

  .watch-cta{width:min(46vw,190px);}

  .video-showcase.is-all-vertical{grid-template-columns:repeat(auto-fit, 180px);}
  .video-card.is-vertical{width:180px;max-width:180px;}
}
