/* MAIN */
html, body {
	height: 100%;
	  background-color: #f4f4f6; /* Light grey background */
  background-image: radial-gradient(circle at center, #ffffff 4px, transparent 1px);
  background-size: 7px 7px; /* Adjust dot spacing */
	overflow: auto !important;
	margin: 0;

}
	header {
  background-color: #f6f6f6; /* Light grey background */
  background-image: radial-gradient(circle at center, #ffffff 4px, transparent 1px);
  background-size: 7px 7px; /* Adjust dot spacing */
}

/* ---------- ANIMATED LINES ---------- */
.header-line {
  position: absolute;
    height: 1px;
    border-top: 1px dotted #feb595;
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
    display: none; /* Hidden by default (mobile) */
}

/* Only show lines on desktop */
/* Only show lines on desktop */
@media (min-width: 769px) {
    .header-line {
        display: block;
    }
    
    .header-line-left {
        right: calc(50% + (var(--title-width) / 2) + 15px);
        width: calc(50% - (var(--title-width) / 2) - 100px - 15px); /* Full width by default */
    }

    .header-line-right {
        left: calc(50% + (var(--title-width) / 2) + 15px);
        width: calc(50% - (var(--title-width) / 2) - 100px - 15px); /* Full width by default */
    }

    /* Only animate on landing page */
    .landing-page .header-line-left,
    .landing-page .header-line-right {
        width: 0;
        animation: expandLeft 0.8s ease forwards;
        animation-delay: 1.1s;
    }
    
    .landing-page .header-line-right {
        animation-name: expandRight;
    }

    @keyframes expandLeft {
        from { width: 0; }
        to { width: calc(50% - (var(--title-width) / 2) - 100px - 15px); }
    }

    @keyframes expandRight {
        from { width: 0; }
        to { width: calc(50% - (var(--title-width) / 2) - 100px - 15px); }
    }
}
header {
    --title-width: 350px;
}
/* ---------- SITE TITLE ---------- */
.siteTitle {
    font-size: 45px;
    letter-spacing: -5px;
    text-transform: uppercase;
    color: #000;
    font-family: 'cf_dots_521regular', 'Gotham', 'Helvetica Neue', sans-serif;
    font-weight: normal;
    text-align: center;
    margin: 0;
    padding: 0;
    z-index: 120;
    position: relative;

  
}
.siteTitle_dp  { color: #d67a51; }
	.siteTitle_space  {  letter-spacing: -5px; }
.siteTitle { text-align: center; 	margin-top:-10px;
; padding: 0; z-index: 120; position: relative; }
	
	.siteTitle a {
    color: #000; /* base color */
    text-decoration: none; /* optional */
}
	.bento_box_wrapper {
display: grid;
grid-template-columns: repeat(3, 6px);
gap: 6px;
width: 30px;
height: 30px;
}
.bento_box {
width: 6px;
height: 6px;
background-color: #25555a;

}
.bento_box_transparent {
background-color: transparent;

}
.bento__wrapper {
 
  cursor: pointer;
	position: relative;
		top: 0px;
	right: 50px;
	
}


	
* {
box-sizing: border-box;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
position: fixed;
width: 100%;
top: 0;
height:120px;
z-index: 150;
}
	

.socialMedia {
display: grid;
grid-template-columns: repeat(2, 15px);
grid-column-gap: 4px;
grid-row-gap: 1px;
position: relative;
left: 50px;
z-index: 120;
	top: 0px;
	


}
.socialMedia_still img:hover {
  transition: .4s;
 border: 2px solid #d67a51;
	border-radius: 3px;

}
.socialMedia_still {
display: grid;
grid-template-columns: repeat(2, 16px);
grid-column-gap: 2px;
grid-row-gap: 1px;
position: relative;
left: 50px;
z-index: 120;
	top: 0px;
	

}
.socialMedia_still img {
  width: 17px;   /* <— adjust this number */
  height: 17px;  /* keeps them square */
  display: block;
}

.bentoIcon {
position: relative;	

right: 50px;
	
  cursor: pointer;
top: 0px;
	z-index: 160;
}
.bentoIcon_still {
position: relative;
	

right: 50px;
	
  cursor: pointer;
top: 0px;
	z-index: 160;
}


/* ---------- BENTO ICON ---------- */
.bento_box_wrapper { display: grid; grid-template-columns: repeat(3, 6px); gap: 4px; width: 30px; height: 30px; cursor: pointer; }
.bento_box { width: 6px; height: 6px; background-color: #000; border-radius: 2px; }
.bento_box_transparent { background-color: transparent; }




.menu__wrapper > .menu__wrapper > div:active {
  outline: none;
	
}
.menu__wrapper > span {
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  padding: 0px;
 
}

 .menu__item--bento:active .box:nth-child(2),
.menu__item--bento:active .box:nth-child(4),
.menu__item--bento:active .box:nth-child(6),
.menu__item--bento:active .box:nth-child(8) {
  opacity: 0;
}
 .menu__item--bento2:active .box:nth-child(2),
.menu__item--bento2:active .box:nth-child(4),
.menu__item--bento2:active .box:nth-child(6),
.menu__item--bento2:active .box:nth-child(8) {
  opacity: 0;
}


	.menu__item--bento {
	right: 22px;
	-webkit-animation: slideInR .8s forwards cubic-bezier(.19,.17,.35,1.09);
	-moz-animation: slideInR .8s forwards cubic-bezier(.19,.17,.35,1.09);
	animation: slideInR .8s forwards cubic-bezier(.19,.17,.35,1.09);

}
	.menu__item--bento2 {
	right: 22px;

}
/* Ensure all link states stay black */
.siteTitle a:link,
.siteTitle a:visited,
.siteTitle a:hover,
.siteTitle a:active {
    color: #000;
}
/* /* ---------- FADE-IN ANIMATIONS ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(400px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- SOCIAL MEDIA ---------- */
.socialMedia_still {
    opacity: 1; /* Default: visible */
}

.landing-page .socialMedia_still {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}
/* ---------- SITE TITLE ---------- */
.siteTitle {
    opacity: 1; /* Default: visible */
}

.landing-page .siteTitle {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.5s;
}

/*---------- BENTO BOX ---------- */
.bentoIcon_still {
    opacity: 1; /* Default: visible */
}

.landing-page .bentoIcon_still {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
}
/* OVERLAY WRAPPER */
.overlayWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: -100;
  width: 100%;
  top: 0;              /* JS will adjust dynamically */
  height: 100vh;       /* JS will adjust dynamically */
  background-color: rgba(82, 81, 81, 0.8); /* grey with 80% opacity */
  opacity: 1; /* keep wrapper fully opaque */
  transition: opacity 0.3s ease;
}


/* MAIN NAV LINKS */
.mainNavLinks {
  margin: 0;
  padding: 0;
  /*overflow: hidden;*/
	
}

.mainNavLinks li {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  transform: translateY(730px); 
  transition: all 500ms ease;
  opacity: 0;

}

/* ANIMATE NAV LINKS FADE IN/UP */
.mainNavLinks li.fadeInUp {
  transform: translateY(0);
  animation: fadeInUp ease .5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* ANIMATE NAV LINKS FADE OUT/DOWN */
.mainNavLinks li.fadeOutDown {
  animation: fadeOutDown ease .5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* MAIN NAV LINKS */
.mainNavLinks li a {
  display: block;
  text-decoration: none;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: normal;    
  font-size: 50px;
  font-family: 'cf_dots_521regular','Gotham', 'Helvetica Neue', 'sans-serif';
  text-transform: lowercase;
  letter-spacing: -4px;
  transition: all .45s ease;
  font-weight: normal;
	  
}

.mainNavLinks li a:hover {
  content: '';
  transition: .6s;
  color: #feb595;
  opacity: 1;
}

.nav_symbol { 
  color: #ffffff; 
  font-family: 'edit_undo_dot_brkregular', sans-serif; 
  font-size: 33px; 
  text-transform: uppercase; 
	letter-spacing: -10px;
	vertical-align: middle;
}

#mainNavLinks_active a {
  color: #feb595;
}

.mainNavLinksOffCanvas {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%)
}
.mainNavLinks .social-nav-item { display: none; }
/* ANIMATE OVERLAY WRAPPER FADE IN */
.overlayWrapper.fadeInOverlay {
  animation: fadeInOverlay ease 500ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  z-index: 109;
}

/* ANIMATE OVERLAY WRAPPER FADE OUT */
.overlayWrapper.fadeOutOverlay {
  animation: fadeOutOverlay ease 200ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
	
}

/* KEYFRAME ANIMATIONS */
@keyframes fadeInUp {
  from { 
    transform: translateY(730px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

@keyframes fadeOutDown {
  from { 
    transform: translateY(0); 
    opacity: 1; 
  }
  to { 
    transform: translateY(730px); 
    opacity: 0; 
  }
}

@keyframes fadeInOverlay {
  from { background-color: rgba(82, 81, 81, 0); }
  to   { background-color: rgba(82, 81, 81, 0.8); }
}

@keyframes fadeOutOverlay {
  from { background-color: rgba(82, 81, 81, 0.8); }
  to   { background-color: rgba(82, 81, 81, 0); }
}

/* COPYRIGHT */
.copyRight {
color: #ffffff;
	font-size: 7px;
	font-family: 'neue_haas_grotesk_display45Lt', 'Gotham', 'Helvetica Neue', 'sans-serif';;
	text-transform: lowercase;
	letter-spacing: 2.5px;
position: fixed;
bottom: 30px;
transform: translateY(100px);
transition: all 1s ease;
	opacity:.8;
}

.copyRight.copyRightSlideUp {
transform: translateY(0);
}



.textAnimate {
	transform: translateY(120px);
}



.showHide {
	display: none;
}
.clear {
	clear: both;
}

/* Work Grid */
/* Removed grid, way over kill */
		/* ---------- REEL WRAPPER ---------- */
.reelVideoWrapper {
    padding-top: 120px;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    width: 100%;
    
    /* Start hidden and below for dramatic entrance */
    opacity: 0;
    transform: translateY(320px);
    transition: transform 720ms cubic-bezier(.22,.9,.36,1), opacity 720ms ease;
}

/* Wrapper slides up on page load / when active */
.reelVideoWrapper.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- REEL ROWS ---------- */
.reelRow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
}

/* ---------- CONTAINERS: fade in individually ---------- */
.reelVideoContainer {
    position: relative;
    aspect-ratio: 5/3;
    background: #ddd;
    overflow: hidden;
    margin-bottom: 0;

    /* fade in + slight lift for subtle drama */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 420ms ease, transform 420ms ease;
}

/* Containers fade in staggered when row becomes active */
.reelRow.fadeInVideo .reelVideoContainer:nth-child(1) {
    transition-delay: 0.05s;
    opacity: 1;
    transform: translateY(0);
}
.reelRow.fadeInVideo .reelVideoContainer:nth-child(2) {
    transition-delay: 0.18s;
    opacity: 1;
    transform: translateY(0);
}
.reelRow.fadeInVideo .reelVideoContainer:nth-child(3) {
    transition-delay: 0.32s;
    opacity: 1;
    transform: translateY(0);
}


/* VIDEO / IMAGE */
.reelVideoContainer video,
.reelVideoContainer img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.reelVideoContainer video {
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}




.content .content-overlay {
  background: #525151;
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
	border: .5px #27464a solid;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
	z-index: 999;
}


.content:hover .content-overlay{
  opacity: .8;
	
}

.content-image{
  width: 100%;
}

/* Initial state: slightly below center */
.content-details {
  position: absolute;
  text-align: center;
  padding: 0 1em;
  width: 100%;
  top: 58%; /* start slightly lower */
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* springy */
  z-index: 9999;
}

.content:hover .content-details {
  top: 50%;  /* slide up slightly */
  opacity: 1;
}
.fadeIn-bottom{
  top: 80%;
}


/* ---------- REEL VIDEO WRAPPER ---------- */


/* ---------- REEL TEXT ---------- */
.reel-brand { color: #fff; font-family: 'cf_dots_521regular', 'Gotham', sans-serif; font-size: 36px; letter-spacing: -2px; text-transform: uppercase; line-height: 46px; }
.reel-spot { color: #feb595; font-family: 'neue_haas_grotesk_display65Md', sans-serif; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; line-height: 28px}
.reel-dots { color: #feb595; font-family: 'neue_haas_grotesk_display45Lt', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; line-height: 14px; }
.reel-director { line-height: 32px; color: #fff; font-family: 'neue_haas_grotesk_display35Th', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }

	


.campaignlink {
  flex: 1; /* Take remaining space */
  display: flex;
  align-items: center; /* Vertically center the link */
  justify-content: center; /* Horizontally center the link */
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1.5s forwards; /* 1s duration, 1s delay, stay visible */
}
.campaignlink_middle {
  flex: 1; /* Take remaining space */
  display: flex;
  align-items: center; /* Vertically center the link */
  justify-content: center; /* Horizontally center the link */
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1.5s forwards; /* 1s duration, 1s delay, stay visible */
	padding-top:30px;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.campaignlink a {
  color: #000000;
  text-decoration: none;
	 border-bottom: 2px dotted #d67a51;
	padding-bottom:6px;
  font-weight: normal;    
  font-size: 33px;
  font-family: 'cf_dots_521regular','Gotham', 'Helvetica Neue', 'sans-serif';
  text-transform: lowercase;
  letter-spacing: -4px;
  transition: all .45s ease;
  display: block;
}
.campaignlink_middle a {
  color: #000000;
  text-decoration: none;
	 border-bottom: 2px dotted #d67a51;
	padding-bottom:6px;
  font-weight: normal;    
  font-size: 33px;
  font-family: 'cf_dots_521regular','Gotham', 'Helvetica Neue', 'sans-serif';
  text-transform: lowercase;
  letter-spacing: -4px;
  transition: all .45s ease;
  display: block;
}

.fadeInVideo {
	opacity: 1;
	transform: translateY(0);
}

.slideUp_thumb1 {
	animation-name: slideUp_thumb1;
	-webkit-animation-name: slideUp_thumb1;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	animation-timing-function: cubic-bezier(.24,.51,.37,1.05);	
	-webkit-animation-timing-function: cubic-bezier(.24,.51,.37,1.05);
	visibility: visible !important;		
	
}
.cross {  
	font-size: 108%;
	vertical-align: middle;
	
	display: inline-block;
	margin-left:1.25em;
	margin-right:1.25em;
	font-weight: normal;
font-family:'monotonregular', san-serif;
	color:#b3650e;
	padding-bottom: 5px;
}
.cross2 {  
	font-size: 95%;
	vertical-align: middle;
	
	display: inline-block;
	margin-left:.5em;
	margin-right:.5em;
	font-weight: normal;
	font-family:'monotonregular', san-serif;
	color: #b3650e;
}
.cross2 a {  
	font-weight: normal;
	font-family:'monotonregular', san-serif;
	color: #b3650e;
		vertical-align: middle;
}

/*REEL*/
.slider{ 
	position: absolute; 
	top: 2000px; 
}
.activer{ 
	position: absolute; 
	top: 0px; 
	transition-duration: 1s; 
	transition-timing-function: cubic-bezier(.24,.51,.37,1.08);
}
.blur { animation: blur 250ms; }

@keyframes blur {
  0% { -webkit-filter: blur(0px); }
  50% { -webkit-filter: blur(5px); }
  100% { -webkit-filter: blur(0px); }
}
 
 
.thumb-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	float: left;	
	border-bottom:solid 3em #d48246;
	height: auto;
	font-size: 0;
}
.imageContainer {
	border:solid 3em #d48246;
	width: 50%;
	margin:0%;
	text-align:center;
}



.thumb-overlay {
	position: absolute;
	opacity: 1;
	width: 100%;
	height: 100%;
	transition: all 0.25s ease;
	left: 0px;
	top: 0px;
}
.thumb-container:hover .thumb-overlay {
	background-color:rgba(0,0,0,0);
}

.faded { 
	display: none; 
}

html, body, #cj-thumb-container {
	min-height: 795px;
}

#cj-fade-bg.cj-fade-bg {
	opacity: 0;
	visibility: hidden;	
}
a img {
	border: 0;	
}

#cj-thumb-container iframe {
	display: flex;	
	top: 50%;	
	visibility: hidden;
	opacity: 0;	
}

.archivetype  {
	padding-bottom:4px;
}
.archivetype a {
	text-align:center;
	font-family:  one_dayregular;
	color:#d8b093;
	font-size: 1.6em;
	line-height: 14px;
	text-transform: uppercase;
	letter-spacing: .35em;
	font-weight:1000;
	display:inline-block;
	padding-bottom:4px;
}
.archivetype:hover a {
	color:#fff;
}


/*BIO_CONTACT*/ 
.header2 {
	position:fixed;
	left: 0;
	top:0px;
	width:100%;
	height:80px;
	background-color: #001720;
	opacity:.92;
	overflow-y: auto;	
	-webkit-transition: all .3s; /* Safari and Chrome */
	-moz-transition: all .35s; /* Firefox */
	-ms-transition: all .35s; /* IE 9 */
	-o-transition: all .35s; /* Opera */
	transition: all .35s;
	z-index:999;
}

#border_middle_left,
#border_middle_right,
#border_middle_bottom {
  display: block;
  opacity: 0; /* still controlled by animation */
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
	.element {
  padding-top:160px;
		
        
}
	#contactpic {

width: 402px;
height: 450px;
		margin-top:12px;
		margin-right:35px;
	float: left;
		z-index: 100000000000000000000000000;
		border: 1.5px dotted #ff4f00;
		border-radius: 10px;
}
#contactpic-wrapper {
  position: relative; /* container for absolute positioning */
}
 #bio  {
	
     padding-bottom:26px;
	 margin-left: 30px;
	     
   
}
@keyframes slideInFromLeft {
  from { transform: translate(-1500px, 0px); }
  to { transform: translate(0px, 0px); }
}

.slide-in-pic {
  animation: slideInFromLeft .8s cubic-bezier(.19,.17,.35,1.09);

}
	.fade-in-bio {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.3s;
}

.fade-in-contact {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.5s;
}
 .biotype  {
	 
    font-family: 'neue_haas_grotesk_display45Lt';
     font-weight: 100;
       color:#000000;
	 position: relative;
	letter-spacing:.009em;
    text-align:justify;

  font-size: 0.8125rem;  /* 13px ÷ 16px = 0.8125rem */
  line-height: 1.3;  /* unitless is better for line-height */
	
}
 .biotype2  {
	 
    font-family: 'neue_haas_grotesk_display65Md';
     font-size: 1.4em;
      font-weight: 900; 
	 position: relative;
	letter-spacing:.009em;
    text-align:justify;
color:#000000;
}

 .contactinfo {
	 
    font-family: 'neue_haas_grotesk_disp55roman';
     font-size: .8em;
       color:#000000;;
	 position: relative;
	letter-spacing:.009em;
    text-align:justify;
	 	

}

/* ---------- BORDER LINES ---------- */
.border-line {
    position: fixed;
    z-index: 100; /* Under header (header is 150) */
}

/* Top line (hidden under header) */
.border-line-top {
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 0;
    border-top: 1px dotted #feb595;
    animation: expandHorizontal 1s ease forwards;
    animation-delay: 1.4s;
}

/* Bottom line */
.border-line-bottom {
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 0;
    border-bottom: 1px dotted #feb595;
    animation: expandHorizontal 1s ease forwards;
    animation-delay: 1.4s;
}

/* Left line */
.border-line-left {
    left: 65px;
    top: 88px;  /* Changed from 50% */
    width: 1px;
    height: 0;
    border-left: 1px dotted #feb595;
    animation: expandVerticalFromTop 1s ease forwards;
    animation-delay: 1.4s;
	  z-index: 160;  /* Add this - higher than header's 150 */
}

/* Right line */
.border-line-right {
    right: 65px;
    top: 88px;  /* Changed from 50% */
    width: 1px;
    height: 0;
    border-right: 1px dotted #feb595;
    animation: expandVerticalFromTop 1s ease forwards;
    animation-delay: 1.4s;
	  z-index: 160;  /* Add this - higher than header's 150 */
}

/* New animation for vertical lines starting from top */
@keyframes expandVerticalFromTop {
    from { height: 0; }
    to { height: calc(100% - 153px); }  /* 80px top + 65px bottom = 145px */
}

@keyframes expandHorizontal {
    from { width: 0; }
    to { width: calc(100% - 130px); }
}


#border_middle_bottom.slide-in {
  transform: translateY(0);
  opacity: 1;
}
#agent {
  padding-left: 0rem;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Two equal columns */
  gap: 2rem;
  max-width: 40rem;
	 text-align: left;  /* Add this */
}

#agent p:first-child {
  grid-column: 1 / -1;  /* CONTACT title spans both columns */
}

