
:root{
  --bg:#0f0f0f;
  --surface:#171717;
  --text:#f5f5f5;
  --muted:#b7b7b7;
  --accent:#d8b67d;
  --line:rgba(255,255,255,.12);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  cursor:none;
}

body.home-body{
  width:100%;
  height:100%;
  overflow:hidden;
}

body.gallery-open,
body.lightbox-open{
  overflow:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font-family:inherit;
}

img{
  width:100%;
  display:block;
}

/* ---------------------------
   Film Grain
---------------------------- */

.grain{
  position:fixed;
  inset:-50%;
  z-index:900;
  pointer-events:none;
  opacity:.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.08) 0 1px, transparent 1px);
  background-size:4px 4px, 6px 6px, 9px 9px;
  animation:grainShift .8s steps(2,end) infinite;
  mix-blend-mode:screen;
}

@keyframes grainShift{
  0%{transform:translate(0,0);}
  25%{transform:translate(-3%,2%);}
  50%{transform:translate(2%,-3%);}
  75%{transform:translate(3%,3%);}
  100%{transform:translate(-2%,0);}
}

/* ---------------------------
   Page Transition Wipe
---------------------------- */

.page-transition{
  position:fixed;
  inset:0;
  z-index:11000;
  background:#050505;
  pointer-events:none;
  transform:translateX(-105%);
  transition:transform .72s cubic-bezier(.77,0,.175,1);
  overflow:hidden;
}

.page-transition::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(216,182,125,.32), transparent);
  transform:translateX(-100%);
  transition:transform .82s cubic-bezier(.77,0,.175,1);
}

.page-transition.active{
  pointer-events:auto;
  transform:translateX(0);
}

.page-transition.active::after{
  transform:translateX(100%);
}

/* ---------------------------
   Custom Cursor
---------------------------- */

.cursor{
  width:8px;
  height:8px;
  border-radius:50%;
  background:white;
  position:fixed;
  pointer-events:none;
  z-index:9999;
}

.cursor-ring{
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  position:fixed;
  pointer-events:none;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  letter-spacing:.18em;
  color:var(--accent);
  transition:
    width .25s ease,
    height .25s ease,
    border-color .25s ease,
    opacity .25s ease;
}

/* ---------------------------
   Global Navigation
---------------------------- */

.site-nav{
  position:fixed;
  top:32px;
  right:40px;
  z-index:1000;
  display:flex;
  gap:24px;
}

.site-nav.vertical{
  flex-direction:column;
  align-items:flex-end;
  position:static;
}

.site-nav a{
  color:white;
  text-transform:uppercase;
  letter-spacing:.25em;
  font-size:.72rem;
  transition:.35s ease;
}

.site-nav a:hover,
.site-nav a.active{
  color:var(--accent);
  letter-spacing:.35em;
}


/* ---------------------------
   Text Scramble Reveal
---------------------------- */

.scramble{
  display:inline-block;
}

.scramble.is-scrambling{
  color:#fff5dc;
  text-shadow:
    0 0 8px rgba(216,182,125,.45),
    0 0 24px rgba(216,182,125,.22);
}

/* ---------------------------
   Home Loader
---------------------------- */

.loader{
  position:fixed;
  inset:0;
  z-index:10000;
  background:
    radial-gradient(circle at center, rgba(216,182,125,.08), transparent 34%),
    #050505;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:
    opacity 1.1s ease,
    visibility 1.1s ease;
}

.loader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.loader::before{
  content:'';
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(216,182,125,.08) 45%,
      rgba(255,255,255,.18) 50%,
      rgba(216,182,125,.08) 55%,
      transparent 100%
    );
  transform:translateX(-120%);
  animation:loaderLightSweep 2.2s ease .4s forwards;
}

.loader::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.025) 0px,
      rgba(255,255,255,.025) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity:.22;
  pointer-events:none;
}

.loader-inner{
  position:relative;
  text-align:center;
  z-index:2;
  padding:40px;
}

.loader-name{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(4.5rem,10vw,9rem);
  line-height:.85;
  font-weight:500;
  letter-spacing:.02em;
  color:#fff5dc;
  opacity:0;
  filter:blur(18px);
  transform:scale(1.08);
  text-shadow:
    0 0 4px rgba(216,182,125,.9),
    0 0 16px rgba(216,182,125,.75),
    0 0 38px rgba(216,182,125,.45),
    0 0 80px rgba(216,182,125,.25);
  animation:
    neonAppear .35s steps(2,end) .15s forwards,
    neonFlicker 1.4s steps(2,end) .25s,
    lensFocus 1.8s ease 1.15s forwards;
}

