/* Landing de aterrizaje — analaurasidan.com.ar
   Tokens tomados del sitio publicado (Framer): Manrope, negro/blanco,
   grises #666 #969696 #ccc #e3e3e3 #f0f0f0, acento lima #E3FA62,
   botones píldora (radio 64px), tarjetas blancas de borde redondeado grande. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts.gstatic.com/s/manrope/v20/xn7gYHE41ni1AdIRggexSg.woff2) format("woff2");
}

:root {
  --ink: #000;
  --paper: #fff;
  --grey-1: #666;
  --grey-2: #969696;
  --grey-3: #ccc;
  --grey-4: #e3e3e3;
  --grey-5: #f0f0f0;
  --lime: #e3fa62;
  --mint: #d8f3e3;
  --mint-dot: #1f9d72;
  --studio: #dbcfc5;        /* fondo del retrato (muestra del archivo) */
  --studio-top: #d8cbc1;
  --studio-bottom: #e1d6cd;
  --radius-card: 28px;
  --radius-pill: 64px;
  --content: 1336px;
  --gutter: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Nav (misma estructura que el sitio) ---------- */
.nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 92px;
}
.nav__logo { width: 165px; height: 34px; }
.nav__logo svg { width: 100%; height: 100%; }
.nav__links { display: flex; gap: 40px; justify-self: center; }
.nav__links a {
  font-size: 18px; font-weight: 500; line-height: 1;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--grey-1); }
.nav__cta { justify-self: end; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500; line-height: 1;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--ink:hover { background: #222; transform: translateY(-1px); }
.pill--soft { background: var(--grey-5); color: var(--ink); }
.pill--soft:hover { background: var(--grey-4); transform: translateY(-1px); }
.pill--lg { padding: 18px 26px; font-size: 18px; }
.pill svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 28px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 16px; font-weight: 500; color: var(--grey-1);
}
.hero h1 {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.hero h1 .dim { color: var(--grey-1); display: block; }
.lede {
  margin: 18px auto 0;
  max-width: 62ch;
  font-size: 18px; line-height: 1.5; color: var(--grey-1);
}
.hero__ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px;
}

/* Escena: falso 3D por capas (fondo / retrato / chips) con inclinación según el mouse */
.scene {
  position: relative;
  margin: 36px auto 0;
  max-width: 1180px;
  height: clamp(400px, 40vw, 580px);
  perspective: 1400px;
}
.stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .6s var(--ease);
  will-change: transform;
}
.stage.is-live { transition: none; }
.frame {
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: translateZ(0);
  background: var(--studio);
  /* sombra suave que acompaña la inclinación */
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.25);
}
.layer { position: absolute; inset: 0; will-change: transform; }
.layer--bg {
  inset: -6%;
  background:
    radial-gradient(60% 55% at 50% 28%, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--studio-top) 0%, var(--studio) 45%, var(--studio-bottom) 100%);
  transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px));
}
.layer--subject {
  display: flex; justify-content: center; align-items: flex-end;
  /* Keep the cutout's straight lower edge below the panel during parallax. */
  transform: translate(calc(var(--px, 0) * 12px), calc((var(--py, 0) + 1) * 7px));
}
.layer--subject .portrait__frame {
  height: 86%;
  aspect-ratio: 1200 / 1000;
  margin-bottom: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
  animation: breathe 7s ease-in-out infinite;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 24px 40px rgba(60,40,30,.22));
}
.layer--subject img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: scale(1.01); }
}
.layer--chips { transform: translateZ(70px); pointer-events: none; }
.layer--chips .chip { pointer-events: auto; }

