@font-face {
    font-family: 'Arkhip';
    src: url('./fonts/Arkhip.woff2') format('woff2'),
        url('./fonts/Arkhip.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brown';
    src: url('./fonts/Brown-Light.woff2') format('woff2'),
        url('./fonts/Brown-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brown';
    src: url('./fonts/Brown-Regular.woff2') format('woff2'),
        url('./fonts/Brown-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
  --page-padding: 60px;
  --text-color: #3C3C3B;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-size: 62.5%;
}

body {
  font-family: 'Brown';
  font-size: 2.4rem;
  line-height: 3.2rem;
  color: var(--text-color);
  background: url("./img/bg-iridescent.jpg") top center / cover no-repeat;
  overflow-x: hidden;
}

/* =========================
   ANIMATION 
========================= */
.reveal-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.reveal-words .word .word-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.reveal-lines .line {
  display: block;
  overflow: hidden;
}

.reveal-lines .line .line-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__top {
  position: absolute;
  top: var(--page-padding);
  left: var(--page-padding);
  right: var(--page-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  z-index: 3;
}

.hero__logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
}

.hero__logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
}

.hero__menu {
  grid-column: 3;
  justify-self: end;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: 'Arkhip';
  font-size: 2rem;
  color: var(--text-color);
  cursor: pointer;
}

.hero__3d {
  position: absolute;
  inset: 0;
  z-index: 5;
   display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero__3d canvas {
  width: min(620px, 80vw) !important;
  height: min(620px, 80vw) !important;
  display: block;
}

.hero__marquee {
  position: relative;
  z-index: 2;
  width: 100vw;
  overflow: hidden;
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}

.hero__marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__marquee-item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  flex-shrink: 0;
}

.hero__marquee-item img {
  display: block;
  height: auto;
}

.hero__marquee-item img:first-child,
.hero__marquee-item img:last-child {
  width: auto;
  height: 48px;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  :root {
    --page-padding: 30px;
  }

  .hero__logo img {
    width: 140px;
  }

  .hero__marquee-item {
    gap: 20px;
    padding-right: 50px;
  }

  .hero__marquee-item img:first-child,
  .hero__marquee-item img:last-child {
    height: 30px;
  }
}

/* =========================
   SECTIONS
========================= */

.centered {
  text-align: center;
}

.small-heading {
  font-family: 'Brown';
  font-weight: 300;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 7.8rem;
}

.work .small-heading {
  margin-bottom: 4.8rem;
}

.big-heading {
  font-family: 'Arkhip';
  font-size: 26rem;
  line-height: 30rem;
  text-transform: uppercase;
  margin: 0;
}

.about {
  position: relative;
  z-index: 2;
  padding: 31rem 6rem 34.2rem;
}

.about p {
  font-family: 'Arkhip';
  font-size: 4.8rem;
  line-height: 6.4rem;
  text-transform: uppercase;
  max-width: 132rem;
  margin: auto;
}

.stars {
  margin: 19rem 0;
  display: flex;
  justify-content: center;
  gap: 2.2rem;
}

.stars img {
  width: 4rem;
  height: auto;
}

.floating-block {
  position: relative;
}

.floating-curve {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.floating-curve-svg {
  position: absolute;
  top: 54rem;
  /* left: 50%; */
  width:100%;
  height: auto;
  padding: 6rem;
  /* transform: translateX(-50%); */
  overflow: visible;
}

.floating-curve-text {
  fill: #3c3c3b;
  font-family: 'Brown';
  font-size: 6rem;
  font-weight: 300;
  text-transform: uppercase;
}

.services {
  position: relative;
  z-index: 2;
  padding: 22rem 4rem 34.2rem;
}

.services .small-heading {
  text-align: center;
  margin-bottom: 70px;
}

.accordion {
  max-width: 118rem;
  margin: 0 auto;
  border-top: 2px solid var(--text-color);
}

.accordion-item {
  overflow: hidden;
  border-bottom: 2px solid var(--text-color);
}

.accordion-trigger {
  width: 100%;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  transform: translateY(40px);
  opacity: 0;
  will-change: transform, opacity;
}

.accordion-left {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.accordion-icon {
  width: 6rem;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.accordion-title {
  font-size: 2.4rem;
  line-height: 3.2rem;
  text-transform: uppercase;

   background: linear-gradient(
    120deg,
    #111 0%,
    #111 40%,
    #aaa 48%,
    #fff 50%,
    #aaa 52%,
    #111 60%,
    #111 100%
  );
  background-size: 230% 100%;
  background-position: 100% 0;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: background-position 1.4s ease;
}

.accordion-trigger:hover .accordion-title {
  background-position: 0% 0;
}

.accordion-panel {
  height: 0;
  overflow: hidden;
}

.accordion-panel-inner {
  padding: 0 0 2.4rem 8.6rem;
  max-width: 100rem;
}

.accordion-text {
  margin: 0;
}

.accordion-text .line {
  display: block;
  overflow: hidden;
}

.accordion-text .line .line-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
}

@media (max-width: 900px) {
  .services {
    padding: 120px 24px;
  }

  .accordion-trigger {
    padding: 22px 0;
    align-items: flex-start;
  }

  .accordion-left {
    gap: 14px;
  }

  .accordion-icon {
    width: 22px;
    height: 22px;
  }

  .accordion-panel-inner {
    padding: 0 0 24px 36px;
  }
}

.carousel-section {
  padding-bottom: 20rem;
  overflow: hidden;
}

.carousel-section .small-heading {
  text-align: center;
  margin-bottom: 8rem;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider__track {
  display: flex;
  align-items: center;
  gap: 30px;
  will-change: transform;
  transform: translateZ(0);
}

.slider__item {
  flex: 0 0 auto;
  width: 52vw;
  max-width: 72rem;
  min-width: 42rem;
  transform: scale(0.82);
  opacity: 0.7;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.slider__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.slider__item.is-active {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 900px) {
  .slider__item {
    width: 72vw;
    min-width: 0;
  }
}

.work {
  padding: 20rem 6rem;
}

.work__frame {
  position: relative;
  width: 100%;
  min-height: 70rem;
  border-radius: 8rem;
  overflow: hidden;
  background: url("./img/work-bg.png") center / contain no-repeat;
}

.work__content {
  position: relative;
  z-index: 3;
  padding: 10rem;
  color: #fff;
}

.work__content p {
  max-width: 97.8rem;
  margin: auto;
}

/* .border-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;


  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.2),
    rgba(180,220,255,0.6),
    rgba(255,200,220,0.6),
    rgba(255,240,180,0.5),
    rgba(180,220,255,0.6),
    rgba(255,255,255,0.2)
  );


  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  padding: 6px;

  animation: rotateBorder 6s linear infinite;

  filter: blur(1.5px) saturate(120%);
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}  */

.client p {
  font-family: 'Arkhip';
  font-size: 3.4rem;
  line-height: 4.8rem;
  text-transform: uppercase;
  max-width: 118.6rem;
  margin: auto;
}

.footer {
  color: #fff;
  background: url("./img/footer-bg.png") top center / cover no-repeat;
}

.footer__wrapper {
  padding: 66rem 10.6rem 0;
}

.footer h2 {
  font-family: 'Arkhip';
  font-size: 8rem;
  line-height: 8rem;
  text-transform: uppercase;
  margin: auto;
}

.footer__wrapper-col {
  display: flex;
  gap: 14.6rem;
  margin-top: 7.2rem;
  padding-bottom: 16rem;
}

.footer__col {
  max-width: 48rem;
}

.footer__col h3 {
  font-size: 2.4rem;
  line-height: 3.2rem;
  font-weight: normal;
  text-transform: uppercase;
}

.footer__col p {
  font-weight: 300;
}

.footer__email a {
  display: flex;
  justify-content: space-between;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 2.4rem 0;
}

.bottom-footer {
  position: relative;
  max-width: 50rem;
  margin-left: auto;
  padding: 0 10.6rem 6.4rem;
}

.legals {
  margin-top: 3.2rem;
}

.bottom-footer a {
  color: #fff;
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 300;
  text-decoration: none;
}

.footer__3d {
  position: relative;
  width: 12rem;
  height: 12rem;
  flex: 0 0 12rem;
  margin: auto;
  pointer-events: none;
}

.footer__3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.footer__email a:hover img{
	-webkit-animation: slide-right .8s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
	        animation: slide-right .8s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
}

@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
  }
  100% {
      -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes slide-right {
  0% {
  -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}