/* =========================================================
   MODERN UI / UX ENHANCEMENTS
   Three.js + GSAP support styles
   ========================================================= */

:root{
  --motion-ease: cubic-bezier(.2,.8,.2,1);
  --soft-glow: 0 26px 90px rgba(255,255,255,0.08);
  --glass-sheen: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
}

body{
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.045), transparent 28rem),
    radial-gradient(circle at 80% 55%, rgba(255,255,255,0.035), transparent 24rem),
    var(--page-bg);
}

body.is-loading-ready .header,
body.is-loading-ready .hero-title{
  opacity: 0;
}

body.has-loaded .header,
body.has-loaded .hero-title{
  opacity: 1;
}

.hero-three-canvas{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
  opacity:.82;
  mix-blend-mode: screen;
}

.hero-orb{
  position:absolute;
  z-index:2;
  width: clamp(220px, 30vw, 520px);
  aspect-ratio:1;
  border-radius:999px;
  pointer-events:none;
  filter: blur(18px);
  opacity:.24;
  transform: translate3d(0,0,0);
}

.orb-one{
  left:-8vw;
  top:18vh;
  background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,0) 65%);
}

.orb-two{
  right:-10vw;
  bottom:8vh;
  background: radial-gradient(circle, rgba(160,220,255,.18), rgba(255,255,255,0) 68%);
}

.hero-title{
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero-kicker{
  margin:18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-shadow: 0 12px 28px rgba(0,0,0,.72);
}

.hero-scroll-cue{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  margin-top:26px;
  padding:0 18px;
  color: rgba(255,255,255,.92);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:11px;
  font-weight:700;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.24);
  box-shadow: 0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  pointer-events:auto;
}

.hero-scroll-cue::after{
  content:"↓";
  font-size:13px;
  transform: translateY(-1px);
}

.hero-scroll-cue:hover{
  border-color: rgba(255,255,255,.34);
  background: rgba(0,0,0,.34);
}

.header-inner{
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0);
  border-radius: 999px;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.header.is-scrolled .header-inner{
  background: rgba(8,10,11,.68);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}

.btn-primary,
.header-link,
.service-link,
.action-break-link,
.hero-scroll-cue,
.gal-card{
  will-change: transform;
}

.btn-primary,
.book-cta-button,
.book-final-button{
  position:relative;
  overflow:hidden;
}

.btn-primary::before,
.book-cta-button::before,
.book-final-button::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 45%, transparent 70%);
  transform: translateX(-115%);
  transition: transform .55s var(--motion-ease);
  pointer-events:none;
}

.btn-primary:hover::before,
.book-cta-button:hover::before,
.book-final-button:hover::before{
  transform: translateX(115%);
}

.galleries-surface,
.book-cta-wrap,
.service-section,
.book-final-panel,
.chat-widget-box{
  box-shadow: var(--soft-glow), 0 28px 90px rgba(0,0,0,.34);
}

.gal-card,
.book-final-shot,
.chat-widget-toggle{
  transform-style: preserve-3d;
  backface-visibility:hidden;
}

.gal-card::after,
.service-section::after,
.book-final-panel::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: var(--glass-sheen);
  opacity:.08;
}

[data-gsap-reveal]{
  transform: translateY(32px);
  opacity: 0;
}

.is-enhanced-hover{
  transition: transform .24s var(--motion-ease), box-shadow .24s ease, filter .24s ease;
}

.is-enhanced-hover:hover{
  transform: translateY(-6px) scale(1.01);
  filter: saturate(1.04) contrast(1.02);
}

/* Fixes from first review pass */
.header{
  top: 18px;
}

.header::before{
  top: -18px;
}

.brand-wordmark{
  display:inline-block;
  max-width:0;
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  color:#fff;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
  line-height:1;
  transform: translateX(-8px);
  transition: max-width .28s ease, opacity .18s ease, transform .28s ease;
}

.header.is-scrolled .brand-wordmark{
  max-width: 260px;
  opacity:.94;
  transform: translateX(0);
}

.header.is-scrolled .brand img{
  height: 46px;
}

.header-link:hover,
.btn-primary:hover,
.service-link:hover,
.action-break-link:hover,
.hero-scroll-cue:hover{
  transform: none !important;
}

.slider-shot,
.action-break-shot{
  will-change: auto;
}

.slider-shot.is-enhanced-hover,
.action-break-shot.is-enhanced-hover{
  transition: transform .38s cubic-bezier(.2,1,.2,1), opacity .32s ease, filter .32s ease, box-shadow .32s ease;
}

