:root {
  --cream: #f4ede2;
  --milk: #fbf8f2;
  --ink: #1c2340;
  --ink-2: #2b3358;
  --muted: #5f6585;
  --caramel: #c2803f;
  --caramel-2: #e3b27a;
  --lav: #9b9bd6;
  --line: rgba(28, 35, 64, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* ease-out ≈ resorte críticamente amortiguado */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

/* Foco visible para teclado */
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 4px; border-radius: 6px; }
.contact :focus-visible { outline-color: var(--caramel-2); }
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--serif); font-weight: 300; }

/* grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
}
.loader__inner {
  display: flex; gap: 0.3em; align-items: baseline;
  font-family: var(--serif); font-size: clamp(2.2rem, 7vw, 5.5rem); font-weight: 300;
  overflow: hidden;
}
.loader__word, .loader__amp { display: inline-block; transform: translateY(110%); }
.loader__amp { color: var(--caramel-2); font-style: italic; }
.loader__bar {
  position: absolute; bottom: 12vh; left: 50%; transform: translateX(-50%);
  width: min(240px, 60vw); height: 1px; background: rgba(244, 237, 226, 0.2);
}
.loader__bar span { display: block; height: 100%; width: 0; background: var(--caramel-2); }

/* ---------- Cursor (burbuja "Ver" sobre imágenes) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 0; height: 0; pointer-events: none;
}
.cursor__ball {
  position: absolute; left: -43px; top: -43px; width: 86px; height: 86px;
  border-radius: 50%; background: var(--caramel-2);
  display: grid; place-items: center;
  transform: scale(0); opacity: 0;
  transition: transform .45s var(--ease), opacity .25s linear;
  box-shadow: 0 12px 30px -12px rgba(28,35,64,.4);
}
.cursor__label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.cursor.is-big .cursor__ball { transform: scale(1); opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: flex-start; align-items: center;
  padding: 20px var(--gutter);
  transition: transform .5s var(--ease), background .4s;
}
.nav.is-scrolled { background: rgba(244, 237, 226, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.nav__logo em { color: var(--caramel); }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .45rem 1.1rem; border: 1px solid var(--ink); border-radius: 99px; transition: background .3s, color .3s; }
.nav__cta::after { display: none; }
.nav__cta, .lang button, .nav__toggle, .contact__btn, .scroll-hint { transition: scale .12s ease-out, background .3s, color .3s; }
.nav__cta:active, .lang button:active, .nav__toggle:active, .contact__btn:active, .scroll-hint:active { scale: .96; }
.nav__cta:hover { background: var(--ink); color: var(--cream); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; margin-left: 1.4rem; }
.lang button {
  font: 600 .72rem/1 var(--sans); letter-spacing: .08em; color: var(--muted);
  background: none; border: 0; border-radius: 99px; padding: .45rem .6rem; cursor: pointer;
  transition: scale .12s ease-out, background .3s, color .3s;
}
.lang button:hover { color: var(--ink); }
.lang button.is-active { background: var(--ink); color: var(--cream); }
.nav__toggle { display: none; background: none; border: 0; width: 34px; height: 34px; position: relative; cursor: pointer; transition: scale .12s ease-out; }
.nav__toggle span { position: absolute; left: 5px; right: 5px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 13px; }
.nav__toggle span:last-child { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu a { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 300; line-height: 1.15; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .lang { margin-left: auto; margin-right: .6rem; }
  .lang button { padding: .7rem .75rem; }
  .nav__toggle { width: 44px; height: 44px; }
  .nav__toggle span { left: 10px; right: 10px; }
  .nav__toggle span:first-child { top: 18px; }
  .nav__toggle span:last-child { top: 26px; }
  .nav__toggle[aria-expanded="true"] span:first-child,
  .nav__toggle[aria-expanded="true"] span:last-child { top: 22px; }
}

/* ---------- Shared ---------- */
section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-label {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2rem;
}
.section-label span {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%; letter-spacing: 0; color: var(--ink);
}
.section-label b { font-weight: inherit; }
.section-label--light { color: rgba(244, 237, 226, .7); }
.section-label--light span { border-color: rgba(244, 237, 226, .3); color: var(--cream); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 6rem); line-height: 1; letter-spacing: -0.03em;
}
.section-title em { color: var(--caramel); }
.line { display: block; overflow: hidden; }
.line > span, .line > .word { display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  padding-top: clamp(110px, 14vh, 160px);
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.hero__meta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 500; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); box-shadow: 0 0 0 0 rgba(194,128,63,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(194,128,63,0); } 100% { box-shadow: 0 0 0 0 rgba(194,128,63,0); } }

