/* ====================== */
/* ====================== */
/* Variables for colors and common styles */
/* Variables for colors and common styles */
/* Variables for colors and common styles */
/* ====================== */
/* ====================== */

:root {
  /* --primary: #e24c38;
  --secondary: #e6887b;
  --accent: #e24c38; */
  --background: #0e0d0d;
  --dark: #1a1818;
  --light: #d1d1d1;
  --text: #ebebeb;
  /* --darkred-gradient: linear-gradient(135deg, #e24c38 10%, #e6887b 90%);
  --darkblue-gradient: linear-gradient(135deg, #4CB4E315 10%, #C48ED815 90%);
  --blurple-gradient: linear-gradient(135deg, #4CB4E3 10%, #C48ED8 90%);
  --black-gradient: linear-gradient(180deg, #0e0d0d 0%, #0e0d0d00 100%);
  --secondary-opacity: rgba(243, 112, 95, 0.5); */
  --dark-blue: #4CB4E315;
  --blue: #4CB4E3;
  --purple: #C48ED8;
  --pink: #FFB3C9;
  --green: #B4B662;
  --yellow: #FFAB44;
  --orange: #E68151;
  --gray: #393939;
}

.blue {
  /* background-color: #243034; */
  background-color: #4CB4E315;
  color: #4CB4E3;
}
.purple {
  /* background-color: #2F2C33; */
  background-color: #C48ED815;
  color: #C48ED8;
}
.pink {
  /* background-color: #2F2C33; */
  background-color: #FFB3C915;
  color: #FFB3C9;
}
.green {
  /* background-color: #2E3028; */
  background-color: #B4B66215;
  color: #B4B662;
}
.yellow {
  /* background-color: #2E3028; */
  background-color: #FFAB4415;
  color: #FFAB44;
}
.orange {
  /* background-color: #332B28; */
  background-color: #E6815115;
  color: #E68151;
}

.bg-dark-custom {
  background-color: var(--background);
}

body {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  color: var(--text);
  background-color: var(--background);
}



html {
  scroll-behavior: smooth;
}

.b-red {
  border: 1px solid red;
}

.b-yellow {
  border: 1px solid yellow;
}

.b-blue {
  border: 1px solid blue;
}



/* Reset default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base body styles */


h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  text-wrap: avoid-short-last-lines;
  text-wrap: pretty;
}

h1 {
  font-size: 8rem;
  font-weight: 800;
}



h2 {
  font-size: 5rem;
  font-weight: 800;
}

h3 {
  font-size: 3rem;
  line-height: 72px;
}

h4 {
  font-size: 2rem;
  line-height: 48px;
}

h5 {
  font-weight: 400;
}

h6 {

}

p {
  text-wrap: pretty;
  text-wrap: balance;
  text-wrap: avoid-short-last-lines;
  line-height: 1.7rem;
}