/* Chips flotantes — misma piel que los pills del About */
.chip {
  position: absolute;
  display: block;
  padding: 14px 18px 14px 14px;
  min-width: 190px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--grey-4);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.02);
  text-align: left;
  will-change: transform;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
  --float-dur: 6s; --float-delay: 0s; --depth: 1;
  transform: translate(calc(var(--px, 0) * -18px * var(--depth)), calc(var(--py, 0) * -11px * var(--depth)));
}
.chip__float {
  position: relative;
  display: grid; grid-template-columns: auto 1fr 22px; column-gap: 12px; align-items: center;
  animation: floaty var(--float-dur) ease-in-out var(--float-delay) infinite;
}
.chip__dot {
  grid-row: span 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  display: grid; place-items: center;
  transition: background-color .35s var(--ease);
}
.chip__dot svg { width: 26px; height: 26px; }
.chip__title { font-size: 17px; font-weight: 600; line-height: 1.2; }
.chip__sub   { font-size: 14px; color: var(--grey-1); line-height: 1.3; margin-top: 2px; }
.chip__arrow {
  /* Reserve a column inside the card, separate from both text rows. */
  grid-column: 3; grid-row: 1 / span 2; align-self: start;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grey-5);
  display: grid; place-items: center;
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.chip__arrow svg { width: 11px; height: 11px; }
.chip:hover { border-color: var(--lime); box-shadow: 0 18px 40px rgba(0,0,0,.10), 0 0 0 4px rgba(227,250,98,.35); }
.chip:hover .chip__dot { background: var(--lime); }
.chip:hover .chip__arrow { opacity: 1; transform: translate(0,0); background: var(--lime); }
.chip:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }

/* Posiciones (desktop) */
.chip--1 { left: 6%;  top: 17%;  --float-dur: 6.5s; --float-delay: -1s;   --depth: 1.6; }
.chip--2 { left: 6%;  top: 48%;  --float-dur: 7.5s; --float-delay: -3s;   --depth: 1.1; }
.chip--3 { right: 6%; top: 19%;  --float-dur: 7s;   --float-delay: -2s;   --depth: 1.4; }
.chip--4 { right: 6%; top: 50%;  --float-dur: 8s;   --float-delay: -4.5s; --depth: 0.9; }

/* Pills chicos de abajo (gris y lima), mismo lenguaje que los pills del About */
.tag {
  position: absolute; bottom: 12%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--grey-4);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  font-size: 16px; font-weight: 500; line-height: 1;
  --depth: .8;
  transform: translate(calc(var(--px, 0) * -18px * var(--depth)), calc(var(--py, 0) * -11px * var(--depth)));
}
.tag svg { width: 18px; height: 18px; }
.tag--left  { left: 6%;  --depth: .7; background: var(--grey-5); border-radius: var(--radius-pill) var(--radius-pill) 4px var(--radius-pill); font-size: 17px; padding: 14px 20px; }
.tag--right { right: 6%; --depth: .8; }
.tag--lime  { background: var(--lime); border-color: var(--lime); color: var(--ink); }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* Nota lateral como la de "Less chaos. More clarity." */
.aside-note {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--grey-1); line-height: 1.35;
}
.aside-note::before { content: ""; width: 28px; height: 1px; background: var(--grey-3); }
.aside-note--right { left: auto; right: 24px; flex-direction: row-reverse; text-align: right; }

/* Entradas */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.reveal[data-d="1"] { animation-delay: .08s; }
.reveal[data-d="2"] { animation-delay: .18s; }
.reveal[data-d="3"] { animation-delay: .28s; }
.reveal[data-d="4"] { animation-delay: .40s; }
.reveal[data-d="5"] { animation-delay: .55s; }
.reveal[data-d="6"] { animation-delay: .70s; }
.reveal[data-d="7"] { animation-delay: .82s; }
.reveal[data-d="8"] { animation-delay: .94s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Dos puertas (resumen debajo del hero) ---------- */
.doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 96px;
  text-align: left;
}
.door {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 36px 40px;
  border-radius: var(--radius-card);
  background: var(--grey-5);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.door:hover { transform: translateY(-4px); background: #ebebeb; }
.door--ink { background: var(--ink); color: var(--paper); }
.door--ink:hover { background: #141414; }
.door__kicker { font-size: 14px; font-weight: 500; color: var(--grey-1); }
.door--ink .door__kicker { color: var(--grey-3); }
.door h2 { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.15; }
.door p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--grey-1); max-width: 38ch; }
.door--ink p { color: var(--grey-3); }
.door__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.door__tags span {
  font-size: 13px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: var(--paper); border: 1px solid var(--grey-4);
}
.door--ink .door__tags span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--paper); }
.door__go {
  position: absolute; right: 24px; top: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--grey-4);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.door--ink .door__go { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: var(--paper); }