.slider-shot.is-enhanced-hover:hover,
.action-break-shot.is-enhanced-hover:hover{
  filter: none;
}

.galleries-surface [data-gsap-reveal],
.galleries-surface .gal-head,
.galleries-surface .gal-card{
  opacity:1;
  transform:none;
}

@media (max-width: 720px){
  .hero-kicker{ letter-spacing:.18em; }
  .hero-scroll-cue{ margin-top:20px; min-height:40px; font-size:10px; }
  .header-inner{ padding: 8px 10px; }
  .header.is-scrolled .header-inner{ border-radius: 24px; }
  .hero-three-canvas{ opacity:.55; }
}

@media (prefers-reduced-motion: reduce){
  body.is-loading-ready .header,
  body.is-loading-ready .hero-title,
  [data-gsap-reveal]{
    opacity:1;
    transform:none;
  }

  .hero-three-canvas,
  .hero-orb{
    display:none;
  }

  .btn-primary::before,
  .book-cta-button::before,
  .book-final-button::before{
    display:none;
  }
}

/* =========================================================
   DESIGN PASS 02: split hero, simpler surfaces, pinned moments
   ========================================================= */

body{
  background: var(--page-bg) !important;
}

.stage{
  min-height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--page-bg);
}

.photowall-wrap{
  right: auto;
  width: 50vw;
  overflow: hidden;
}

.stage::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:50vw;
  z-index:1;
  background: #080b0c;
  pointer-events:none;
}

.stage::after{
  width:50vw;
  right:auto;
  background: rgba(0,0,0,.34);
}

.hero-three-canvas{
  left:50vw;
  width:50vw;
  opacity:.42;
  mix-blend-mode: screen;
}

.hero-orb{
  opacity:.12;
}

.grain{
  opacity:.035;
}

.hero-content-panel{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:50vw;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: calc(var(--header-h) + 32px) clamp(34px, 5vw, 88px) 76px;
  background: #080b0c;
}

.hero-content-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(8,11,12,0) 0%, rgba(8,11,12,.88) 18%, #080b0c 100%);
}

.hero-title{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  width:min(620px, 100%);
  margin:0;
  text-align:left;
  pointer-events:auto;
}

.hero-title .line1,
.hero-title .line2{
  text-align:left;
}

.hero-title .line1{
  font-size: clamp(38px, 5vw, 82px);
}

.hero-title .line2{
  font-size: clamp(56px, 7.2vw, 122px);
}

.hero-skill-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin: 30px 0 0;
}

.hero-skill-card{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:72px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.84);
  font-size: clamp(12px, 1vw, 14px);
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
  box-shadow: none;
}

.hero-skill-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size:17px;
  line-height:1;
}

.hero-scroll-cue{
  margin-top:24px;
}

.hero-fade{
  height:min(38vh, 420px);
  background: linear-gradient(
    to bottom,
    rgba(11,15,16,0) 0%,
    rgba(11,15,16,.22) 36%,
    var(--page-bg) 100%
  );
}

.header{
  top: 30px;
}

.header::before{
  top: -30px;
}

.brand-wordmark .wordmark-thin{
  font-weight:300;
}

.brand-wordmark .wordmark-bold{
  font-weight:800;
}

.header.is-scrolled .brand-wordmark{
  max-width: 310px;
}

.galleries-surface,
.book-cta-wrap,
.book-final-panel,
.chat-widget-box{
  box-shadow: 0 28px 90px rgba(0,0,0,.42) !important;
}

.book-cta-wrap,
.service-section::before,
.book-final-panel::after,
.gal-card::after,
.service-section::after{
  background: none !important;
}

.gal-card.is-scroll-active,
.gal-card:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
}

.gal-card.is-scroll-active .gal-bg,
.gal-card:hover .gal-bg{
  transform: scale(1.06);
}

.gal-card.is-scroll-active .gal-name,
.gal-card:hover .gal-name{
  transform: translateY(0);
}

.gal-card.is-scroll-active .gal-detail,
.gal-card:hover .gal-detail{
  opacity:1;
  transform: translateY(0);
}

section.services{
  padding: 0;
  background: var(--page-bg);
}

.services-wrap{
  width:100%;
  margin:0;
}

.service-section:not(.worked-with){
  min-height: 100vh;
  min-height: 100svh;
  display:flex;
  align-items:center;
  padding: 0;
  position: sticky;
  top:0;
  background: var(--page-bg);
  border-top: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

.service-section:not(.worked-with)::before{
  display:none;
}

.service-section:not(.worked-with) .panel-grid{
  width: var(--wrap);
  margin: 0 auto;
  padding: 96px 0 64px;
}

.service-section:nth-child(2){ z-index: 4; }
.service-section:nth-child(3){ z-index: 5; }
.service-section:nth-child(4){ z-index: 6; }
.service-section:nth-child(5){ z-index: 7; }

.service-section:not(.worked-with)::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)) !important;
  opacity:1;
}