.instrument {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.xl-text {
  font-size: 6rem;
}

img {
  overflow: hidden;
}

/* .btn-primary:hover,
:not(.btn-check)+.btn:active {
  background-color: var(--primary);
  border: 1px solid var(--blue);
} */

.btn-primary {
  background: #fff;
  color: #222;
}


/*gradient line border animation v2 START*/
@property --angle {
	syntax: '<angle>';
	inherits: true;
	initial-value: 90deg;
}
.gradient-line-btn2 {
	--angle: 0deg;
	padding: 10px;
	background: linear-gradient(white, white) padding-box, conic-gradient(from var(--angle), var(--pink), var(--purple), var(--blue), var(--green), var(--yellow), var(--orange), var(--pink)) border-box;
	border: 2px solid transparent;
	border-radius: 8px;
	width: 100%;
	animation: rotate-gradient 4s infinite linear;
  font-weight: 600;
}
.gradient-line-btn2:hover {
	background: linear-gradient(var(--dark), var(--dark)) padding-box, conic-gradient(from var(--angle), var(--pink), var(--purple), var(--blue), var(--green), var(--yellow), var(--orange), var(--pink)) border-box;
  border: 2px solid transparent;
	animation: rotate-gradient 1s infinite linear;
}
@keyframes rotate-gradient {
	from { --angle: 0deg; }
	to { --angle: 360deg; }
}
/*gradient line border animation v2 END*/

/*gradient line border START v1*/
.gradient-line-btn {
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid transparent;
  background:
    linear-gradient(to right, #fff, #fff) padding-box,
    conic-gradient(
      from var(--angle),
      #fff 0deg,
      var(--orange) 53.3deg,
      var(--purple) 90.46deg,
      var(--blue) 126.24deg,
      #fff 178.82deg,
      #fff 360deg
    ) border-box;
  animation: gradientBorder 4s linear infinite;
}
.gradient-line-btn:hover {
  animation-duration: 3s; 
  color: #fff;
  background:
    linear-gradient(to right, var(--dark), var(--dark)) padding-box,
    conic-gradient(
      from var(--angle),
      var(--dark) 0deg,
      var(--orange) 53.3deg,
      var(--purple) 90.46deg,
      var(--blue) 126.24deg,
      var(--dark) 178.82deg,
      var(--dark) 360deg
    ) border-box;
  border: 2px solid transparent;
}
@keyframes gradientBorder {
  from { --angle: 0turn; }
  to { --angle: 1turn; }
}
@property --angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}
/*gradient line border END v1*/



.btn-primary:hover {
}

.btn-secondary {
}

.btn-secondary:hover {
}

.work-link a {
  color: var(--text);
  text-decoration: none;
  /* font-weight: 400; */
}

.work-link a:hover {
  color: var(--text);
  text-decoration: underline;
}

.link-arrow {
  margin-left: 8px;
  transition: ease-in 0.1s;
  width: 16px;
  opacity:0;
  transform: rotate(45deg)  
}

.work-link a:hover .link-arrow,
button:hover .link-arrow {
  transform: translateX(4px);
  opacity: 1;
  transform: rotate(0deg)
}
.work-link a:hover .link-arrow-down {
  transform: rotate(90deg);
}

.gradient-text {
  --angle: 0deg;

  background: conic-gradient(from var(--angle), var(--pink), var(--purple), var(--blue), var(--green), var(--yellow), var(--orange), var(--pink));
  
  /* These two lines are what clip the gradient to the text shape */
  -webkit-background-clip: text;
  background-clip: text;
  
  /* Makes the actual text color transparent so the background shows through */
  -webkit-text-fill-color: transparent;
  color: transparent;

  animation: rotate-gradient 4s infinite linear;
  font-weight: 600;
}
@keyframes rotate-gradient {
  to {
    --angle: 360deg;
  }
}

.tertiary-link a {
  color: var(--text);
  text-decoration: none;
}

.tertiary-link a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* .tertiary-link img {
  opacity: 50%;
  transition: ease-in 0.1s;
}
.tertiary-link:hover img {
  opacity: 100%;
} */

.h-75vh {
  height: 75vh;
}
.h-50vh {
  height: 50vh;
}



/* ====================== */
/* ====================== */
/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */
/* ====================== */
/* ====================== */

/* Fade in styles that work using js to add the .fade-in class to elements*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s; 
}


.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active  {
  border: none;
  box-shadow: none;
  outline: none;
}



.navbarv2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 10px;
  background-image: var(--black-gradient);
}

.navbarv2 ul {
  border: 1px solid var(--dark);
  border-radius: 20px;
  padding: 10px 30px;
  background: rgba(31, 31, 31, 0.6);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.navbarv2 ul li {
  display: inline-block;
  margin: 0 15px;
  opacity:.55;
  transition: ease-in 0.1s;
}

.navbarv2 ul li:hover {
  opacity:.75;
}

@media (max-width: 575.98px) {
  .navbarv2 ul {
    padding: 10px 15px;
    /* bottom: 10px; */
    top: 80%;
    /* position: fixed;
    margin: 0 auto; */
  }
}