.loader-subtitle{
  margin-top:34px;
  color:var(--accent);
  font-family:'Special Elite', monospace;
  font-size:.86rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  width:0;
  max-width:max-content;
  margin-left:auto;
  margin-right:auto;
  overflow:hidden;
  white-space:nowrap;
  border-right:1px solid var(--accent);
  opacity:0;
  animation:
    subtitleReveal .1s ease 2.35s forwards,
    typewriter 2s steps(38,end) 2.45s forwards,
    caretBlink .75s step-end 2.45s infinite;
}

.loader-scanline{
  position:absolute;
  left:50%;
  top:50%;
  width:120vw;
  height:1px;
  background:rgba(216,182,125,.45);
  transform:translate(-50%, -50%) scaleX(0);
  opacity:0;
  box-shadow:
    0 0 12px rgba(216,182,125,.8),
    0 0 32px rgba(216,182,125,.35);
  animation:scanlineFlash 1.3s ease .75s forwards;
}

body.is-loading .home-container,
body.is-loading .counter{
  opacity:0;
}

.home-container,
.counter{
  transition:opacity 1s ease;
}

@keyframes neonAppear{
  0%{opacity:0;}
  40%{opacity:1;}
  55%{opacity:.15;}
  70%{opacity:1;}
  85%{opacity:.35;}
  100%{opacity:1;}
}

@keyframes neonFlicker{
  0%, 8%, 16%, 24%, 32%, 100%{opacity:1;}
  4%, 12%, 20%, 28%{opacity:.2;}
}

@keyframes lensFocus{
  0%{
    filter:blur(18px);
    transform:scale(1.08);
    letter-spacing:.08em;
  }
  100%{
    filter:blur(0);
    transform:scale(1);
    letter-spacing:.02em;
  }
}

@keyframes subtitleReveal{
  to{opacity:1;}
}

@keyframes typewriter{
  from{width:0;}
  to{width:40ch;}
}

@keyframes caretBlink{
  50%{border-color:transparent;}
}

@keyframes loaderLightSweep{
  to{transform:translateX(120%);}
}

@keyframes scanlineFlash{
  0%{
    opacity:0;
    transform:translate(-50%, -50%) scaleX(0);
  }
  35%{
    opacity:1;
    transform:translate(-50%, -50%) scaleX(1);
  }
  100%{
    opacity:0;
    transform:translate(-50%, -50%) scaleX(1);
  }
}

/* ---------------------------
   Home
---------------------------- */

.slideshow{
  position:fixed;
  inset:0;
  z-index:0;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 2s ease;
  animation:zoom 18s linear infinite;
}

.slide.active{
  opacity:1;
}

@keyframes zoom{
  from{transform:scale(1);}
  to{transform:scale(1.08);}
}

.overlay{
  position:fixed;
  inset:0;
  z-index:1;
  background:
  linear-gradient(
    to bottom,
    rgba(0,0,0,.55),
    rgba(0,0,0,.65)
  );
}

.home-container{
  position:relative;
  z-index:2;
  width:100%;
  height:100vh;
  padding:60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.hero{
  max-width:650px;
}

.hero-label{
  font-size:.75rem;
  letter-spacing:.35em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:20px;
}

.hero-name{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(5rem,10vw,9rem);
  line-height:.85;
  font-weight:500;
  margin-bottom:40px;
}

.hero-title{
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.3em;
  margin-bottom:20px;
  color:var(--muted);
}

.hero-description{
  font-size:1.1rem;
  line-height:1.8;
  max-width:550px;
  color:#e4e4e4;
}

.counter{
  z-index:2;
  position:absolute;
  right:60px;
  bottom:50px;
  font-size:.8rem;
  letter-spacing:.3em;
  color:rgba(255,255,255,.75);
}

/* ---------------------------
   General Page Layout
---------------------------- */

.container{
  max-width:1320px;
  margin:0 auto;
  padding:130px 40px 100px;
}

.page-hero{
  min-height:50vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding-bottom:70px;
  border-bottom:1px solid var(--line);
}

.page-hero.tall{
  min-height:60vh;
}

.kicker{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.35em;
  font-size:.75rem;
  margin-bottom:22px;
}

.page-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(4.5rem,10vw,9rem);
  line-height:.85;
  font-weight:500;
}

.page-lead{
  color:#ddd;
  max-width:680px;
  font-size:1.18rem;
  line-height:1.9;
  margin-top:30px;
}

.section-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,5vw,4.8rem);
  font-weight:500;
  margin-bottom:44px;
}

section{
  padding:100px 0;
  border-bottom:1px solid var(--line);
}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(22px) scale(.985);
  filter:blur(8px);
  transition:
    opacity .85s ease,
    transform .85s ease,
    filter .85s ease;
  transition-delay:var(--reveal-delay,0ms);
}

.reveal.visible{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

/* ---------------------------
   About
---------------------------- */

.about-hero{
  min-height:90vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  border-bottom:1px solid var(--line);
}

.about-portrait{
  height:75vh;
  background:#222;
  overflow:hidden;
}

.about-portrait img{
  height:100%;
  object-fit:cover;
}

.about-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(4rem,8vw,7rem);
  line-height:.9;
  margin-bottom:24px;
  font-weight:500;
}

