/* ====== Reset-ish ====== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  background: #07070a;
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Ticket CTAs disabled sitewide. Remove this rule when sales reopen. */
a[href*="jfcinema.ch"] {
  display: none !important;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ====== Background ====== */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.02);
  visibility: visible;
  mix-blend-mode: screen;
  transition: opacity 1.6s cubic-bezier(0.65, 0, 0.35, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}
.bg__video.is-hidden{
  opacity: 0;
  transform: scale(1.08);
  visibility: hidden;
  transition: opacity 1.6s cubic-bezier(0.65, 0, 0.35, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 1.8s;
}
.bg__media--static{
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s cubic-bezier(0.65, 0, 0.35, 1),
              transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}
.bg__media--static.is-visible{
  opacity: 1;
  transform: scale(1);
}

/* Hero text reveal */
.hero__content > * {
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(0.985);
  filter: blur(14px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 1.1s;
}
.hero__content.is-revealed > * {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}
.hero__content.is-revealed > *:nth-child(1) { transition-delay: 0.05s; }
.hero__content.is-revealed > *:nth-child(2) { transition-delay: 0.25s; }
.hero__content.is-revealed > *:nth-child(3) { transition-delay: 0.45s; }
.hero__content.is-revealed > *:nth-child(4) { transition-delay: 0.7s; }

/* Title shimmer accent on reveal */
.hero__content.is-revealed .hero__title{
  background: linear-gradient(100deg,
              rgba(255,255,255,0.92) 0%,
              rgba(255,255,255,0.92) 40%,
              rgba(255,255,255,1) 50%,
              rgba(255,255,255,0.92) 60%,
              rgba(255,255,255,0.92) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTitleShimmer 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s 1 forwards;
}
@keyframes heroTitleShimmer {
  to { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce){
  .bg__video, .bg__video.is-hidden,
  .bg__media--static, .bg__media--static.is-visible,
  .hero__content > *, .hero__content.is-revealed > * {
    transition: opacity 0.3s ease;
    transform: none;
    filter: none;
  }
  .hero__content.is-revealed .hero__title{
    animation: none;
    -webkit-text-fill-color: currentColor;
  }
}
.bg__overlay {
  display: none !important;
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 500px at 20% 20%, rgba(0,0,0,0.15), rgba(0,0,0,0.75)),
              linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.8));
  z-index: 1;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* backdrop-filter moved to ::before so it does NOT create a containing block
     for position:fixed children (the full-screen overlay panel) */
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  /* Stay visible above the full-screen overlay (nav__dropdown is z-index 10001 in the header) */
  position: relative;
  z-index: 10002;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-weight: 700;
}
.brand__text { opacity: 0.95; }

/* ====== MENU A TENDINA — base positioning (real design in editorial block below) ====== */

.nav__dropdown{
  position: relative;
  isolation: isolate;
}

/* Closing state — keep the panel mounted while it rolls up and fades. */
.nav__panel.is-closing{
  pointer-events: none;
  transition: opacity 280ms ease,
              clip-path 420ms cubic-bezier(.65,0,.35,1),
              transform 420ms cubic-bezier(.65,0,.35,1);
}

.nav__panel.is-closing a{
  animation: menuLinkOut 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nav__panel.is-closing a:nth-child(1){ animation-delay: 0ms; }
.nav__panel.is-closing a:nth-child(2){ animation-delay: 35ms; }
.nav__panel.is-closing a:nth-child(3){ animation-delay: 70ms; }
.nav__panel.is-closing a:nth-child(4){ animation-delay: 105ms; }
.nav__panel.is-closing a:nth-child(5){ animation-delay: 140ms; }
.nav__panel.is-closing a:nth-child(6){ animation-delay: 175ms; }
.nav__panel.is-closing a:nth-child(7){ animation-delay: 210ms; }
.nav__panel.is-closing a:nth-child(8){ animation-delay: 245ms; }

@keyframes menuLinkOut{
  from{
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
  to{
    opacity: 0;
    transform: translateX(8px);
    filter: blur(2px);
  }
}

.nav__actions{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__actions{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Header CTA */
.nav__cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 0.95rem;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.06);

  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  transition: background 160ms ease, transform 160ms ease;
}

.nav__cta-short{ display: none; }

.nav__cta-btn:hover{
  background: rgba(0,0,0,0.10);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Language switch — segmented pill */
.nav__lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;

  padding: 0.2rem;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
}

.nav__lang-option{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 52px;
  height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;

  font-weight: 650;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0.72;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.nav__lang-option:hover{
  text-decoration: none;
  opacity: 1;
}

.nav__lang-option--active{
  background: rgba(0,0,0,0.08);
  opacity: 1;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}
.btn:hover { text-decoration: none; background: rgba(255,255,255,0.14); }
.btn--ghost { background: rgba(0,0,0,0.25); }

/* ====== Section dark/light themes ====== */
.section--dark {
  color: rgba(255,255,255,0.92);
}
.section--dark .section__title {
  color: rgba(255,255,255,0.95);
}
.section--dark .section__desc {
  color: rgba(255,255,255,0.75);
}
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark p, .section--dark li {
  color: rgba(255,255,255,0.88);
}
.section--dark a:not(.btn):not(.nav__lang-option) {
  color: rgba(255,255,255,0.88);
}
.section--dark .btn {
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
}
.section--dark .btn:hover {
  background: rgba(255,255,255,0.22);
}
.section--dark .btn--ghost {
  background: rgba(255,255,255,0.08);
}

.section--light {
  color: rgba(15,15,18,0.92);
}
.section--light .section__title {
  color: rgba(15,15,18,0.92);
}
.section--light .section__desc {
  color: rgba(15,15,18,0.72);
}
.section--light .btn {
  color: rgba(15,15,18,0.88);
  border-color: rgba(15,15,18,0.22);
  background: rgba(15,15,18,0.06);
}
.section--light .btn:hover {
  background: rgba(15,15,18,0.12);
}

/* ====== Sections ====== */
.section {
  padding: 5rem 0;
}
.section__header {
  margin-bottom: 1.25rem;
}
.section__header--row {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.section__title {
  margin: 0;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  letter-spacing: -0.02em;
}
.section__desc {
  margin: 0.4rem 0 0;
  opacity: 0.8;
  max-width: 60ch;
}

/* ====== Supporters / Partners & Sponsors ====== */
#supporters{
  display: flex;
  align-items: center;
}
.supporters{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.75rem;
}
.supporters__header{
  margin-bottom: 0;
}
.supporters__header .section__desc{
  margin-inline: auto;
}
.supporters__groups{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.supporters__group{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.supporters__label{
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.supporters__grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.supporters__item{
  flex: 0 0 auto;
}
.supporters__logo{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  max-width: 100%;
  height: 90px;
  padding: 0.5rem 1rem;
  transition: transform .25s ease, opacity .25s ease;
}
.supporters__logo:hover{
  transform: translateY(-4px);
  opacity: 0.7;
}
.supporters__logo img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ====== Hero ====== */
.hero{
    height: 100vh;
    display: grid;
    align-items: center;
    padding: 0;
    color: rgba(15,15,18,0.92);
  }

.hero .btn{
  color: rgba(15,15,18,0.92);
  border-color: rgba(15,15,18,0.22);
  background: rgba(15,15,18,0.06);
}

.hero .btn:hover{
  background: rgba(15,15,18,0.12);
}

.hero .btn--ghost{
  background: rgba(255,255,255,0.45);
}
  
  .hero__content{
    padding: clamp(3rem, 4vw, 5rem) 0;
  }

  .hero__kicker {
    margin: 0 0 0.6rem;
    opacity: 0.85;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
  }
.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 2rem + 3vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  padding-bottom: 0.12em;
}
.hero__title-spacer {
  margin: 0;
  font-size: clamp(2.4rem, 2rem + 3vw, 4.5rem);
  line-height: 1.15;
  height: 1.27em;
  pointer-events: none;
}
.hero__subtitle {
  margin: 1rem 0 1.6rem;
  max-width: 55ch;
  opacity: 0.85;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero .hero__content{
  --homeButtonsX: -24.5vw;
  --homeButtonsY: 15vh;
  --homeButtonsGap: 1.2rem;
  --homeButtonsDividerWidth: 36px;
  --homeButtonsDividerOpacity: 0.28;

  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 0;
}

.home-hero .hero__content > *{
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: none;
}

.home-hero .hero__title-spacer{
  height: clamp(7.5rem, 19vh, 12rem);
}

.home-hero .hero__actions{
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: max-content;
  max-width: calc(100vw - 2rem);
  flex-wrap: nowrap;
  justify-content: center;
  gap: var(--homeButtonsGap);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(calc(-50% + var(--homeButtonsX)), calc(-50% + var(--homeButtonsY) + 24px)) scale(0.98);
  filter: blur(12px);
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 1.25s;
}

/* Divider commented out — only one button in hero now */
/*
.home-hero .hero__actions::before{
  content: "";
  width: var(--homeButtonsDividerWidth);
  height: 1px;
  align-self: center;
  order: 1;
  background: rgba(15,15,18,var(--homeButtonsDividerOpacity));
}
*/

.home-hero .hero__actions .btn:first-child{
  order: 0;
}

.home-hero .hero__actions .btn:last-child{
  order: 2;
}

.home-hero .hero__content.is-revealed .hero__actions{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--homeButtonsX)), calc(-50% + var(--homeButtonsY))) scale(1);
  filter: blur(0);
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.25s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}


.hero__content{
  padding: clamp(3rem, 4vw, 5rem) 0;
}

.scroll-hint {
  justify-self: center;
  margin-top: 2rem;
  opacity: 0.75;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
}

/* ====== Poster strip ====== */
.poster-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0 0.8rem;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}
.poster-strip::-webkit-scrollbar { height: 10px; }
.poster-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }

.poster {
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  text-decoration: none;
}
.poster:hover { text-decoration: none; }
.poster img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.poster__caption {
  padding: 0.8rem 0.9rem;
  display: grid;
  gap: 0.2rem;
}
.poster__title { font-weight: 700; }
.poster__meta { opacity: 0.75; font-size: 0.92rem; }

.poster--placeholder .poster__placeholder {
  height: 300px;
  display: grid;
  place-items: center;
  opacity: 0.75;
}

.carousel{
    position: relative;
    overflow: visible;
    padding: 0.8rem 64px 1.2rem;
  }
  
  .carousel__track{
    --cardW: 260px;
  
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--cardW);
    gap: 1.2rem;
  
    overflow-x: auto;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
  
    padding: 0.5rem calc(50% - (var(--cardW) / 2));
    scroll-padding-inline: calc(50% - (var(--cardW) / 2));
  }
  
  .carousel__track::-webkit-scrollbar { height: 0; }
  .carousel__track { scrollbar-width: none; }
  
  .card {
    scroll-snap-align: center;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
  
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);

    --focus: 0;

transform: scale(calc(0.82 + var(--focus) * 0.18));
opacity: calc(0.45 + var(--focus) * 0.55);
filter: blur(calc((1 - var(--focus)) * 0.6px)) saturate(calc(0.9 + var(--focus) * 0.1));

transition: transform 120ms linear, opacity 120ms linear, filter 120ms linear;
will-change: transform, opacity, filter;
  }
  
  .card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }
  
  .card__caption {
    padding: 0.85rem 0.95rem;
    display: grid;
    gap: 0.25rem;
  }
  
  .card__title { font-weight: 800; }
  .card__meta { opacity: 0.75; font-size: 0.92rem; }

.carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }

.carousel__btn:hover{
  background: rgba(255,255,255,0.10);
}

/* ====== About festival ====== */

.section--about{
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.about__wrap{
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.about__text{
  max-width: 760px;
}

.about__eyebrow{
  margin: 0 0 0.6rem;
  opacity: 0.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about__title{
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about__desc{
  margin: 0 0 1rem;
  opacity: 0.82;
  max-width: 60ch;
}

.about__actions{
  margin-top: 1.5rem;
}

/* ====== Festival map section ====== */

.section--map{
  position: relative;
}

.map-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  transform: translateY(-2vh);
}

.map-card{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: stretch;
  min-height: 62vh;
}

.festival-map{
  width: 100%;
  height: 100%;
  min-height: 62vh;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.map-card__info{
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px);
  color: rgba(15,15,18,0.90);
}

.map-card__eyebrow,
.section--dark .map-card__eyebrow{
  margin: 0 0 0.9rem;
  color: #0f0f12;
  opacity: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.map-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.map-list li{
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.map-list li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.map-list strong{
  color: rgba(15,15,18,0.92);
  font-size: 0.98rem;
}

.map-list span{
  color: rgba(15,15,18,0.78);
  opacity: 0.72;
  font-size: 0.92rem;
}

@media (max-width: 900px){
  .map-card{
    grid-template-columns: 1fr;
  }

  .festival-map{
    min-height: 52vh;
  }
}

/* ====== Footer (full-screen, minimal) ====== */
.site-footer{
    height: 100vh;                /* snap preciso */
    /* Estendi sfondo nell'area home-indicator iOS */
    padding: 0 0 env(safe-area-inset-bottom);
    background: rgba(0,0,0,0.55);
    border-top: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(12px);

    display: flex;
    align-items: center;          /* centra verticalmente */
  }
  
  /* wrapper interno che gestisce lo spacing */
  .footer__wrap{
    width: 100%;
    padding: clamp(3rem, 4vw, 5rem) 0;
  }
  
  .footer__grid{
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
  
  .footer__brand{
    margin: 0 0 0.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
  }
  
  .footer__small{
    margin: 0;
    opacity: 0.8;
    max-width: 44ch;
  }
  
  .footer__title{
    margin: 0 0 0.8rem;
    font-weight: 700;
    opacity: 0.9;
  }
  
  .footer__links{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
  }
  .footer__links a{ opacity: 0.85; }
  .footer__links a:hover{ opacity: 1; text-decoration: none; }
  
  .footer__cta{
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  
  .footer__bottom{
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer__tiny{
    margin: 0;
    opacity: 0.7;
    font-size: 0.85rem;
  }

  .footer__top{
    max-width: 70ch;
  }
  
  .footer__eyebrow{
    margin: 0 0 0.6rem;
    opacity: 0.75;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
  }
  
  .footer__headline{
    margin: 0;
    font-size: clamp(2.2rem, 2rem + 2.6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }
  
  .footer__lead{
    margin: 0.9rem 0 1.3rem;
    opacity: 0.82;
    max-width: 60ch;
  }
  
  .footer__panel{
    margin-top: clamp(1.6rem, 2.2vw, 2.4rem);
    padding: 1.6rem 1.6rem 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
  }
  
  .footer__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
  
  .footer__cta--stack{
    margin-top: 0.9rem;
  }
  
  .footer__small{
    margin: 0;
    opacity: 0.78;
    max-width: 42ch;
  }
  
  .footer__bottom{
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer__form{
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    align-items: center;
  }
  
  .footer__input{
    height: 36px;
    border-radius: 999px; /* più tondeggiante */
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.92);
    padding: 0 0.9rem;
    outline: none;
    font-size: 0.92rem;
  }
  
  .footer__input::placeholder{
    color: rgba(255,255,255,0.55);
  }
  
  .footer__input:focus{
    border-color: rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.35);
  }
  
  .footer__submit{
    height: 36px;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }
  
  @media (max-width: 900px){
    .footer__grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px){
    .footer__grid{ grid-template-columns: 1fr; }
    .footer__panel{ padding: 1.2rem; }
  }
  
  @media (max-width: 900px){
    .footer__grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 520px){
    .footer__grid{ grid-template-columns: 1fr; }
  }

.carousel--news .carousel__track{
    --cardW: min(860px, 92vw);
  }
  
  .carousel--news .card{
    height: min(520px, 62vh);
    padding: 2rem;
    border-radius: 22px;
  }

.section--full{
    min-height: 100vh;
    padding: 5rem 0;
    display: block;
  }
  
  .section--full .container{
    padding: 0;
  }
  
  .hero,
#about,
#news,
#films,
#supporters,
#footer{
  scroll-snap-align: start;
}

.hero,
#about,
#news,
#films,
#supporters,
#footer{
  height: 100vh;
}
  
  @supports (-webkit-touch-callout: none){
    .snap-root{
      overscroll-behavior-y: none;
      -webkit-overflow-scrolling: auto;
    }
  }

  .snap-root{
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
  
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
  
    overscroll-behavior: none;
  
    scrollbar-width: none;
  }
  
  .snap-root::-webkit-scrollbar{
    display: none; 
  }

  :root{ --section-shift: 0vh; }

  #news .container,
#films .container{
  margin-top: var(--section-shift);
}
 
/* ====== Light theme overrides (invert colors) ====== */
:root{
  color-scheme: light;
}

html, body{
  background: #F3F2EF;
}

body{
  color: rgba(0,0,0,0.92);
}

/* Background overlay: make the video readable on a light UI */
.bg__overlay{
  background:
    radial-gradient(1000px 500px at 20% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0.90)),
    linear-gradient(to bottom, rgba(255,255,255,0.70), rgba(255,255,255,0.92));
}

/* Header */
.site-header{
  background: #F3F2EF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.brand__mark{
  border: 1px solid rgba(0,0,0,0.20);
}

/* Dropdown menu — light theme base (real design in editorial block below) */
.nav__toggle{
  border: 1px solid rgba(15,15,18,0.16);
  background: rgba(255,255,255,0.70);
  color: rgba(15,15,18,0.92);
}
.nav__panel{
  border: 1px solid rgba(15,15,18,0.10);
  background: rgba(255,255,255,0.88);
}

/* Links */
a:hover{
  text-decoration: underline;
}

/* Buttons */
.btn{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.06);
}

.btn:hover{
  background: rgba(0,0,0,0.10);
}

.btn--ghost{
  background: rgba(255,255,255,0.70);
}

/* Pills / hint */
.scroll-hint{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.70);
}

/* Posters / cards */
.poster,
.card{
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.12);
}

/* On dark/purple backgrounds (Full + Experimental in_competition awards),
   the black border vanishes — switch to a soft white so cards stand out. */
.section--dark .card,
.section--dark .poster{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.32);
}