.logo-grid {
  display: grid;
  gap: 50px; 
  grid-template-columns: repeat(5, 1fr);
  justify-items: center; 
  align-items: center; 
}

.logo-item img {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 60px; 
  object-fit: contain;
}

.logo-grid:hover {
  opacity:100%;
}

.nav-text {
  font-size:13px;
  max-width: 50px;
  line-height: 15px;
}

.nav-item {
  list-style-type: none;
}

.eyebrow {
  font-size: 14px;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  font-weight: 300;
  display: inline-block;
}

/*Contact Forms*/

.bg-dark-custom input,
.bg-dark-custom textarea {
  color: #fff;
  /* background-color: var(--dark); */
  background-color: var(--dark);
  border: 1px solid var(--gray);
}

.modal-header {
  border-bottom: 0px;
}

.modal-content {
  border: 1px solid #ffffff20;
}

.modal-backdrop {
  background: rgba(31, 31, 31, 0.2);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  opacity: 1 !important;
}





/*Contact Button in the corner*/
.corner-contact-btn {
  position: fixed;
  bottom: -50px;
  right: 10px;
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}

.corner-contact-btn.scrolled {
  bottom: 10px;
}

.corner-contact-btn img{
  width:0px;
  height:0px;
}

.corner-contact-btn.scrolled img{
  width:75px;
  height:75px;
}



/* ====================== */
/* ====================== */
/* PAGE SPECIFIC STYLES */
/* PAGE SPECIFIC STYLES */
/* PAGE SPECIFIC STYLES */
/* ====================== */
/* ====================== */




/* Tilt Card START*/
/* ─── Tilt Card wrapper ─── */
/*
  transform-style: preserve-3d  → lets the card's children inherit the 3-D space.
  will-change: transform         → hints to the browser to composite this layer
                                   for smoother animation.
*/
#tilt-card {
  position: relative;
  /* width: 340px;
  border-radius: 18px; */
  transform-style: preserve-3d;
  will-change: transform;
  /* The perspective() is applied here so it travels with the element.
     Adjust the px value: lower = more dramatic warp, higher = subtler. */
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);

  /* Smooth snap-back when we want to reset (optional transition override) */
  transition: transform 0.08s linear;

  /* Decorative glow shadow */
  filter: drop-shadow(0 30px 60px rgba(90, 130, 255, 0.25));
  /* cursor: none; */
}

/* ─── Image inside the card ─── */
#tilt-card img {
  width: 100%;
  /* border-radius: 18px; */
  display: block;
  pointer-events: none; /* prevent browser drag interference */
  user-select: none;
}

/* ─── Specular sheen overlay ─── */
/*
  This pseudo-element creates a highlight that moves opposite to the tilt,
  simulating a light source. It is purely cosmetic — remove it if unwanted.
*/
#tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  /* border-radius: 18px; */
  /* background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.0) 60%
  ); */
  pointer-events: none;
  transition: opacity 0.3s;
}



/* Tilt Card END*/

.hero-home-container {
  background-image: url(../assets/img/dotsGrid.svg);
  background-size: auto 100vh;
  background-position: center top;
  background-repeat: no-repeat;
  
}

.hero-home img, .hero-home webp {
  max-height:600px;
}

.featured-work {
  background-color:#ffffff05;
}

/* image zooming on hover */
/* Keep the container the same size and clip the scaled image */
.featured-work {
  overflow: hidden;
  position: relative; /* optional but useful if you add overlays */
}

/* Apply the smooth zoom to images, pictures, and videos inside */
.featured-work img,
.featured-work picture img,
.featured-work video {
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  transform-origin: center center;
  will-change: transform;
}

