/* Talai official — crisp, light, no cursor hijack */
:root {
  --bg: #07040e;
  --ink: #fff5fa;
  --mute: rgba(255, 245, 250, 0.68);
  --faint: rgba(255, 245, 250, 0.4);
  --rose: #ff3d8a;
  --rose-soft: #ff8fbf;
  --blush: #ffd0e4;
  --line: rgba(255, 143, 191, 0.22);
  --shell: min(1200px, calc(100% - clamp(1.25rem, 4vw, 2.75rem)));
  --sans: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
  --serif: "Instrument Serif", "Noto Sans SC", serif;
  --cn: "Noto Sans SC", "Bricolage Grotesque", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--cn);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 85% 12%, rgba(255, 61, 138, 0.16), transparent 55%),
    radial-gradient(700px 420px at 10% 30%, rgba(120, 40, 160, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.tl-shell {
  width: var(--shell);
  margin-inline: auto;
}

.tl-header,
main,
.tl-footer { position: relative; z-index: 2; }

/* Header */
.tl-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(7, 4, 14, 0.92);
  border-bottom: 1px solid var(--line);
}

.tl-header.is-scrolled {
  background: rgba(7, 4, 14, 0.96);
}

.tl-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.tl-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tl-logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.tl-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tl-nav a {
  font-size: 0.92rem;
  color: var(--mute);
}

.tl-nav a:hover { color: var(--ink); }

.tl-nav__cta {
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  color: #1a0610 !important;
  background: linear-gradient(110deg, var(--rose), var(--blush));
  font-weight: 700;
}

.tl-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 7px;
  flex-direction: column;
}

.tl-menu-btn i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

/* Hero */
.tl-hero {
  --hero-gap: 5rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: calc(68px + var(--hero-gap)) 0 var(--hero-gap);
  overflow: hidden;
}

.tl-hero__bleed {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tl-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 78% 42%, rgba(255, 61, 138, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(7, 4, 14, 0.2), transparent 30%, rgba(7, 4, 14, 0.55));
}

.tl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.tl-hero__copy {
  max-width: none;
}

.tl-hero__domain {
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 143, 191, 0.28);
  background: rgba(255, 61, 138, 0.1);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--rose-soft);
}

.tl-hero__domain i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 8px var(--rose);
}

.tl-hero__brand {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(5.5rem, 14vw, 10.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  background: linear-gradient(185deg, #fff 8%, var(--blush) 45%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tl-hero__tagline {
  margin: 0.85rem 0 1rem;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tl-hero__lead {
  margin: 0 0 1.75rem;
  color: var(--mute);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  letter-spacing: 0.03em;
}

.tl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  color: #16040c;
  background: linear-gradient(115deg, #ff2f7a, #ff7eb6 50%, #ffe0ef);
  box-shadow: 0 12px 36px rgba(255, 61, 138, 0.35);
  transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.tl-btn:hover {
  box-shadow: 0 16px 42px rgba(255, 61, 138, 0.45);
  opacity: 0.96;
}

.tl-btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.tl-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  opacity: 1;
}

.tl-btn--xl {
  min-height: 58px;
  padding-inline: 2rem;
  font-size: 1.05rem;
}

/* Hero stage — circular orb with 4 floating shots */
.tl-hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.tl-orb {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 120, 180, 0.18), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(120, 40, 160, 0.2), transparent 45%),
    #0a0512;
  border: 1px solid rgba(255, 160, 210, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 61, 138, 0.12) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(255, 61, 138, 0.15);
}

.tl-orb__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 138, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: tl-orb-pulse 5s ease-in-out infinite;
}

.tl-orb__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 160, 210, 0.28);
  pointer-events: none;
  z-index: 1;
  animation: tl-orb-spin 28s linear infinite;
}