.about-lead{
  font-size:1.2rem;
  line-height:1.9;
  color:#ddd;
}

.story{
  max-width:850px;
  line-height:2;
  color:#ddd;
}

.timeline-item{
  padding:30px 0;
  border-left:2px solid var(--accent);
  padding-left:28px;
  margin-left:12px;
}

.timeline-item h3{
  margin-bottom:8px;
}

.timeline-item .year{
  color:var(--accent);
  margin-bottom:12px;
}

.skills{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.skill{
  border:1px solid var(--line);
  padding:12px 18px;
  letter-spacing:.15em;
  text-transform:uppercase;
  transition:.35s ease;
}

.skill:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.clients{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:24px;
}

.logo{
  aspect-ratio:1/1;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  transition:.35s ease;
}

.logo img{
  max-width:70%;
  max-height:70%;
  object-fit:contain;
  transition:.35s ease;
}

.logo:hover{
  border-color:var(--accent);
  transform:translateY(-4px);
}

.logo:hover img{
  transform:scale(1.05);
}

.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

.contact.contact-simple{
  grid-template-columns:1fr;
  max-width:760px;
}

.contact.contact-simple .info{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px 44px;
}

.info p{
  margin-bottom:20px;
  line-height:1.8;
}

.info a{
  color:var(--accent);
  text-decoration:none;
  transition:.3s ease;
}

.info a:hover{
  opacity:.7;
}

form{
  display:flex;
  flex-direction:column;
  gap:16px;
}

input,
textarea{
  background:var(--surface);
  border:1px solid var(--line);
  color:white;
  padding:14px;
  font-family:inherit;
}

button,
.btn-submit{
  background:transparent;
  border:1px solid var(--accent);
  color:var(--accent);
  padding:14px;
  cursor:none;
}

/* ---------------------------
   Videography
---------------------------- */

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--line);
}

.stat{
  padding:34px 28px;
  border-right:1px solid var(--line);
}

.stat:last-child{
  border-right:none;
}

.stat-number{
  font-family:'Cormorant Garamond',serif;
  font-size:2.6rem;
  color:var(--accent);
  line-height:1;
  margin-bottom:10px;
}

.stat-label{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
}

.featured{
  padding:100px 0;
  border-bottom:1px solid var(--line);
}

.featured-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:50px;
  align-items:end;
}

.featured-image{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/9;
  background:#222;
}

.featured-image img{
  height:100%;
  object-fit:cover;
  transition:transform .8s ease;
}

.featured:hover .featured-image img{
  transform:scale(1.05);
}

.project-meta{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
  margin-bottom:18px;
}

.featured h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,5vw,4.6rem);
  line-height:.95;
  font-weight:500;
  margin-bottom:22px;
}

.project-desc{
  color:#d7d7d7;
  line-height:1.9;
  margin-bottom:28px;
}

.roles{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:34px;
}

.role{
  border:1px solid var(--line);
  padding:8px 12px;
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

.view-link{
  display:inline-block;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  transition:.35s ease;
}

.view-link:hover{
  letter-spacing:.3em;
}

.works{
  padding:100px 0 30px;
}

.filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:44px;
}

.filter-btn{
  background:none;
  border:1px solid var(--line);
  color:var(--muted);
  padding:10px 14px;
  font-family:'Inter',sans-serif;
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:none;
  transition:.3s ease;
}

.filter-btn:hover,
.filter-btn.active{
  color:var(--accent);
  border-color:var(--accent);
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:42px 28px;
}

.project-card{
  display:block;
}

.project-thumb{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  background:#222;
  margin-bottom:22px;
}

.project-thumb img{
  height:100%;
  object-fit:cover;
  transition:transform .75s ease, filter .5s ease;
  filter:grayscale(8%);
}

.project-card:hover .project-thumb img{
  transform:scale(1.06);
  filter:grayscale(0%);
}

.project-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.4s ease;
}

.project-card:hover .project-overlay{
  opacity:1;
}

.project-overlay span{
  border:1px solid rgba(255,255,255,.7);
  padding:12px 18px;
  letter-spacing:.18em;
  font-size:.72rem;
  text-transform:uppercase;
}

.project-card h3{
  font-family:'Cormorant Garamond',serif;
  font-size:2.1rem;
  font-weight:500;
  margin-bottom:8px;
}

.project-card p{
  color:var(--muted);
  font-size:.9rem;
  line-height:1.7;
}

.project-card.hide{
  display:none;
}

/* ---------------------------
   Project Pages
---------------------------- */

.back-link{
  display:inline-block;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.75rem;
  margin-bottom:60px;
  transition:.35s ease;
}

.back-link:hover{
  letter-spacing:.28em;
}