.hero__title {
  position: relative; z-index: 3;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.6rem, 15vw, 15.5rem);
  line-height: .88; letter-spacing: -0.05em;
  margin-top: 4vh;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__title em { color: var(--caramel); font-weight: 300; }
.hero__title .line { padding-bottom: .06em; }
.hero__title .line--indent { padding-left: 12vw; }
.hero__title .line--right { text-align: right; padding-right: 2vw; }

.hero__portrait {
  position: absolute; z-index: 2;
  right: clamp(16px, 16vw, 300px); top: clamp(120px, 18vh, 200px);
  width: clamp(200px, 26vw, 400px);
  aspect-ratio: 3 / 4;
}
.hero__portrait-mask {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px);
}
.hero__portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; transform: scale(1.3); }
.badge {
  position: absolute; left: -60px; bottom: -40px; width: 140px; height: 140px;
  display: grid; place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-size: 13.5px; letter-spacing: 2.2px; text-transform: uppercase; fill: var(--ink); font-family: var(--sans); font-weight: 600; }
.badge__core {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--caramel-2);
  display: grid; place-items: center; font-size: 1.4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bottom {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-top: auto; padding-top: 6vh;
}
.hero__lead { max-width: 38ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
.hero__lead strong { font-weight: 600; color: var(--ink); }
.scroll-hint { display: flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.scroll-hint__line { width: 60px; height: 1px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; inset: 0; background: var(--caramel); animation: slide 2s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 820px) {
  .hero__portrait { position: relative; right: auto; top: auto; width: 62vw; max-width: 300px; margin: -2rem 0 0 auto; }
  .hero__title { margin-top: 3vh; }
  .hero__title .line--indent { padding-left: 6vw; }
  .badge { width: 110px; height: 110px; left: -50px; bottom: -20px; }
  .badge__core { width: 48px; height: 48px; font-size: 1.1rem; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--cream);
  padding: 1.4rem 0; overflow: hidden; white-space: nowrap;
  transform: rotate(-2deg) scale(1.04); margin: 2rem 0;
}
.marquee__track { display: inline-flex; gap: 2.2rem; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 300; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--caramel-2); }
.marquee i { font-style: normal; color: var(--lav); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 3.6vw, 3.3rem); line-height: 1.2; letter-spacing: -0.02em;
  max-width: 1200px;
}
.split-words .w { display: inline-block; opacity: .14; transition: none; }
.about__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px);
  margin-top: clamp(60px, 9vw, 130px); align-items: end;
}
.about__img { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; }
.about__img figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--milk);
  background: rgba(28, 35, 64, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: .6rem .9rem; border-radius: 10px; width: fit-content;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 2rem 1rem 2rem 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 1.5rem; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.stat__label { display: block; margin-top: .7rem; font-size: .9rem; color: var(--muted); max-width: 22ch; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ---------- Fill text ---------- */
.fill-text { padding-top: 40px; padding-bottom: 40px; text-align: center; overflow: hidden; }
.fill-text__word {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(4rem, 19vw, 20rem); line-height: .9; letter-spacing: -0.06em;
  background-size: cover; background-position: 50% 40%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.fill-text__caption {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 300;
  max-width: 780px; margin: 1.5rem auto 0;
}
.fill-text__caption em { color: var(--caramel); }

/* ---------- Services ---------- */
.services__list { margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr 1.2fr 50px; gap: 2rem; align-items: center;
  padding: clamp(28px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line);
  cursor: default;
}
.service > * { transition: transform .5s var(--ease), color .4s; }
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); }
  .service:hover { color: var(--cream); }
  .service:hover > *:not(.service__arrow) { transform: translateX(1.5rem); }
    .service:hover .service__arrow { transform: translateX(-1.5rem) rotate(45deg); color: var(--caramel-2); }
}
.service__num { font-size: .85rem; font-weight: 600; color: var(--caramel); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.service p { color: var(--muted); font-size: 1rem; max-width: 46ch; transition: color .4s; }
.service__arrow { font-size: 1.8rem; justify-self: end; transition: transform .5s var(--ease); }
.service-preview {
  position: fixed; top: 0; left: 0; z-index: 40;
  width: 260px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: scale(.6);
}
.service-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr auto; gap: .6rem 1rem; }
  .service__num { grid-column: 1 / -1; }
  .service p { grid-column: 1 / -1; }
  .service__arrow { grid-row: 2; grid-column: 2; }
  .service-preview { display: none; }
}

