/* =============================================================
   Bakkhos — extras: burger intro (scroll-driven) + group venues
   (paper that unfolds). Everything else is the original site.
   ============================================================= */
.burger-intro { position: relative; background: #16110e; }
.burger-intro .hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.burger-intro .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.burger-intro .hero-scroll-hint {
  position: absolute; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-family: "Lato", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(235,227,213,.85); transition: opacity .5s; pointer-events: none; white-space: nowrap;
}
.hero-scroll-line { width: 1.5px; height: 46px; background: rgba(235,227,213,.2); position: relative; overflow: hidden; border-radius: 2px; }
.hero-scroll-line::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #B65A46; box-shadow: 0 0 8px #e08a5b; animation: drip 1.8s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes drip { to { top: 110%; } }
@media (min-width: 768px) and (min-aspect-ratio: 11/10) {
  .burger-intro .hero-scroll-hint { bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .burger-intro { height: 100vh !important; height: 100svh !important; }
  .hero-scroll-line::after { animation: none; }
}

/* Grupo — paper-fold venues */
.folds { display: grid; gap: 3.2rem 2rem; }
@media (min-width: 900px) {
  .folds { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .fold:nth-child(2) { margin-top: 5rem; }
  .fold:nth-child(3) { margin-top: 2rem; }
}
.fold {
  --ph: 232px;
  position: relative; height: calc(var(--ph) * 4); perspective: 1700px; perspective-origin: 50% 0%;
}
.fold::before {           /* ground shadow grows as the paper opens */
  content: ""; position: absolute; left: 7%; right: 7%; top: 18px; z-index: 0;
  height: calc(var(--ph) * var(--len, 4) - 10px);
  background: rgba(46, 32, 20, .28); border-radius: 50% / 8%;
  filter: blur(18px); transform: translateY(calc((1 - var(--f, 1)) * 10px));
  opacity: calc(.35 + var(--f, 1) * .65);
  transition: height .08s linear;
}
.sheet {
  position: relative; z-index: 1; transform-style: preserve-3d;
  transform: translateY(calc((1 - var(--f, 1)) * 26px)) rotateX(calc((1 - var(--f, 1)) * 14deg)) rotateZ(calc((1 - var(--f, 1)) * var(--tilt, -2deg)));
  transform-origin: 50% 0;
}
.fold:nth-child(2) .sheet { --tilt: 2.5deg; }
.panel { position: absolute; left: 0; right: 0; height: var(--ph); transform-style: preserve-3d; transform-origin: 50% 0; }
.p1 { position: relative; top: 0; }
.p2, .p3, .p4 { top: 100%; }
.p2 { transform: rotateX(var(--a2, 0deg)); }
.p3 { transform: rotateX(var(--a3, 0deg)); }
.p4 { transform: rotateX(var(--a4, 0deg)); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background-color: #FDFBF7; color: #2A2A2A;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 40%);
}
.face.back { transform: rotateX(180deg); background-color: #F1EADF; }
.face.front::after {       /* light falling across the creases */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(40,26,14,.55), rgba(40,26,14,.18));
  opacity: var(--s, 0);
}
.p2 > .face.front { --s: var(--s2, 0); }
.p3 > .face.front { --s: var(--s3, 0); }
.p4 > .face.front { --s: var(--s4, 0); }
.p2 > .face.front, .p3 > .face.front, .p4 > .face.front { box-shadow: inset 0 1px 0 rgba(60,40,20,.10), inset 0 10px 14px -12px rgba(60,40,20,.28); }
.p1 > .face { border-radius: 3px 3px 0 0; }
.p4 > .face { border-radius: 0 0 3px 3px; }
.p1 > .face.front, .p2 > .face.front { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.2rem 1.6rem; }
.fold-logo { max-height: 128px; max-width: 58%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.fold-logo-wide { max-width: 84%; max-height: 118px; }
.fold-type { font-family: "Lato", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #B65A46; margin: 0 0 .6rem; }
.fold-name { font-family: "Playfair Display", serif; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; margin: 0; color: #2A2A2A; }
.p3 > .face.front { padding: 1.3rem 1.6rem; display: flex; align-items: center; }
.fold-desc { font-family: "Lato", sans-serif; font-size: .95rem; line-height: 1.6; color: rgba(42,42,42,.8); text-align: center; margin: 0; }
@media (max-width: 380px) { .fold { --ph: 252px; } }

.grupo-intro { max-width: 40rem; margin: 1.25rem auto 0; }

/* ---------- burger headline (Archivo + Newsreader, only in the intro) ---------- */
@font-face{font-family:"Archivo";src:url("assets/fonts/Archivo.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"Newsreader";src:url("assets/fonts/Newsreader-Italic.woff2") format("woff2");font-weight:200 800;font-style:italic;font-display:swap}
.burger-intro { --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif; --f-text: "Newsreader", Georgia, serif; --ember: #ff7a3d; --gutter: clamp(20px, 5vw, 64px); --ease: cubic-bezier(.16,1,.3,1); height: 390vh; }
.burger-intro .hero-shade {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0);
  background: linear-gradient(180deg, rgba(22,17,14,0) 38%, rgba(22,17,14,.82) 70%, rgba(22,17,14,.96) 100%);
}
.burger-intro .hero-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 22px calc(88px + env(safe-area-inset-bottom));
  text-align: center; color: #f6ece0; text-shadow: 0 2px 24px rgba(10,7,5,.55);
}
.burger-intro .ht-line:last-child, .burger-intro .hero-cta { text-shadow: none; }
.burger-intro .hero-overlay [data-stage] { opacity: 0; will-change: opacity, transform; }
.burger-intro .hero-eyebrow { font-family: var(--f-text); font-style: italic; font-size: 1.05rem; color: var(--ember); margin: 0 0 .55rem; letter-spacing: 0; text-transform: none; }
.burger-intro .hero-title { font-family: var(--f-display); font-weight: 820; font-size: clamp(2.15rem, 10.4vw, 3.6rem); line-height: .93; letter-spacing: -.035em; --w-final: 74; margin: 0; }
.burger-intro .ht-line { display: inline-block; font-variation-settings: "wdth" var(--w, 62); }
.burger-intro .ht-line:last-child {
  background: linear-gradient(100deg, #ffd2a8 0%, #ff8a4c 38%, #ffe7cf 62%, #ff7a3d 100%);
  background-size: 220% 100%; background-position: var(--glint, 100%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.burger-intro .hero-sub { font-family: "Lato", sans-serif; margin: 1rem auto 0; max-width: 32ch; font-size: 1.04rem; line-height: 1.5; color: rgba(246,236,224,.85); }
.burger-intro .hero-tags {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .85rem; margin: 1rem 0 0;
  font-family: var(--f-display); font-size: .8rem; font-weight: 600; font-variation-settings: "wdth" 100; color: rgba(246,236,224,.9);
}
.burger-intro .hero-tags li { display: flex; align-items: center; gap: .85rem; }
.burger-intro .hero-tags li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.burger-intro .hero-cta {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1.35rem;
  font-family: var(--f-display); font-weight: 680; font-variation-settings: "wdth" 104; font-size: 1.05rem; letter-spacing: .01em;
  padding: 1.05rem 1.9rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #ff8a4c, #e8541e); color: #1f0b03;
  box-shadow: 0 10px 30px -12px rgba(255, 96, 30, .8), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.burger-intro .hero-cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(255, 110, 40, .16), 0 18px 40px -14px rgba(255, 96, 30, .95), inset 0 1px 0 rgba(255,255,255,.35); }
@media (min-width: 768px) and (min-aspect-ratio: 11/10) {
  .burger-intro { height: 430vh; }
  .burger-intro .hero-shade { background: linear-gradient(90deg, rgba(22,17,14,.94) 0%, rgba(22,17,14,.75) 32%, rgba(22,17,14,0) 58%); }
  .burger-intro .hero-overlay { left: var(--gutter); right: auto; top: 50%; bottom: auto; transform: translateY(-46%); width: min(50vw, 980px); padding: 0; text-align: left; }
  .burger-intro .hero-eyebrow { font-size: 1.25rem; }
  .burger-intro .hero-title { font-size: clamp(3.2rem, 5.3vw, 6.4rem); --w-final: 100; }
  .burger-intro .hero-sub { margin-left: 0; font-size: clamp(1.1rem, 1.35vw, 1.35rem); max-width: 34ch; margin-top: 1.4rem; }
  .burger-intro .hero-tags { justify-content: flex-start; font-size: .88rem; margin-top: 1.4rem; }
  .burger-intro .hero-cta { margin-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .burger-intro .hero-overlay [data-stage] { opacity: 1 !important; transform: none !important; }
  .burger-intro .ht-line { --w: var(--w-final); }
}

/* richer sheets: tagline, longer copy, details list */
.fold-tag { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.02rem; color: rgba(42,42,42,.7); margin: .65rem 0 0; }
.fold-desc { font-size: .96rem; line-height: 1.62; text-align: left; }
.p4 > .face.front { padding: 1.15rem 1.5rem; display: flex; align-items: center; }
.fold-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; width: 100%; font-family: "Lato", sans-serif; font-size: .88rem; line-height: 1.45; color: rgba(42,42,42,.85); }
.fold-facts li { display: grid; grid-template-columns: 18px 1fr; gap: .65rem; align-items: start; }
.fold-facts svg { width: 18px; height: 18px; color: #B65A46; margin-top: 1px; }
.fold-facts b { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #B65A46; margin-bottom: .1rem; }
.fold-note { font-style: italic; }

/* ---------- Galería: carrusel foto a foto ---------- */
.gal-intro { max-width: 40rem; margin: 1.25rem auto 0; }
.gal-stage { position: relative; border-radius: 6px; overflow: hidden; background: #1f1915; box-shadow: 0 24px 50px -24px rgba(42,42,42,.45); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; outline: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { box-shadow: inset 0 0 0 3px #B65A46; }
.gal-slide { position: relative; flex: 0 0 100%; height: clamp(380px, 68vh, 680px); margin: 0; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; display: grid; place-items: center; }
.gal-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(.5) saturate(1.2); transform: scale(1.1); }
.gal-slide img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.gal-slide figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(20,15,12,0), rgba(20,15,12,.82));
  color: #fff; font-family: "Playfair Display", serif; font-size: clamp(1.15rem, 2.2vw, 1.6rem); text-align: left;
}
.gal-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(249,246,240,.92); color: #2A2A2A; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: background .25s, color .25s, transform .25s;
}
.gal-arrow svg { width: 24px; height: 24px; }
.gal-arrow:hover { background: #B65A46; color: #fff; }
.gal-arrow:active { transform: translateY(-50%) scale(.94); }
.gal-arrow:focus-visible { outline: 3px solid #B65A46; outline-offset: 3px; }
.gal-prev { left: 16px; }
.gal-next { right: 16px; }
.gal-count { position: absolute; z-index: 3; top: 16px; right: 16px; padding: .3rem .85rem; border-radius: 999px; background: rgba(20,15,12,.6); color: #fff; font-family: "Lato", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; scrollbar-color: #d3c8b8 transparent; scroll-behavior: smooth; }
.gal-thumb { flex: 0 0 auto; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s; background: #ebe3d5; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: .85; }
.gal-thumb.is-active { opacity: 1; outline-color: #B65A46; }
.gal-thumb:focus-visible { outline-color: #2A2A2A; opacity: 1; }
@media (max-width: 640px) {
  .gal-slide { height: auto; aspect-ratio: 4 / 5; max-height: 72svh; }
  .gal-arrow { width: 44px; height: 44px; }
  .gal-prev { left: 10px; } .gal-next { right: 10px; }
  .gal-thumb { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .gal-track, .gal-thumbs { scroll-behavior: auto; } }