.project-hero{
  min-height:75vh;
  display:grid;
  grid-template-columns:1fr;
  align-items:end;
  border-bottom:1px solid var(--line);
  padding-bottom:70px;
}

.hero-image{
  overflow:hidden;
  background:#222;
  margin-bottom:54px;
}

.hero-image img{
  height:100%;
  object-fit:cover;
}

.hero-image.landscape{
  aspect-ratio:16/9;
}

.hero-image.vertical{
  aspect-ratio:9/16;
  max-width:520px;
}

.project-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(4rem,9vw,8rem);
  line-height:.86;
  font-weight:500;
  margin-bottom:34px;
}

.intro{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:60px;
  align-items:start;
}

.meta-grid{
  display:grid;
  gap:24px;
}

.meta-item{
  border-top:1px solid var(--line);
  padding-top:16px;
}

.meta-label{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.68rem;
  margin-bottom:8px;
}

.meta-value{
  color:var(--text);
  font-size:1rem;
}

.description{
  color:#ddd;
  line-height:2;
  font-size:1.05rem;
}

.frames-grid{
  display:grid;
  gap:16px;
}

.frames-grid.landscape{
  grid-template-columns:repeat(6,1fr);
}

.frames-grid.vertical{
  grid-template-columns:repeat(5,1fr);
}

.frame{
  overflow:hidden;
  background:#222;
}

.frame img{
  height:100%;
  object-fit:cover;
  transition:transform .7s ease, filter .5s ease;
  filter:grayscale(6%);
}

.frame:hover img{
  transform:scale(1.06);
  filter:grayscale(0%);
}

.frame-large{
  grid-column:span 3;
  aspect-ratio:16/10;
}

.frame-small{
  grid-column:span 2;
  aspect-ratio:4/3;
}

.frame-vertical{
  grid-column:span 1;
  aspect-ratio:9/16;
}

.watch-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.watch-text{
  color:#ddd;
  line-height:1.9;
  max-width:520px;
}

.watch-btn{
  display:inline-block;
  color:var(--accent);
  border:1px solid var(--accent);
  padding:16px 22px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  transition:.35s ease;
}

.watch-btn:hover{
  background:var(--accent);
  color:#0f0f0f;
  letter-spacing:.28em;
}

.project-nav{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding-top:80px;
}

.project-nav a{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  transition:.35s ease;
}

.project-nav a:hover{
  color:var(--accent);
}

/* ---------------------------
   Photography
---------------------------- */

.collections{
  padding:80px 0 0;
}

.country-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.country-card{
  background:none;
  border:none;
  color:inherit;
  text-align:left;
  cursor:none;
}

.country-image{
  position:relative;
  overflow:hidden;
  aspect-ratio:4/5;
  background:#222;
  margin-bottom:20px;
}

.country-image img{
  height:100%;
  object-fit:cover;
  transition:transform .8s ease, filter .5s ease;
  filter:grayscale(8%);
}

.country-card:hover .country-image img{
  transform:scale(1.06);
  filter:grayscale(0%);
}

.country-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.42);
  opacity:0;
  transition:.4s ease;
}

.country-card:hover .country-overlay{
  opacity:1;
}

.country-overlay span{
  border:1px solid rgba(255,255,255,.7);
  padding:12px 18px;
  letter-spacing:.18em;
  font-size:.72rem;
  text-transform:uppercase;
}

.country-meta{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:baseline;
  border-top:1px solid var(--line);
  padding-top:16px;
}

.country-meta h2{
  font-family:'Cormorant Garamond',serif;
  font-weight:500;
  font-size:2rem;
  line-height:1;
}

.country-meta p{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.7rem;
  white-space:nowrap;
}

.gallery-panel{
  position:fixed;
  inset:0;
  z-index:500;
  background:var(--bg);
  overflow:auto;
  padding:90px 40px 80px;
  opacity:0;
  pointer-events:none;
  transform:translateY(20px);
  transition:opacity .45s ease, transform .45s ease;
}

.gallery-panel.active{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.gallery-header{
  max-width:1320px;
  margin:0 auto 50px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:28px;
  align-items:end;
  border-bottom:1px solid var(--line);
  padding-bottom:32px;
}

.close-gallery{
  background:none;
  border:none;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
  cursor:none;
  text-align:left;
}

.gallery-header h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(3rem,6vw,6rem);
  font-weight:500;
  line-height:.9;
}

.gallery-header p{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
}