#agent p:nth-child(2) {
  grid-column: 1;  /* The Gersh Agency - left column */
}

#agent p:nth-child(3) {
  grid-column: 1;  /* Commercials/Marie Perry - left column */
}

#agent p:nth-child(4) {
  grid-column: 2;
  grid-row: 2;  /* Film/Television - right column, same row as Gersh */
}

#agent p:nth-child(5) {
  grid-column: 2;  /* Contact Andy - right column */
}

#agent p {
  margin: 0;
}
.contact_title{
    	font-weight: 900;
    font-family: 'neue_haas_grotesk_display65Md';
     font-size: 1.3em;
    text-transform: uppercase;
	color:#000000;
	letter-spacing:.009em;
    text-align: left;
     border-top: dotted 1.5px #feb595;
    padding-top:20px;
	
}

.contactdiv
{
   padding-top:160px;
	letter-spacing:.1em;
    text-align: left;
color:#ffffff;
	margin-top:80px;
	position: relative;
	left: 50%;
	width: 55%;
	height:100%;
	margin-left: -27%; /*set to a negative number 1/2 of your width*/
	z-index: 0;
	float: left;
}	

.contactdiv a:link 
 { 
 color: #ac4416; 
 text-decoration: none; 
	 font-family: 'neue_haas_grotesk_disp55roman';
} 	
	
