/* ============ WEIRD ATMA — styles ============ */
:root {
  --bg: #060608;
  --bg-soft: #0d0d13;
  --surface: #12121a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2f8;
  --text-dim: #a49fb3;
  --accent: #a855f7;
  --accent-strong: #8b2fe0;
  --accent-glow: rgba(168, 85, 247, 0.35);
  --whatsapp: #22c55e;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2), box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 0 0 rgba(0,0,0,0), 0 8px 30px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px var(--accent-glow); }
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn--whatsapp {
  background: var(--whatsapp);
  color: #04140a;
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(34,197,94,0.35); }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--pad);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
/* Note: no backdrop-filter here — it would become the containing block for the
   fixed-position mobile menu and squash it into the nav bar. */
.nav.is-scrolled {
  background: rgba(6, 6, 8, 0.95);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.nav__logo { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.nav__logo-a { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-size: 0.95rem; }
.nav__links a:not(.btn) { color: var(--text-dim); transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 108%, rgba(139, 47, 224, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 35% at 82% -8%, rgba(168, 85, 247, 0.14), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 62rem; }
.hero__kicker {
  font-family: var(--font-head);
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 9.2vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__title > span { display: block; }
.hero__title-row { white-space: nowrap; }
.hero__sub {
  max-width: 34rem;
  margin: 1.8rem auto 2.4rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__proof { margin-top: 1.4rem; font-size: 0.85rem; color: var(--text-dim); opacity: 0.85; }
.hero__scrollhint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  width: 1.4rem;
  height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero__scrollhint span {
  position: absolute;
  top: 0.4rem; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(0.9rem); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* The eye replacing the "O" */
.hero-eye-wrap {
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  vertical-align: -0.08em;
  margin: 0 0.02em;
}
.hero-eye { width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.hero-eye__ball { fill: #fff; }
.hero-eye__iris { fill: var(--accent-strong); }
.hero-eye__pupil { fill: #0a0510; }
.hero-eye__glint { fill: #fff; opacity: 0.9; }
.hero-eye__lid { fill: var(--bg-soft); }
.hero-eye__iris-g { transition: transform 80ms linear; }
.hero-eye__lid { animation: blink 6s infinite; }
@keyframes blink {
  0%, 92%, 100% { transform: translateY(0); }
  95%, 97% { transform: translateY(100px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--bg-soft);
}
.marquee__track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  align-items: center;
}
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 3.5rem var(--pad);
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}
.stats__item strong {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: var(--accent);
  display: block;
  line-height: 1.1;
}
.stats__item span { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem var(--pad); max-width: 72rem; margin: 0 auto; }
.section--tight { padding-top: 3rem; }
.section__head { margin-bottom: 3rem; }
.section__kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* ---------- Services ---------- */
.services { display: flex; flex-direction: column; }
.service {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1.9rem 0.5rem;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { background: linear-gradient(90deg, rgba(168,85,247,0.07), transparent 70%); padding-left: 1.2rem; }
.service__num {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 0.95rem;
  min-width: 2.2rem;
}
.service__body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  margin-bottom: 0.35rem;
}
.service__body p { color: var(--text-dim); max-width: 42rem; font-size: 0.98rem; }
.service__arrow {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
.service:hover .service__arrow { opacity: 1; transform: translateX(0); }

/* ---------- Work ---------- */
.work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.work__item { display: block; }
.work__media {
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 80% at 50% 120%, rgba(139,47,224,0.18), transparent),
    var(--surface);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.35s;
}
.work__item:hover .work__media { transform: scale(1.02) translateY(-4px); border-color: var(--accent); }
.work__media img, .work__media video { width: 100%; height: 100%; object-fit: cover; }
.work__meta { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.9rem 0.3rem 0; }
.work__meta h3 { font-family: var(--font-head); font-size: 1.05rem; }
.work__meta p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Films (YouTube showcase) ---------- */
.films {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.films__shorts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.yt {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.35s;
}
.yt:hover { transform: translateY(-4px); border-color: var(--accent); }
.yt--wide { aspect-ratio: 16 / 9; }
.yt--short { aspect-ratio: 9 / 16; }
.yt img, .yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.yt__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 4rem; height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(6, 6, 8, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.6);
  backdrop-filter: blur(4px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.4), background 0.3s;
}
.yt__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 1.1rem solid var(--accent);
  border-top: 0.7rem solid transparent;
  border-bottom: 0.7rem solid transparent;
}
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.12); background: rgba(139, 47, 224, 0.4); }
.yt__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(6, 6, 8, 0.92));
  pointer-events: none;
}
.yt__label strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.25;
}
.yt__label em { color: var(--accent); font-size: 0.78rem; font-family: var(--font-head); letter-spacing: 0.06em; }
.films__more { margin-top: 1.6rem; color: var(--text-dim); font-size: 0.95rem; }
.films__more a { color: var(--accent); }

/* ---------- Process ---------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
.process__step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
}
.process__step:hover { border-color: rgba(168,85,247,0.5); transform: translateY(-4px); }
.process__step strong {
  font-family: var(--font-head);
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.process__step strong::first-letter { color: var(--accent); }
.process__step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.8rem;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -0.6rem; left: 1.2rem;
  font-family: var(--font-head);
  font-size: 3.4rem;
  color: var(--accent);
  line-height: 1;
}
.quote blockquote { color: var(--text); font-size: 1.02rem; margin-top: 0.6rem; }
.quote figcaption { margin-top: 1rem; color: var(--text-dim); font-size: 0.88rem; }
.quote figcaption span { opacity: 0.55; font-size: 0.78rem; }

/* ---------- Big CTA ---------- */
.bigcta {
  text-align: center;
  padding: 6rem var(--pad);
  background:
    radial-gradient(ellipse 55% 65% at 50% 100%, rgba(139,47,224,0.25), transparent 75%);
}
.bigcta__eye {
  width: clamp(110px, 16vw, 190px);
  height: auto;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  filter: drop-shadow(0 0 45px rgba(168, 85, 247, 0.45));
  animation: eyefloat 7s ease-in-out infinite;
}
@keyframes eyefloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}
.bigcta h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.bigcta p { color: var(--text-dim); margin: 1.2rem 0 2.2rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.section--contact { padding-bottom: 6rem; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__note { margin: 1.6rem 0 0.9rem; color: var(--text-dim); }
.contact__mail { margin-top: 1rem; color: var(--text-dim); font-size: 0.92rem; }
.contact__mail a { color: var(--accent); }
.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.contact__form input,
.contact__form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.contact__form .btn { justify-content: center; margin-top: 0.4rem; }
.contact__tiny { text-align: center; color: var(--text-dim); font-size: 0.8rem; opacity: 0.8; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--pad) 2.5rem;
  text-align: center;
  background: var(--bg-soft);
}
.footer__logo { margin: 0 auto 0.9rem; border-radius: 1rem; }
.footer__tag { font-family: var(--font-head); color: var(--text-dim); margin-bottom: 1.6rem; }
.footer__links, .footer__social {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}
.footer__links a, .footer__social a { color: var(--text-dim); transition: color 0.2s; }
.footer__links a:hover, .footer__social a:hover { color: var(--accent); }
.footer__copy { color: var(--text-dim); font-size: 0.8rem; opacity: 0.6; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #04140a;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.4);
}
.wa-float:hover { transform: scale(1.1); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 150%);
  z-index: 120;
  max-width: min(92vw, 26rem);
  background: var(--surface);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.95rem;
  padding: 0.9rem 1.4rem;
  border-radius: 0.8rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(168, 85, 247, 0.18);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1);
  pointer-events: none;
  text-align: center;
}
.toast--show { transform: translate(-50%, 0); }
.toast--error { border-color: rgba(255, 107, 107, 0.6); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 8, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    gap: 2.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__burger {
    display: block;
    position: relative;
    z-index: 110;
    width: 2.2rem;
    height: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav__burger span {
    position: absolute;
    left: 0.3rem; right: 0.3rem;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, top 0.3s;
  }
  .nav__burger span:first-child { top: 0.75rem; }
  .nav__burger span:last-child { top: 1.35rem; }
  .nav__burger.is-open span:first-child { top: 1.05rem; transform: rotate(45deg); }
  .nav__burger.is-open span:last-child { top: 1.05rem; transform: rotate(-45deg); }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .work, .process, .quotes, .contact { grid-template-columns: 1fr; }
  .films { grid-template-columns: 1fr; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .service { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .service__arrow { display: none; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .bigcta__eye { animation: none; }
  .hero-eye__lid { animation: none; transform: translateY(-100px); }
  .hero__scrollhint span { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