.photo-grid{
  max-width:1320px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.photo{
  overflow:hidden;
  background:#222;
  aspect-ratio:4/5;
}

.photo img{
  height:100%;
  object-fit:cover;
  transition:transform .7s ease, filter .5s ease;
  filter:grayscale(5%);
}

.photo:hover img{
  transform:scale(1.06);
  filter:grayscale(0%);
}

.instagram-note{
  max-width:1320px;
  margin:80px auto 0;
  padding-top:40px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
}

.instagram-note p{
  color:var(--muted);
}

.instagram-note a{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.76rem;
  transition:.35s ease;
}

.instagram-note a:hover{
  letter-spacing:.28em;
}


/* Gallery/photo cascade */
.gallery-panel .photo{
  opacity:0;
  transform:translateY(18px) scale(.975);
  transition:
    opacity .65s ease,
    transform .65s ease,
    filter .5s ease;
  transition-delay:var(--stagger-delay,0ms);
}

.gallery-panel.active .photo{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* ---------------------------
   Lightbox
---------------------------- */

.lightbox{
  position:fixed;
  inset:0;
  z-index:1200;
  background:rgba(0,0,0,.94);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:44px;
  opacity:0;
  pointer-events:none;
  transform:scale(1.01);
  transition:
    opacity .35s ease,
    transform .35s ease;
}

.lightbox.active{
  opacity:1;
  pointer-events:auto;
  transform:scale(1);
}

.lightbox img{
  width:auto;
  max-width:92vw;
  max-height:88vh;
  object-fit:contain;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  transform:scale(.985);
  transition:transform .35s ease;
}

.lightbox.active img{
  transform:scale(1);
}

.lightbox-close{
  position:absolute;
  top:28px;
  right:34px;
  background:none;
  border:none;
  color:white;
  font-size:42px;
  line-height:1;
  cursor:none;
  opacity:.85;
  transition:.3s ease;
}

.lightbox-close:hover{
  opacity:1;
  color:var(--accent);
}

/* ---------------------------
   Responsive
---------------------------- */

@media(max-width:1100px){
  .frames-grid.vertical{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:1000px){
  .country-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .photo-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){

  body{
    cursor:auto;
  }

  .cursor,
  .cursor-ring{
    display:none;
  }

  .site-nav{
    position:absolute;
    top:24px;
    left:24px;
    right:24px;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
  }

  .site-nav.vertical{
    position:static;
    align-items:flex-start;
  }

  .site-nav a{
    font-size:.65rem;
  }

  .home-container{
    padding:32px;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:50px;
  }

  .hero-name{
    font-size:4rem;
  }

  .hero-description{
    font-size:1rem;
  }

  .counter{
    left:32px;
    right:auto;
  }

  .loader-subtitle{
    font-size:.62rem;
    letter-spacing:.14em;
  }

  .container{
    padding:130px 24px 80px;
  }

  .page-hero,
  .page-hero.tall{
    min-height:auto;
    padding:80px 0 50px;
  }

  .about-hero,
  .contact,
  .featured-grid,
  .watch-section,
  .intro{
    grid-template-columns:1fr;
  }

  .about-portrait{
    height:60vh;
  }

  .bts-grid{
    grid-template-columns:1fr;
  }

  .bts-horizontal,
  .bts-vertical{
    grid-column:span 1;
  }

  .contact.contact-simple .info{
    grid-template-columns:1fr;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .stat{
    border-right:none;
    border-bottom:1px solid var(--line);
  }

  .project-grid{
    grid-template-columns:1fr;
  }

  .project-hero{
    min-height:auto;
    padding-bottom:50px;
  }

  .hero-image.vertical{
    max-width:100%;
  }

  .frames-grid.landscape,
  .frames-grid.vertical{
    grid-template-columns:1fr;
  }

  .frame-large,
  .frame-small,
  .frame-vertical{
    grid-column:span 1;
  }

  .project-nav{
    flex-direction:column;
  }

  .country-grid{
    grid-template-columns:1fr;
  }

  .gallery-panel{
    padding:90px 24px 70px;
  }

  .gallery-header{
    grid-template-columns:1fr;
    gap:18px;
  }

  .photo-grid{
    grid-template-columns:1fr;
  }

  .instagram-note{
    flex-direction:column;
    align-items:flex-start;
  }

  .lightbox{
    padding:20px;
  }

  .lightbox-close{
    top:20px;
    right:24px;
  }
}

@media (prefers-reduced-motion: reduce){
  .loader-name,
  .loader-subtitle,
  .loader-scanline,
  .loader::before,
  .slide,
  .grain{
    animation:none;
  }

  .loader-name{
    opacity:1;
    filter:none;
    transform:none;
  }

  .loader-subtitle{
    opacity:1;
    width:auto;
    border-right:none;
  }

  .reveal{
    opacity:1;
    transform:none;
    filter:none;
  }
}


/* ---------------------------
   Behind The Scenes — Floating Memory Box
---------------------------- */

.bts-grid{
  position:relative;
  width:100%;
  max-width:1120px;
  height:clamp(520px,72vh,760px);
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 20% 25%, rgba(216,182,125,.12), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,.06), transparent 32%),
    #111;
  isolation:isolate;
}

.bts-grid::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.035), transparent 22%, transparent 78%, rgba(0,0,0,.28)),
    linear-gradient(to right, rgba(0,0,0,.18), transparent 18%, transparent 82%, rgba(0,0,0,.18));
  z-index:1;
}