.contactdiv a:visited 
 { 
 color: #ac4416; 
 text-decoration: none; 
} 	
.contactdiv a:hover 
 { 
 color: #ff8f5d; 
 text-decoration: none; 	
}

	
		/* ---------- MOBILE MEDIA QUERY ---------- */

@media (max-width: 600px) {
  /* ---------- HEADER ---------- */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    opacity: .9;
  }
 /* Hide border lines on mobile */
.border-line-top,
.border-line-bottom,
.border-line-left,
.border-line-right {
  display: none !important;
}
  /* Force social nav item to show */
  .mainNavLinks .social-nav-item {
    display: flex !important;
    list-style: none;
    justify-content: center;
    gap: 1.1rem;
    margin-top: .4rem;
    padding-top: .5rem;
  
  }

  .mainNavLinks .social-nav-item a {
    font-size: .7rem !important;
    display: inline-block;
  }
  
  .mainNavLinks .social-nav-item img {
    width: 1.7rem;
    height: 1.7rem;
    opacity: .8;
    transition: opacity 0.3s;
  }

  /* Hide desktop social icons */
  .socialMedia_still {
    display: none;
  }
  
  /* Site title */
  .siteTitle {
    font-size: 1.92rem;
    margin: 0;
    opacity: 1;
    top: 20px;
    left: 20px;
    animation: none;
    letter-spacing: -0.18rem;
    position: fixed;
  }
  
  .siteTitle a {
    display: block;
  }
  
  .siteTitle_dp {
    font-size: 1.9rem;
  }
  
  /* Bento icon */
  .bentoIcon_still {
    position: fixed;
    margin: 0;
    opacity: 1;
    animation: none;
    right: 20px;
    top: 24px;
  }
  
  .bento_box_wrapper {
    scale: .9;
  }
  
  /* ---------- OVERLAY MENU ---------- */

  
  .overlayWrapper::before,
  .overlayWrapper::after {
    background-color: rgba(86, 86, 86, 0.9) !important;
  }
 .overlayWrapper {
	 
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically centers content */
  align-items: center;     /* Horizontally center if needed */
  height: 100vh;           /* Take up full viewport height */
      /* Account for fixed header height if necessary */
  box-sizing: border-box;
	  background-color: rgba(86, 86, 86, 0.9) !important;
}

