/* Landing page v2 (desktop-first). Built from Figma export notes. */

:root {
  --c-black: #000;
  --c-white: #fff;
  --c-gray: #7e7e7e;
  --c-yellow: #f8ab12;
  --c-cream: #fff2d2;
  --c-blue: #2f6bff;
  --c-pink: #d3396f;
  --max-w: 1440px;
  --pad-x: 96px;
  --radius-lg: 28px;
  --shadow-soft: 2px 2px 12px rgba(0, 0, 0, 0.14);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Satoshi", "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--c-white);
  color: var(--c-black);
  font-family: var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

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

.lp {
  width: 100%;
}

.lp__wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* NAV */
.lp-nav {
  padding: 40px var(--pad-x);
}

.lp-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lp-nav__name {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}

.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lp-nav__links a {
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  color: var(--c-gray);
}

.lp-nav__links a[aria-current="page"],
.lp-nav__links a.is-active {
  font-weight: 700;
  color: var(--c-yellow);
}

/* HERO */
.lp-hero {
  position: relative;
  height: 750px;
  padding: 0 var(--pad-x);
}

.lp-hero__inner {
  position: relative;
  height: 100%;
}

.lp-hero__headline {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 709px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 129px;
  line-height: 120px;
  letter-spacing: -0.01em;
}

.lp-hero__deco {
  position: absolute;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.lp-hero__star--spin {
  pointer-events: auto;
  cursor: default;
}

.lp-hero__deco--pop,
.lp-hero__deco--wiggle {
  pointer-events: auto;
  cursor: default;
}

.lp-hero__cup {
  width: 173px;
  height: 182px;
  left: 580px;
  top: 70px;
}

.lp-hero__cup img {
  transform: rotate(14deg);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.lp-hero__cup:hover img {
  transform: rotate(14deg) translateY(-14px) scale(1.1);
}

.lp-hero__cursor {
  width: 154px;
  height: 84px;
  left: 545px;
  top: 261px;
}

.lp-hero__cursor img {
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.lp-hero__cursor:hover img {
  animation: lp-cursor-nudge 0.7s ease-in-out;
  transform: translateY(-10px) scale(1.06);
}

@keyframes lp-cursor-nudge {
  0%,
  100% {
    transform: translate(0, -10px) scale(1.06);
  }
  25% {
    transform: translate(10px, -14px) scale(1.06);
  }
  50% {
    transform: translate(4px, -8px) scale(1.06);
  }
  75% {
    transform: translate(12px, -12px) scale(1.06);
  }
}

.lp-hero__star {
  width: 68px;
  height: 68px;
  left: -43px;
  top: 166px;
}

.lp-hero__star--spin img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
}

.lp-hero__star--spin:hover img {
  transform: rotate(180deg);
}

.lp-hero__file {
  width: 99px;
  height: 112px;
  left: 645px;
  top: 523px;
}

.lp-hero__file img {
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1);
  transform-origin: center center;
}

.lp-hero__file:hover img {
  transform: translateY(-14px) scale(1.1);
}

.lp-hero__deco img,
.lp-hero__deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lp-hero__line {
  display: block;
}

/* BIG IMAGE FRAME */
.lp-frame {
  padding: 80px var(--pad-x);
}

.lp-frame__img {
  width: 100%;
  height: 777px;
  border-radius: var(--radius-lg);
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-frame__placeholder {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--c-gray);
}

/* SELECTED WORK */
.lp-work {
  padding: 80px var(--pad-x);
}

.lp-work__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 60px;
}

.lp-work__title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 54px;
}

.lp-star {
  width: 50px;
  height: 50px;
  display: inline-block;
}

.lp-work__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lp-work__row {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  align-items: start;
}

.lp-work__row--wide-left {
  grid-template-columns: 1fr 500px;
}

.lp-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.lp-card:hover {
  transform: translateY(-10px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .lp-card {
    transition: none;
  }

  .lp-card:hover {
    transform: none;
  }
}

.lp-card__thumb {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s ease;
}

.lp-card:hover .lp-card__thumb {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.lp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-card__meta strong {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
}

.lp-card__meta span {
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: var(--c-gray);
}

.lp-coming {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BRAND LOGO BAR */
.lp-brands {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--c-cream);
  padding: 80px 0;
}

.lp-brands__marquee {
  overflow: hidden;
}

.lp-brands__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: lp-marquee 22s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .lp-brands__track {
    animation: none;
  }
}

.lp-brands__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-brand {
  flex: 0 0 auto;
  width: 280px;
  height: 120px;
  display: grid;
  place-items: center;
}

.lp-brand img {
  max-width: 240px;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}

/* WORDS FROM TEAMS */
.lp-words {
  padding: 80px var(--pad-x);
}

.lp-words__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 60px;
}

