/* Generado desde src/styles/. */
/* Orden: variables, componentes, movimiento y ajustes responsivos. */
:root{
  --navy: #0b4163;
  --purple: #563470;
  --gold: #fac20b;
  --paper: #f5f3ee;
  --ink: #153a51;
  --muted: #737d83;
  --ease: cubic-bezier(.22,1,.36,1);
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans',Arial,sans-serif;
}

body.intro-running{
  overflow: hidden;
}

a{
  color: inherit;
  text-decoration: none;
}

button,
select{
  font: inherit;
}

button,
a,
select{
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button{
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
select:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

button{
  color: inherit;
}

button:disabled{
  cursor: default;
}

::selection{
  background: var(--gold);
  color: var(--navy);
}

header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5.5%;
  color: white;
}

header>a img{
  width: 145px;
  height: 60px;
  object-fit: contain;
}

nav{
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 12px;
}

nav a{
  opacity: .8;
  transition: opacity .3s;
}

nav a:hover{
  opacity: 1;
}

nav a:last-child{
  padding: 12px 22px;
  border: 1px solid #ffffff38;
  border-radius: 50px;
}

nav span{
  margin-left: 20px;
}

.hero{
  min-height: 820px;
  height: 100svh;
  max-height: 1200px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: #432c60;
}


.hero-shade{
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(120deg,#18354ee8 0%,#4c306bb0 50%,#3d285bcd 100%),linear-gradient(0deg,#142e47 0%,transparent 50%);
}

.light{
  position: absolute;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .17;
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate;
}

.light-a{
  background: #af79cd;
  top: -20%;
  right: -10%;
}

.light-b{
  background: #dfb446;
  left: -20%;
  bottom: -35%;
  animation-delay: -7s;
}

.hero-center{
  max-width: 1100px;
  margin: auto;
  padding: 155px 30px 125px;
  text-align: center;
  position: relative;
}

.welcome{
  font-family: Georgia,serif;
  font-style: italic;
  font-size: 25px;
  margin: 0 0 8px;
  opacity: .88;
}

.logo-stage{
  position: relative;
  width: min(620px,80%);
  margin: 43px auto 30px;
}

.event-logo{
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 30px #0002);
}

.logo-glow{
  position: absolute;
  inset: 18% 5%;
  background: #b693d333;
  filter: blur(50px);
  border-radius: 50%;
  animation: glow 6s ease-in-out infinite alternate;
}

.hero-message{
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.3px;
  margin: 20px 0 25px;
}

.hero-message em{
  font-family: Georgia,serif;
  color: var(--gold);
  font-size: 26px;
  font-weight: 400;
}

.text-button{
  background: transparent;
  border: 0;
  padding: 10px 0;
  color: inherit;
  font-size: 11px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.text-button:hover{
  opacity: .7;
}

.text-button span{
  font-size: 16px;
}

.hero-bottom{
  position: absolute;
  bottom: 30px;
  left: 5.5%;
  right: 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #ffffff9c;
}

.hero-bottom a{
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 10px;
  letter-spacing: .2px;
}

.scroll-arrow{
  font-size: 25px;
  animation: down 2.6s ease-in-out infinite;
}

.section{
  padding: 115px 8%;
  max-width: 1600px;
  margin: auto;
}

.section-note{
  font-size: 12px;
  color: var(--purple);
  margin: 0 0 20px;
}

h2{
  font-family: Manrope,sans-serif;
  font-size: clamp(40px,4.1vw,64px);
  line-height: 1.15;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 0;
}

h2 em{
  font-family: Georgia,serif;
  font-weight: 400;
  color: var(--purple);
}

.about{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8%;
  padding-top: 130px;
  padding-bottom: 110px;
}

.about-title{
  position: relative;
}

.about-title:after{
  content: '03';
  display: block;
  font-family: Manrope,sans-serif;
  font-weight: 700;
  font-size: 195px;
  line-height: 1;
  letter-spacing: -15px;
  color: #153a5109;
  margin: 20px 0 -20px;
}

.about-copy .lead{
  color: var(--ink);
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -.6px;
  margin: 0 0 24px;
}

.about-copy>p:not(.lead){
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 470px;
}

.invited-section{
  padding-top: 75px;
  padding-bottom: 65px;
}

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 55px;
}

.section-head>p{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 5px;
}

.guests{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 36px;
}

.guest{
  position: relative;
  padding: 0;
  text-align: center;
}

.guest-portrait{
  height: 205px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  isolation: isolate;
}

.guest-portrait img{
  width: 128px;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border-radius: 100px 100px 65px 65px;
  filter: saturate(.8);
  mix-blend-mode: multiply;
  transition: transform .8s var(--ease),filter .5s;
}

.guest:hover img{
  transform: translateY(-8px);
  filter: saturate(1.05);
}

.guest h3{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.5px;
  margin: 25px 0 9px;
}

.guest p{
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  max-width: 230px;
  margin-inline: auto;
}

.guest p span{
  display: block;
  font-size: 10px;
}

.invited-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 70px;
  padding-top: 20px;
}

.invited-footer img{
  width: 165px;
  height: auto;
  opacity: .8;
}

.invited-footer p{
  font-family: Georgia,serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: #7e7a7f;
  text-align: right;
}

.agenda-section{
  padding-top: 100px;
  padding-bottom: 100px;
}

.agenda-section .section-head{
  margin-bottom: 30px;
}

.agenda-controls{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.day-tabs{
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.day-tabs button{
  background: transparent;
  border: 1px solid transparent;
  border-radius: 60px;
  padding: 13px 25px;
  color: #79727f;
  font-size: 24px;
  letter-spacing: -1px;
  transition: background .4s,color .4s,border .4s;
}

.day-tabs button span{
  font-size: 12px;
  letter-spacing: 0;
  margin-right: 8px;
}

.day-tabs button.active{
  color: var(--purple);
  border-color: #56347055;
  background: #56347005;
}

.filter{
  grid-column: 3;
  justify-self: end;
  font-size: 12px;
  color: var(--muted);
}

select{
  margin-left: 15px;
  padding: 10px 5px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  min-height: 44px;
  border-radius: 0;
}

.session{
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 29px 0;
  animation: session-in .5s var(--ease) both;
}

.session:after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #153a5110;
}

.session:last-child:after{
  display: none;
}

.session time{
  font-family: Manrope,sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
}

.session time small{
  display: block;
  font-family: 'DM Sans',sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 6px;
}

.session-title{
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}


.session h4{
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.6px;
  margin: 9px 0;
  transition: color .3s,transform .4s;
}


.session p{
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.empty{
  padding: 45px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.closing{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: 95px 25px 70px;
  color: var(--paper);
  background: #173850;
}

.closing-orb{
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle,#6e41866b,transparent 70%);
  top: -280px;
  left: calc(50% - 325px);
  z-index: -1;
  animation: glow 10s ease-in-out infinite alternate;
}

.closing>p{
  font-family: Manrope,sans-serif;
  font-size: clamp(34px,4vw,58px);
  letter-spacing: -2px;
  line-height: 1.25;
  margin: 0 0 45px;
}

.closing em{
  font-family: Georgia,serif;
  font-weight: 400;
  color: var(--gold);
}

.closing>img{
  display: block;
  width: 240px;
  height: auto;
  margin: 0 auto 24px;
}

.intro-screen{
  position: fixed;
  inset: 0;
  z-index: 100;
  color: white;
  background: #392953;
  isolation: isolate;
  display: grid;
  place-items: center;
  transition: opacity .9s var(--ease),visibility .9s;
}

.intro-screen.finished{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-screen video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.intro-controls{
  position: absolute;
  bottom: 40px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.intro-controls button{
  border: 1px solid #ffffff50;
  background: #152d4220;
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: white;
  font-size: 11px;
  padding: 14px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.intro-progress{
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 0;
  right: 0;
  background: #ffffff10;
}

.intro-progress span{
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .3s linear;
}

body:not(.intro-running) .hero-center{
  animation: hero-in 1.4s var(--ease) both;
}

.reveal{
  opacity: 1;
  transform: none;
}

.js-motion .reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease),transform 1s var(--ease);
}

.js-motion .reveal.visible{
  opacity: 1;
  transform: none;
}

/* Consistencia de lectura y foco sin recargar la interfaz. */
img{
  max-width: 100%;
}

.session-title,
.guest{
  min-width: 0;
}

.session-title{
  overflow-wrap: anywhere;
}

.day-tabs button,
.text-button,
nav a{
  min-height: 44px;
}

nav a{
  display: inline-flex;
  align-items: center;
}


@media (hover: none){
  .guest:hover img{
    transform: none;
  }
}

/* Navegación mínima: una sola señal visual al pie de la portada. */
.hero-bottom{
  justify-content: center;
}

.scroll-cue{
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  opacity: .75;
  transition: opacity .25s ease, transform .3s var(--ease);
}

.logo-stage{
  will-change: transform;
  transform-origin: center;
}

.closing > img{
  will-change: transform;
}

/* Efectos breves de interacción, manteniendo los botones transparentes. */
.day-tabs button,
.text-button,
.intro-controls button,
nav a{
  transition: transform .28s var(--ease), background .28s ease,
  border-color .28s ease, color .28s ease, box-shadow .28s ease;
}

.day-tabs button:active,
.text-button:active,
.intro-controls button:active,
nav a:active{
  transform: scale(.96);
}

.day-tabs button.active{
  animation: button-settle .4s var(--ease);
}

nav a span{
  display: inline-block;
  transition: transform .3s var(--ease);
}

@media (hover: hover) and (pointer: fine){
  .day-tabs button:hover,
  .intro-controls button:hover,
  nav a:last-child:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px #153a5109;
  }
  .day-tabs button:hover{
    background: #56347008;
    border-color: #56347055;
  }
  nav a:hover span,
  .intro-controls button:hover span{
    transform: translate(2px, -2px);
  }
  .scroll-cue:hover{
    opacity: 1;
    transform: translateY(3px);
  }
}

@keyframes drift{
  to{
    transform: translate(10%,20%) scale(1.2);
  }
}

@keyframes glow{
  to{
    opacity: .5;
    transform: scale(1.2);
  }
}

@keyframes down{
  50%{
    transform: translateY(7px);
  }
}

@keyframes session-in{
  from{
    opacity: 0;
    transform: translateY(15px);
  }
  to{
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in{
  from{
    opacity: 0;
    transform: translateY(25px);
  }
  to{
    opacity: 1;
    transform: none;
  }
}

@keyframes button-settle{
  from{
    transform: scale(.97);
  }
  to{
    transform: scale(1);
  }
}

/* Tablet: conservar aire y evitar columnas demasiado estrechas. */
@media (min-width: 1550px){
  .hero-center{
    padding-top: 190px;
  }
  .logo-stage{
    width: 670px;
  }
}

@media (max-width: 1000px){
  .section{
    padding: 80px 6%;
  }
  .hero{
    min-height: 800px;
  }
  .hero-center{
    padding-top: 155px;
  }
  .logo-stage{
    width: 530px;
    max-width: 85%;
  }
  .about{
    gap: 6%;
  }
  h2{
    font-size: 44px;
  }


  .guests{
    gap: 20px;
  }
  .guest h3{
    font-size: 17px;
  }
  .guest-portrait{
    height: 175px;
  }
  .guest-portrait img{
    height: 155px;
    width: 110px;
  }
  .agenda-controls{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .filter{
    justify-self: center;
  }
}

/* Teléfono: tipografía legible, una columna y controles cómodos para el pulgar. */
@media (max-width: 700px){
  html{
    scroll-padding-top: 24px;
  }
  header{
    padding: calc(16px + env(safe-area-inset-top)) 6% 16px;
    gap: 16px;
  }
  header > a img{
    width: 112px;
    height: 46px;
  }
  nav{
    gap: 16px;
    font-size: 12px;
  }
  nav a:first-child{
    display: none;
  }
  nav a:last-child{
    padding: 10px 17px;
  }
  nav span{
    margin-left: 10px;
  }
  .hero{
    display: flex;
    min-height: max(680px, 100svh);
    height: auto;
    max-height: none;
  }
  .hero-center{
    width: 100%;
    margin: auto;
    padding: 126px 24px 112px;
  }
  .welcome{
    font-size: 23px;
    margin-bottom: 16px;
  }
  .logo-stage{
    width: 100%;
    max-width: 350px;
    margin: 36px auto 28px;
  }
  .hero-message{
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 24px;
  }
  .hero-message em{
    font-size: 27px;
  }
  .text-button{
    font-size: 12px;
  }
  .hero-bottom{
    bottom: calc(24px + env(safe-area-inset-bottom));
    justify-content: center;
  }
  .hero-bottom a{
    min-height: 44px;
    font-size: 11px;
    gap: 16px;
  }
  .section{
    padding: 64px clamp(20px, 6vw, 32px);
  }
  h2{
    font-size: clamp(34px, 9vw, 44px);
    letter-spacing: -1.8px;
    line-height: 1.18;
  }
  .section-note{
    font-size: 12px;
    margin-bottom: 16px;
  }
  .about{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-title:after{
    display: none;
  }
  .about-copy .lead{
    font-size: 21px;
    line-height: 1.55;
  }
  .about-copy > p:not(.lead){
    font-size: 15px;
    line-height: 1.8;
  }

  .section-head{
    display: block;
    margin-bottom: 32px;
  }
  .section-head > p{
    margin-top: 18px;
    font-size: 14px;
  }
  .invited-section .section-head{
    text-align: center;
  }
  .guests{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }
  .guest-portrait{
    height: 160px;
  }
  .guest-portrait img{
    width: 108px;
    height: 150px;
  }
  .guest h3{
    font-size: 17px;
    line-height: 1.3;
    margin: 20px 0 10px;
  }
  .guest p{
    font-size: 12px;
    line-height: 1.65;
  }
  .guest p span{
    font-size: 11px;
    margin-top: 4px;
  }
  .invited-footer{
    margin-top: 42px;
    gap: 24px;
  }
  .invited-footer img{
    width: 112px;
  }
  .invited-footer p{
    font-size: 16px;
  }
  .agenda-section .section-head{
    text-align: center;
    margin-bottom: 20px;
  }

  .agenda-controls{
    gap: 12px;
    margin-bottom: 20px;
  }
  .day-tabs{
    width: min(100%, 340px);
    gap: 10px;
    margin-inline: auto;
  }
  .day-tabs button{
    flex: 1;
    min-height: 54px;
    padding: 12px 20px;
    font-size: 26px;
    line-height: 1;
  }
  .day-tabs button span{
    font-size: 14px;
  }
  .filter{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
  }
  select{
    font-size: 14px;
    margin-left: 10px;
    padding: 10px 5px;
    max-width: 220px;
  }
  .session{
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'time' 'content';
    gap: 10px 16px;
    padding: 24px 0 26px;
    align-items: center;
  }
  .session time{
    grid-area: time;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 23px;
    letter-spacing: -.5px;
  }
  .session time small{
    display: inline;
    font-size: 12px;
    margin-top: 0;
  }
  .session-title{
    grid-area: content;
    width: 100%;
  }
  .session h4{
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: -.5px;
    margin: 8px 0;
  }
  .session p{
    font-size: 13px;
    line-height: 1.6;
  }
  .closing{
    padding: 64px 24px 100px;
  }
  .closing > p{
    font-size: clamp(30px, 8.5vw, 42px);
    letter-spacing: -1.3px;
    margin-bottom: 32px;
  }
  .closing > img{
    width: 190px;
  }
  .intro-screen{
    background: radial-gradient(ellipse at 50% 45%, #331b5e, #080721 75%);
  }
  .intro-screen video{
    object-fit: contain;
  }
  .intro-controls{
    bottom: calc(24px + env(safe-area-inset-bottom));
    left: 5%;
    right: 5%;
    gap: 10px;
  }
  .intro-controls button{
    min-height: 46px;
    font-size: 12px;
    padding: 12px 14px;
    gap: 8px;
  }
}

@media (max-width: 360px){
  header{
    gap: 12px;
  }
  header > a img{
    width: 96px;
  }
  nav{
    gap: 12px;
    font-size: 11px;
  }
  nav a:last-child{
    padding: 10px 13px;
  }
  .hero-center{
    padding-inline: 20px;
  }
  .guest-portrait img{
    width: 96px;
    height: 136px;
  }
  .guest-portrait{
    height: 145px;
  }
  .guest h3{
    font-size: 16px;
  }
  .session h4{
    font-size: 20px;
  }
  .intro-controls button{
    font-size: 11px;
    padding-inline: 12px;
  }
}

/* Pantallas bajas en horizontal: mantener la portada en el flujo normal. */
@media (max-height: 540px) and (orientation: landscape){
  .hero{
    height: auto;
    min-height: 700px;
  }
  .hero-center{
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after{
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal{
    opacity: 1;
    transform: none;
  }
  .light{
    display: none;
  }
}

/* Capa de experiencia: profundidad, navegación adaptable y video sin recorte. */
:root{
  --experience-ease: cubic-bezier(.22, .8, .25, 1);
}

header{
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid transparent;
  transition: width .6s var(--experience-ease), padding .6s var(--experience-ease),
  top .6s var(--experience-ease), border-radius .6s var(--experience-ease),
  background .45s ease, color .45s ease, box-shadow .45s ease;
}

header > a{
  position: relative;
  display: block;
  width: 145px;
  height: 60px;
  flex-shrink: 0;
}

header > a img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .4s ease, transform .6s var(--experience-ease);
}

header.is-scrolled{
  max-width: calc(100% - 24px);
  width: min(calc(100% - 40px), 1040px);
  top: calc(12px + env(safe-area-inset-top));
  padding: 8px 24px;
  border-radius: 24px;
  border-color: #ffffff90;
  background: #f5f3eeeb;
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  color: var(--ink);
  box-shadow: 0 8px 35px #153a5110, inset 0 1px 0 #ffffff80;
}

header.is-scrolled > a{
  height: 48px;
  width: 120px;
}

header.is-scrolled nav a:last-child{
  border-color: #153a5125;
}

nav a[aria-current]{
  opacity: 1;
  color: var(--purple);
}

html{
  scroll-padding-top: 115px;
}

.hero{
  --scroll-progress: 0;
}

.hero .logo-stage{
  transform: translate3d(0, calc(var(--scroll-progress) * 95px), 0)
  scale(calc(1 - var(--scroll-progress) * .18));
  opacity: calc(1 - var(--scroll-progress) * .5);
}

.hero .welcome{
  transform: translate3d(0, calc(var(--scroll-progress) * -45px), 0);
  opacity: calc(1 - var(--scroll-progress) * 1.4);
  will-change: transform, opacity;
}

.hero .hero-message{
  transform: translate3d(0, calc(var(--scroll-progress) * 35px), 0);
  opacity: calc(1 - var(--scroll-progress) * 1.8);
}


.hero-bottom{
  opacity: calc(1 - var(--scroll-progress) * 3);
}

.about-title:after{
  display: none;
}

@media (min-width: 1001px){
  .about-title{
    position: sticky;
    top: 145px;
    align-self: start;
  }
  .about{
    padding-block: 145px;
  }
}

.js-motion .reveal{
  transform: translate3d(0, 32px, 0) scale(.985);
  transition: opacity 1s var(--experience-ease), transform 1s var(--experience-ease);
}

.js-motion .reveal.visible{
  transform: translate3d(0, 0, 0) scale(1);
}

.day-tabs{
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 320px;
  padding: 4px;
}

.day-tabs::before{
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 16px) / 2);
  border: 1px solid #56347035;
  border-radius: 60px;
  background: linear-gradient(135deg, #ffffff90, #56347003);
  box-shadow: 0 3px 12px #56347006;
  transform: translateX(calc(var(--active-day, 0) * (100% + 8px)));
  transition: transform .55s var(--experience-ease);
  z-index: -1;
}

.day-tabs button{
  padding-inline: 20px;
  border-color: transparent;
  background: transparent;
  transition: color .3s ease, transform .3s var(--experience-ease);
}

.day-tabs button.active{
  border-color: transparent;
  background: transparent;
  animation: none;
}

@media (hover: hover) and (pointer: fine){
  .day-tabs button:hover{
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .guest:hover img{
    transform: translateY(-9px) scale(1.025);
  }
}

/* La película conserva su relación de aspecto. El fondo ambiental ocupa la pantalla. */
.intro-screen{
  background: #09091c;
  overflow: hidden;
  min-height: 100dvh;
  transition: opacity .85s var(--experience-ease), visibility .85s;
}

.intro-screen .intro-film video{
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.intro-controls{
  bottom: calc(28px + env(safe-area-inset-bottom));
}

.intro-controls button{
  background: #ffffff08;
  border-color: #ffffff38;
}

@media (max-width: 700px){
  header{
    padding: calc(16px + env(safe-area-inset-top)) 6% 16px;
  }
  header > a{
    width: 112px;
    height: 46px;
  }
  header.is-scrolled{
    width: calc(100% - 24px);
    padding: 8px 14px;
    top: calc(8px + env(safe-area-inset-top));
    border-radius: 21px;
  }
  header.is-scrolled > a{
    width: 94px;
    height: 40px;
  }
  header.is-scrolled nav{
    gap: 14px;
  }
  header.is-scrolled nav a:last-child{
    padding: 8px 14px;
  }
  .day-tabs{
    width: min(100%, 340px);
  }
  .day-tabs button{
    min-height: 54px;
  }
}

@media (max-height: 540px) and (orientation: landscape){
  .intro-controls{
    bottom: 14px;
  }
}

@media (max-width: 360px){
  header > a{
    width: 96px;
    height: 42px;
  }
  header.is-scrolled > a{
    width: 84px;
  }
  header.is-scrolled nav{
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce){
  .intro-film,
  .day-tabs button{
    animation: none;
  }
  .intro-screen,
  header,
  .day-tabs::before,
  .js-motion .reveal{
    transition: none;
  }
}

/* Logo oficial actualizado: mantiene su color y transparencia en todos los fondos. */
header > a{
  height: 68px;
}

header.is-scrolled > a{
  width: 120px;
  height: 62px;
}

.hero .logo-stage{
  width: min(680px, 88%);
  font-size: inherit;
  line-height: 1;
}

.invited-footer img{
  width: 190px;
}

.closing > img{
  width: 290px;
}

@media (max-width: 700px){
  header > a{
    width: 112px;
    height: 58px;
  }
  header.is-scrolled > a{
    width: 94px;
    height: 49px;
  }
  .hero .logo-stage{
    width: 100%;
    max-width: 380px;
    margin-block: 32px;
  }
  .invited-footer img{
    width: 140px;
  }
  .closing > img{
    width: 240px;
  }
}

@media (max-width: 360px){
  header > a{
    width: 100px;
    height: 52px;
  }
  header.is-scrolled > a{
    width: 84px;
    height: 44px;
  }
}

/* Intro inmersiva: video completo sobre el ambiente, sin tarjeta ni marco. */
.intro-content{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  display: block;
  z-index: 1;
}

.intro-film{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.intro-screen .intro-film video{
  object-fit: contain;
  width: 100%;
  height: 100%;
  background: transparent;
}

.intro-controls{
  z-index: 3;
}

.intro-progress{
  z-index: 3;
}

@media (prefers-reduced-motion: reduce){
  .intro-film{
    animation: none;
  }
}

/* La película desaparece primero; el fondo morado une ambas escenas. */
.intro-screen{
  --handoff-duration: .95s;
  transition: opacity var(--handoff-duration) ease .8s;
}

.intro-screen.is-bridging{
  opacity: 0;
  pointer-events: none;
}

.intro-screen .intro-film{
  animation: none;
  transition: opacity .7s ease;
}

.intro-screen.is-bridging .intro-film,
.intro-screen.is-bridging::after{
  opacity: 0;
}

.intro-controls,
.intro-progress{
  transition: opacity .35s ease;
}

.intro-screen.is-bridging .intro-controls,
.intro-screen.is-bridging .intro-progress{
  opacity: 0;
  pointer-events: none;
}

/* Estos mismos nodos permanecen en su sitio después del fundido: no hay relevo. */
body.intro-running .event-logo,
body.intro-complete .event-logo,
body.intro-running .hero-center,
body.intro-complete .hero-center{
  animation: none;
}

body.intro-running .hero-center,
body.intro-running #header,
body.intro-running .hero-bottom{
  opacity: 0;
}

body.intro-running .hero-center{
  translate: 0 14px;
}

body .hero-center{
  transition: opacity 1.15s ease .85s, translate 1.35s cubic-bezier(.22,1,.36,1) .85s;
}

body .hero-bottom{
  transition: opacity .9s ease 1s;
}

body #header{
  transition: width .6s var(--experience-ease), padding .6s var(--experience-ease),
  top .6s var(--experience-ease), border-radius .6s var(--experience-ease),
  background .45s ease, color .45s ease, box-shadow .45s ease,
  border-color .45s ease, opacity .9s ease 1s;
}

header > a{
  transition: width .6s var(--experience-ease), height .6s var(--experience-ease);
}

header .brand-mark{
  transition: transform .6s var(--experience-ease);
}

header.is-scrolled .brand-mark{
  transform: scale(.96);
}

body.is-intro-bridging .hero-center,
body.is-intro-bridging #header,
body.is-intro-bridging .hero-bottom{
  opacity: 1;
}

body.is-intro-bridging .hero-center{
  translate: 0 0;
}

.intro-screen{
  background: #0c0725;
  /* La altura visible cambia cuando aparece la barra del navegador móvil. */
  height: 100%;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
}

.intro-screen .intro-film video{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: none;
}

/* La bienvenida comparte el lenguaje sans del logotipo principal. */
.hero .welcome{
  font-family: inherit;
  font-style: normal;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.2;
  width: min(680px, 88%);
  margin: 0 auto;
  padding-left: 1%;
  text-align: left;
  color: #edc323;
  text-shadow: -2px -2px 0 #563470, 2px -2px 0 #563470,
    -2px 2px 0 #563470, 2px 2px 0 #563470, 0 3px 12px #27173c40;
}

.hero .hero-message{
  display: grid;
  gap: 2px;
  margin: 16px 0 0;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.2;
  text-wrap: balance;
  color: #fff;
  text-shadow: -1px -1px 0 #563470, 1px -1px 0 #563470,
    -1px 1px 0 #563470, 1px 1px 0 #563470, 0 3px 12px #27173c40;
}

.hero-message > span:first-child{
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.hero .hero-message em{
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
  color: #edc323;
}

.hero-identities{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.hero-identities img{
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.identity-onevoice{
  width: clamp(125px, 12vw, 155px);
  height: auto;
}

.identity-church{
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

@media (max-width: 700px){
  .hero-identities{
    margin-top: 24px;
    gap: 18px;
  }
  .identity-church{
    width: 36px;
    height: 36px;
  }
}

/* Un único botón de cristal, centrado y sin iconos. */
.intro-screen .intro-controls{
  justify-content: center;
}

.intro-screen #skip-intro{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #ffffff70;
  background: linear-gradient(145deg, #ffffff29, #ffffff09 65%, #ffffff16);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 #ffffff65, inset 0 -1px 0 #ffffff12, 0 8px 28px #06031430;
  transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease;
}

.intro-screen #skip-intro::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 15%, #ffffff25 45%, transparent 75%);
  transform: translateX(-115%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}

@media (hover: hover){
  .intro-screen #skip-intro:hover{
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff90, 0 12px 32px #06031445;
  }
  .intro-screen #skip-intro:hover::before{
    transform: translateX(115%);
  }
}

.intro-screen #skip-intro:active{
  transform: scale(.97);
}

/* Misma paleta en móvil y escritorio, independiente de la cortinilla elegida. */
.hero{
  background: linear-gradient(118deg, #25354e 0%, #4b3265 58%, #3c2e55 100%);
}

.hero-shade{
  background: linear-gradient(0deg, #4b40505c 0%, transparent 65%);
}

.hero .light{
  width: clamp(260px, 45vw, 650px);
  height: clamp(260px, 45vw, 650px);
  opacity: .1;
  animation-duration: 28s;
}

.hero .light-a{
  background: #b38ac8;
}

.hero .light-b{
  background: #b2a38c;
}

.hero.is-out-of-view .light,
body.is-page-hidden .hero .light{
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce){
  .intro-screen,
  body .hero-center,
  body #header,
  body .hero-bottom{
    transition: none;
  }
}

/* Agenda: jerarquía clara, menos texto repetido y una sola superficie de lectura. */
.agenda-section .section-head{
  margin-bottom: 24px;
}

.agenda-controls{
  margin-bottom: 16px;
}


#sessions{
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.session{
  padding-block: 27px;
}

.session time{
  font-variant-numeric: tabular-nums;
}


.session h4{
  font-weight: 500;
}

.session p{
  color: #687580;
  line-height: 1.6;
}

.site-footer{
  display: block;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  background: #173850;
  color: #f5f3ec9c;
}

.site-footer small{
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 700px){
  .agenda-section .section-head{
    margin-bottom: 16px;
  }
  .agenda-section h2{
    font-size: clamp(36px, 10vw, 46px);
  }

  .agenda-controls{
    gap: 6px;
    margin-bottom: 18px;
  }
  #sessions{
    padding: 0;
    border-radius: 0;
  }
  .session{
    padding-block: 22px 24px;
    gap: 8px 16px;
  }
  .session h4{
    font-size: 20px;
    line-height: 1.35;
  }
  .session p{
    font-size: 12px;
  }
  .session time{
    font-size: 22px;
  }
  .session time small{
    font-size: 12px;
  }
  .site-footer small{
    font-size: 10px;
  }
}

.hero.is-out-of-view .event-logo,
.hero.is-out-of-view .light{
  animation-play-state: paused;
}

/* La marca de portada viaja a la navegación; nunca se muestran ambas a la vez. */
.hero .logo-stage{
  transform: none;
  opacity: 1;
}

header > a{
  visibility: hidden;
}

body.logo-docked header > a{
  visibility: visible;
}

body.logo-travelling .event-logo,
body.logo-docked .event-logo{
  visibility: hidden;
}

.travelling-logo{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  height: auto;
  max-width: none;
  visibility: hidden;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform;
  filter: drop-shadow(0 8px 22px #10072118);
}

header{
  border-radius: 28px;
}

header.is-scrolled{
  background: linear-gradient(125deg, #faf8f3c7, #f4f0f4a6);
  border-color: #ffffffa6;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -1px 0 #ffffff40, 0 10px 36px #1b123414;
}

header.is-scrolled .brand-mark{
  transform: none;
}

.hero-bottom .scroll-cue{
  display: grid;
  place-items: center;
  width: 44px;
  height: 58px;
  min-height: 58px;
  border-radius: 24px;
  border: 1px solid #ffffff24;
  background: #ffffff06;
  color: #ffffffb3;
  transition: background .3s ease, border-color .3s ease;
}

.hero-bottom .scroll-arrow{
  width: 20px;
  height: 28px;
  animation: down 2.6s ease-in-out infinite;
}

@media (hover: hover){
  .hero-bottom .scroll-cue:hover{
    background: #ffffff15;
    border-color: #ffffff60;
  }
}

@media (prefers-reduced-motion: reduce){
  body.logo-travelling .event-logo{
    visibility: visible;
  }
  .travelling-logo{
    display: none;
  }
}

/* Retratos originales recortados: la cabeza sobresale del círculo. */
.guest-portrait {
  --portrait-size: 180px;
  width: var(--portrait-size);
  height: calc(var(--portrait-size) * 1.25);
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0 0 50% 50% / 0 0 40% 40%;
  overflow: hidden;
  isolation: isolate;
}
.guest-portrait::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: var(--portrait-size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ede4f1, #d7c8e3);
  border: 1px solid #ffffffb3;
  z-index: -1;
}
.guest:nth-child(even) .guest-portrait::before {
  background: radial-gradient(circle at 30% 20%, #f2ebd9, #ded2b5);
}
.guest-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
  box-shadow: none;
  transition: transform .6s var(--ease);
}
.guest:hover img { filter: none; transform: translateY(-4px); box-shadow: none; }
.guest h3, .guest p { margin-inline: auto; max-width: 260px; }
.invited-section .section-head, .agenda-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.agenda-section .section-head { margin-bottom: 36px; }
.agenda-controls { justify-content: center; }
@media (max-width: 1000px) { .guest-portrait { --portrait-size: 155px; } }
@media (max-width: 700px) {
  .guest-portrait { --portrait-size: min(145px, 36vw); }
  }

/* Fotos de fondo: mismo encuadre por dispositivo y fundido sin pantalla vacía. */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-shade {
  background: linear-gradient(115deg, #172d47ba, #4b2e68a6 58%, #2b2047b3),
    linear-gradient(0deg, #18243bd9, transparent 65%);
}
.hero .light { opacity: .06; }
@media (max-width: 700px) and (orientation: portrait) {
  .hero-slide:nth-child(1) { object-position: 50% center; }
  .hero-slide:nth-child(2) { object-position: 42% center; }
  .hero-slide:nth-child(3) { object-position: 53% center; }
  .hero-shade {
    background: linear-gradient(145deg, #1d2b48bf, #4b306ca6 55%, #211d3fca),
      linear-gradient(0deg, #18243bd9, transparent 70%);
  }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* Identidades de apoyo en la esquina de la portada. */
.hero-identities{
  position: absolute;
  top: calc(34px + env(safe-area-inset-top));
  left: 5.5%;
  z-index: 6;
  margin: 0;
  gap: 16px;
  pointer-events: none;
  transition: opacity .9s ease 1s;
}
body.intro-running .hero-identities{opacity: 0;}
body.is-intro-bridging .hero-identities,
body.intro-complete .hero-identities{opacity: 1;}

@media (max-width: 700px){
  .hero-identities{
    top: calc(26px + env(safe-area-inset-top));
    left: 6%;
    gap: 10px;
    margin: 0;
  }
  .identity-onevoice{width: 94px;}
  .identity-church{width: 28px;height: 28px;}
}
@media (prefers-reduced-motion: reduce){
  .hero-identities{transition: none;}
}

/* El texto abraza el logotipo, sin tres bloques visualmente separados. */
.hero .logo-stage{margin-block: 8px 18px;}
@media (max-width: 700px){
  .hero .welcome{
    width: 100%;
    max-width: 380px;
  }
  .hero .logo-stage{margin-block: 8px 18px;}
}

/* Programa integrado en la misma superficie, sin tarjeta ni columna de favoritos. */
.agenda-controls,
#sessions,
.session-title{min-width: 0;}
.session h4{line-height: 1.3;}
.session:after{background: #56347018;}
@media (max-width: 700px){
  .session{gap: 12px;padding-block: 24px;}
  .session time{color: var(--purple);}
  .session h4{margin-top: 7px;}
}

/* Minuto a minuto: horas y actividades, con ponente y sede solo en talleres. */
.agenda-block + .agenda-block{margin-top: 48px;}
.agenda-block-title{
  margin: 26px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #56347030;
  color: var(--purple);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.02em;
}
.session{align-items: start;}
.session time{padding-top: 3px;}
.session h4{margin: 0;font-size: 21px;line-height: 1.4;}
.workshop-options{display: grid;gap: 22px;}
.workshop-option + .workshop-option{
  padding-top: 22px;
  border-top: 1px solid #56347012;
}
.session .workshop-location{
  margin-top: 3px;
  color: var(--purple);
  font-size: 13px;
  line-height: 1.5;
}
.day-tabs button{
  display: grid;
  gap: 3px;
  min-width: 142px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.04em;
}
.day-tabs button span{margin: 0;font-size: 12px;letter-spacing: 0;}
@media (max-width: 700px){
  .day-tabs{gap: 8px;}
  .day-tabs button{min-width: 124px;padding: 12px 18px;}
  .agenda-block-title{font-size: 15px;margin-top: 24px;}
  .session h4{font-size: 19px;line-height: 1.4;}
  .session{padding-block: 21px;}
  .workshop-options{grid-area: content;}
  .session-content{grid-area: content;}
  .session .workshop-location{font-size: 12px;}
}

/* Separación compacta tras retirar el resumen de fecha y horario. */
.agenda-section .agenda-controls{margin-bottom: 0;}
.agenda-block:first-child .agenda-block-title{margin-top: 18px;}

/* Acentos de marca sobre la misma superficie de lectura. */
.agenda-section .day-tabs::before{
  background: linear-gradient(135deg, #65417f, #483060);
  border-color: #563470;
  box-shadow: 0 5px 16px #5634701a, inset 0 1px 0 #ffffff20;
}
.agenda-section .day-tabs button.active{color: #fff;}
.agenda-section .filter{color: #796b80;}
.agenda-section .filter select{
  padding: 10px 12px;
  border: 1px solid #56347024;
  border-radius: 24px;
  font-weight: 500;
  color: var(--purple);
  background: transparent;
}
.agenda-section .agenda-block-title{
  font-size: 17px;
  padding-bottom: 16px;
  border-bottom-color: #56347038;
}
.agenda-section .session time{
  color: var(--purple);
  font-weight: 600;
  letter-spacing: -.04em;
}
.agenda-section .session time small{font-weight: 400;letter-spacing: 0;}
.agenda-section .workshop-options{
  padding-left: 18px;
  border-left: 2px solid #e7bd32;
}
.agenda-section .workshop-option h4{color: var(--purple);}
@media (max-width: 700px){
  .agenda-section .agenda-block-title{font-size: 16px;}
  .agenda-section .workshop-options{padding-left: 14px;}
}

/* Retrato pequeño y nombre, sin añadir una tarjeta al programa. */
.session-presenter{
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}
.session-presenter .presenter-avatar{
  display: block;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  background: #56347010;
}
.session .session-presenter p{
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.session .workshop-location{margin-top: 7px;}

/* Jerarquía discreta para las intervenciones de los ponentes. */
.agenda-section .session-talk h4{
  color: #513568;
  font-weight: 600;
  letter-spacing: -.025em;
}

.invitations.section{padding-top:0;padding-bottom:70px;}
.invitation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.invitation-card{display:block;min-width:0;padding:0;border:0;text-align:left;background:transparent;border-radius:20px;}
.invitation-cover{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border-radius:20px;background:#241b31;isolation:isolate;}
.invitation-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,#120c223d);pointer-events:none;}
.invitation-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%;transition:transform .7s var(--ease);}
.invitation-play{position:absolute;z-index:1;left:18px;bottom:18px;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;color:white;background:#ffffff25;border:1px solid #ffffff70;box-shadow:inset 0 1px 0 #ffffff60,0 4px 20px #0002;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:transform .35s var(--ease),background .35s;}
.invitation-play svg{width:23px;height:23px;fill:currentColor;transform:translateX(-1px);}
.invitation-caption{display:block;padding:17px 2px 0;}
.invitation-caption strong{font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-.35px;}
@media(hover:hover){.invitation-card:hover img{transform:scale(1.035);}.invitation-card:hover .invitation-play{transform:scale(1.08);background:#ffffff40;}}
html.invitation-open{overflow:hidden;}
.invitation-dialog{width:min(880px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:16px;border:1px solid #ffffff30;border-radius:24px;background:#21182c;color:white;box-shadow:0 30px 100px #0005;overflow:auto;}
.invitation-dialog[open]{animation:invitation-appear .3s var(--ease);}
.invitation-dialog::backdrop{background:#120d20cf;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.invitation-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;}
.invitation-dialog-heading h2{font:500 16px/1.4 'DM Sans',sans-serif;letter-spacing:-.2px;}
.invitation-close{flex-shrink:0;width:42px;height:42px;background:#ffffff10;border:1px solid #ffffff25;border-radius:50%;color:white;font-size:28px;line-height:1;}
.invitation-dialog video{display:block;width:100%;height:auto;max-height:calc(100dvh - 150px);object-fit:contain;border-radius:12px;background:#08060d;}
.invitation-error{font-size:14px;line-height:1.5;margin:12px 0 0;}
@keyframes invitation-appear{from{opacity:0;transform:translateY(14px) scale(.98);}to{opacity:1;transform:none;}}
@media(max-width:700px){
  .invitations.section{padding-bottom:40px;}
  .invitation-grid{grid-template-columns:1fr;gap:30px;}
  .invitation-cover{aspect-ratio:16/9;}
  .invitation-caption{padding-top:12px;}
  .invitation-dialog{padding:12px;border-radius:20px;}
}
@media(prefers-reduced-motion:reduce){.invitation-card img,.invitation-play{transition:none;}.invitation-dialog[open]{animation:none;}}