/* Carousel buttons */
.carousel__btn{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.75);
  color: rgba(0,0,0,0.92);
}

.carousel__btn:hover{
  background: rgba(0,0,0,0.06);
}

/* Footer */
.site-footer{
  background: rgba(255,255,255,0.72);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer__panel{
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
}

.footer__bottom{
  border-top: 1px solid rgba(0,0,0,0.10);
}

/* Inputs */
.footer__input{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.85);
  color: rgba(0,0,0,0.92);
}

.footer__input::placeholder{
  color: rgba(0,0,0,0.45);
}

.footer__input:focus{
  border-color: rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.95);
}

/* ====== News cards with image (split layout) ====== */
.carousel--news .news-card{
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 1fr);
  height: min(520px, 62vh);
}

.carousel--news .news__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel--news .news__body{
  padding: 2.2rem 2.4rem;
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

.news__link{
  justify-self: start;
  font-weight: 700;
  opacity: 0.9;
  white-space: normal;
  text-align: center;
}

.news__link:hover{ opacity: 1; }

.site-header,
.snap-root{
  position: relative;
  z-index: 1;
}

/* ====== Section-specific backgrounds ====== */

/* About section: needs its own light bg so dark text is readable */
#about{
  position: relative;
  isolation: isolate;
}

#about::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/bg/Tavola_disegno_1.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#about > .container{
  position: relative;
  z-index: 2;
  transform: translateY(38px);
}