.lp-words__title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 54px;
}

.lp-testimonials {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.lp-testimonials__marquee {
  display: flex;
  overflow: hidden;
  padding: 30px 0;
}
.lp-testimonials__track {
  display: flex;
  gap: 40px;
  padding-left: 40px;
  animation: scrollTestimonials 20s linear infinite;
}
.lp-testimonials__track:hover {
  animation-play-state: paused;
}
@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lp-testimonial {
  flex: 0 0 auto;
  width: 435px;
  height: 306px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1),
    box-shadow 0.4s ease;
}

.lp-testimonial:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.lp-testimonial img {
  width: 435px;
  height: 306px;
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .lp-testimonial {
    transition: none;
  }

  .lp-testimonial:hover {
    transform: none;
  }

  .lp-hero__star--spin img {
    transition: none;
  }

  .lp-hero__star--spin:hover img {
    transform: none;
  }

  .lp-hero__cup:hover img,
  .lp-hero__file:hover img {
    transform: none;
  }

  .lp-hero__cursor:hover img {
    animation: none;
    transform: none;
  }
}

/* FOOTER */
.lp-footer {
  position: relative;
  border-top: 2px solid #f0f0f0;
  border-radius: 28px 28px 0 0;
  padding: 60px 0 0;
  margin-top: 24px;
}

.lp-footer__to-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--c-yellow);
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-footer__to-top:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 4px 12px rgba(248, 171, 18, 0.45);
}

.lp-footer__to-top-chevron {
  display: block;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--c-white);
  border-left: 3px solid var(--c-white);
  transform: rotate(45deg) translate(2px, 2px);
}

.lp-footer__top {
  padding: 0 var(--pad-x) 40px;
  display: flex;
  justify-content: center;
}

.lp-footer__cta {
  width: min(1039px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.lp-footer__cta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.lp-footer__love-link {
  justify-self: start;
}

.lp-footer__love {
  white-space: nowrap;
}

.lp-footer__love-accent {
  color: var(--c-blue);
}

.lp-footer__gif {
  width: 193px;
  height: 192px;
  justify-self: center;
  transform: rotate(-10deg);
}

.lp-footer__gif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lp-footer__about-link {
  justify-self: end;
}

.lp-footer__about {
  white-space: nowrap;
}

.lp-footer__about-accent {
  color: var(--c-pink);
}

.lp-footer__bottom {
  background: var(--c-cream);
  padding: 20px var(--pad-x);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.lp-footer__bottom-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--c-gray);
  font-size: 16px;
  line-height: 19px;
}

.lp-footer__made {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.lp-footer__heart {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-footer__heart svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: var(--c-yellow);
}



/* ── PROJECT PAGES: OTHER PROJECTS + FOOTER ── */

/* Other Projects section */
.pr-op {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 60px 0 0;
  border-top: 1px solid #11112D;
}
.pr-op__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}
.pr-op__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 764px;
  align-self: flex-start;
}
.pr-op__eyebrow {
  color: #797979;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.15em;
  margin: 0;
}
.pr-op__title {
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  margin: 0;
  max-width: 353px;
}
.pr-op__desc {
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.02em;
  margin: 0;
}
.pr-op__cards {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  justify-content: center;
  width: 1050px;
}
.pr-op__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14.12px;
  width: 500px;
  height: 350.44px;
  background: #FFF;
  border: 1px solid #D5D3D3;
  border-radius: 19.77px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.35, 0.64, 1),
              box-shadow 0.25s ease;
  flex-shrink: 0;
}
.pr-op__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.pr-op__card-img {
  width: 500px;
  height: 282.49px;
  border-radius: 19.774px 19.774px 0 0;
  overflow: hidden;
  background: #f9f9f9;
  flex-shrink: 0;
  position: relative;
}
.pr-op__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pr-op__card-text {
  display: flex;
  flex-direction: column;
  gap: 2.82px;
  padding: 0 20px 15px;
}
.pr-op__card-h {
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16.95px;
  line-height: 21px;
  margin: 0;
}
.pr-op__card-p {
  color: #7E7E7E;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12.71px;
  line-height: 15px;
  margin: 0;
}