.door:hover .door__go { background: var(--lime); color: var(--ink); transform: translate(2px,-2px); }
.door__go svg { width: 16px; height: 16px; }

/* ---------- Footer (mismo que el sitio) ---------- */
.footer {
  margin-top: 140px;
  background: var(--ink); color: var(--paper);
  padding: 88px 0 56px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer__kicker { font-size: 16px; margin: 0 0 20px; }
.footer h2 { margin: 0 0 56px; font-size: clamp(40px, 4.4vw, 72px); font-weight: 500; line-height: 1.08; max-width: 12ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; justify-self: end; min-width: 420px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.footer__cols a { font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 24px; }
.footer__cols a:hover { color: var(--grey-3); }
.footer__cols svg { width: 14px; height: 14px; }
.footer__copy { margin: 150px 0 0; font-size: 15px; color: var(--grey-1); }

/* ---------- Mobile ---------- */
@media (max-width: 1099px) {
  :root { --gutter: 64px; }
  .scene { max-width: none; }
  .chip { min-width: 170px; padding: 12px 14px 12px 12px; }
  .chip--1 { left: 0; }  .chip--3 { right: 0; }
  .chip--2 { left: 2%; } .chip--4 { right: 2%; }
  .aside-note { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .nav { grid-template-columns: 1fr auto; grid-template-rows: auto auto; height: auto; padding: 18px 0 6px; row-gap: 14px; }
  .nav__logo { width: 132px; height: 27px; }
  .nav__links { grid-column: 1 / -1; grid-row: 2; justify-self: start; gap: 22px; }
  .nav__links a { font-size: 15px; color: var(--grey-1); }
  .nav__cta { padding: 12px 16px; font-size: 14px; }
  .hero { padding-top: 24px; }
  .eyebrow { font-size: 14px; }
  .hero h1 { font-size: 40px; max-width: 12ch; }
  .lede { font-size: 16px; }
  .hero__ctas { margin-top: 24px; }
  .hero__ctas .pill--lg { padding: 16px 20px; font-size: 16px; width: 100%; justify-content: center; }

  /* En mobile: sin 3D, el retrato ocupa el panel y los chips pasan a grilla debajo */
  .scene { height: auto; margin-top: 32px; perspective: none; }
  .stage { position: relative; inset: auto; transform: none !important; }
  .frame { position: relative; inset: auto; aspect-ratio: 1 / 1.05; border-radius: 22px; }
  .layer--subject { transform: none; }
  .layer--subject .portrait__frame { height: 100%; margin-bottom: 0; }
  .layer--chips { position: static; inset: auto; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .chip { position: static; min-width: 0; padding: 12px; border-radius: 16px; transform: none !important; }
  .chip__float { animation: none; }
  .chip__float { grid-template-columns: auto 1fr; }
  .tag { position: static; transform: none !important; font-size: 14px; padding: 10px 14px; justify-content: center; }
  .layer--subject .portrait__frame { height: 100%; }
  .chip__arrow { display: none; }
  .chip__dot { width: 32px; height: 32px; }
  .chip__dot svg { width: 22px; height: 22px; }
  .chip__title { font-size: 14px; }
  .chip__sub { font-size: 12px; }

  .doors { grid-template-columns: 1fr; gap: 14px; margin-top: 56px; }
  .door { padding: 26px 24px 28px; }
  .door h2 { font-size: 26px; padding-right: 56px; }
  .footer { margin-top: 88px; padding: 64px 0 40px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cols { justify-self: start; min-width: 0; width: 100%; }
  .footer__copy { margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .portrait__frame, .chip__float { animation: none; }
  .stage { transform: none !important; transition: none; }
  .layer--subject { transform: none; }
}

#portfolios, #projects { scroll-margin-top: 32px; }
#portfolios:focus, #projects:focus { outline: none; }
