/* Yas García · sitio personal */
:root {
  --ink: #16112B;
  --soft-ink: #2A2342;
  --muted: #5B5670;
  --paper: #F6F5F9;
  --white: #FFFFFF;
  --line: #E4E0EE;
  --violet: #A20FF7;
  --violet-deep: #6E0AB0;
  --lilac: #EBDDFD;
  --cyan: #26CDE4;
  --cyan-deep: #0E7F90;
  --cyan-soft: #D3F3F8;
  --yellow: #FFD921;
  --yellow-soft: #FFF3B0;
  --yellow-deep: #8A6A00;
  --serif: "Lora", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet-deep); text-underline-offset: 5px; }
a:hover { color: var(--ink); }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.skip:hover { color: var(--paper); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.ast { display: block; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(46, 16, 88, .18); }
.btn:active { transform: scale(.98); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { color: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { color: var(--paper); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost-light { border-color: #fff; color: #fff; }
.btn--ghost-light:hover { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* Chips */
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.chip--datos { background: var(--cyan-soft); }
.chip--mujeres { background: var(--lilac); }
.chip--ia { background: var(--yellow-soft); }
.chip--neutral { background: #ECEAF1; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 249, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; flex-direction: column; line-height: .82; color: var(--violet); text-decoration: none; }
.logo__yas { font: 300 29px var(--sans); letter-spacing: -.03em; }
.logo__garcia { font: 500 24px var(--serif); margin-left: 14px; }
.logo:hover { color: var(--violet); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover { color: var(--violet-deep); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.header .btn { min-height: 46px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.hero h1 { padding-bottom: 6px; font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; letter-spacing: -.035em; }
.hero h1 .serif { display: block; color: var(--violet); letter-spacing: -.02em; }
.hero__lead { max-width: 34ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--soft-ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; width: 100%; max-width: 470px; aspect-ratio: 470 / 620; justify-self: end; }
.hero__sun { position: absolute; right: -5%; top: 0; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.hero__net { position: absolute; left: -12%; top: 6%; width: 56%; }
.hero__photo { position: absolute; left: 10.6%; top: 8%; width: 83%; height: 90%; object-fit: cover; object-position: 50% 10%; border-radius: 999px 999px 24px 24px; }
.hero__ast { position: absolute; left: -3%; bottom: 8%; width: 25%; }
.hero__now { position: absolute; right: -8%; bottom: 14%; width: 230px; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 16px 36px rgba(46, 16, 88, .14); }
.hero__now b { font-size: 13px; font-weight: 800; color: var(--cyan-deep); }
.hero__now span { font-size: 15px; line-height: 1.4; font-weight: 600; }

/* Roles strip */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 24px; margin-bottom: 72px; border-top: 1px solid var(--line); }
.roles li { display: flex; flex-direction: column; gap: 4px; }
.roles b { font-size: 17px; font-weight: 800; }
.roles span { font-size: 15px; color: var(--muted); }

/* Marquee */
.marquee { height: 150px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--paper); }
.marquee__track { display: flex; align-items: center; gap: 28px; padding-left: 28px; white-space: nowrap; font-size: 64px; font-weight: 500; letter-spacing: -.03em; }
.marquee__track img { width: 140px; height: 70px; object-fit: cover; border-radius: 999px; }
.marquee__play { display: inline-flex; align-items: center; gap: 12px; height: 66px; padding: 0 22px; border-radius: 999px; background: var(--cyan); }
.marquee__play i { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; }

/* Sections */
.section { padding-block: var(--section); }
.section--white { background: #fff; }
.h2 { max-width: 900px; font-weight: 300; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.h2 b { font-weight: 700; }
.intro { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.intro p { max-width: 58ch; font-size: 18px; color: var(--soft-ink); }

/* Timeline */
.timeline__svg { display: block; width: 100%; height: auto; overflow: visible; }
.timeline ol { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); padding-top: 16px; }
.timeline li { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.timeline .year { font: 500 24px var(--serif); color: var(--violet-deep); }
.timeline .what { font-size: 16px; font-weight: 800; line-height: 1.3; }
.timeline .desc { font-size: 14px; line-height: 1.5; color: var(--soft-ink); }

/* Ideas rows */
.rows { border-top: 2px solid var(--ink); }
.idea { display: grid; grid-template-columns: 110px minmax(0, 420px) minmax(0, 1fr) 48px; column-gap: 40px; align-items: center; padding: 40px 24px; border-bottom: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.idea:hover { background: #fff; color: var(--ink); }
.idea h3 { font: 500 clamp(28px, 2.8vw, 40px)/1.12 var(--serif); }
.idea p { font-size: 18px; color: var(--soft-ink); }
.idea small { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.idea .go, .press .go { display: flex; color: var(--violet-deep); transition: transform .3s var(--ease); }
.idea:hover .go, .press:hover .go { transform: translate(3px, -3px); }

/* Datos */
.datos { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; }
.datos__quote { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.datos blockquote { display: flex; flex-direction: column; gap: 22px; }
.datos blockquote p { font: italic 500 clamp(30px, 3.2vw, 46px)/1.3 var(--serif); color: var(--violet); }
.datos blockquote footer { font-size: 15px; color: var(--soft-ink); }
.fact { display: flex; flex-direction: column; gap: 18px; padding: 32px 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 2px solid var(--ink); }
.fact__tag { align-self: flex-start; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.fact p { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.35; }
.fact small { font-size: 14px; color: var(--muted); }

/* Prensa */
.press { display: grid; grid-template-columns: 120px 200px minmax(0, 1fr) 200px 32px; column-gap: 24px; align-items: center; padding: 26px 20px; border-bottom: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.press:hover { background: #fff; color: var(--ink); }
.press__year { font-size: 15px; font-weight: 800; color: var(--muted); }
.press__outlet { font-size: 16px; font-weight: 700; }
.press__title { font: 400 clamp(20px, 1.8vw, 25px)/1.3 var(--serif); }
.press-more { margin-top: 40px; }

/* Charlas */
.talks { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; }
.talk-hero { position: relative; display: block; min-height: 440px; border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden; text-decoration: none; }
.talk-hero:hover { color: #fff; }
.talk-hero__net { position: absolute; right: -20px; top: -10px; width: 70%; opacity: .55; }
.talk-hero__play { position: absolute; left: 40px; top: 40px; width: 88px; height: 88px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.talk-hero:hover .talk-hero__play { transform: scale(1.06); }
.talk-hero__txt { position: absolute; left: 40px; right: 40px; bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.talk-hero__txt small { font-size: 14px; font-weight: 700; color: #CFCADF; }
.talk-hero__txt span { font: 400 clamp(28px, 2.8vw, 40px)/1.15 var(--serif); }
.talk-list { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.talk { display: flex; gap: 20px; align-items: center; padding: 12px; border-radius: 20px; color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.talk:hover { background: var(--paper); color: var(--ink); }
.talk__thumb { width: 168px; height: 104px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.talk__thumb i { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.talk b { display: block; font: 400 22px/1.3 var(--serif); }
.talk small { font-size: 14px; color: var(--muted); }
.speaker { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.speaker__topics { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.speaker__topics > span:first-child { font-weight: 700; margin-right: 8px; }

/* Formación */
.learn { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.learn__main { position: relative; display: flex; flex-direction: column; gap: 20px; min-height: 460px; padding: 44px; border-radius: var(--radius); background: var(--cyan-soft); overflow: hidden; }
.learn__main h3 { font: 500 48px var(--serif); }
.learn__main p { position: relative; max-width: 40ch; font-size: 19px; color: var(--soft-ink); }
.learn__main .btn { position: relative; margin-top: auto; align-self: flex-start; }
.learn__net { position: absolute; right: -60px; bottom: -40px; width: 360px; opacity: .8; }
.learn__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 34px; border-radius: var(--radius); background: #fff; }
.card--yellow { background: var(--yellow-soft); }
.card h3 { font: 500 32px var(--serif); }
.card p { font-size: 16px; color: var(--soft-ink); }
.card .link-arrow, .card .soon { margin-top: auto; }
.soon { font-size: 15px; font-weight: 800; color: var(--yellow-deep); }

/* Contacto */
.contact { position: relative; overflow: hidden; background: var(--violet); color: #fff; }
.contact__in { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; padding-top: 120px; padding-bottom: 96px; }
.contact__ast { position: absolute; right: 70px; top: 56px; width: 200px; }
.contact__main { position: relative; display: flex; flex-direction: column; gap: 28px; }
.contact h2 { padding-bottom: 8px; font: italic 500 clamp(76px, 10vw, 140px)/1 var(--serif); letter-spacing: -.03em; }
.contact__main p { max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.news { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius); background: var(--violet-deep); }
.news__title { font: italic 400 28px/1.3 var(--serif); }
.news label { font-size: 14px; font-weight: 700; }
.news__row { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; font: 16px var(--sans); caret-color: var(--yellow); }
.news input::placeholder { color: #F3E8FF; opacity: 1; }
.news button { flex-shrink: 0; min-height: 52px; background: var(--cyan); color: var(--ink); font-weight: 800; }
.news small { font-size: 13px; color: #F3E8FF; }
.news__ok { font-weight: 700; }

/* Footer */
.footer { background: var(--violet-deep); color: #fff; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 40px; }
.footer .logo { color: #fff; }
.footer nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.footer nav a { color: #fff; }
.footer small { font-size: 14px; color: #F3E8FF; }

/* Motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marq 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marq { to { transform: translateX(-50%); } }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .timeline .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
  .js .timeline.in .draw { transition: stroke-dashoffset 2.4s var(--ease) .2s; stroke-dashoffset: 0; }
  .js .timeline .node { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
  .js .timeline.in .node { opacity: 1; transform: scale(1); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i) * .22s); }
}

/* Tablet */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .timeline ol { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .timeline__svg { display: none; }
  .idea { grid-template-columns: 80px minmax(0, 1fr) 40px; row-gap: 12px; }
  .idea > div { grid-column: 2; }
  .idea .go { grid-row: 1; grid-column: 3; }
  .press { grid-template-columns: 90px minmax(0, 1fr) 32px; row-gap: 8px; }
  .press__outlet { grid-column: 2; grid-row: 1; }
  .press__title { grid-column: 1 / 3; }
  .press .chip { grid-column: 1 / 3; justify-self: start; }
  .press .go { grid-column: 3; grid-row: 1; }
}

/* Mobile */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav .btn { display: none; }
  .nav__links { position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav__links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav.open .nav__links { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; padding-bottom: 40px; }
  .hero__art { order: -1; justify-self: center; max-width: 340px; }
  .hero__now { display: none; }
  .hero__lead { max-width: none; }
  .hero__ctas .btn { flex: 1; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 40px; }
  .marquee { height: 96px; }
  .marquee__track { font-size: 38px; gap: 16px; }
  .marquee__track img { width: 84px; height: 44px; }
  .marquee__play { height: 44px; padding: 0 14px; }
  .timeline ol { grid-template-columns: 1fr; row-gap: 0; position: relative; }
  .timeline ol::before { content: ""; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--yellow); }
  .timeline li { position: relative; padding: 14px 0 14px 36px; }
  .timeline li::before { content: ""; position: absolute; left: 0; top: 22px; width: 17px; height: 17px; border-radius: 50%; background: var(--yellow); }
  .idea { grid-template-columns: 56px minmax(0, 1fr) 24px; column-gap: 16px; padding: 24px 4px; }
  .idea svg.half { width: 56px; height: 28px; }
  .idea p { font-size: 16px; }
  .datos, .talks, .learn, .contact__in { grid-template-columns: 1fr; gap: 40px; }
  .talk-hero { min-height: 300px; }
  .talk-hero__play { left: 24px; top: 24px; width: 64px; height: 64px; }
  .talk-hero__txt { left: 24px; right: 24px; bottom: 24px; }
  .talk__thumb { width: 112px; height: 76px; }
  .talk b { font-size: 19px; }
  .speaker .btn { width: 100%; }
  .learn__main { min-height: 380px; padding: 30px; }
  .learn__main h3 { font-size: 38px; }
  .card { padding: 28px; }
  .contact__in { padding-top: 72px; padding-bottom: 56px; }
  .contact__ast { width: 120px; right: -20px; top: 20px; }
  .contact__ctas .btn { flex: 1; }
  .news__row { flex-direction: column; }
  .news input { flex: none; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