.bts-grid::after{
  content:'CLICK A FRAME';
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:2;
  color:rgba(216,182,125,.62);
  font-size:.64rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  pointer-events:none;
}

.bts-photo{
  position:absolute;
  z-index:3;
  display:block;
  overflow:hidden;
  background:#222;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 42px rgba(0,0,0,.34);
  opacity:.9;
  transform:translate3d(0,0,0) rotate(var(--rot,0deg));
  animation:btsFloatA var(--dur,18s) ease-in-out infinite alternate;
  transition:
    top .75s cubic-bezier(.77,0,.175,1),
    left .75s cubic-bezier(.77,0,.175,1),
    width .75s cubic-bezier(.77,0,.175,1),
    height .75s cubic-bezier(.77,0,.175,1),
    transform .75s cubic-bezier(.77,0,.175,1),
    opacity .45s ease,
    filter .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.bts-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:grayscale(12%);
  transition:filter .45s ease, transform .75s ease;
}

.bts-photo:hover{
  z-index:8;
  opacity:1;
  border-color:rgba(216,182,125,.58);
  box-shadow:0 24px 70px rgba(0,0,0,.48);
}

.bts-photo:hover img{
  filter:grayscale(0%);
  transform:scale(1.035);
}

.bts-horizontal{
  aspect-ratio:4/3;
}

.bts-vertical{
  aspect-ratio:3/4;
}

/* Individual floating layout */
.bts-photo:nth-child(1){width:22%;left:4%;top:8%;--rot:-5deg;--dur:19s;animation-delay:-2s;}
.bts-photo:nth-child(2){width:18%;left:31%;top:5%;--rot:4deg;--dur:17s;animation-name:btsFloatB;animation-delay:-5s;}
.bts-photo:nth-child(3){width:21%;left:56%;top:9%;--rot:-3deg;--dur:21s;animation-delay:-8s;}
.bts-photo:nth-child(4){width:18%;left:78%;top:18%;--rot:5deg;--dur:18s;animation-name:btsFloatC;animation-delay:-4s;}
.bts-photo:nth-child(5){width:20%;left:10%;top:39%;--rot:3deg;--dur:20s;animation-name:btsFloatB;animation-delay:-9s;}
.bts-photo:nth-child(6){width:22%;left:37%;top:34%;--rot:-4deg;--dur:22s;animation-delay:-7s;}
.bts-photo:nth-child(7){width:19%;left:65%;top:43%;--rot:4deg;--dur:18s;animation-name:btsFloatC;animation-delay:-1s;}
.bts-photo:nth-child(8){width:18%;left:3%;top:68%;--rot:5deg;--dur:19s;animation-name:btsFloatC;animation-delay:-6s;}
.bts-photo:nth-child(9){width:20%;left:28%;top:68%;--rot:-2deg;--dur:20s;animation-delay:-3s;}
.bts-photo:nth-child(10){width:22%;left:55%;top:70%;--rot:3deg;--dur:21s;animation-name:btsFloatB;animation-delay:-10s;}
.bts-photo:nth-child(11){width:15%;left:83%;top:54%;--rot:-4deg;--dur:23s;animation-delay:-7s;}
.bts-photo:nth-child(12){width:14%;left:47%;top:10%;--rot:2deg;--dur:24s;animation-name:btsFloatC;animation-delay:-12s;}

.bts-grid.is-focused .bts-photo:not(.active){
  opacity:.12;
  filter:blur(2px);
}

.bts-grid.is-focused::after{
  content:'CLICK AGAIN TO CLOSE';
}

.bts-photo.active{
  z-index:20;
  top:50% !important;
  left:50% !important;
  width:min(86%,920px) !important;
  height:calc(100% - 72px) !important;
  aspect-ratio:auto !important;
  opacity:1;
  filter:none;
  animation:none !important;
  transform:translate(-50%,-50%) rotate(0deg) !important;
  border-color:rgba(216,182,125,.72);
  box-shadow:0 32px 100px rgba(0,0,0,.68);
}

.bts-photo.active img{
  object-fit:contain;
  background:#050505;
  filter:grayscale(0%);
  transform:none;
}

@keyframes btsFloatA{
  0%{transform:translate3d(-8px,-10px,0) rotate(var(--rot,0deg));}
  50%{transform:translate3d(10px,8px,0) rotate(calc(var(--rot,0deg) + 1.5deg));}
  100%{transform:translate3d(-4px,14px,0) rotate(calc(var(--rot,0deg) - 1deg));}
}

@keyframes btsFloatB{
  0%{transform:translate3d(8px,10px,0) rotate(var(--rot,0deg));}
  50%{transform:translate3d(-12px,-8px,0) rotate(calc(var(--rot,0deg) - 1.5deg));}
  100%{transform:translate3d(6px,-14px,0) rotate(calc(var(--rot,0deg) + 1deg));}
}