/* Footer on main page: light bg */
.site-footer{
  position: relative;
  isolation: isolate;
}

.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/bg/Tavola_disegno_7.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-footer > *{
  position: relative;
  z-index: 2;
}

#news, #films{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7f7f5;
}

#news > .container,
#films > .container{
  position: relative;
  z-index: 2;
}

#news::before,
#films::before{
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  filter: contrast(1.05) saturate(0.9);
}

#news::after,
#films::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(255,255,255,0.12), rgba(255,255,255,0.42)),
    linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.35));
}

#news::before{
  background-image: url('../img/bg/Tavola_disegno_2.png');
}

#films::before{
  background-image: url('../img/bg/Tavola_disegno_3.png');
}

#news::after,
#films::after{
  background: transparent;
}

#news{
  margin-bottom: -3px;
  height: calc(100vh + 3px);
}

#films{
  margin-top: -3px;
  height: calc(100vh + 3px);
}

#supporters{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7f7f5;
  margin-top: -3px;
  margin-bottom: -3px;
  height: calc(100vh + 6px);
}

#supporters::before{
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-image: url('../img/bg/Tavola_disegno_2.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#supporters > .container{
  position: relative;
  z-index: 2;
}

/* ====== Hero sections: testa.jpg = light bg → force dark text ====== */
.films-hero, .films-hero *:not(.nav__lang-option):not(.nav__toggle),
.program-hero, .program-hero *:not(.nav__lang-option):not(.nav__toggle),
.press-hero, .press-hero *:not(.nav__lang-option):not(.nav__toggle),
.legal-hero, .legal-hero *:not(.nav__lang-option):not(.nav__toggle),
.authors-hero, .authors-hero *:not(.nav__lang-option):not(.nav__toggle),
.contact-hero, .contact-hero *:not(.nav__lang-option):not(.nav__toggle) {
  color: rgba(15,15,18,0.88);
  border-color: rgba(15,15,18,0.20);
  -webkit-text-fill-color: initial;
}