/* The actual subtle zoom on hover (adjust scale to taste) */
@media (hover: hover) and (pointer: fine) {
  .featured-work:hover img,
  .featured-work:hover picture img,
  .featured-work:hover video {
    transform: scale(1.06); /* 1.04–1.12 range is common; smaller = subtler */
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .featured-work img,
  .featured-work picture img,
  .featured-work video {
    transition: none;
  }
}

.section-label {
  text-transform: uppercase;
  letter-spacing: .25em;
}

.icon-tag {
  padding: 2px 8px;
  border-radius: 10px;
}

.inactive a {
  pointer-events: none;
  cursor: default;
}

.inactive-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  color: var(--text);
  background-color: var(--dark);
  padding: 10px 20px;
  border-radius: 10px;
  display: none;
}

.inactive carousel:hover{
  opacity: 0.5;
}

.featured-work:hover .inactive-text {
  display: block;
}

/* Profile */
.profile-headshot {
  width: 150px;
  border-radius: 50%;
  margin: 20px auto;
  padding: 0px;
}

/*Testimonials*/
.testimonial-section {
  columns: 3 auto;
  column-gap: 1rem; 
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-container {
  break-inside: avoid; 
  margin-bottom: 1rem; 
  border-radius: 30px;
  padding: 40px;
}
.testimonial-container h5 {
  margin-bottom: 20px;
  line-height: 1.8rem;
}
.testimonial-container p {
  font-size: 15px;
  margin-bottom: 0;
  line-height:1.3rem;
}
.testimonials-icon {
  width: 100px;
}


/*Internal project pages*/
.project-desc {
  align-self: flex-start;
  position: sticky;
  top: 70px;
  max-width: 600px;
  
}
.video-container {
  position: relative;
  /* width: 99vw;   */
  height: 75vh;  /* full viewport height */
  overflow: hidden;
  margin: 0 auto;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ensures video fills container without distortion */
  position: absolute;
  top: 0;
  left: 0;
}

.video-container .vid-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 30%; /* scale logo relative to video */
  height: auto;
  pointer-events: none; /* optional, allows clicking through logo */
}

.vid-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
}

.carousel {
  max-width: 2000px;
}

.headshot {
  width: 100px;
  border-radius: 50%;
  margin: 20px auto;
  padding: 0px;
}

/* ====================== */
/* ====================== */
/* RESPONSIVE STYLES START HERE */
/* RESPONSIVE STYLES START HERE */
/* RESPONSIVE STYLES START HERE */
/* ====================== */
/* ====================== */




/* Large devices (lg: <1200px) */
/* Large devices (lg: <1200px) */
@media (max-width: 1199.98px) {

  
}

/* Medium devices (md: <992px) */
/* Medium devices (md: <992px) */
@media (max-width: 991.98px) {
/*Internal project pages*/
    .project-desc {
    align-self: flex-start;
    position: static;
    top: 0;
    margin: 0 auto;
  }
  .video-container .vid-logo {
    max-width: 50%;
  }
  
  .testimonial-section {
    columns: 2 auto;
    column-gap: 0.5rem;
  }

  .testimonial-container {
    padding: 30px;
    margin-bottom: 0.5rem;
  }
}

/* Small devices (sm: <768px) */
/* Small devices (sm: <768px) */
@media (max-width: 767.98px) {
  h3 {
    font-size:2em;
    line-height: 60px;
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
  }
  


  .testimonial-container {
    padding: 20px;
  }




  
}

/* Extra small (xs: <576px): */
/* Extra small (xs: <576px): */
@media (max-width: 575.98px) {
  h1 {
    font-size:5em;
  }
  h3 {
    font-size:1.5em;
    line-height: 40px;
  }
  .nav-text {
    font-size:13px;
    display:none;
  }

  .navbarv2 ul {
    border-radius:10px;
    padding: 8px;
  }  
  .navbarv2 ul li {
    margin: 0 8px;
  }

  .corner-contact-btn {
    bottom: 12px;
  }

  .testimonial-section {
    columns: 1 auto;
    column-gap: 0.5rem;
  }

}