/* Remove top margins from nav links to ensure proper centering */
.mainNavLinks {
  font-size: 2rem !important;
  margin: 0;
  padding: 0;
}

  
  .mainNavLinks li {
    margin: 1rem 0 !important;
    line-height: 1.2;
  }
  
  .mainNavLinks li a {
    font-size: 1.8rem !important;
    letter-spacing: -0.08rem;
  }
  
  .mainNavLinks .social-nav-item img:hover {
    opacity: 1;
  }
  
  .mainNavLinksOffCanvas {
    order: 1;
  }
  
  .copyRight {
    order: 3;
    margin-top: auto;
  }
  
  /* ---------- REEL GRID ---------- */
  .reelRow { 
    grid-template-columns: 1fr; 
  }
  
  /* Reel wrapper slide-up */
  .reelVideoWrapper {
    opacity: 0.3;
    transform: translateY(800px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    top: -48px;
  }

  .reelVideoWrapper.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Content overlay */
  .content .content-overlay,
  .reelVideoContainer::before {
    background: rgba(0, 0, 0, 0.45) !important;
    opacity: 1 !important;
    pointer-events: none;
  }
  
  /* Content details */
  .content-details {
    opacity: 0;
    top: 100%;             
    left: 50%;
    width: 120% !important;
    transform: translate(-50%, -50%) scale(0.65);
    font-size: 0.5em;
    text-align: center;
    white-space: normal;
    overflow: visible;
  }
  .campaignlink a {   
  font-size: 28px;

}
	.campaignlink {   
  padding-top: 20px;

}
  .content-details.slideUpMobile {
    animation: detailsSlideUpMobile .7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }
  
  .reel-brand {
    display: block;
    width: 100%;
    white-space: normal;
  }
  
  .reel-director { 
    line-height: 0px;
    margin-top: -25px;
  }
  
  .reel-dots { 
    margin-top: -20px;
  }

  /* Disable hover */
  .reelVideoContainer:hover .overlayContent {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Stagger delays */
  .reelVideoContainer:nth-child(1) .content-details.slideUpMobile { animation-delay: 0.1s; }
  .reelVideoContainer:nth-child(2) .content-details.slideUpMobile { animation-delay: 0.2s; }
  .reelVideoContainer:nth-child(3) .content-details.slideUpMobile { animation-delay: 0.3s; }

  /* ---------- CONTACT/BIO PAGE ---------- */
  /* Replace image on mobile */
  #contactpic {
    content: url('https://andylilien.com/images/bio/andy_mobile.jpg');
    width: 100%;
    height: auto;
    margin: 0;
    float: none;
	  border-radius: 7px;
  }
  
  .contactdiv {
    width: 90%;
    left: 50%;
    margin-left: -45%;
    padding-top: 6rem;
    margin-top: 0;
    float: none;
  }
  
  #contactpic-wrapper {
    float: none;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto .5rem;
    display: block;
    opacity: 0;
    transform: translateY(-300px);
      animation: fadeInUpContact 0.8s ease forwards;  /* Changed from fadeInUp */
  animation-delay: 0.3s;
}
  }
  
  /* Bio fades in after photo */
  #bio {
    margin-left: 0;
    padding: 0 1rem 1.5rem;
    opacity: 0;
    animation: slideInMobile 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.8s;
  }
  
  /* Contact info fades in last */
  #agent {
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    max-width: 100%;
    opacity: 0;
    animation: slideInMobile 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1.1s;
	  text-decoration: none;
  }
  
  #agent p:first-child {
    grid-column: 1 / -1;
  }
  
  #agent p:nth-child(2) {
    grid-column: 1;
  }
  
  #agent p:nth-child(3) {
    grid-column: 1;
  }
  
  #agent p:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  
  #agent p:nth-child(5) {
    grid-column: 2;
  }
  
  #agent p {
    margin: 0;
  }