.films-hero .btn, .program-hero .btn,
.press-hero .btn, .legal-hero .btn,
.authors-hero .btn, .contact-hero .btn {
  background: rgba(15,15,18,0.07);
  border-color: rgba(15,15,18,0.20);
}

/* Header floats ABOVE the full-screen overlay */
.site-header{ z-index: 10000; }
.nav__dropdown{ position: relative; z-index: 10001; }
.nav__panel{ z-index: 9999; } /* overlay is behind header so toggle stays clickable */

.bg,
.bg__media,
.bg__overlay{
  pointer-events: none;
}

.footer__legal{
  display: grid;
  gap: 0.25rem;
}

.footer__bottom{
  align-items: flex-end;
}

/* ====== DROP-DOWN: cinematic minimal — cream + viola ====== */

:root{
  --menu-paper: #F3F2EF;
  --menu-ink: #1A1320;
  --menu-violet: #4B2E83;
  --menu-violet-soft: rgba(75,46,131,0.06);
  --menu-violet-line: rgba(75,46,131,0.22);
  --menu-border: rgba(0,0,0,0.16);
}

/* ---- Toggle button — matches the other nav pills ---- */
.nav__toggle{
  position: relative;
  list-style: none;
  cursor: pointer;
  user-select: none;

  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.5rem 0.95rem;
  border-radius: 999px;

  border: 1px solid var(--menu-border);
  background: rgba(255,255,255,0.70);
  color: var(--menu-ink);

  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;

  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.nav__toggle::-webkit-details-marker{ display: none; }

/* tiny square mark — rotates 45° and fills violet on open */
.nav__toggle::after{
  content: "";
  width: 7px; height: 7px;
  border: 1.5px solid currentColor;
  background: transparent;
  transform: rotate(0deg);
  transition: transform 360ms cubic-bezier(.65,0,.35,1),
              background 220ms ease,
              border-color 220ms ease;
}

.nav__toggle:hover{
  color: var(--menu-violet);
  border-color: var(--menu-violet-line);
  background: rgba(255,255,255,0.92);
}
.nav__toggle:hover::after{
  background: var(--menu-violet);
  border-color: var(--menu-violet);
}

.nav__dropdown.is-open .nav__toggle{
  color: var(--menu-ink);
  border-color: var(--menu-violet-line);
  background: rgba(255,255,255,0.92);
}
.nav__dropdown.is-open .nav__toggle::after{
  background: var(--menu-violet);
  border-color: var(--menu-violet);
  transform: rotate(45deg);
}

/* ---- Panel ---- */
.nav__panel{
  position: absolute;
  right: 0;
  margin-top: 1.15rem;

  min-width: 280px;
  padding: 1rem 0.85rem 1rem;
  padding-left: 1.8rem; /* leaves room for the violet rail on the left */

  border-radius: 4px;
  background: var(--menu-paper);
  color: var(--menu-ink);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: none;

  display: grid;
  gap: 0;

  box-shadow:
    0 1px 2px rgba(15,15,18,0.08),
    0 12px 30px -18px rgba(15,15,18,0.38),
    0 3px 12px -10px rgba(75,46,131,0.28);

  /* closed state */
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-4px);
  transition: opacity 340ms ease,
              clip-path 480ms cubic-bezier(.65,0,.35,1),
              transform 480ms cubic-bezier(.65,0,.35,1);
}