.services-progress{
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 950;
  width: 4px;
  height: min(320px, 42vh);
  transform: translateY(-50%);
  border-radius:999px;
  background: rgba(255,255,255,.12);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  overflow:hidden;
}

.services-progress span{
  display:block;
  width:100%;
  height:100%;
  transform: scaleY(var(--services-progress, 0));
  transform-origin: top;
  border-radius:999px;
  background: rgba(255,255,255,.82);
}

body.is-services-progress-visible .services-progress{
  opacity:1;
}

.slider-shot:hover,
.slider-shot.is-prev:hover,
.slider-shot.is-next:hover{
  transform: var(--slider-transform, translate(0, -50%) scale(.92)) !important;
}

.slider-shot.is-active:hover{
  transform: translate(-50%, -50%) scale(1) !important;
}

.slider-shot.is-prev{ --slider-transform: translate(0, -50%) scale(.92); }
.slider-shot.is-next{ --slider-transform: translate(0, -50%) scale(.92); }

@media (max-width: 900px){
  .stage{
    display:block;
    height:auto;
    min-height:100svh;
  }

  .photowall-wrap,
  .stage::after{
    width:100%;
    height:52svh;
  }

  .stage::before{
    top:52svh;
    left:0;
    width:100%;
  }

  .hero-three-canvas{
    left:0;
    width:100%;
  }

  .hero-content-panel{
    position:relative;
    width:100%;
    min-height:48svh;
    margin-top:52svh;
    padding: 42px 22px 84px;
  }

  .hero-content-panel::before{
    background: linear-gradient(180deg, rgba(8,11,12,.05), #080b0c 22%, #080b0c 100%);
  }

  .hero-title,
  .hero-title .line1,
  .hero-title .line2{
    text-align:center;
  }

  .hero-skill-grid{
    grid-template-columns: 1fr 1fr;
  }

  .service-section:not(.worked-with){
    position:relative;
    min-height:auto;
  }

  .service-section:not(.worked-with) .panel-grid{
    padding:72px 0;
  }
}

@media (max-width: 560px){
  .hero-skill-grid{
    grid-template-columns: 1fr;
  }

  .hero-skill-card{
    min-height:60px;
  }

  .services-progress{
    right: 14px;
  }
}

.services-wrap > .service-section:nth-of-type(1){ z-index: 4; }
.services-wrap > .service-section:nth-of-type(2){ z-index: 5; }
.services-wrap > .service-section:nth-of-type(3){ z-index: 6; }
.services-wrap > .service-section:nth-of-type(4){ z-index: 7; }

/* DESIGN PASS 03: delayed sticky header, hero actions, slower scroll moments */
.header{
  opacity:0 !important;
  transform: translateY(-18px) !important;
  pointer-events:none !important;
  transition: opacity .32s ease, transform .32s ease !important;
}

body.is-action-header-visible .header{
  opacity:1 !important;
  transform: translateY(0) !important;
  pointer-events:auto !important;
}

.hero-panel-logo{
  display:block;
  width: clamp(78px, 8vw, 116px);
  height:auto;
  margin: 0 0 22px;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.45));
}

.hero-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.hero-action-row .hero-scroll-cue{
  margin-top:0;
}

.hero-action-row .hero-scroll-cue.is-primary{
  background: rgba(255,255,255,.92);
  color:#071011;
  border-color:rgba(255,255,255,.92);
}

.gallery-skip-button{
  position:fixed;
  right:28px;
  bottom:34px;
  z-index:960;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(8,11,12,.82);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  box-shadow:0 22px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  opacity:0;
  transform: translateY(14px);
  pointer-events:none;
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease, background .22s ease;
}

body.is-gallery-skip-visible .gallery-skip-button{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

.gallery-skip-button:hover{
  background: rgba(255,255,255,.92);
  color:#071011;
  border-color:rgba(255,255,255,.92);
  transform: translateY(-2px);
}

.gal-row:has(.gal-card.is-scroll-active) .gal-card:not(.is-scroll-active){
  opacity:.42;
  filter:saturate(.7) brightness(.72);
}

.gal-card.is-scroll-active{
  transform: translateY(-8px) scale(1.025) !important;
  z-index:4;
  box-shadow:0 34px 110px rgba(0,0,0,.58) !important;
}

.service-section:not(.worked-with){
  min-height: 168vh;
  align-items:flex-start;
}

.service-section:not(.worked-with) .panel-grid{
  min-height:100vh;
  position:sticky;
  top:0;
  display:grid;
  align-items:center;
}

.worked-with{
  position:relative;
  z-index:20;
  padding: clamp(76px, 8vw, 132px) 0;
  background: var(--page-bg);
  border-top:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

.worked-with::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.055), rgba(255,255,255,0) 48%);
}