.tl-orb__spin {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 61, 138, 0.35) 40deg,
    transparent 90deg,
    transparent 180deg,
    rgba(255, 180, 220, 0.25) 220deg,
    transparent 280deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: tl-orb-spin 12s linear infinite;
  opacity: 0.85;
}

.tl-orb__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 200, 230, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
  background: #000;
  z-index: 3;
  width: 30%;
  aspect-ratio: 9 / 14;
}

.tl-orb__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* four equal accents around the circle */
.tl-orb__shot--1 {
  left: 50%;
  top: 11%;
  transform: translateX(-50%) rotate(-4deg);
  animation: tl-float-a 5.6s ease-in-out infinite;
}

.tl-orb__shot--2 {
  left: 9%;
  top: 38%;
  transform: rotate(-12deg);
  animation: tl-float-b 6s ease-in-out infinite;
}

.tl-orb__shot--3 {
  right: 9%;
  top: 36%;
  transform: rotate(11deg);
  animation: tl-float-c 5.8s 0.2s ease-in-out infinite;
}

.tl-orb__shot--4 {
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%) rotate(3deg);
  animation: tl-float-d 6.3s 0.35s ease-in-out infinite;
}

.tl-orb__spark {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 6;
  background: var(--rose-soft);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  filter: drop-shadow(0 0 6px var(--rose));
  pointer-events: none;
}

.tl-orb__spark--a {
  top: 46%;
  left: 46%;
  animation: tl-spark-twinkle 2.6s ease-in-out infinite;
}

.tl-orb__spark--b {
  top: 52%;
  right: 42%;
  width: 9px;
  height: 9px;
  animation: tl-spark-twinkle 3.2s 0.6s ease-in-out infinite;
}

@keyframes tl-orb-spin {
  to { transform: rotate(360deg); }
}

@keyframes tl-orb-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes tl-float-a {
  0%, 100% { transform: translateX(-50%) rotate(-4deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-3deg) translateY(-7px); }
}

@keyframes tl-float-b {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-8px); }
}

@keyframes tl-float-c {
  0%, 100% { transform: rotate(11deg) translateY(0); }
  50% { transform: rotate(9deg) translateY(-8px); }
}

@keyframes tl-float-d {
  0%, 100% { transform: translateX(-50%) rotate(3deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(2deg) translateY(-6px); }
}

@keyframes tl-spark-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.5; transform: scale(1.3) rotate(20deg); }
}

/* Tag bar — static */
.tl-marquee {
  border-block: 1px solid var(--line);
  padding: 1rem 1.25rem;
  background: rgba(255, 61, 138, 0.04);
}

.tl-marquee__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.75rem;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.tl-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
}

.tl-marquee__track span:not(:last-child)::after {
  content: "✦";
  color: var(--rose);
  opacity: 0.65;
}

/* Worlds */
.tl-world {
  padding: clamp(4rem, 8vw, 6.5rem) 0 1rem;
}

.tl-world__head {
  text-align: center;
  margin-bottom: 2rem;
}

.tl-world__head .tl-display {
  margin-inline: auto;
}

.tl-eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-soft);
}

.tl-display {
  margin: 0 0 2rem;
  max-width: 14em;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tl-world__head .tl-display {
  margin-bottom: 0;
}

.tl-display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--blush), var(--rose-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tl-runway {
  overflow-x: auto;
  padding: 0.75rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 143, 191, 0.35) transparent;
}

.tl-runway__track {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  width: max-content;
  min-width: 100%;
  padding-inline: max(1.25rem, calc((100% - 1200px) / 2));
  margin-inline: auto;
  box-sizing: border-box;
}

.tl-shot {
  margin: 0;
  flex: 0 0 auto;
  width: min(38vw, 240px);
  scroll-snap-align: center;
}

.tl-shot.is-hero {
  width: min(42vw, 270px);
}