/* Footer */
.pr-footer {
  width: 100%;
  margin-top: 60px;
}
.pr-footer__top {
  display: flex;
  justify-content: center;
  padding: 60px 0 40px;
  background: #FFF;
  border-top: 2px solid #F0F0F0;
  border-radius: 28px 28px 0 0;
}
.pr-footer__links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 1248px;
}
.pr-footer__link {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 60px;
  letter-spacing: -0.04em;
  color: #DDDDDD;
  text-decoration: none;
  transition: color 0.25s;
}
.pr-footer__link--active,
.pr-footer__link:hover {
  color: #F8AB12;
}
.pr-footer__dot {
  width: 19px;
  height: 19px;
  background: #509EE6;
  border-radius: 1000px;
  flex-shrink: 0;
}
.pr-footer__bot {
  background: #FFF2D2;
  padding: 20px 96px;
  display: flex;
  justify-content: center;
}
.pr-footer__bot-lr {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 1248px;
}
.pr-footer__bot-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #7E7E7E;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Overlay Nav specifically for project pages */
.lp-nav--project {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 40px var(--pad-x);
  border-bottom: none;
}

.lp-nav--project .lp-nav__name,
.lp-nav--project .lp-nav__links a {
  color: #fff;
}

.lp-nav--project .lp-nav__links a[aria-current="page"],
.lp-nav--project .lp-nav__links a.is-active {
  color: var(--c-yellow);
}


/* Animated Footer Underline */
.lp-footer__love,
.lp-footer__about {
  position: relative;
  display: inline-block;
}


.lp-footer__love-accent,
.lp-footer__about-accent {
  position: relative;
  display: inline-block;
}
.lp-footer__love-accent {
  color: #509EE6;
}

.lp-footer__love-accent::after,
.lp-footer__about-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.lp-footer__love-accent::after {
  background-color: #509EE6;
}
.lp-footer__love-link:hover .lp-footer__love-accent {
  color: #509EE6;
}
.lp-footer__about-accent::after {
  background-color: var(--c-pink);
}

.lp-footer__love-link:hover .lp-footer__love-accent::after,
.lp-footer__about-link:hover .lp-footer__about-accent::after {
  transform: scaleX(1);
}

/* WIP Tooltip */
.lp-nav__item-wip {
  position: relative;
  display: flex;
  align-items: center;
}
.wip-tooltip {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 12px;
  gap: 12px;
  position: absolute;
  height: max-content;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-out;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
}
.lp-nav__item-wip:hover .wip-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.wip-tooltip__icon {
  position: relative;
  width: 35px;
  height: 32px;
}
.wip-turtle {
  position: absolute !important;
  font-size: 20px !important;
  left: 6px !important;
  top: 0 !important;
  line-height: 1 !important;
  color: initial !important;
}
.wip-bar {
  position: absolute;
  width: 35px;
  height: 8px;
  left: 0;
  top: 24px;
  background: #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
}
.wip-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: #34A853;
  animation: wipLoading 1.5s infinite ease-in-out;
}
@keyframes wipLoading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
.wip-tooltip__text {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  color: #34A853 !important;
  white-space: nowrap !important;
  letter-spacing: normal !important;
}

.wip-turtle-img { width: 43px; height: 39px; object-fit: contain; }


body {
  cursor: url('../images/cursor/you-cursor.svg'), auto;
}

.pr-op__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 4px;
}
.pr-op__tag {
  background: #000;
  color: #FFF;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}
.pr-op__tag--cyan {
  background: #7acbd0;
}
.pr-op__card-h--big {
  font-size: 24px;
  margin-top: 2px;
}

/* Intro Overlay */
.intro-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-chat-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.intro-bubble {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 30px;
  background: #0E0584;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 25px 25px 25px 0px;
  
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.intro-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.bubble-1 {
  width: 278px;
  height: 47px;
}

.bubble-2 {
  width: 341px;
  height: 47px;
}

.typewriter-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  font-weight: 400;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .intro-bubble {
    font-size: 16px;
    width: auto;
    min-width: 250px;
    padding: 10px 20px;
    height: auto;
  }
}