@keyframes btsFloatC{
  0%{transform:translate3d(0,-12px,0) rotate(var(--rot,0deg));}
  50%{transform:translate3d(14px,4px,0) rotate(calc(var(--rot,0deg) + 1deg));}
  100%{transform:translate3d(-10px,12px,0) rotate(calc(var(--rot,0deg) - 1.5deg));}
}

@media(max-width:900px){
  .bts-grid{
    height:620px;
  }

  .bts-photo:nth-child(n){
    width:38%;
  }

  .bts-photo:nth-child(1){left:3%;top:5%;}
  .bts-photo:nth-child(2){left:54%;top:4%;}
  .bts-photo:nth-child(3){left:12%;top:20%;}
  .bts-photo:nth-child(4){left:56%;top:24%;}
  .bts-photo:nth-child(5){left:3%;top:40%;}
  .bts-photo:nth-child(6){left:48%;top:43%;}
  .bts-photo:nth-child(7){left:14%;top:58%;}
  .bts-photo:nth-child(8){left:56%;top:63%;}
  .bts-photo:nth-child(9){left:4%;top:78%;}
  .bts-photo:nth-child(10){left:45%;top:82%;}
  .bts-photo:nth-child(11){width:30%;left:66%;top:47%;}
  .bts-photo:nth-child(12){width:30%;left:33%;top:67%;}

  .bts-photo.active{
    width:calc(100% - 40px) !important;
    height:calc(100% - 80px) !important;
  }
}


/* =========================================================
   FINAL UPGRADE — GLOBAL POLISH
========================================================= */

/* Favicon is linked in HTML files. */

/* Single-line scroll progress */
.scroll-progress{
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg, rgba(216,182,125,.95), rgba(255,245,220,.5));
  transform:scaleX(0);
  transform-origin:left center;
  z-index:9997;
  pointer-events:none;
  box-shadow:0 0 12px rgba(216,182,125,.35);
}

/* Cursor flashlight / exposure glow */
.cursor-light{
  position:fixed;
  left:0;
  top:0;
  width:220px;
  height:220px;
  border-radius:50%;
  pointer-events:none;
  z-index:901;
  opacity:.28;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(255,244,214,.18) 0%, rgba(216,182,125,.08) 35%, transparent 68%);
  mix-blend-mode:screen;
  transition:opacity .3s ease;
}

/* Space distortion click ripple */
.space-ripple{
  position:fixed;
  width:32px;
  height:32px;
  border-radius:50%;
  pointer-events:none;
  z-index:9996;
  transform:translate(-50%,-50%) scale(.2);
  border:1px solid rgba(216,182,125,.55);
  background:radial-gradient(circle, rgba(255,255,255,.12), rgba(216,182,125,.08), transparent 64%);
  backdrop-filter:blur(1.4px) contrast(1.08);
  animation:spaceRipple .9s ease forwards;
}

@keyframes spaceRipple{
  0%{
    opacity:.95;
    transform:translate(-50%,-50%) scale(.2);
    filter:blur(0);
  }
  70%{
    opacity:.35;
  }
  100%{
    opacity:0;
    transform:translate(-50%,-50%) scale(6.2);
    filter:blur(3px);
  }
}

/* Negative-space typography */
.ghost-word{
  position:fixed;
  z-index:0;
  left:50%;
  top:52%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(7rem,20vw,19rem);
  font-weight:400;
  letter-spacing:.14em;
  color:rgba(255,255,255,.035);
  white-space:nowrap;
  text-transform:uppercase;
  mix-blend-mode:screen;
  animation:ghostDrift 18s ease-in-out infinite alternate;
}

@keyframes ghostDrift{
  from{transform:translate(-50%,-51%) scale(1);}
  to{transform:translate(-50%,-48%) scale(1.025);}
}

/* Lens refocus text */
.refocus-word{
  display:inline-block;
  transition:filter .45s ease, opacity .45s ease;
}

.refocus-word.is-blurred{
  filter:blur(4px);
  opacity:.62;
}