/* ---------- Feature ---------- */
.feature { height: 120vh; padding: 0; overflow: hidden; background: var(--ink); color: var(--cream); }
.feature__media { position: absolute; inset: 0; clip-path: inset(12% 18% 12% 18% round 24px); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.25); }
.feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,35,64,.92) 0%, rgba(28,35,64,.55) 45%, rgba(28,35,64,0) 75%);
}
.feature__overlay {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter); max-width: 780px;
}
.feature__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .92; letter-spacing: -0.04em; }
.feature__title em { color: var(--caramel-2); }
.feature__text { margin-top: 2rem; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(244, 237, 226, .85); }
@media (max-width: 820px) {
  .feature { height: auto; min-height: 100svh; }
  .feature__media::after { background: linear-gradient(0deg, rgba(28,35,64,.95) 15%, rgba(28,35,64,.35) 70%); }
  .feature__overlay { justify-content: flex-end; padding-bottom: 12vh; min-height: 100svh; }
}

/* ---------- Events ---------- */
.events { padding: 0; background: var(--milk); }
.events__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 40px; }
.events__head { padding: 0 var(--gutter); margin-bottom: clamp(24px, 4vh, 50px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; }
.events__head .section-label { grid-column: 1 / -1; margin-bottom: .6rem; }
.events__head .section-title { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.events__progress { width: min(240px, 30vw); height: 2px; background: var(--line); }
.events__progress span { display: block; height: 100%; width: 0; background: var(--caramel); }
.events__track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 0 var(--gutter); width: max-content; align-items: flex-start; }
.event { position: relative; width: clamp(280px, 30vw, 460px); flex-shrink: 0; }
.event--tall { margin-top: 6vh; }
.event__img { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3.4; }
.event--tall .event__img { aspect-ratio: 4 / 4.2; }
.event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .event:hover .event__img img { transform: scale(1.05); } }
.event__body { padding-top: 1.1rem; }
.event__date { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); }
.event h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.1; margin: .35rem 0 .5rem; letter-spacing: -0.01em; }
.event p { font-size: .95rem; color: var(--muted); max-width: 40ch; }
.event--end { display: grid; place-items: center; align-self: center; width: clamp(260px, 28vw, 420px); }
.event--end p { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 300; line-height: 1.05; color: var(--ink); max-width: none; }
.event--end em { display: block; margin-top: .8rem; font-size: .45em; color: var(--caramel); }

@media (max-width: 820px) {
  .events__pin { height: auto; padding: 90px 0 60px; }
  .events__head { grid-template-columns: 1fr; }
  .events__progress { display: none; }
  .events__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .events__track::-webkit-scrollbar { display: none; }
  .event { width: 80vw; scroll-snap-align: start; }
  .event--tall { margin-top: 0; }
  .event--end { width: 70vw; }
}

