.teaser-main-text .teaser-secondary-text {
    font-family: 'Space Grotesk';
}

/* Base styles */
body {
    background-color: #ffffff;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
}

/* Component styles */
.text-mask-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: white;
}

.text-mask-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mask-text {
    font-family: 'Space Grotesk', serif;
    font-weight: 900;
    text-align: center;
    position: absolute;
    opacity: 0;
    font-size: clamp(4rem, 15vw, 18rem);
    line-height: 1;
    letter-spacing: -0.05em;
    color: black;
}

.glass-card {
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.7);
}

.editorial-line {
    height: 1px;
    width: 8rem;
    background-color: #8B3028;
}

.horizontal-section {
    overflow-x: hidden;
}

.horizontal-panel {
    height: 100vh;
    width: 100vw;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    background-color: white;
}

@media (min-width: 768px) {
    .horizontal-panel {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.teaser-img-wrap {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.perspective-1000 {
    perspective: 1000px;
}

/* Teaser Styles */
.teaser-text-outline {
    -webkit-text-stroke: 1px rgba(139, 48, 40, 0.2);
    color: transparent;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url('https://grainy.com/images/noise.png');
    background-repeat: repeat;
}

/* Custom Cursor */
.custom-cursor {
    width: 12px;
    height: 12px;
    background: #8B3028;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid #8B3028;
    border-radius: 50%;
    position: fixed;
    top: -14px;
    left: -14px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(120deg, rgba(139, 48, 40, 0) 40%, rgba(248, 189, 99, 0.8) 50%, rgba(139, 48, 40, 0) 60%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

/* Magnetic Target */
.magnetic-area {
    display: inline-block;
    padding: 20px;
}

.section-reveal {
    opacity: 0;
    transform: translateY(30px);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #ffffff; }
::-webkit-scrollbar-thumb { background: #8B3028; }

/* Team section mobile card hover */
@media (max-width: 768px) {
    #team-section .section-reveal {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #team-section .section-reveal:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    }
}

/* Join Us section animations */
#join-us .section-reveal {
    opacity: 0;
    transform: translateY(30px);
}

#join-us .font-display span {
    background: linear-gradient(120deg, #8B3028 40%, #f8bd63 50%, #8B3028 60%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 4s infinite linear;
}

/* Horizontal scroll container for desktop */
@media (min-width: 768px) {
    #horizontal-team {
        display: flex !important;
        flex-wrap: nowrap !important;
        height: 100vh;
        width: max-content !important;
    }
    
    #horizontal-team .horizontal-panel {
        width: 100vw !important;
        flex-shrink: 0 !important;
    }
}
}
$circle-w: 100px;
$circle-bg: #fff;
$arrow-bg:#55544F;
$body-bg: #9DDCDC;
$bezier: cubic-bezier(0.770, 0.000, 0.175, 1.000);
$bezier-bounce: cubic-bezier(.87,-.41,.19,1.44);
$anim-timing: 3s;

html,
body {
  height: 100%;
  width: 100%;
  text-align: center;
}
body {background-color: $body-bg;}

.ico {
  margin: 0 auto;
  text-align: center;
  width: $circle-w;
  height: $circle-w;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  filter: url("#goo");
  .circle {
    background: $circle-bg;
    border-radius: 50%;
    display: inline-block;
    height: $circle-w;
    width: $circle-w;
    
    position: absolute;
    top: 50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    transform-origin: 0%;
    
    &.circle-top {
      height: $circle-w / 3;
      width: $circle-w / 2.4;
      animation: blob-1-anim $anim-timing $bezier infinite;
      z-index: 0;
      top:0;
    }
    &.circle-bottom {
      height: $circle-w / 3;
      width: $circle-w / 2.4;
      animation: blob-2-anim $anim-timing $bezier  infinite;
      z-index: 9;
      bottom:0px;
    }
    
  }
  
  
  .st-arrow{
    fill:$arrow-bg;
    animation: scrolly $anim-timing $bezier forwards infinite;
    perspective: 9000px;
    transform: translateZ(0);
    transform-origin: bottom;
  }
}

.svg {z-index:9;position:relative;}
  
@keyframes blob-1-anim {
  0%{
    transform:translateX(-50%) translateY(0);
  }
  14%{
    transform:translateX(-50%) translateY(-8px);
  }
  24% {
    transform:translateX(-50%) translateY(0);
  }
  100% {
    transform:translateX(-50%) translateY(0);
  }
}

@keyframes blob-2-anim {
  0% {
    //transform: scale(1) translate(-50%,-150%);
    transform: scale(1) translate(-50%,10px);
  }
  30% {
    //transform: scale(1) translate(-50%,-50%);
    transform: scale(1) translate(-50%,10px);
  }
  70% {
    //transform: scale(1) translate(-50%,-50%);
    transform: scale(1) translate(-50%,10px);
    
  }
  95% {
    //transform: scale(1) translate(-50%,-50%);
    transform: scale(1) translate(-50%,26px);
    
    
  }
  100% {
    //transform: scaleX(1.5) translate(-50%,140%);
    transform: scale(1) translate(-50%,10px);
  }
}

@keyframes scrolly {
  0% {
    transform: translate3d(0,-150%,0) rotateX(90deg) scale(0.5) skewX(3deg);
  }
  30% {
    transform: translate3d(0,0,0) rotateX(0deg) scale(1) skewX(0deg);
  }
  70% {
    transform: translate3d(0,0,0) rotateX(0deg) scale(1) skewX(0deg);
  }
  95% {
    transform: translate3d(0,50%,0) rotateX(-90deg) scale(0.5) skewX(-3deg);
  }
  100% {
    transform: translate3d(0,50%,0) rotateX(-90deg) scale(0.5) skewX(-3deg);
  }
}