.nav__panel::before{ content: none; }

/* the cinematic detail: a thin violet rail on the left edge
   with a small "playhead" pill that travels to the hovered row */
.nav__panel::after{
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0.85rem;
  top: 1rem;
  bottom: 1rem;
  width: 1.5px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--menu-violet-line) 14%,
    var(--menu-violet-line) 86%,
    transparent 100%);
}

/* open state — driven by .is-open class so closing can transition
   smoothly (removing the [open] attr triggers UA hiding of <details>
   children, which cancels transitions). */
.nav__panel.is-open{
  opacity: 1;
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

/* ---- Menu items ---- */
.nav__panel a{
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 0.95rem 0.6rem 0.95rem 0.45rem;
  border-radius: 0;
  text-decoration: none;
  color: var(--menu-ink);

  font-weight: 650;
  letter-spacing: 0.005em;
  text-transform: none;
  font-size: 1.18rem;
  line-height: 1.1;

  transition: color 280ms ease, transform 380ms cubic-bezier(.65,0,.35,1);
}

/* hover "playhead" — a small violet pill that snaps onto the row's left edge */
.nav__panel a::before{
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 50%;
  width: 5px;
  height: 0;
  background: var(--menu-violet);
  transform: translateY(-50%);
  border-radius: 3px;
  transition: height 280ms cubic-bezier(.65,0,.35,1);
}

/* violet underline that grows under the label on hover */
.nav__panel a::after{
  content: "";
  position: absolute;
  left: 0.45rem;
  bottom: 0.6rem;
  height: 2px;
  width: 0;
  background: var(--menu-violet);
  transition: width 420ms cubic-bezier(.65,0,.35,1);
}

.nav__panel a:hover,
.nav__panel a:focus-visible{
  color: var(--menu-violet);
  transform: translateX(8px);
  text-decoration: none;
  outline: none;
}
.nav__panel a:hover::before,
.nav__panel a:focus-visible::before{ height: 64%; }
.nav__panel a:hover::after,
.nav__panel a:focus-visible::after{ width: 40px; }

/* signature mark — tiny "*" in the bottom-right corner of the panel */
.nav__panel{
  --signature: "✱";
}
.nav__panel::before{
  content: var(--signature);
  position: absolute;
  right: 0.7rem;
  bottom: 0.45rem;
  font-size: 0.7rem;
  color: var(--menu-violet);
  opacity: 0.55;
  pointer-events: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1;
}

/* focus-visible: keyboard a11y */
.nav__toggle:focus-visible{
  outline: 2px solid var(--menu-violet);
  outline-offset: 3px;
}

/* ---- Entry animation ---- */
.nav__panel a{
  opacity: 0;
  transform: translateX(8px);
}
.nav__panel.is-open a{
  animation: navItemIn 520ms cubic-bezier(.16,1,.3,1) both;
}
.nav__panel.is-open a:nth-child(1){ animation-delay: 80ms; }
.nav__panel.is-open a:nth-child(2){ animation-delay: 130ms; }
.nav__panel.is-open a:nth-child(3){ animation-delay: 180ms; }
.nav__panel.is-open a:nth-child(4){ animation-delay: 230ms; }
.nav__panel.is-open a:nth-child(5){ animation-delay: 280ms; }
.nav__panel.is-open a:nth-child(6){ animation-delay: 330ms; }
.nav__panel.is-open a:nth-child(7){ animation-delay: 380ms; }
.nav__panel.is-open a:nth-child(8){ animation-delay: 430ms; }

@keyframes navItemIn{
  0%{
    opacity: 0;
    transform: translateX(10px);
    filter: blur(2px);
  }
  60%{
    opacity: 1;
    filter: blur(0);
  }
  100%{
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .nav__panel{
    clip-path: none !important;
    opacity: 0;
    transition: opacity 200ms ease !important;
    pointer-events: none;
  }
  .nav__panel.is-open{
    opacity: 1 !important;
    pointer-events: auto;
  }
  .nav__panel a,
  .nav__toggle,
  .nav__toggle::before,
  .nav__toggle::after,
  .nav__panel a::before,
  .nav__panel a::after{
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* MailerLite embed — make it match the small footer newsletter style */
.footer__ml {
  width: 100%;
  max-width: 520px;
}
/* If MailerLite renders inside an iframe, we can’t style internals — scale it down */
.footer__ml iframe {
  width: 100% !important;
  max-width: 520px;
  border: 0 !important;
  transform: scale(0.88);
  transform-origin: left top;
}

/* Compensate the scale so it doesn’t leave extra empty space */
.footer__ml {
  height: auto;
}

/* Remove the big “card” look MailerLite injects */
.footer__ml .ml-form-embedContainer,
.footer__ml .ml-form-embedWrapper,
.footer__ml .ml-form-embedBody,
.footer__ml .ml-form-embedContent,
.footer__ml .ml-form-embedBlock {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer__ml .ml-form-embedContainer {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* Hide MailerLite title/description inside the embed (you already have yours above) */
.footer__ml h1,
.footer__ml h2,
.footer__ml h3,
.footer__ml h4,
.footer__ml h5,
.footer__ml h6,
.footer__ml .ml-form-embedContent {
  display: none !important;
}

/* Layout: email + button inline like before */
.footer__ml form {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}

/* Input styling to match your footer */
.footer__ml input[type="email"],
.footer__ml input[type="text"],
.footer__ml input[type="input"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 8px 14px;
  border-radius: 999px; /* ovale disteso */
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.65);
  outline: none;
  font-size: 0.92rem;
}

.footer__ml input::placeholder {
  opacity: 0.75;
}

/* Button styling — small pill */
.footer__ml button,
.footer__ml .ml-form-embedSubmit button {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px !important; /* ovale disteso */
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}

.footer__ml button:hover,
.footer__ml .ml-form-embedSubmit button:hover {
  background: rgba(255, 255, 255, 1) !important;
}

/* Remove any internal spacing MailerLite adds around fields */
.footer__ml .ml-form-fieldRow,
.footer__ml .ml-form-formContent,
.footer__ml .ml-form-embedSubmit {
  margin: 0 !important;
  padding: 0 !important;
}

/* Make it stack nicely on small screens */
@media (max-width: 520px) {
  .footer__ml form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__ml button,
  .footer__ml .ml-form-embedSubmit button {
    width: 100%;
  }
}

.footer__ml{
  margin-left: -19px;
}

.footer__legal a {
  opacity: 0.75;
  transition: opacity 120ms ease;
}

.footer__legal a:hover {
  opacity: 1;
  text-decoration: none;
}

/* ====== Ticket consent modal ====== */
.ticket-modal{
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
}

.ticket-modal.is-open{
  display: block;
}

.ticket-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
}

.ticket-modal__dialog{
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 2rem));
  transform: translate(-50%, -50%);
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.92);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  overflow: hidden;
}

.ticket-modal__body{
  padding: 1.35rem 1.35rem 1.1rem;
  display: grid;
  gap: 0.9rem;
}

.ticket-modal__eyebrow{
  margin: 0;
  opacity: 0.68;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ticket-modal__title{
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ticket-modal__text{
  margin: 0;
  opacity: 0.8;
  line-height: 1.55;
}

.ticket-modal__check{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
}

.ticket-modal__check input{
  margin: 0.15rem 0 0;
}

.ticket-modal__check label{
  line-height: 1.5;
  font-size: 0.96rem;
}

.ticket-modal__check a{
  text-decoration: underline;
}

.ticket-modal__actions{
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0.2rem;
}

.ticket-modal__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.06);
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.ticket-modal__btn:hover{
  background: rgba(0,0,0,0.10);
}

.ticket-modal__btn--primary{
  background: rgba(0,0,0,0.90);
  color: rgba(255,255,255,0.96);
  border-color: rgba(0,0,0,0.90);
}

.ticket-modal__btn--primary:hover{
  background: rgba(0,0,0,1);
}

.ticket-modal__btn--primary:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

body.ticket-modal-open{
  overflow: hidden;
}