/* Slow-burn image reveal */
.image-reveal{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.image-reveal::after{
  content:'';
  position:absolute;
  inset:-1px;
  z-index:10;
  background:
    linear-gradient(90deg, rgba(15,15,15,.98), rgba(15,15,15,.88), rgba(15,15,15,.1));
  transform:translateX(0);
  transition:transform 1.25s cubic-bezier(.77,0,.175,1);
  pointer-events:none;
}

.image-reveal.image-visible::after{
  transform:translateX(105%);
}

/* Muted parallax image breathing */
.parallax-photo img,
.slideshow .slide{
  will-change:transform;
}

.parallax-photo img{
  transform:scale(1.025) translate3d(var(--px,0px), var(--py,0px), 0);
}

/* Tiny viewfinder/camera-frame marks */
.viewfinder{
  position:relative;
  isolation:isolate;
}

.viewfinder::before{
  content:'';
  position:absolute;
  inset:14px;
  z-index:12;
  pointer-events:none;
  opacity:0;
  transition:opacity .35s ease;
  background:
    linear-gradient(to right, rgba(216,182,125,.72) 0 24px, transparent 24px calc(100% - 24px), rgba(216,182,125,.72) calc(100% - 24px)) top left / 100% 1px no-repeat,
    linear-gradient(to right, rgba(216,182,125,.72) 0 24px, transparent 24px calc(100% - 24px), rgba(216,182,125,.72) calc(100% - 24px)) bottom left / 100% 1px no-repeat,
    linear-gradient(to bottom, rgba(216,182,125,.72) 0 24px, transparent 24px calc(100% - 24px), rgba(216,182,125,.72) calc(100% - 24px)) top left / 1px 100% no-repeat,
    linear-gradient(to bottom, rgba(216,182,125,.72) 0 24px, transparent 24px calc(100% - 24px), rgba(216,182,125,.72) calc(100% - 24px)) top right / 1px 100% no-repeat;
}

.viewfinder:hover::before,
.viewfinder.image-visible::before{
  opacity:.48;
}

/* Places map */
.places-map-wrap{
  position:relative;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(216,182,125,.1), transparent 28%),
    #111;
  padding:24px;
  overflow:hidden;
}

.places-map-wrap::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,.025), transparent 24%, transparent 76%, rgba(0,0,0,.3));
}

.places-map-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:20px;
  position:relative;
  z-index:2;
}

.places-count{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
}

#placesMap{
  width:100%;
  height:520px;
  position:relative;
  z-index:2;
}

.map-fallback{
  display:none;
  color:var(--muted);
  line-height:1.9;
}

.jvm-container{
  background:transparent !important;
}

.jvm-region{
  transition:fill .25s ease, fill-opacity .25s ease;
  cursor:default !important;
}

.jvm-marker{
  cursor:default !important;
}

.jvm-tooltip{
  background:#0f0f0f !important;
  border:1px solid rgba(216,182,125,.45) !important;
  color:#f5f5f5 !important;
  border-radius:0 !important;
  box-shadow:0 18px 50px rgba(0,0,0,.45) !important;
  font-family:'Inter',sans-serif !important;
  letter-spacing:.08em !important;
  font-size:.74rem !important;
  padding:9px 11px !important;
}

/* About social buttons under subtitle */
.about-socials{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.about-socials a{
  border:1px solid var(--line);
  padding:11px 14px;
  color:var(--text);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.68rem;
  transition:.35s ease;
}

.about-socials a:hover{
  color:var(--accent);
  border-color:var(--accent);
  transform:translateY(-2px);
}

/* End Credits contact */
.end-credits{
  text-align:center;
  max-width:760px;
  margin:0 auto;
  padding:90px 30px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(to bottom, rgba(255,255,255,.02), transparent);
}

.end-credits .section-title{
  margin-bottom:28px;
}

.credit-lines{
  display:grid;
  gap:20px;
  color:var(--muted);
  letter-spacing:.08em;
}

.credit-lines strong{
  display:block;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.7rem;
  margin-bottom:6px;
}

.credit-lines a{
  color:#fff;
}

.credit-lines a:hover{
  color:var(--accent);
}

/* 404 */
.error-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px;
  position:relative;
  z-index:2;
}

.error-card{
  max-width:860px;
}

.error-code{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.35em;
  font-size:.76rem;
  margin-bottom:24px;
}

.error-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(4.5rem,12vw,10rem);
  line-height:.85;
  font-weight:500;
  color:#fff5dc;
  text-shadow:
    0 0 8px rgba(216,182,125,.5),
    0 0 26px rgba(216,182,125,.24);
  margin-bottom:30px;
}

.error-copy{
  color:var(--muted);
  font-family:'Special Elite', monospace;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.9;
  margin-bottom:38px;
}

.error-link{
  display:inline-block;
  border:1px solid var(--accent);
  color:var(--accent);
  padding:14px 18px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.76rem;
  transition:.35s ease;
}

.error-link:hover{
  background:var(--accent);
  color:#0f0f0f;
  letter-spacing:.28em;
}

@media(max-width:900px){
  .ghost-word{
    font-size:clamp(5rem,25vw,10rem);
    opacity:.7;
  }

  .cursor-light{
    display:none;
  }

  .places-map-head{
    flex-direction:column;
    align-items:flex-start;
  }

  #placesMap{
    height:390px;
  }

  .places-map-wrap{
    padding:16px;
  }

  .end-credits{
    padding:70px 20px;
  }
}

@media (prefers-reduced-motion: reduce){
  .cursor-light,
  .space-ripple,
  .ghost-word{
    display:none;
  }

  .image-reveal::after{
    display:none;
  }

  .parallax-photo img{
    transform:none;
  }
}