.tl-shot__frame {
  aspect-ratio: 9 / 18.5;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0c;
  border: 1px solid rgba(255, 180, 220, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.tl-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tl-runway__hint {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}

/* Manifesto */
.tl-manifesto {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  text-align: center;
}

.tl-manifesto__line {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--mute);
}

.tl-manifesto__line--accent {
  margin-top: 0.35em;
  background: linear-gradient(100deg, #fff 20%, var(--blush) 55%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tl-manifesto__line[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.tl-manifesto__line.is-in {
  opacity: 1;
  transform: none;
}

.tl-manifesto__line--accent[data-reveal] { transition-delay: 0.1s; }

/* Craft — text only */
.tl-craft {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.tl-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.tl-feat {
  padding: 1.6rem 1.4rem 1.7rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.tl-feat__n {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--rose);
}

.tl-feat h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.tl-feat p {
  margin: 0;
  color: var(--mute);
  line-height: 1.75;
  font-size: 0.98rem;
}

.tl-craft__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.tl-download__mark {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(185deg, #fff, var(--blush) 55%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Download */
.tl-download {
  position: relative;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  text-align: center;
}

.tl-download__glow {
  position: absolute;
  inset: 25% 20%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 61, 138, 0.18), transparent 65%);
  pointer-events: none;
}

.tl-download__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.2rem, 5vw, 3.5rem) 1.5rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 143, 191, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 61, 138, 0.08), transparent 50%),
    rgba(14, 8, 20, 0.95);
}

.tl-download h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 900;
}

.tl-download p {
  margin: 0 0 1.75rem;
  color: var(--mute);
}

.tl-download strong { color: var(--rose-soft); }

/* Comments */
.tl-voices {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.tl-comments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.tl-comment {
  padding: 1.45rem 1.25rem 1.55rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.tl-comment:nth-child(2n) { border-right: 0; }

.tl-comment header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.tl-comment__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(255, 61, 138, 0.4), rgba(80, 20, 100, 0.5));
}

.tl-comment strong { display: block; }
.tl-comment time { display: block; font-size: 0.8rem; color: var(--faint); }
.tl-comment p { margin: 0; color: var(--mute); line-height: 1.75; }

/* Footer */
.tl-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 1.75rem;
  background: #04020a;
}

.tl-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.tl-footer__top > div > p {
  margin: 0.7rem 0 0;
  color: var(--mute);
}

.tl-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--mute);
  align-items: center;
}

.tl-footer__meta p { margin: 0; }
.tl-footer__meta a:hover { color: var(--rose-soft); }

.tl-footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint);
  font-size: 0.88rem;
}

.tl-footer__base p { margin: 0; }

[data-reveal-block] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal-block].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .tl-hero__grid {
    grid-template-columns: 1fr;
  }

  .tl-hero__phones,
  .tl-hero__stage {
    display: none;
  }

  .tl-feats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tl-menu-btn { display: grid; }

  .tl-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1rem;
    background: rgba(7, 4, 14, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .tl-nav.is-open { display: flex; }

  .tl-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tl-nav__cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  .tl-header.is-open .tl-menu-btn i:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .tl-header.is-open .tl-menu-btn i:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .tl-hero {
    --hero-gap: 5rem;
    padding-top: calc(68px + var(--hero-gap));
    padding-bottom: var(--hero-gap);
  }

  .tl-hero__brand {
    font-size: clamp(4.6rem, 22vw, 7rem);
  }

  .tl-hero__tagline {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem);
  }

  .tl-shot,
  .tl-shot.is-hero {
    width: min(66vw, 240px);
  }

  .tl-runway__track {
    justify-content: flex-start;
  }

  .tl-comments { grid-template-columns: 1fr; }
  .tl-comment { border-right: 0; }

  .tl-footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tl-orb__ring,
  .tl-orb__spin,
  .tl-orb__glow,
  .tl-orb__shot,
  .tl-orb__spark {
    animation: none !important;
  }
  .tl-manifesto__line[data-reveal],
  [data-reveal-block] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