@media (max-width: 600px) {
  #border_middle_left,
  #border_middle_right,
  #border_middle_bottom {
    display: none !important;
  }
}
  
  /* Typography adjustments */
  .biotype {
    font-size: 0.76rem;
    line-height: 1.5;
  }
  
  .biotype2 {
    font-size: 1.3em;
    margin-bottom: 0.5rem;
  }
  
  .contactinfo {
    font-size: 0.85rem;
	   text-decoration: none;
  }
  
  .contact_title {
    font-size: 1.1em;
    padding-top: 1rem;
    margin-bottom: 1rem;
  }

@keyframes detailsSlideUpMobile {
  from {
    opacity: 0;
    top: 80%;
    transform: translate(-50%, -50%) scale(0.65);
  }
  to {
    opacity: 1;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.65);
  }
}

@keyframes slideInMobile {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpContact {
  from {
    opacity: 0;
    transform: translateY(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*MOVIE*/
.footer_slide_up {				
	position:fixed;
	width: 100vw;
	display: flex; 
	justify-content: center;
	
	bottom: 30px;
	
  

}


 
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}
.brand_movie {
	color: #fd9c70;
font-family:'cf_dots_521regular', san-serif;
	letter-spacing:2px;
	 
	
} 
.title2_movie {	
	font-size: 15px;  
	color: #000000;
font-family:'cf_dots_521regular', san-serif;
	letter-spacing:2px;
	animation: fadeInAnimation ease 3s;
	text-align:center;
	text-transform:lowercase; 
	opacity:1;
	font-weight: normal;	
} 

.btn-previous-project, .btn-next-project, .player-close {
	position: absolute;
	overflow: hidden;				
	outline: medium none;
}

.player-close:hover {
	/* transform */
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.085);
	-ms-transform: scale(1.085);
	-o-transform: scale(1.085);
	transform: scale(1.085);
	opacity:0;
}
.btn-next-project:hover {
	-webkit-transform: translateX(-15px);
	-moz-transform: translateX(-15px);
	-ms-transform: translateX(-15px);
	-o-transform: translateX(-15px);
	transform: translateX(-15px);
	-webkit-transition: opacity 0.25s linear, -webkit-transform 0.3s ease-out;
	-moz-transition: opacity 0.25s linear, -moz-transform 0.3s ease-out;
	transition: opacity 0.25s linear, transform 0.3s ease-out; 
}

.btn-previous-project:hover {
	-webkit-transform: translateX(15px);
	-moz-transform: translateX(15px);
	-ms-transform: translateX(15px);
	-o-transform: translateX(15px);
	transform: translateX(215px);
	-webkit-transition: opacity 0.25s linear, -webkit-transform 0.3s ease-out;
	-moz-transition: opacity 0.25s linear, -moz-transform 0.3s ease-out;
	transition: opacity 0.25s linear, transform 0.3s ease-out; 
}

a.btn-previous-project, a.btn-next-project {
	color: #ffffff;
	text-align: center;
	font-family: 'videocon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 2.3rem;
}
a.player-close {
	color: #37978f;
	text-align: center;
	
	width:100%;
	font-family: 'nunitolight';
	speak: none;
	font-style: normal;
	font-weight: lighter;
	font-variant: normal;
	text-transform: none;
	line-height: 0;
	font-size: 2rem;
	opacity:0;
}
.player-close {
	top: 0px;
	padding-left: 32px;
	opacity:0;
}
.media-player .controller {
	opacity: 1;	
}
.media-player .vjs-control-bar {
	opacity: 0;	
}
div.media-player {
	background-color: transparent;
	top:80px;
	bottom: 70px;
	left: 11px;
	right: 11px;
}

.media-player:hover .vjs-control-bar, .media-player:hover .controller {
	opacity: 1;
}	

.controller {
	position: absolute;
	top: 0;
	left: 0;
	height: 50%;
	width: 100%;
	z-index: 1;
	background:transparent;
}
.media-container {
	width: 100%;
	height: 100%;
	text-align: center;
}

div.vjs-default-skin .vjs-play-control {
	width: 60px;
}

#movie {
	display: inline-block;
	max-height: 100%;
	max-width: 78%;
	height: 100%;
	position: relative;
	padding-top: 100px;
}
#movieElement {
	display: inline;
	max-width: 100%;
	max-height: 100%;
}
#movieElement::before {
	content: " ";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
