/* ---------- Fonts ---------- */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/fonts/PPNeueMontreal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/fonts/PPNeueMontreal-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/fonts/PPNeueMontreal-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }

body {
  background: #f5f5f5;
  padding: 8px;
  font-family: "PP Neue Montreal", sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* ---------- Appear animations (matches Framer's appear effects) ---------- */
.appear {
  opacity: 0.001;
  animation: appear var(--dur, 0.75s) var(--ease, cubic-bezier(0.44, 0, 0.56, 1)) forwards;
}
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .appear { opacity: 1; animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- Navigation ---------- */
.nav {
  background: #fff;
  border-radius: 12px;
  height: 51px;
  padding: 16px 24px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 18px;
}
.nav-link {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}
.nav-link:hover { opacity: 0.6; }

/* ---------- Main card ---------- */
.card {
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 24px;
}

/* ---------- Header ---------- */
.header {
  height: 208px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 48px;
}
.header video {
  width: 320px;
  height: 160px;
  object-fit: cover;
}

/* ---------- Hero ---------- */
.hero { padding-top: 32px; }

.intro {
  max-width: 417px;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: #0d0d0d;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-dark {
  background: #000;
  color: #fff;
  border-radius: 56px;
  padding: 0 16px;
}
.btn-chat {
  background: #ebebeb;
  color: #000;
  border-radius: 100px;
  padding: 0 16px 0 8px;
  gap: 8px;
}
.btn-chat img { width: 24px; height: 24px; }

/* ---------- Ticker ---------- */
.ticker { margin-top: 56px; }

.ticker-divider {
  width: 400px;
  max-width: 100%;
  height: 1px;
  margin: 0 auto;
  background: #ebebeb;
}
.ticker-label {
  margin-top: 24px;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #999;
}
.marquee {
  width: 440px;
  max-width: 100%;
  height: 56px;
  margin: 15px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track img {
  width: 88px;
  height: 56px;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Work ---------- */
.work {
  margin-top: 87px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.block {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.media {
  position: relative;
  aspect-ratio: 1200 / 700;
  max-height: 800px;
  border: 1px solid #00000012;
  border-radius: 12px;
  overflow: hidden;
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-contain img { object-fit: contain; }

/* Centered video block (Asula motion piece) */
.media-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.media-centered video {
  width: 48%;
  height: auto;
  aspect-ratio: 576 / 400;
  object-fit: cover;
}

/* Split blocks: two media side by side */
.block-split {
  display: flex;
  gap: 16px;
}
.block-split .media {
  flex: 1;
  aspect-ratio: 592 / 672;
}

/* Eye chip (visit-site link overlay) */
.chip {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #767676;
  transition: transform 0.2s ease;
}
.chip:hover { transform: scale(1.1); }

/* Captions */
.caption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  font-weight: 400;
}
.caption-sub { margin-top: 4px; }
.caption a { color: #767676; transition: color 0.2s ease; }
.caption a:hover { color: #000; }

/* ---------- Footer ---------- */
.footer { padding-top: 0; }

.back-to-top {
  height: 112px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  transition: opacity 0.2s ease;
}
.back-to-top:hover { opacity: 0.6; }

.byline {
  font-size: 14px;
  line-height: 120%;
  text-align: center;
}
.byline a { color: #767676; transition: color 0.2s ease; }
.byline a:hover { color: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 809.98px) {
  .intro {
    font-size: 20px;
    max-width: 380px;
    padding: 0 16px;
  }
  .header { height: 160px; padding-top: 24px; }
  .header video { width: 256px; height: 128px; }
  .work { margin-top: 64px; padding: 0 8px; gap: 32px; }
  .block-split { gap: 8px; }
  .caption { padding: 0 16px; }
  .chip { top: 4px; right: 4px; }
}
