:root {
  --wine: #6d001f;
  --wine-dark: #420014;
  --gold: #e8ad18;
  --purple: #68266f;
  --ink: #292b2d;
  --muted: #686a69;
  --paper: #faf9f6;
  --white: #fff;
  --line: #dedbd5;
  --max: 1240px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { width: 100%; max-width: 100%; margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
body.menu-open, body.intro-playing { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button { white-space: normal; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, summary, dt, dd, strong, small, a, button { max-width: 100%; overflow-wrap: break-word; }
main, main > section { width: 100%; max-width: 100%; overflow-x: clip; }
::selection { color: var(--white); background: var(--wine); }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 300; padding: .8rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { height: var(--header); position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(250, 249, 246, .96); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(41, 43, 45, .06); }
.header-inner { width: 100%; max-width: var(--max); height: 100%; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--white); background: var(--wine); border-radius: 50%; font: 700 15px Georgia, serif; }
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 14px; letter-spacing: .12em; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s; }
.site-header nav a:hover { color: var(--wine); }
.participant-button { min-height: 42px; display: flex; align-items: center; padding: 0 18px !important; color: var(--white) !important; background: var(--wine); border-radius: 4px; }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* Hero */
.hero { min-height: 100svh; position: relative; display: flex; align-items: center; padding: calc(var(--header) + 38px) 24px 70px; background: var(--white); }
.hero::before { content: ""; position: absolute; left: 0; top: var(--header); bottom: 0; width: 7px; background: var(--wine); }
.hero-inner { width: 100%; max-width: var(--max); margin: auto; display: grid; grid-template-columns: minmax(380px, .82fr) minmax(520px, 1.18fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-copy { padding: 26px 0; }
.eyebrow, .section-tag { margin: 0 0 18px; color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { margin-right: 12px; padding: 6px 9px; color: var(--white); background: var(--wine); border-radius: 2px; }
.hero h1 { margin: 0; font: 400 clamp(40px, 4.5vw, 62px)/.98 Georgia, "Times New Roman", serif; }
.hero h1 em { color: var(--wine); font-weight: 400; }
.theme { margin: 18px 0 0; color: var(--purple); font: italic 400 clamp(21px, 2vw, 28px) Georgia, serif; }
.hero-text { max-width: 540px; margin: 25px 0 28px; color: #515352; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 18px; border: 0; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--white); background: var(--wine); box-shadow: 0 10px 24px rgba(109, 0, 31, .18); }
.secondary { border: 1px solid var(--ink); background: var(--white); }
.notice { color: var(--wine); border: 1px solid rgba(109, 0, 31, .22); background: #fff7e1; }
.gold { margin-top: 12px; color: var(--ink); background: var(--gold); }
.event-data { margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-data div { min-width: 0; padding: 14px 14px 14px 0; }
.event-data span, .event-data strong, .event-data em { display: block; }
.event-data span { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-data strong { font: 600 14px/1.3 Georgia, serif; }
.event-data em { margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.35; }
.venue-data { padding-right: 0 !important; }
.hero-identity { min-width: 0; margin: 0; position: relative; display: flex; justify-content: center; }
.hero-identity::before { content: ""; position: absolute; inset: 7% 0 7% 24%; z-index: 0; background: #f4f0e8; border-radius: 50%; }
.hero-identity img { width: min(100%, 680px); height: auto; position: relative; z-index: 1; object-fit: contain; }
.scroll-link { position: absolute; bottom: 19px; left: 50%; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.scroll-link i { width: 35px; height: 1px; background: var(--wine); }

/* Intro */
.intro { padding: 82px 24px 0; background: var(--wine); }
.intro-inner { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 50px; color: var(--white); }
.intro .section-tag { color: var(--gold); }
.intro h2 { max-width: 850px; margin: 0; font: 400 clamp(34px, 4vw, 52px)/1.08 Georgia, serif; }
.intro-inner > div p { max-width: 760px; margin: 25px 0 70px; color: #ead7dd; font-size: 16px; line-height: 1.75; }
.theme-ribbon { height: 76px; margin: 0 -24px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 60px); color: var(--ink); background: var(--gold); overflow: hidden; white-space: nowrap; }
.theme-ribbon span { font: italic 22px Georgia, serif; }
.theme-ribbon i { width: 5px; height: 5px; flex: 0 0 5px; background: var(--wine); transform: rotate(45deg); }

/* Shared sections */
.content-section { max-width: var(--max); margin: auto; padding: 110px 24px; }
.section-heading, .program-heading { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: end; }
.section-heading { margin-bottom: 55px; }
.section-heading > *, .program-heading > * { min-width: 0; }
.section-heading h2, .program-heading h2, .call h2, .space-copy h2, .information h2 { margin: 0; font: 400 clamp(32px, 4vw, 48px)/1.05 Georgia, serif; }
.section-heading > p, .program-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Highlights */
.highlight-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.highlight-list article { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
.highlight-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.highlight-list article:nth-child(even) { padding-left: 30px; }
.highlight-list article > span { color: var(--wine); font: 700 13px Georgia, serif; }
.highlight-list h3 { margin: 0 0 8px; font: 400 23px Georgia, serif; }
.highlight-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Program */
.program { padding: 110px 24px; color: var(--white); background: var(--ink); }
.program-inner { width: 100%; max-width: var(--max); margin: auto; }
.section-tag.light { color: var(--gold); }
.program-heading > p { color: #c5c6c3; }
.program-filter { max-width: 100%; margin-top: 48px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.program-filter button { min-height: 40px; flex: 0 0 auto; padding: 0 18px; border: 1px solid #5d5e5d; border-radius: 20px; color: #d9d9d5; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.program-filter button.active, .program-filter button:hover { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.program-list { margin-top: 24px; border-top: 1px solid #5d5e5d; }
.program-list article { min-width: 0; display: grid; grid-template-columns: 120px minmax(220px, .75fr) minmax(0, 1fr) 30px; gap: 28px; align-items: center; padding: 27px 0; border-bottom: 1px solid #5d5e5d; transition: padding .2s, color .2s; }
.program-list article:hover { padding-left: 10px; color: var(--gold); }
.program-list article[hidden] { display: none; }
.program-type { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.program-list h3 { margin: 0; font: 400 25px Georgia, serif; }
.program-list p { margin: 0; color: #c5c6c3; font-size: 14px; line-height: 1.65; }
.program-arrow { font-size: 19px; }
.program-footer { margin-top: 36px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #5d5e5d; border-bottom: 1px solid #5d5e5d; }
.program-footer div span, .program-footer div strong { display: block; }
.program-footer div span { margin-bottom: 4px; color: #a9aaa7; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.program-footer div strong { font: 400 18px Georgia, serif; }
.program-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.program-footer button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--gold); font-size: 12px; font-weight: 700; cursor: pointer; }
.program-footer button span { margin-left: 25px; }

/* Guests */
.guest-placeholder { min-height: 330px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; overflow: hidden; color: var(--white); background: var(--wine); border-radius: 8px; }
.guest-orbit { min-height: 330px; position: relative; background: var(--wine-dark); }
.guest-orbit::before, .guest-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; transform: translate(-50%, -50%); }
.guest-orbit::before { width: min(250px, 70%); aspect-ratio: 1; }
.guest-orbit::after { width: min(150px, 43%); aspect-ratio: 1; }
.guest-orbit span { position: absolute; font: italic 15px Georgia, serif; color: #ead7dd; }
.guest-orbit span:nth-child(1) { left: 16%; top: 18%; }
.guest-orbit span:nth-child(2) { right: 12%; top: 25%; }
.guest-orbit span:nth-child(3) { left: 11%; bottom: 19%; }
.guest-orbit span:nth-child(4) { right: 19%; bottom: 15%; }
.guest-placeholder > div:last-child { min-width: 0; padding: 48px; }
.guest-placeholder small { display: block; margin-bottom: 12px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guest-placeholder strong { display: block; font: 400 clamp(30px, 4vw, 48px) Georgia, serif; }
.guest-placeholder p { max-width: 390px; margin: 18px 0 0; color: #ead7dd; line-height: 1.65; }

/* Call */
.call { padding: 100px 24px; color: var(--white); background: var(--wine); }
.call-inner { max-width: var(--max); margin: auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(60px, 9vw, 120px); }
.call-copy > p:not(.section-tag) { max-width: 520px; color: #ead7dd; line-height: 1.7; }
.call-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.call-actions .button { width: auto; }
.light-outline { color: var(--white); border: 1px solid rgba(255, 255, 255, .42); background: transparent; }
.call-options { min-width: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.call-options div { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 14px; padding: 19px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.call-options div > span { grid-row: 1 / 3; color: var(--gold); font: 700 12px Georgia, serif; }
.call-options strong { font: 400 19px Georgia, serif; }
.call-options small { color: #dfc3cb; line-height: 1.5; }

/* Journey */
.journey-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); }
.journey-list li { min-width: 0; padding: 26px 22px 0 0; }
.journey-list li > span { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 22px; color: var(--white); background: var(--wine); border-radius: 50%; font-size: 12px; font-weight: 700; }
.journey-list strong { font: 400 20px Georgia, serif; }
.journey-list p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Participant space */
.participant-space { padding: 90px max(24px, calc((100vw - var(--max)) / 2 + 24px)); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(60px, 9vw, 120px); color: var(--white); background: var(--wine-dark); }
.space-copy > p:last-child { max-width: 520px; color: #ddc8ce; line-height: 1.7; }
.space-actions { min-width: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.space-actions a { width: 100%; min-height: 64px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, .25); color: var(--white); background: transparent; text-align: left; text-decoration: none; }
.space-actions a span { min-width: 0; font: 400 19px Georgia, serif; }
.space-actions a small { flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; color: #ddc8ce; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Information and organizers */
.information { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 80px; }
.information .section-heading { display: block; margin: 0; }
.faq { min-width: 0; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-width: 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font: 400 18px/1.4 Georgia, serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 0 0 auto; color: var(--wine); font: 300 22px Arial, sans-serif; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: -5px 40px 20px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.organizers { max-width: var(--max); margin: auto; padding: 45px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 30px; align-items: center; border-top: 1px solid var(--line); }
.organizers > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.organizers div { min-width: 0; display: flex; align-items: center; gap: 18px; }
.organizers strong { flex: 0 0 auto; color: var(--wine); font: 700 clamp(22px, 3vw, 34px) Georgia, serif; white-space: nowrap; }
.organizers strong em { color: var(--purple); font-family: Arial, sans-serif; font-style: normal; font-weight: 400; }
.organizers span { min-width: 0; max-width: 250px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.organizers i { width: 1px; height: 48px; background: var(--line); }

/* Updates strip */
.updates-strip { max-width: var(--max); margin: auto; padding: 56px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; border-top: 1px solid var(--line); }
.updates-strip h2 { max-width: 720px; margin: 0; font: 400 clamp(27px, 3.2vw, 38px)/1.08 Georgia, serif; }
.updates-strip p:not(.section-tag) { max-width: 690px; margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.updates-strip .button { width: auto; white-space: nowrap; }

/* Footer and dialog */
footer { padding: 70px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(150px, .6fr); gap: 40px; color: var(--white); background: var(--ink); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font: 400 28px Georgia, serif; }
.footer-brand span { margin-top: 7px; color: #aaa; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
footer > p { margin: 0; color: var(--gold); font: italic 24px/1.1 Georgia, serif; }
footer nav { display: flex; flex-direction: column; gap: 9px; }
footer nav a { width: max-content; text-decoration: none; font-size: 11px; font-weight: 700; }
footer small { grid-column: 1 / 3; margin-top: 35px; color: #999; }
.top-link { align-self: end; justify-self: end; color: var(--gold); font-size: 10px; font-weight: 700; text-decoration: none; }
dialog { width: min(580px, calc(100% - 30px)); padding: 42px; border: 0; border-radius: 8px; background: var(--paper); box-shadow: 0 25px 80px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(41, 43, 45, .78); backdrop-filter: blur(5px); }
dialog h2 { margin: 0; font: 400 36px/1.05 Georgia, serif; }
dialog > p:not(.section-tag, .form-message) { color: var(--muted); line-height: 1.65; }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; }
dialog label { display: block; margin: 22px 0 7px; font-size: 11px; font-weight: 700; }
dialog form div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
dialog input { min-width: 0; padding: 13px; border: 1px solid var(--ink); border-radius: 4px 0 0 4px; }
dialog form button { border: 0; padding: 0 17px; color: var(--white); background: var(--wine); border-radius: 0 4px 4px 0; font-weight: 700; }
dialog form small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.form-message { min-height: 1.2em; color: var(--wine); font-size: 12px; font-weight: 700; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s, transform .65s cubic-bezier(.2, .7, .25, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* Compact desktop */
@media (max-width: 1100px) {
  .site-header nav { gap: 18px; }
  .hero-inner { grid-template-columns: minmax(340px, .9fr) minmax(440px, 1.1fr); gap: 34px; }
}

/* Tablet navigation and layout */
@media (max-width: 980px) {
  .site-header { overflow: visible; background: var(--paper); backdrop-filter: none; }
  .menu-toggle { position: relative; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; }
  .menu-toggle i { width: 22px; height: 2px; background: var(--ink); box-shadow: 0 6px var(--ink); transition: transform .2s, box-shadow .2s; }
  .menu-toggle[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); box-shadow: none; }
  .site-header nav { display: none; }
  .site-header nav.open { position: absolute; top: 100%; right: 0; left: 0; width: 100vw; height: calc(100dvh - var(--header)); max-height: calc(100dvh - var(--header)); z-index: 20; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px max(24px, calc((100vw - 720px) / 2)) max(28px, env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
  .site-header nav.open a { width: 100%; max-width: 720px; flex: 0 0 auto; padding: 14px 2px; border-bottom: 1px solid var(--line); font: 400 26px/1.15 Georgia, serif; }
  .site-header nav.open .participant-button { min-height: 48px; margin-top: 18px; padding: 0 18px !important; justify-content: center; border-bottom: 0; font: 700 13px Arial, sans-serif !important; }
  .hero-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .hero h1 { font-size: 40px; }
  .hero-text { font-size: 15px; }
  .event-data { margin-top: 28px; }
  .section-heading, .program-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p, .program-heading > p { max-width: 620px; }
  .call-inner, .participant-space { grid-template-columns: 1fr; gap: 50px; }
  .journey-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .information { grid-template-columns: 1fr; gap: 45px; }
  .program-list article { grid-template-columns: 100px minmax(190px, .8fr) minmax(0, 1fr) 25px; gap: 20px; }
}

/* Portrait tablet */
@media (max-width: 820px) {
  .hero { min-height: 0; align-items: flex-start; padding-top: calc(var(--header) + 34px); }
  .hero-inner { display: flex; flex-direction: column; gap: 34px; }
  .hero-copy { order: 1; width: 100%; padding: 0; }
  .hero-identity { order: 2; width: 100%; max-width: 580px; margin: 0 auto; }
  .hero-identity img { width: 100%; max-height: 560px; object-fit: contain; }
  .hero h1 { max-width: 680px; font-size: clamp(38px, 7vw, 48px); }
  .hero-text, .event-data { max-width: 650px; }
  .highlight-list { grid-template-columns: 1fr; }
  .highlight-list article, .highlight-list article:nth-child(even) { padding: 26px 0; border-right: 0; }
  .guest-placeholder { grid-template-columns: 1fr; }
  .guest-orbit { min-height: 240px; }
  .organizers { grid-template-columns: 1fr 1px 1fr; }
  .organizers div { flex-direction: column; align-items: flex-start; gap: 5px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer nav { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  footer small { grid-column: 1; }
  .top-link { grid-column: 2; }
}

/* Phones */
@media (max-width: 700px) {
  :root { --header: 68px; }
  .header-inner { padding: 0 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 14px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
  .site-header nav.open { height: calc(100dvh - 68px); max-height: calc(100dvh - 68px); padding: 20px 20px max(24px, env(safe-area-inset-bottom)); }
  .site-header nav.open a { padding: 13px 2px; font-size: 23px; }
  .hero { padding: calc(var(--header) + 24px) 18px 54px; }
  .hero::before { width: 4px; top: var(--header); }
  .hero-inner { gap: 30px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 40px); line-height: 1.01; overflow-wrap: normal; }
  .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; font-size: 9px; line-height: 1.4; }
  .eyebrow span { margin-right: 0; padding: 5px 8px; }
  .theme { margin-top: 12px; font-size: 20px; line-height: 1.2; }
  .hero-text { margin: 18px 0 20px; font-size: 14px; line-height: 1.6; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .button { width: 100%; min-height: 45px; }
  .event-data { max-width: none; margin-top: 26px; grid-template-columns: .55fr 1.45fr; }
  .event-data div { padding: 12px 8px 12px 0; }
  .event-data .venue-data { grid-column: 1 / -1; padding-top: 12px !important; border-top: 1px solid var(--line); }
  .event-data span { font-size: 8px; }
  .event-data strong { font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
  .event-data em { font-size: 10px; }
  .hero-identity { max-width: 460px; }
  .hero-identity img { max-height: 430px; }
  .scroll-link { display: none; }
  .intro { padding: 65px 18px 0; }
  .intro-inner { grid-template-columns: 1fr; gap: 10px; }
  .intro-inner > div p { margin-bottom: 50px; }
  .intro h2, .section-heading h2, .program-heading h2, .call h2, .space-copy h2, .information h2 { font-size: clamp(30px, 8.8vw, 38px); line-height: 1.08; }
  .theme-ribbon { height: 62px; margin: 0 -18px; padding: 0 14px; justify-content: space-between; gap: 0; }
  .theme-ribbon span { flex: 0 1 auto; font-size: clamp(14px, 3.8vw, 17px); }
  .theme-ribbon i { width: 4px; height: 4px; flex-basis: 4px; }
  .content-section, .program, .call { padding: 78px 18px; }
  .section-heading { gap: 14px; margin-bottom: 32px; }
  .section-heading > p, .program-heading > p { font-size: 13px; line-height: 1.65; }
  .highlight-list article { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .highlight-list h3 { font-size: 20px; }
  .program-filter { width: 100%; margin-top: 36px; padding-bottom: 5px; }
  .program-list article { grid-template-columns: 70px minmax(0, 1fr) 22px; gap: 10px; padding: 22px 0; }
  .program-list article p { grid-column: 1 / -1; padding-left: 80px; font-size: 13px; }
  .program-list h3 { font-size: 19px; line-height: 1.2; }
  .program-type { font-size: 8px; }
  .program-footer { align-items: stretch; flex-direction: column; gap: 15px; }
  .program-footer-actions { align-items: stretch; flex-direction: column; }
  .program-footer button, .program-footer-link { width: 100%; }
  .call-actions { flex-direction: column; align-items: stretch; }
  .call-actions .button { width: 100%; }
  .updates-strip { padding: 46px 18px; grid-template-columns: 1fr; align-items: stretch; }
  .updates-strip .button { width: 100%; }
  .guest-placeholder { min-height: 0; }
  .guest-placeholder > div:last-child { padding: 28px 24px; }
  .call-options div { grid-template-columns: 34px minmax(0, 1fr); }
  .journey-list { grid-template-columns: 1fr; row-gap: 0; }
  .journey-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .journey-list li > span { margin: 0; }
  .journey-list p { grid-column: 2; }
  .participant-space { padding: 78px 18px; }
  .space-actions a { gap: 10px; }
  .space-actions a span { font-size: 17px; }
  .faq summary { font-size: 17px; }
  .organizers { padding: 38px 18px; grid-template-columns: 1fr; }
  .organizers i { width: 100%; height: 1px; }
  .organizers div { max-width: 100%; }
  .organizers span { max-width: 100%; }
  footer { grid-template-columns: 1fr; padding: 58px 18px 24px; }
  footer nav, footer small, .top-link { grid-column: 1; }
  .top-link { justify-self: start; margin-top: 10px; }
  dialog { padding: 34px 22px; }
  dialog form div { grid-template-columns: 1fr; }
  dialog input { width: 100%; border-radius: 4px 4px 0 0; }
  dialog form button { min-height: 44px; border-radius: 0 0 4px 4px; }
}

/* Small phones */
@media (max-width: 380px) {
  .brand-copy small { max-width: 135px; }
  .hero { padding-inline: 15px; }
  .hero h1 { font-size: 33px; }
  .theme { font-size: 18px; }
  .theme-ribbon { padding-inline: 10px; }
  .theme-ribbon span { font-size: 13.5px; }
  .theme-ribbon i { width: 3px; height: 3px; flex-basis: 3px; }
  .event-data { grid-template-columns: 1fr; }
  .event-data .venue-data { grid-column: 1; }
  .event-data div + div { border-top: 1px solid var(--line); }
  .program-list article { grid-template-columns: 62px minmax(0, 1fr) 20px; }
  .program-list article p { padding-left: 72px; }
  .space-actions a { align-items: flex-start; flex-direction: column; padding: 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Programa dinámico desde administración */
.dynamic-program article.program-group { grid-template-columns: 150px minmax(210px,.55fr) minmax(0,1fr) 30px; align-items: start; }
.dynamic-program article.program-group:hover { color: var(--white); }
.program-group-body { min-width: 0; display: grid; gap: 10px; }
.program-event-item { display: block; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: inherit; text-decoration: none; background: rgba(255,255,255,.035); transition: border-color .2s, background .2s, transform .2s; }
.program-event-item:hover { border-color: var(--gold); background: rgba(232,173,24,.1); transform: translateX(4px); }
.program-event-item strong, .program-event-item span, .program-event-item em, .program-event-item small { display: block; min-width: 0; }
.program-event-item strong { margin-bottom: 5px; color: var(--white); font: 700 15px/1.3 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; }
.program-event-item span { color: #d8d9d4; font-size: 12px; line-height: 1.45; }
.program-event-item em { margin-top: 4px; color: var(--gold); font-size: 12px; font-style: normal; font-weight: 700; }
.program-event-item small { margin-top: 6px; color: #bfc0bc; font-size: 12px; line-height: 1.45; }
.program-footer-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 4px; color: var(--ink); background: var(--gold); font-size: 12px; font-weight: 700; text-decoration: none; }
.program-footer-link span { margin-left: 25px; }
@media(max-width:760px){.dynamic-program article.program-group{grid-template-columns:72px minmax(0,1fr) 22px}.program-group-body{grid-column:1/-1;padding-left:82px}.program-event-item{padding:11px 12px}.program-event-item strong{font-size:14px}.program-event-item span,.program-event-item em,.program-event-item small{font-size:11.5px}}
@media(max-width:380px){.dynamic-program article.program-group{grid-template-columns:62px minmax(0,1fr) 20px}.program-group-body{padding-left:72px}.program-filter button{padding-left:14px;padding-right:14px}}
.dynamic-program .program-group-body p{grid-column:auto!important;padding-left:0!important}

/* =========================================================
   Entrada animada FIL CNEIP · Libro vivo 2.0
   Experiencia editorial inmersiva
   ---------------------------------------------------------
   - Primera entrada: html.intro-first usa una duración amplia para generar expectativa.
   - Segunda entrada y posteriores: html.intro-fast conserva la narrativa, pero acelera el ritmo.
   - Para pruebas de primera entrada: ejecutar en consola
     localStorage.removeItem('fil_cneip_intro_AÑO_seen')
   - Construida sólo con HTML/CSS/JS y los logos oficiales del portal.
   - Fondo claro/marfil para preservar contraste y lectura de los logotipos.
   - Los elementos animados reinterpretan la imagen oficial: libro abierto, páginas,
     hojas, aves, perfiles humanos y fragmentos editoriales.
   ========================================================= */
.entry-intro {
  --intro-total: 10.8s;
  --intro-ease: cubic-bezier(.18, .84, .18, 1);
  --intro-soft: cubic-bezier(.22, .72, .12, 1);
  --mx: 0;
  --my: 0;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(232, 173, 24, .18), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(104, 38, 111, .10), transparent 31%),
    radial-gradient(circle at 50% 100%, rgba(109, 0, 31, .085), transparent 39%),
    linear-gradient(145deg, #ffffff 0%, #fffdf8 44%, #fbf3e5 100%);
  overflow: hidden;
  isolation: isolate;
  animation: introV2CurtainOut .72s ease forwards;
  animation-delay: calc(var(--intro-total) - .72s);
}
html.intro-fast .entry-intro { --intro-total: 4.1s; }
.entry-intro.is-dismissed { display: none; }
.entry-intro.is-closing { animation: introV2CurtainOut .42s ease forwards !important; }
.entry-intro *, .entry-intro *::before, .entry-intro *::after { box-sizing: border-box; }

.entry-paper-field,
.entry-world,
.entry-logo-reel,
.entry-live-note,
.entry-closing-title,
.entry-progress,
.entry-skip { position: absolute; }

.entry-paper-field { inset: 0; z-index: 0; overflow: hidden; }
.entry-paper-grain {
  position: absolute;
  inset: -8%;
  opacity: .18;
  background:
    repeating-linear-gradient(0deg, rgba(109,0,31,.06) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(41,43,45,.035) 0 1px, transparent 1px 11px);
  transform: rotate(-1deg) scale(1.04);
  animation: introV2Grain var(--intro-total) linear both;
}
.entry-ribbon {
  position: absolute;
  width: min(76vw, 760px);
  height: clamp(72px, 12vw, 132px);
  border-radius: 999px;
  filter: blur(2px);
  opacity: .34;
  mix-blend-mode: multiply;
  transform-origin: center;
}
.ribbon-gold { left: -12vw; top: 10vh; background: linear-gradient(90deg, transparent, rgba(232,173,24,.66), transparent); transform: rotate(-16deg); animation: introV2RibbonGold var(--intro-total) var(--intro-soft) both; }
.ribbon-wine { right: -18vw; top: 44vh; background: linear-gradient(90deg, transparent, rgba(109,0,31,.30), transparent); transform: rotate(12deg); animation: introV2RibbonWine var(--intro-total) var(--intro-soft) both; }
.ribbon-purple { left: 22vw; bottom: 8vh; background: linear-gradient(90deg, transparent, rgba(104,38,111,.24), transparent); transform: rotate(5deg); animation: introV2RibbonPurple var(--intro-total) var(--intro-soft) both; }

.entry-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(104vw, 1060px);
  aspect-ratio: 1.9/1;
  border: 1px solid rgba(109,0,31,.12);
  border-left-color: rgba(232,173,24,.46);
  border-right-color: rgba(104,38,111,.22);
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: .78;
  transform: translate(-50%,-50%) rotate(-8deg);
  animation: introV2Orbit var(--intro-total) linear both;
}
.entry-orbit.orbit-b { width: min(86vw, 820px); border-top-color: rgba(232,173,24,.28); border-left-color: transparent; animation-direction: reverse; opacity: .45; }
.entry-thread {
  position: absolute;
  left: 50%;
  width: 118vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,0,31,.34), rgba(232,173,24,.58), rgba(104,38,111,.20), transparent);
  opacity: 0;
}
.entry-thread::after {
  content: "";
  position: absolute;
  right: 24%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(109,0,31,.46);
  box-shadow: 90px 12px 0 rgba(232,173,24,.42), -130px -9px 0 rgba(104,38,111,.26);
}
.thread-a { top: 22%; transform: translateX(-50%) rotate(-11deg); animation: introV2ThreadA var(--intro-total) linear both; }
.thread-b { top: 47%; transform: translateX(-50%) rotate(7deg); animation: introV2ThreadB var(--intro-total) linear both; }
.thread-c { bottom: 19%; transform: translateX(-50%) rotate(14deg); animation: introV2ThreadC var(--intro-total) linear both; }

.entry-world {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px), 0);
  transition: transform .18s ease-out;
}
.entry-book-v2 {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 12vh, 126px);
  width: min(78vw, 780px);
  height: clamp(132px, 24vw, 252px);
  transform: translateX(-50%);
  perspective: 1100px;
  transform-style: preserve-3d;
  animation: introV2BookWorld var(--intro-total) var(--intro-soft) both;
}
.book-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -12px;
  height: 26px;
  border-radius: 50%;
  background: rgba(109,0,31,.18);
  filter: blur(18px);
  opacity: 0;
  animation: introV2BookShadow var(--intro-total) ease both;
}
.book-cover,
.book-page {
  position: absolute;
  bottom: 8px;
  height: 70%;
  border: 1px solid rgba(109,0,31,.26);
  box-shadow: 0 22px 54px rgba(109,0,31,.08), inset 0 0 28px rgba(232,173,24,.08);
  opacity: 0;
  backface-visibility: hidden;
}
.book-cover { width: 50%; background: linear-gradient(180deg, rgba(109,0,31,.94), rgba(66,0,20,.90)); border-color: rgba(109,0,31,.32); }
.cover-left { right: 50%; border-radius: 20px 6px 12px 22px; transform-origin: right bottom; animation: introV2CoverLeft var(--intro-total) var(--intro-ease) both; }
.cover-right { left: 50%; border-radius: 6px 20px 22px 12px; transform-origin: left bottom; animation: introV2CoverRight var(--intro-total) var(--intro-ease) both; }
.book-page { width: 48.5%; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,248,232,.88)); }
.page-left { right: 50%; border-radius: 18px 4px 10px 20px; transform-origin: right bottom; }
.page-right { left: 50%; border-radius: 4px 18px 20px 10px; transform-origin: left bottom; }
.page-depth-1 { animation: introV2PageLeft1 var(--intro-total) var(--intro-ease) both; }
.page-left.page-depth-2 { width: 46.5%; animation: introV2PageLeft2 var(--intro-total) var(--intro-ease) both; }
.page-right.page-depth-1 { animation: introV2PageRight1 var(--intro-total) var(--intro-ease) both; }
.page-right.page-depth-2 { width: 46.5%; animation: introV2PageRight2 var(--intro-total) var(--intro-ease) both; }
.book-spine {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(10px, 1.4vw, 16px);
  height: 76%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wine), var(--wine-dark));
  transform: translateX(-50%);
  box-shadow: 0 16px 28px rgba(109,0,31,.22);
  opacity: 0;
  animation: introV2Spine var(--intro-total) ease both;
}
.book-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(109,0,31,.18), rgba(232,173,24,.74), rgba(104,38,111,.14));
  opacity: 0;
  animation: introV2BookLines var(--intro-total) var(--intro-soft) both;
}
.line-left-a { left: 16%; bottom: 43%; width: 25%; }
.line-left-b { left: 19%; bottom: 34%; width: 18%; animation-delay: calc(var(--intro-total) * .01); }
.line-right-a { right: 16%; bottom: 43%; width: 25%; }
.line-right-b { right: 19%; bottom: 34%; width: 18%; animation-delay: calc(var(--intro-total) * .012); }

.entry-tree {
  position: absolute;
  right: clamp(52px, 14vw, 210px);
  bottom: clamp(156px, 25vh, 250px);
  width: clamp(170px, 28vw, 340px);
  height: clamp(210px, 34vw, 410px);
  transform-origin: 18% 100%;
  opacity: 0;
  animation: introV2TreeGrow var(--intro-total) var(--intro-soft) both;
}
.tree-stem {
  position: absolute;
  left: 20%;
  bottom: 0;
  width: 3px;
  height: 74%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(109,0,31,.34), rgba(109,0,31,.78));
  transform-origin: bottom center;
}
.stem-main { height: 82%; transform: rotate(-8deg); }
.stem-a { height: 58%; transform: rotate(23deg); bottom: 22%; left: 36%; }
.stem-b { height: 48%; transform: rotate(-34deg); bottom: 28%; left: 28%; }
.entry-tree i {
  position: absolute;
  width: clamp(22px, 3.2vw, 44px);
  height: clamp(34px, 5vw, 68px);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--gold), #ffd96a);
  box-shadow: 0 12px 18px rgba(232,173,24,.18);
  transform-origin: 12% 90%;
  opacity: 0;
  animation: introV2LeafOpen var(--intro-total) var(--intro-ease) both;
}
.entry-tree i:nth-of-type(1){ left: 28%; top: 18%; transform: rotate(-28deg); }
.entry-tree i:nth-of-type(2){ left: 46%; top: 6%; transform: rotate(19deg); animation-delay: calc(var(--intro-total) * .018); }
.entry-tree i:nth-of-type(3){ left: 56%; top: 24%; transform: rotate(45deg); animation-delay: calc(var(--intro-total) * .03); }
.entry-tree i:nth-of-type(4){ left: 18%; top: 34%; transform: rotate(-54deg); animation-delay: calc(var(--intro-total) * .045); }
.entry-tree i:nth-of-type(5){ left: 62%; top: 43%; transform: rotate(66deg); animation-delay: calc(var(--intro-total) * .055); }
.entry-tree i:nth-of-type(6){ left: 38%; top: 47%; transform: rotate(-9deg); animation-delay: calc(var(--intro-total) * .065); }
.entry-tree i:nth-of-type(7){ left: 8%; top: 55%; transform: rotate(-70deg); animation-delay: calc(var(--intro-total) * .075); }
.entry-tree i:nth-of-type(8){ left: 72%; top: 10%; transform: rotate(28deg); animation-delay: calc(var(--intro-total) * .085); }
.entry-tree i:nth-of-type(9){ left: 76%; top: 61%; transform: rotate(76deg); animation-delay: calc(var(--intro-total) * .095); }

.entry-human-group {
  position: absolute;
  left: clamp(64px, 19vw, 285px);
  bottom: clamp(156px, 25vh, 255px);
  width: clamp(140px, 20vw, 230px);
  height: clamp(130px, 20vw, 230px);
  opacity: 0;
  animation: introV2HumanGroup var(--intro-total) var(--intro-soft) both;
}
.entry-human {
  position: absolute;
  bottom: 0;
  width: clamp(42px, 6vw, 76px);
  height: clamp(82px, 12vw, 145px);
  clip-path: polygon(50% 0, 70% 8%, 82% 22%, 76% 39%, 88% 52%, 71% 58%, 64% 73%, 76% 100%, 18% 100%, 27% 70%, 19% 48%, 28% 24%);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.14));
  opacity: .96;
}
.human-ink { left: 0; background: #2d3333; }
.human-wine { left: 36%; height: clamp(92px, 13vw, 160px); background: #7a0022; }
.human-gold { left: 70%; width: clamp(32px, 4.8vw, 58px); height: clamp(72px, 10vw, 120px); background: #d99e12; }

.entry-fragments {
  position: absolute;
  left: clamp(14px, 9vw, 150px);
  bottom: clamp(166px, 30vh, 330px);
  width: min(30vw, 260px);
  height: min(32vw, 290px);
  opacity: 0;
  animation: introV2FragmentsGroup var(--intro-total) var(--intro-soft) both;
}
.entry-fragments i {
  position: absolute;
  width: clamp(8px, 1.5vw, 18px);
  aspect-ratio: 1;
  background: rgba(41, 43, 45, .86);
  clip-path: polygon(48% 0, 100% 33%, 72% 100%, 13% 80%, 0 25%);
  opacity: 0;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.18));
  animation: introV2FragmentFly var(--intro-total) var(--intro-ease) both;
}
.entry-fragments i:nth-child(1){ left: 8%; top: 46%; --fx:-46px; --fy:-70px; }
.entry-fragments i:nth-child(2){ left: 32%; top: 56%; --fx:-72px; --fy:-20px; background: var(--wine); }
.entry-fragments i:nth-child(3){ left: 44%; top: 36%; --fx:-18px; --fy:-82px; background: var(--gold); }
.entry-fragments i:nth-child(4){ left: 61%; top: 48%; --fx:18px; --fy:-74px; background: var(--purple); }
.entry-fragments i:nth-child(5){ left: 22%; top: 24%; --fx:-86px; --fy:-96px; }
.entry-fragments i:nth-child(6){ left: 74%; top: 30%; --fx:48px; --fy:-92px; background: var(--wine); }
.entry-fragments i:nth-child(7){ left: 16%; top: 70%; --fx:-60px; --fy:14px; background: var(--gold); }
.entry-fragments i:nth-child(8){ left: 84%; top: 60%; --fx:58px; --fy:-28px; }
.entry-fragments i:nth-child(9){ left: 54%; top: 74%; --fx:20px; --fy:24px; background: var(--purple); }

.entry-birds {
  position: absolute;
  right: clamp(24px, 9vw, 150px);
  top: clamp(78px, 16vh, 150px);
  width: min(36vw, 390px);
  height: min(28vw, 230px);
}
.entry-birds i {
  position: absolute;
  width: clamp(30px, 4.2vw, 58px);
  height: clamp(16px, 2.1vw, 30px);
  opacity: 0;
  animation: introV2BirdFly var(--intro-total) var(--intro-soft) both;
}
.entry-birds i::before,
.entry-birds i::after {
  content: "";
  position: absolute;
  top: 48%;
  width: 58%;
  height: 2px;
  background: rgba(41,43,45,.82);
  transform-origin: right center;
  border-radius: 999px;
}
.entry-birds i::before { left: 0; transform: rotate(-22deg); }
.entry-birds i::after { right: 0; transform-origin: left center; transform: rotate(22deg); }
.entry-birds i:nth-child(1){ left: 58%; top: 10%; --bx:-62px; --by:-18px; }
.entry-birds i:nth-child(2){ left: 30%; top: 40%; --bx:-120px; --by:-4px; animation-delay: calc(var(--intro-total) * .025); }
.entry-birds i:nth-child(3){ left: 76%; top: 62%; --bx:-72px; --by:28px; animation-delay: calc(var(--intro-total) * .042); }
.entry-birds i:nth-child(4){ left: 8%; top: 18%; --bx:-150px; --by:-28px; animation-delay: calc(var(--intro-total) * .065); }

.entry-logo-reel {
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 9px), calc(var(--my) * 6px), 0);
  transition: transform .18s ease-out;
}
.entry-panel {
  position: absolute;
  width: min(88vw, 570px);
  min-height: clamp(205px, 31vh, 320px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(109,0,31,.12);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 26px 70px rgba(109,0,31,.12), inset 0 1px 0 rgba(255,255,255,.80);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform-origin: center;
}
.entry-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232,173,24,.24);
  border-radius: inherit;
  pointer-events: none;
}
.entry-panel-number {
  position: absolute;
  left: 18px;
  top: 16px;
  color: rgba(109,0,31,.48);
  font: 700 10px/1 "Avenir Next", Arial, sans-serif;
  letter-spacing: .18em;
}
.entry-panel img {
  position: relative;
  max-width: min(70vw, 360px);
  max-height: 27dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(41,43,45,.08));
}
.entry-panel-cneip img { max-width: min(52vw, 270px); }
.entry-panel-udem img { max-width: min(68vw, 360px); }
.entry-panel-fil img { max-width: min(70vw, 390px); }
.entry-panel-main { width: min(92vw, 660px); min-height: clamp(270px, 42vh, 450px); }
.entry-panel-main img { max-width: min(82vw, 500px); max-height: 36dvh; }
.entry-panel p {
  position: relative;
  max-width: 440px;
  margin: 0;
  color: rgba(41,43,45,.76);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.55;
  text-transform: uppercase;
}
.entry-panel-cneip { animation: introV2LogoCneip var(--intro-total) var(--intro-ease) both; }
.entry-panel-udem { animation: introV2LogoUdem var(--intro-total) var(--intro-ease) both; }
.entry-panel-fil { animation: introV2LogoFil var(--intro-total) var(--intro-ease) both; }
.entry-panel-main { animation: introV2LogoMain var(--intro-total) var(--intro-ease) both; }

.entry-live-note {
  left: max(22px, env(safe-area-inset-left));
  bottom: max(26px, calc(env(safe-area-inset-bottom) + 24px));
  z-index: 4;
  width: min(360px, calc(100vw - 44px));
  padding: 15px 17px;
  border: 1px solid rgba(109,0,31,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 44px rgba(109,0,31,.10);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  animation: introV2LiveNote var(--intro-total) var(--intro-soft) both;
}
.entry-live-note span,
.entry-live-note strong,
.entry-live-note em { display: block; }
.entry-live-note span { color: var(--wine); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.entry-live-note strong { margin-top: 5px; font: 600 17px/1.2 Georgia, serif; color: var(--ink); }
.entry-live-note em { margin-top: 5px; color: rgba(41,43,45,.72); font-size: 12px; line-height: 1.4; font-style: normal; }

.entry-closing-title {
  left: 50%;
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 64px));
  z-index: 4;
  width: min(92vw, 760px);
  transform: translateX(-50%);
  text-align: center;
  color: var(--wine);
  opacity: 0;
  text-shadow: 0 14px 42px rgba(109,0,31,.10);
  animation: introV2ClosingText var(--intro-total) var(--intro-soft) both;
}
.entry-closing-title span { display: block; color: rgba(109,0,31,.72); font: italic 400 clamp(18px, 2vw, 26px) Georgia, serif; }
.entry-closing-title strong { display: block; margin-top: 3px; font: 400 clamp(34px, 6vw, 72px)/.95 Georgia, serif; }
.entry-closing-title small { display: block; margin-top: 12px; color: rgba(41,43,45,.70); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.entry-progress {
  left: max(22px, env(safe-area-inset-left));
  right: max(22px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 5;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(109,0,31,.10);
}
.entry-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--wine), var(--gold), var(--purple), var(--wine));
  transform-origin: left center;
  animation: introV2Progress var(--intro-total) linear both;
}
.entry-skip {
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 6;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(109,0,31,.16);
  border-radius: 999px;
  color: var(--wine);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(109,0,31,.09);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}
.entry-skip:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(109,0,31,.13); }
html.intro-finished .hero-copy { animation: introV2HeroArrival .72s ease both; }
html.intro-finished .hero-identity { animation: introV2HeroIdentityArrival .85s ease both; }

@keyframes introV2LogoCneip {
  0%, 5% { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(14px); }
  8%, 21% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  26%, 100% { opacity: 0; transform: translateY(-16px) scale(.985); filter: blur(10px); }
}
@keyframes introV2LogoUdem {
  0%, 22% { opacity: 0; transform: translateX(34px) rotate(.8deg) scale(.96); filter: blur(13px); }
  27%, 40% { opacity: 1; transform: translateX(0) rotate(0) scale(1); filter: blur(0); }
  45%, 100% { opacity: 0; transform: translateX(-30px) rotate(-.6deg) scale(.99); filter: blur(10px); }
}
@keyframes introV2LogoFil {
  0%, 42% { opacity: 0; transform: perspective(900px) rotateY(-18deg) translateY(16px) scale(.96); filter: blur(13px); }
  48%, 60% { opacity: 1; transform: perspective(900px) rotateY(0) translateY(0) scale(1); filter: blur(0); }
  65%, 100% { opacity: 0; transform: perspective(900px) rotateY(14deg) translateY(-12px) scale(.99); filter: blur(9px); }
}
@keyframes introV2LogoMain {
  0%, 62% { opacity: 0; transform: translateY(22px) scale(.90); filter: blur(18px); }
  69%, 84% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  92%, 100% { opacity: 0; transform: translateY(-18px) scale(1.035); filter: blur(12px); }
}
@keyframes introV2BookWorld {
  0% { opacity: 0; transform: translateX(-50%) translateY(64px) scale(.86); filter: blur(12px); }
  10%, 88% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(34px) scale(1.04); filter: blur(8px); }
}
@keyframes introV2BookShadow { 0%, 8% { opacity: 0; transform: scale(.4); } 20%, 86% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes introV2CoverLeft { 0%, 8% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.08); } 18%, 82% { opacity: 1; transform: rotateY(-37deg) rotateZ(-2deg) scaleX(1); } 100% { opacity: 0; transform: rotateY(-44deg) rotateZ(-3deg) scaleX(1.02); } }
@keyframes introV2CoverRight { 0%, 8% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.08); } 18%, 82% { opacity: 1; transform: rotateY(37deg) rotateZ(2deg) scaleX(1); } 100% { opacity: 0; transform: rotateY(44deg) rotateZ(3deg) scaleX(1.02); } }
@keyframes introV2PageLeft1 { 0%, 10% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.08); } 22%, 82% { opacity: .98; transform: rotateY(-23deg) rotateZ(-1.2deg) scaleX(1); } 100% { opacity: 0; } }
@keyframes introV2PageLeft2 { 0%, 12% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.05); } 28%, 82% { opacity: .86; transform: rotateY(-13deg) rotateZ(-.5deg) scaleX(1); } 100% { opacity: 0; } }
@keyframes introV2PageRight1 { 0%, 10% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.08); } 22%, 82% { opacity: .98; transform: rotateY(23deg) rotateZ(1.2deg) scaleX(1); } 100% { opacity: 0; } }
@keyframes introV2PageRight2 { 0%, 12% { opacity: 0; transform: rotateY(0) rotateZ(0) scaleX(.05); } 28%, 82% { opacity: .86; transform: rotateY(13deg) rotateZ(.5deg) scaleX(1); } 100% { opacity: 0; } }
@keyframes introV2Spine { 0%, 8% { opacity: 0; transform: translateX(-50%) scaleY(.25); } 18%, 86% { opacity: 1; transform: translateX(-50%) scaleY(1); } 100% { opacity: 0; } }
@keyframes introV2BookLines { 0%, 20% { opacity: 0; transform: scaleX(.18); } 34%, 80% { opacity: .94; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1.08); } }
@keyframes introV2TreeGrow { 0%, 38% { opacity: 0; transform: translateY(30px) rotate(-6deg) scale(.68); filter: blur(9px); } 55%, 86% { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); } 100% { opacity: 0; transform: translateY(-24px) rotate(3deg) scale(1.06); filter: blur(8px); } }
@keyframes introV2LeafOpen { 0%, 43% { opacity: 0; clip-path: inset(100% 0 0 0 round 100% 0 100% 0); } 58%, 86% { opacity: 1; clip-path: inset(0 0 0 0 round 100% 0 100% 0); } 100% { opacity: 0; } }
@keyframes introV2HumanGroup { 0%, 45% { opacity: 0; transform: translateY(32px) scale(.82); filter: blur(9px); } 58%, 86% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } 100% { opacity: 0; transform: translateY(-14px) scale(1.03); filter: blur(7px); } }
@keyframes introV2FragmentsGroup { 0%, 40% { opacity: 0; transform: translateY(22px) scale(.76); } 54%, 84% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-12px) scale(1.05); } }
@keyframes introV2FragmentFly { 0%, 42% { opacity: 0; transform: translate(0,0) rotate(0) scale(.72); } 58%, 84% { opacity: .96; transform: translate(var(--fx), var(--fy)) rotate(68deg) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--fx) * 1.28), calc(var(--fy) * 1.28)) rotate(126deg) scale(.88); } }
@keyframes introV2BirdFly { 0%, 50% { opacity: 0; transform: translate(110px, 48px) scale(.72); filter: blur(5px); } 64%, 86% { opacity: .95; transform: translate(var(--bx), var(--by)) scale(1); filter: blur(0); } 100% { opacity: 0; transform: translate(calc(var(--bx) - 96px), calc(var(--by) - 44px)) scale(.88); filter: blur(4px); } }
@keyframes introV2LiveNote { 0%, 72% { opacity: 0; transform: translateY(14px); } 78%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes introV2ClosingText { 0%, 72% { opacity: 0; transform: translateX(-50%) translateY(18px); filter: blur(10px); } 80%, 92% { opacity: 1; transform: translateX(-50%) translateY(0); filter: blur(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(-13px); filter: blur(8px); } }
@keyframes introV2RibbonGold { 0% { transform: translateX(-12%) rotate(-16deg); opacity: 0; } 15%, 86% { opacity: .34; } 100% { transform: translateX(12%) rotate(-11deg); opacity: 0; } }
@keyframes introV2RibbonWine { 0% { transform: translateX(10%) rotate(12deg); opacity: 0; } 20%, 86% { opacity: .26; } 100% { transform: translateX(-12%) rotate(7deg); opacity: 0; } }
@keyframes introV2RibbonPurple { 0% { transform: translateX(-8%) rotate(5deg); opacity: 0; } 18%, 86% { opacity: .24; } 100% { transform: translateX(10%) rotate(11deg); opacity: 0; } }
@keyframes introV2Grain { 0% { transform: rotate(-1deg) scale(1.04); opacity: .12; } 50% { opacity: .18; } 100% { transform: rotate(1deg) scale(1.06); opacity: 0; } }
@keyframes introV2Orbit { from { transform: translate(-50%,-50%) rotate(-10deg) scale(.92); } to { transform: translate(-50%,-50%) rotate(16deg) scale(1.06); } }
@keyframes introV2ThreadA { 0% { opacity: 0; transform: translateX(-62%) rotate(-11deg); } 12%, 88% { opacity: .70; } 100% { opacity: 0; transform: translateX(-38%) rotate(-11deg); } }
@keyframes introV2ThreadB { 0% { opacity: 0; transform: translateX(-36%) rotate(7deg); } 18%, 86% { opacity: .58; } 100% { opacity: 0; transform: translateX(-64%) rotate(7deg); } }
@keyframes introV2ThreadC { 0% { opacity: 0; transform: translateX(-66%) rotate(14deg); } 18%, 86% { opacity: .50; } 100% { opacity: 0; transform: translateX(-34%) rotate(14deg); } }
@keyframes introV2Progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introV2CurtainOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes introV2HeroArrival { from { opacity: .55; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introV2HeroIdentityArrival { from { opacity: .65; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 820px) {
  .entry-intro { padding-inline: 16px; }
  .entry-logo-reel { place-items: center; }
  .entry-panel { width: min(88vw, 520px); min-height: clamp(190px, 32dvh, 290px); padding: 24px 22px; border-radius: 24px; }
  .entry-panel img { max-height: 24dvh; }
  .entry-panel-cneip img { max-width: min(56vw, 250px); }
  .entry-panel-udem img { max-width: min(74vw, 350px); }
  .entry-panel-fil img { max-width: min(76vw, 370px); }
  .entry-panel-main { width: min(92vw, 560px); min-height: clamp(245px, 40dvh, 380px); }
  .entry-panel-main img { max-width: min(84vw, 440px); max-height: 34dvh; }
  .entry-panel p { max-width: 78vw; font-size: 9.5px; letter-spacing: .09em; }
  .entry-book-v2 { width: 100vw; bottom: clamp(66px, 10vh, 92px); height: clamp(118px, 31vw, 190px); }
  .entry-tree { right: -5vw; bottom: clamp(142px, 22vh, 220px); width: 42vw; height: 54vw; }
  .entry-human-group { left: 7vw; bottom: clamp(144px, 22vh, 220px); transform: scale(.9); }
  .entry-fragments { left: -4vw; bottom: 28vh; width: 38vw; height: 42vw; }
  .entry-birds { right: -12vw; top: 15vh; width: 52vw; }
  .entry-live-note { left: 18px; right: 18px; bottom: max(48px, calc(env(safe-area-inset-bottom) + 42px)); width: auto; padding: 13px 14px; }
  .entry-closing-title { bottom: max(88px, calc(env(safe-area-inset-bottom) + 80px)); }
  .entry-closing-title small { max-width: 76vw; margin-inline: auto; font-size: 10px; line-height: 1.45; }
  .entry-skip { top: max(14px, env(safe-area-inset-top)); right: 14px; min-height: 34px; padding: 0 11px; font-size: 9px; }
  .entry-progress { left: 18px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .entry-panel { min-height: 206px; }
  .entry-panel img { max-height: 22dvh; }
  .entry-panel-main { min-height: 300px; }
  .entry-panel-main img { max-height: 36dvh; }
  .entry-book-v2 { width: 112vw; height: clamp(120px, 35vw, 160px); bottom: 9vh; }
  .entry-tree { right: -16vw; bottom: 24vh; width: 52vw; height: 68vw; }
  .entry-human-group { left: 2vw; bottom: 23vh; transform: scale(.78); }
  .entry-fragments { left: -13vw; bottom: 30vh; transform: scale(.84); }
  .entry-birds { right: -24vw; top: 18vh; }
  .entry-live-note { display: none; }
  .entry-closing-title strong { font-size: clamp(29px, 9.5vw, 39px); }
}
@media (max-height: 620px) and (orientation: landscape) {
  .entry-panel { min-height: 210px; padding-block: 20px; }
  .entry-panel img { max-height: 32dvh; }
  .entry-panel-main img { max-height: 38dvh; }
  .entry-book-v2 { bottom: 7vh; height: 32vh; width: min(82vw, 720px); }
  .entry-live-note { display: none; }
  .entry-closing-title { bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-intro { --intro-total: 1.25s !important; }
  .entry-paper-grain,
  .entry-ribbon,
  .entry-orbit,
  .entry-thread,
  .entry-world,
  .entry-book-v2,
  .book-shadow,
  .book-cover,
  .book-page,
  .book-spine,
  .book-line,
  .entry-tree,
  .entry-tree i,
  .entry-human-group,
  .entry-fragments,
  .entry-fragments i,
  .entry-birds i,
  .entry-panel,
  .entry-live-note,
  .entry-closing-title,
  .entry-progress span { animation-duration: .01ms !important; }
  .entry-panel-main { opacity: 1 !important; filter: none !important; transform: none !important; }
  .entry-world { opacity: .28; }
}

/* Voces invitadas dinámicas en el portal */
.guest-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:18px}.guest-card{min-width:0;display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 18px 50px rgba(41,43,45,.06)}.guest-card.featured{grid-row:span 2;grid-template-columns:1fr;align-items:end;min-height:420px;color:#fff;background:linear-gradient(135deg,var(--wine),var(--ink));border:0}.guest-portrait{width:116px;aspect-ratio:1;overflow:hidden;border-radius:50%;display:grid;place-items:center;background:var(--wine);color:#fff;font:700 32px Georgia,serif}.guest-card.featured .guest-portrait{width:150px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12)}.guest-portrait img{width:100%;height:100%;object-fit:cover}.guest-card-copy{min-width:0}.guest-card small{display:block;margin-bottom:8px;color:var(--wine);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.guest-card.featured small{color:var(--gold)}.guest-card h3{margin:0;font:400 clamp(24px,3vw,36px)/1.05 Georgia,serif}.guest-card p{margin:10px 0 0;color:var(--muted);line-height:1.55;font-size:14px}.guest-card.featured p{color:#ead7dd}.guest-role{font-weight:800;color:var(--ink)!important}.guest-card.featured .guest-role{color:#fff!important}.guest-card a{display:inline-flex;gap:14px;align-items:center;margin-top:16px;color:var(--wine);font-size:12px;font-weight:900;text-decoration:none}.guest-card.featured a{color:var(--gold)}
@media(max-width:920px){.guest-grid{grid-template-columns:1fr}.guest-card.featured{grid-row:auto;min-height:0}.guest-card.featured{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:620px){.guest-card,.guest-card.featured{grid-template-columns:1fr;gap:16px;padding:18px}.guest-portrait,.guest-card.featured .guest-portrait{width:96px}.guest-card h3{font-size:27px}}