#movieElement_html5_api {
	max-width: 100%;
	max-height: 100%;
	background-color: f9d2a9;
	vertical-align: middle;
}
#movie a.btn {
	position: absolute;
	z-index: 1;
	background-color: transparent;
	transition: all .2s;
	color: #ffffff;
	text-align: center;
	font-family: 'oxaniummedium';
	speak: none;
	font-style: normal;
	font-weight: lighter;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 30px;
	
}
#movie a.btn-previous-project, #movie a.btn-next-project {
	top: 50%;
	font-stretch: ultra-condensed;
	
}
#movie a.btn-previous-project {
	left: -5.5vw;
}
#movie a.btn-previous-project:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}
#movie a.btn-next-project {
	right: -5.5vw;
}
#movie a.btn-next-project:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
	
}
#movie a.btn-player-close {
position:absolute;
	right:-5vw;
	top:-2.5vh;
	
	color: #23dee5;
	  content: "";
 margin-bottom:10px; 
	width:4vw;
	height:4vh;
	background-image: url('https://andylilien.com/images/player/close.png');
	
	background-size: contain;
background-repeat: no-repeat;

	margin-left: 20px;
	opacity:1;
	padding-top: 5px;
	
}
#movie a.btn-player-close img {
  width: 100%;
  height: auto;

}
@media (max-width: 768px) {
  #movie a.btn-player-close {
    width: 10vw; /* Increased from 4vw */
    height: 10vw; /* Use vw for both to maintain aspect ratio */
    right: -8vw; /* Adjust position if needed */
    top: -5vw; /* Adjust position if needed */
  }
}cam
#movie a.btn-player-close:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	opacity:1;
	
}
btn {
color: #37978f;
	}