/* ---------- Timeline ---------- */
.timeline__wrap { position: relative; margin-top: clamp(50px, 7vw, 110px); }
.timeline__line { position: absolute; left: 200px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__line span { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--caramel); }
.job { display: grid; grid-template-columns: 200px 1fr; padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.job::before {
  content: ""; position: absolute; left: 194px; top: 10px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--caramel);
}
.job__year { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--muted); padding-top: 2px; }
.job__card { padding-left: clamp(30px, 4vw, 70px); max-width: 760px; }
.job h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; }
.job__org { display: block; margin: .5rem 0 1rem; font-weight: 600; font-size: .9rem; color: var(--caramel); }
.job p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.1rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 99px; }
@media (max-width: 820px) {
  .timeline__line { left: 6px; }
  .job { grid-template-columns: 1fr; padding-left: 32px; }
  .job::before { left: 0; top: 6px; }
  .job__card { padding-left: 0; padding-top: .4rem; }
}

.edu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: clamp(30px, 5vw, 70px); }
.edu__item { background: var(--cream); padding: 2rem 1.6rem; transition: background .4s; }
@media (hover: hover) { .edu__item:hover { background: var(--milk); } }
.edu__year { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); }
.edu h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; margin: .6rem 0 .5rem; }
.edu p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1180px) { .edu { grid-template-columns: repeat(6, 1fr); } .edu__item { grid-column: span 2; } .edu__item:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 760px) { .edu { grid-template-columns: 1fr 1fr; } .edu__item, .edu__item:nth-child(n+4) { grid-column: auto; } .edu__item:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .edu { grid-template-columns: 1fr; } }

/* ---------- Collage ---------- */
.collage { height: 100svh; padding: 0; display: grid; place-items: center; overflow: hidden; }
.collage__grid { position: absolute; inset: 0; }
.c {
  position: absolute; left: 50%; top: 50%; width: calc(var(--w) * 1.2);
  margin: 0; overflow: hidden; border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(28,35,64,.45);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.c--l { aspect-ratio: 4 / 3; }
.c--p { aspect-ratio: 3 / 4; }
.c--s { aspect-ratio: 1; }
.c img { width: 100%; height: 100%; object-fit: cover; }
.collage__title {
  position: relative; z-index: 3; text-align: center; pointer-events: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 10vw, 10rem); line-height: .9; letter-spacing: -0.05em;
  color: var(--ink);
}
.collage__title em { color: var(--caramel); }
@media (max-width: 820px) {
  .c { width: calc(var(--w) * 1.9); }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); padding-bottom: 30px; min-height: 100svh; display: flex; flex-direction: column; }
.contact__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 11vw, 11rem); line-height: .9; letter-spacing: -0.05em; margin-top: 2vh; }
.contact__title em { color: var(--caramel-2); }
.contact__btn {
  margin-top: clamp(40px, 7vw, 90px);
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.3rem 2.2rem; border-radius: 99px;
  background: var(--caramel-2); color: var(--ink);
  font-weight: 700; font-size: 1.05rem;
  transition: scale .12s ease-out, background .3s;
}
@media (hover: hover) { .contact__btn:hover { background: var(--cream); } }
.contact__btn svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.contact__btn:hover svg { transform: rotate(45deg); }
.footer {
  margin-top: auto; padding-top: 80px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: rgba(244, 237, 226, .6);
  border-top: 1px solid rgba(244, 237, 226, .15); padding-bottom: 0;
}
.footer { padding-top: 1.5rem; margin-top: auto; }
.contact__btn { margin-bottom: 80px; }
.footer a:hover { color: var(--caramel-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  .hero__portrait-mask { clip-path: none; }
  .hero__portrait img { transform: none; }
  .split-words .w { opacity: 1; }
  .feature__media { clip-path: none; }
}
/* Sin animaciones (movimiento reducido o GSAP no disponible): todo visible y navegable */
.no-motion .loader { display: none; }
.no-motion .hero__portrait-mask { clip-path: none; }
.no-motion .hero__portrait img { transform: none; }
.no-motion .split-words .w { opacity: 1; }
.no-motion .feature__media { clip-path: none; }
.no-motion .feature__media img { transform: none; }
.no-motion .events__pin { height: auto; }
.no-motion .events__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.no-motion .event { scroll-snap-align: start; }
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .about__img figcaption { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3f4466; --line: rgba(28, 35, 64, 0.35); }
}