.worked-with-shell{
  position:relative;
  width:var(--wrap);
  margin:0 auto;
}

@media (max-width: 900px){
  .hero-panel-logo{
    margin: 0 auto 18px;
  }

  .hero-action-row{
    justify-content:center;
  }

  .gallery-skip-button{
    right:16px;
    bottom:18px;
    min-height:46px;
    padding:0 16px;
    font-size:10px;
  }

  .service-section:not(.worked-with){
    min-height:auto;
  }

  .service-section:not(.worked-with) .panel-grid{
    position:relative;
    min-height:auto;
  }
}

/* DESIGN PASS 04: hero alignment, gallery focus lock, service bullets, trusted-by spacing fix */
.hero-content-panel{
  align-items:flex-start !important;
  justify-content:center !important;
  padding-top: clamp(34px, 6vh, 74px) !important;
  padding-bottom: clamp(42px, 8vh, 84px) !important;
  text-align:center !important;
}

.hero-title{
  text-align:center !important;
  margin:0 auto !important;
}

.hero-panel-logo{
  margin-left:auto !important;
  margin-right:auto !important;
  margin-bottom: clamp(16px, 2.2vh, 24px) !important;
}

.hero-title .line1,
.hero-title .line2{
  text-align:center !important;
}

.hero-skill-grid{
  max-width:560px;
  margin-left:auto !important;
  margin-right:auto !important;
}

.hero-action-row{
  justify-content:center !important;
}

.gallery-skip-button{
  display:none !important;
}

body.is-gallery-locking .gal-card{
  pointer-events:none;
}

body.is-gallery-locking .gal-card.is-scroll-active{
  pointer-events:auto;
}

body.is-gallery-locking .gal-card:not(.is-scroll-active):hover .gal-bg,
body.is-gallery-locking .gal-card:not(.is-scroll-active):hover .gal-name,
body.is-gallery-locking .gal-card:not(.is-scroll-active):hover .gal-detail{
  transform:none !important;
}

body.is-gallery-locking .gal-card:not(.is-scroll-active):hover .gal-detail{
  opacity:0 !important;
}

body.is-gallery-locking .gal-card:not(.is-scroll-active):hover{
  transform:none !important;
  border-color:rgba(255,255,255,.11) !important;
  box-shadow:none !important;
}

.gal-card.is-scroll-active{
  opacity:1 !important;
  filter:saturate(1.08) brightness(1.04) contrast(1.03) !important;
}

.services-progress{
  display:none !important;
}

.services-bullets{
  position:fixed;
  right:28px;
  top:50%;
  z-index:950;
  display:grid;
  gap:14px;
  transform:translateY(-50%);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

body.is-services-progress-visible .services-bullets{
  opacity:1;
  pointer-events:auto;
}

.services-bullet{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.42);
  background:rgba(7,10,11,.48);
  box-shadow:0 12px 34px rgba(0,0,0,.28);
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.services-bullet span{
  width:8px;
  height:8px;
  border-radius:999px;
  background:transparent;
  transition:background .18s ease, transform .18s ease;
}

.services-bullet:hover{
  transform:scale(1.14);
  border-color:rgba(255,255,255,.86);
}

.services-bullet.is-active{
  border-color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.10);
}

.services-bullet.is-active span{
  background:#fff;
  transform:scale(1.15);
}

.service-section:not(.worked-with){
  min-height:190vh !important;
}

.service-section:not(.worked-with) .panel-grid{
  min-height:100svh !important;
}

.service-section#media-day{
  min-height:112vh !important;
}

.service-section#media-day .panel-grid{
  padding-bottom:42px !important;
}

.worked-with{
  clear:both;
  margin-top:0 !important;
  padding-top:clamp(64px, 7vw, 110px) !important;
  transform:translateZ(0);
}

@media (max-width:900px){
  .hero-content-panel{
    align-items:flex-start !important;
    padding-top:42px !important;
  }

  .services-bullets{
    right:14px;
    gap:10px;
  }

  .services-bullet{
    width:18px;
    height:18px;
  }

  .service-section:not(.worked-with),
  .service-section#media-day{
    min-height:auto !important;
  }
}