/* non-hover, or hover but inactive */
 
#movie .vjs-control-bar, #movie.inactive:hover .vjs-control-bar,
/* initializing state */
#movie.initializing a.btn, #movie.initializing.inactive:hover a.btn,
#movie.initializing .vjs-control-bar, #movie.initializing .inactive:hover .vjs-control-bar {
opacity: 0 !important;
display: block !important;
-webkit-transition: all .5s;
-moz-transition: all .5s;
-ms-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
}

#movie:hover .vjs-control-bar, #movie.initialLoad .vjs-control-bar,
#movie:hover a.btn, #movie.initialLoad a.btn {
	opacity: 1 !important;
}
#movie a.btn {
opacity: 1 !important;
display: block !important;
-webkit-transition: all .5s;
-moz-transition: all .5s;
-ms-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
}

#controls-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: -8%;
}

.aspect-ratio-container {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	max-height: 100%;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	/*overflow: hidden;*/
	-webkit-user-select: none; /* Chrome/Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */
	-o-user-select: none;
	user-select: none;
}

.aspect-ratio-sizer {
	padding-top: 48.25%; /* 16:9 */
	width: 100%;
}

@keyframes fadeInRight {
	0% {
		opacity: 0;
		top: 20%;
	}
	100% {
		opacity: 1;
		top: 0;
	}
}
