@font-face {
  font-family: "Valve";
  src: url("assets/valve bd.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Valve";
  src: url("assets/valve bd it.otf") format("opentype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "GROSTE";
  src: url("assets/GROSTE.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --green: #08ee4f;
  --black: #000000;
  --purple: #b026ff;
  --paper: #f3eee3;
  --line: rgba(243, 238, 227, .26);
  --body: "GROSTE", sans-serif;
  --display: "GROSTE", "Valve", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { min-width: 320px; margin: 0; background: var(--black); color: var(--paper); font: 16px/1.55 var(--body); }
body, button, input { font-family: var(--body); }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
::selection { color: var(--black); background: var(--green); }
.skip-link { position: absolute; z-index: 50; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--green); color: var(--black); }
.skip-link:focus { top: 1rem; }
.section-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; }
h1 { margin-bottom: 24px; font-size: clamp(3.1rem, 6.3vw, 6rem); line-height: .98; }
h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5.7vw, 5rem); line-height: 1.02; }
h3 { margin-bottom: 15px; font-size: clamp(1.65rem, 3vw, 2.8rem); line-height: 1.05; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .76rem; letter-spacing: .08em; }
.text-link, .back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--paper); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover, .back-link:hover, .footer-link:hover, .footer-nav a:hover { color: var(--green); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-size: .92rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-green { border-color: var(--green); background: var(--green); color: var(--black); }
.button-green:hover { border-color: var(--purple); background: var(--purple); color: var(--black); }
.button-outline { border-color: var(--paper); background: transparent; color: var(--paper); }
.button-outline:hover { border-color: var(--purple); background: var(--purple); color: var(--black); }
.empty-note, .section-note, .page-lead { max-width: 680px; color: var(--paper); }
.section-note { max-width: 390px; margin: 0 0 5px; font-size: 1rem; }
.page-lead { margin: 0 0 34px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; min-height: 88px; padding: 14px max(32px, calc((100vw - 1290px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .38); }
body:not([data-route="inicio"]) .site-header { position: relative; background: var(--black); }
.brand, .footer-brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; color: var(--paper); font-family: "Valve", var(--body); font-size: 1.2rem; text-decoration: none; }
.brand-mark { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; overflow: hidden; }
.brand-mark img { width: 46px; height: 46px; object-fit: contain; }
.brand-name { white-space: nowrap; }
.menu-nav { position: relative; margin-left: auto; }
.menu-nav summary { display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid var(--paper); border-radius: 50%; cursor: pointer; list-style: none; }
.menu-nav summary::-webkit-details-marker { display: none; }
.menu-icon { display: grid; gap: 5px; }
.menu-icon i { width: 20px; height: 1px; background: var(--paper); transition: transform .18s ease; }
.menu-nav[open] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-nav[open] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-label { color: var(--paper); font-size: .65rem; line-height: 1; }
.menu-nav nav { position: absolute; top: calc(100% + 12px); right: 0; display: grid; width: min(285px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); background: var(--black); box-shadow: 0 16px 38px rgba(0, 0, 0, .55); }
.menu-nav nav a { min-height: 46px; padding: 11px 12px; color: var(--paper); font-weight: 700; text-decoration: none; }
.menu-nav nav a:hover, .menu-nav nav a[aria-current="page"] { background: var(--purple); color: var(--black); }
.header-cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--green); background: var(--green); color: var(--black); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { border-color: var(--purple); background: var(--purple); }

.hero { position: relative; isolation: isolate; min-height: 100svh; padding: 150px max(5.5vw, calc((100vw - 1290px) / 2)) 76px; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .08)), linear-gradient(0deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, 0) 70%); pointer-events: none; }
.hero-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--black); }
.hero-copy { position: relative; z-index: 1; width: min(100%, 1110px); min-width: 0; }
.hero h1 { max-width: 1110px; margin-bottom: 24px; font-family: "Valve", var(--display); font-size: clamp(3.6rem, 6.5vw, 6.4rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-line { display: block; white-space: nowrap; }
.hero-intro { max-width: 625px; margin-bottom: 27px; color: var(--paper); font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.agenda-section, .cinema-section, .courses-section, .house-gallery-section, .music-section, .blog-section { padding-block: 100px; }
.agenda-section { padding-top: 106px; }
.empty-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 350px; border: 1px solid var(--line); }
.empty-feature-image { min-height: 320px; overflow: hidden; background: var(--black); }
.empty-feature-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.empty-feature-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(26px, 5vw, 60px); }
.empty-feature-copy h3 { max-width: 490px; }
.empty-feature-copy p:not(.eyebrow) { max-width: 460px; margin-bottom: 14px; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.event-card { min-width: 0; border: 1px solid var(--line); background: var(--black); }
.event-card > img { width: 100%; max-height: 350px; object-fit: cover; }
.event-card-copy { padding: 24px; }
.event-card-copy p { max-width: 620px; }
.event-facts, .plain-list { margin: 0 0 20px; padding-left: 1.2rem; }
.event-facts li, .plain-list li { margin: 5px 0; }
.event-facts li::marker, .plain-list li::marker { color: var(--green); }

.cinema-section { border-top: 1px solid var(--line); }
.projection-card { display: grid; grid-template-columns: minmax(220px, .62fr) 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: 26px; border: 1px solid var(--line); }
.projection-card > img { width: 100%; max-height: 440px; object-fit: contain; background: var(--black); }
.projection-card h3 { font-size: clamp(2.2rem, 4vw, 4rem); }
.projection-time { margin-bottom: 24px; color: var(--green); font-family: "Valve", var(--body); font-size: 1.4rem; }
.empty-state { margin: 0; padding: 25px 27px; border-left: 3px solid var(--green); background: var(--black); }
.empty-state h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.empty-state p:last-child { margin-bottom: 0; }

.courses-section { border-top: 1px solid var(--line); }
.class-highlight { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 26px; padding: clamp(26px, 4vw, 45px); border: 1px solid var(--purple); background: var(--paper); color: var(--black); }
.class-highlight h3, .class-highlight h2 { max-width: 720px; color: var(--black); }
.class-highlight p { max-width: 720px; margin-bottom: 0; }
.class-highlight .eyebrow { color: var(--purple); }
.class-highlight .button { flex: 0 0 auto; }
.courses-section > .text-link { margin-top: 18px; }

.house-gallery-section { border-top: 1px solid var(--line); }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: stretch; }
.gallery-viewport { min-width: 0; overflow: hidden; }
.gallery-track { display: flex; gap: 14px; height: 330px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: var(--green) var(--black); scrollbar-width: thin; }
.gallery-card { position: relative; flex: 0 0 min(47%, 465px); min-width: 240px; height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--black); cursor: zoom-in; scroll-snap-align: start; text-align: left; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; background: rgba(0, 0, 0, .78); color: var(--paper); font-size: .72rem; }
.gallery-side { display: flex; align-items: stretch; flex-direction: column; justify-content: space-between; }
.gallery-more { display: flex; min-height: 215px; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 2px; background: var(--green); color: var(--black); text-decoration: none; transition: background-color .18s ease, transform .16s ease-out; }
.gallery-more:hover { background: var(--paper); }
.gallery-more:active { transform: scale(.97); }
.gallery-more-count { font-family: "Valve", sans-serif; font-size: 1.6rem; line-height: 1; }
.gallery-more-label { font-size: .92rem; font-weight: 700; line-height: 1.25; }
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.gallery-controls button, .viewer-actions button { min-height: 44px; padding: 0 13px; border: 1px solid var(--paper); background: var(--black); color: var(--paper); cursor: pointer; }
.gallery-controls button:hover, .viewer-actions button:hover { border-color: var(--green); color: var(--green); }
.gallery-footer-link { margin-top: 22px; }

.music-section { border-top: 1px solid var(--line); }
.music-empty { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 28px; border: 1px solid var(--line); }
.music-empty p { margin: 0; }
.music-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--black); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.music-feature h3 { overflow-wrap: anywhere; }
.music-section > .text-link { margin-top: 18px; }

.blog-section { border-top: 1px solid var(--line); }
.blog-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 58px); align-items: center; }
.blog-feature > img { width: 100%; max-height: 410px; object-fit: cover; }
.blog-feature p { max-width: 660px; }
.blog-feature .empty-note { margin-top: 20px; }
.article-list { display: grid; gap: 8px; margin-bottom: 20px; }
.blog-page-feature { margin-bottom: 25px; }
.blog-page-feature > img { max-height: 330px; }

.visit-section { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-map { min-height: 390px; display: grid; place-items: stretch; background: var(--paper); color: var(--black); }
.visit-map iframe { width: 100%; height: 100%; min-height: 390px; border: 0; }
.map-pending { display: flex; min-height: 390px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding: clamp(28px, 6vw, 74px); }
.map-pending span { font-family: "GROSTE", sans-serif; font-size: 2rem; }
.map-pending p { max-width: 480px; margin: 0; }
.visit-content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 20px; padding: clamp(32px, 6vw, 76px); }
.visit-content h2 { max-width: 600px; font-family: "Valve", var(--display); font-size: clamp(2.5rem, 5vw, 4.9rem); }
.visit-content address { max-width: 450px; font-size: 1.05rem; font-style: normal; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-icon { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .16s ease-out; }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon:hover { border-color: var(--green); background: var(--green); color: var(--black); }
.social-icon:active { transform: scale(.94); }

.faq-section { padding-block: 100px 110px; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 7vw, 90px); }
.faq-intro h2 { max-width: 470px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 62px; padding: 18px 34px 18px 0; cursor: pointer; font-size: 1rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 14px; right: 0; color: var(--green); content: "+"; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 700px; margin: 0 30px 20px 0; }
.faq-list details p a { color: var(--green); }

.site-footer { padding: 36px max(32px, calc((100vw - 1200px) / 2)) 24px; border-top: 1px solid var(--line); background: var(--black); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 20px 36px; align-items: center; }
.footer-brand { justify-self: start; }
.footer-city { justify-self: end; margin: 0; }
.footer-nav { display: flex; flex-wrap: nowrap; gap: 7px 22px; white-space: nowrap; }
.footer-link { color: var(--paper); font-size: .9rem; text-decoration: none; }
.site-footer .social-links { justify-self: end; }
.footer-copy { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; }

.page-shell { min-height: calc(100svh - 160px); padding-block: 64px 110px; }
.page-shell > .back-link { margin-bottom: 24px; }
.page-shell > h1 { max-width: 1000px; margin-bottom: 20px; }
.page-shell > .page-lead { margin-bottom: 34px; }
.page-shell > .text-link { margin-top: 16px; }
.page-gallery .gallery-layout { margin-block: 34px; }
.archive-section { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.archive-section > h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.class-highlight-page { margin-block: 36px 55px; }
.class-highlight-page h2 { margin-bottom: 14px; }
.detail-panel { max-width: 850px; margin-bottom: 32px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.detail-panel h2 { margin: 20px 0 12px; font-size: 2rem; }
.detail-panel h2:first-child { margin-top: 0; }
.house-top-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; }
.house-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.house-topics section { padding: 24px 0; border-top: 1px solid var(--line); }
.house-topics h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.house-topics p { margin-bottom: 0; }
.content-detail { max-width: 900px; }
.content-detail > h1 { margin-bottom: 22px; }
.content-detail > section { margin-top: 40px; }
.content-detail > section h2 { margin-bottom: 16px; font-size: 2.2rem; }
.detail-image { width: 100%; max-height: 640px; margin: 28px 0; object-fit: contain; background: var(--black); }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.purchase-actions details { display: flex; align-items: flex-start; flex-direction: column; }
.purchase-actions details p { max-width: 420px; margin-top: 12px; }
.purchase-actions summary { list-style: none; }
.purchase-actions summary::-webkit-details-marker { display: none; }
.event-status { color: var(--purple); font-family: "Valve", var(--body); font-size: 1.25rem; }
.set-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.set-card { padding: 24px; border: 1px solid var(--line); }
.set-card h2 { overflow-wrap: anywhere; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.set-card p { margin: 14px 0; }
.article-body p { max-width: 760px; }

.photo-viewer { width: min(100vw, 1600px); max-width: 100vw; height: 100svh; max-height: 100svh; padding: 24px; border: 0; background: rgba(0, 0, 0, .96); color: var(--paper); }
.photo-viewer::backdrop { background: rgba(0, 0, 0, .94); }
.viewer-top, .viewer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viewer-top { max-width: 1320px; margin: 0 auto 14px; }
.viewer-top p { margin: 0; color: var(--paper); font-size: .8rem; }
.viewer-actions { justify-content: center; margin-top: 12px; }
.viewer-image-wrap { display: grid; width: 100%; height: calc(100svh - 130px); place-items: center; }
.viewer-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.viewer-close { min-height: 44px; padding: 0 14px; border: 1px solid var(--paper); background: var(--black); color: var(--paper); cursor: pointer; }
.viewer-close:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 900px) {
  .site-header { padding-inline: 24px; }
  .section-wrap { width: calc(100% - 48px); }
  .hero { padding: 145px 6vw 74px; }
  .hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.8rem); }
  .agenda-section, .cinema-section, .courses-section, .house-gallery-section, .music-section, .blog-section { padding-block: 76px; }
  .faq-section { padding-block: 76px 84px; gap: 42px; }
  .gallery-layout { grid-template-columns: minmax(0, 1fr) 125px; }
  .gallery-track { height: 285px; }
  .visit-map, .visit-map iframe, .map-pending { min-height: 340px; }
  .site-footer { padding-inline: 24px; }
}
@media (max-width: 680px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  body { font-size: 15px; }
  .section-wrap { width: calc(100% - 36px); }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; min-height: 72px; padding: 9px 18px; gap: 8px; }
  .brand { min-width: 0; gap: 6px; font-size: .82rem; }
  .menu-nav { margin-left: 0; }
  .header-cta { min-height: 38px; padding-inline: 8px; font-size: .7rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 33px; height: 33px; }
  .menu-nav summary { width: 42px; height: 42px; }
  .menu-icon { gap: 4px; }
  .menu-icon i { width: 16px; }
  .menu-label { font-size: .57rem; }
  .menu-nav nav { top: calc(100% + 8px); }
  .header-cta { min-height: 39px; padding-inline: 8px; font-size: .72rem; }
  .hero { min-height: 100svh; padding: 120px 20px 60px; }
  .hero-copy { width: 100%; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(1.2rem, 6vw, 2.2rem); line-height: 1.06; letter-spacing: -.04em; }
  .hero-intro { max-width: 100%; margin-bottom: 22px; font-size: .92rem; }
  .hero-actions { gap: 9px; }
  .button { min-height: 48px; padding-inline: 15px; font-size: .83rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 25px; }
  h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .section-note { font-size: .92rem; }
  .agenda-section, .cinema-section, .courses-section, .house-gallery-section, .music-section, .blog-section { padding-block: 60px; }
  .empty-feature { grid-template-columns: 1fr; }
  .empty-feature-image, .empty-feature-image img { min-height: 230px; max-height: 290px; }
  .empty-feature-copy { padding: 24px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card-copy { padding: 20px; }
  .projection-card { grid-template-columns: 1fr; padding: 17px; }
  .projection-card > img { max-height: 360px; }
  .class-highlight { align-items: flex-start; flex-direction: column; padding: 23px; }
  .class-highlight .button { width: 100%; }
  .gallery-layout { grid-template-columns: 1fr; gap: 10px; }
  .gallery-track { height: 240px; gap: 9px; }
  .gallery-card { flex-basis: 82%; min-width: 220px; }
  .gallery-side { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 9px; }
  .gallery-more { min-height: 68px; flex-direction: row; align-items: center; }
  .gallery-controls { align-items: center; flex-direction: column; }
  .gallery-controls button { width: 100%; min-height: 29px; padding-inline: 7px; font-size: .72rem; }
  .music-empty { align-items: flex-start; flex-direction: column; padding: 22px; }
  .music-feature, .blog-feature { grid-template-columns: 1fr; }
  .blog-feature > img { max-height: 280px; }
  .visit-section { grid-template-columns: 1fr; }
  .visit-map, .visit-map iframe, .map-pending { min-height: 270px; }
  .map-pending { padding: 26px; }
  .visit-content { padding: 38px 22px 44px; }
  .visit-content h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .faq-section { padding-block: 64px 70px; grid-template-columns: 1fr; gap: 24px; }
  .faq-list summary { min-height: 58px; padding-block: 16px; font-size: .94rem; }
  .faq-list details p { margin-right: 15px; font-size: .89rem; }
  .site-footer { padding: 26px 18px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 17px; }
  .footer-city, .site-footer .social-links { justify-self: start; }
  .footer-nav { flex-wrap: wrap; gap: 8px 16px; white-space: normal; }
  .page-shell { min-height: calc(100svh - 150px); padding-block: 42px 72px; }
  .page-shell > h1 { font-size: clamp(2.8rem, 12vw, 4.3rem); }
  .class-highlight-page { margin-block: 24px 40px; }
  .house-top-links { align-items: stretch; flex-direction: column; }
  .house-top-links .button { width: 100%; }
  .house-topics { grid-template-columns: 1fr; }
  .set-list { grid-template-columns: 1fr; }
  .photo-viewer { padding: 12px; }
  .viewer-image-wrap { height: calc(100svh - 120px); }
  .viewer-actions button { min-height: 46px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Todo texto empieza con mayúscula, también el que se agregue desde content.js */
p::first-letter, li::first-letter, h1::first-letter, h2::first-letter, h3::first-letter, h4::first-letter, dt::first-letter, dd::first-letter, figcaption::first-letter, summary::first-letter, label::first-letter, address::first-letter { text-transform: uppercase; }

/* Sombreado verde de marca. En content.js se escribe ==texto== */
mark.hl { padding: 0 .12em; background: var(--green); color: var(--black); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1 mark.hl, h2 mark.hl, h3 mark.hl { padding: 0 .06em; }

/* Juegos */
.game-frame { width: 100%; aspect-ratio: 16 / 10; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); background: var(--black); }
.game-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .game-frame { aspect-ratio: 3 / 4; } }

/* Flyers de eventos: formato vertical completo */
.event-card .event-media { display: block; width: 100%; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; background: var(--black); }
video.detail-image { display: block; max-width: 420px; aspect-ratio: 9 / 16; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Tarjetas de evento con más contraste: sello de fecha y ficha en crema */
.event-card { display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: 2px; background: var(--paper); color: var(--black); transition: transform .2s ease-out, box-shadow .2s ease-out; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--green); }
.event-media-wrap { position: relative; }
.event-stamp { position: absolute; top: 14px; left: 14px; display: grid; min-width: 72px; padding: 10px 12px 9px; border-radius: 2px; background: var(--green); color: var(--black); line-height: 1; text-align: center; text-transform: uppercase; }
.event-stamp b { font-family: "Valve", sans-serif; font-size: 2.2rem; font-weight: 700; }
.event-stamp span { margin-top: 3px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.event-card .event-card-copy { flex: 1; display: flex; flex-direction: column; }
.event-card .event-card-copy h3 { color: var(--black); }
.event-card .event-facts li::marker { color: var(--purple); }
.event-card .event-status { color: var(--purple); }
.event-card .text-link { align-self: flex-start; margin-top: auto; min-height: 46px; padding: 0 18px; background: var(--black); color: var(--paper); text-decoration: none; }
.event-card .text-link:hover { background: var(--purple); color: var(--paper); }

/* Póster provisional mientras llega el flyer */
.event-card .event-poster { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 96px 22px 24px; background: #141413; color: var(--paper); border-bottom: 6px solid var(--green); }
.event-poster strong { font-family: "Valve", sans-serif; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: .98; letter-spacing: -.02em; overflow-wrap: anywhere; }
.event-poster span { color: var(--green); font-size: .9rem; font-weight: 700; }

/* La etiqueta de Netlify (plan gratuito) se sube para no tapar los botones fijos en celular */
@media (max-width: 680px) { #nl-badge-frame { bottom: calc(70px + env(safe-area-inset-bottom)) !important; } }

/* ---- Octubre 2026: tarjetas, ficha de evento, contenido externo, documentos ---- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.calendar-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.calendar-table th, .calendar-table td { padding: 12px 14px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.calendar-table thead th { border-top: 0; color: var(--green); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.calendar-table td a { color: var(--paper); text-decoration-color: var(--green); text-underline-offset: 3px; }

/* Botones negros de las tarjetas: más aire y borde verde */
.event-card .text-link { margin-top: auto; border: 2px solid var(--green); }
.event-card .event-facts { margin-bottom: 26px; }
.event-card-copy { gap: 4px; }

/* Seis eventos en tres columnas */
.event-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-grid-3 .event-card h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); }
.event-grid-3 .event-card-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .92rem; }
@media (max-width: 900px) { .event-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .event-grid-3 { grid-template-columns: 1fr; } }

/* Ficha del evento */
.purchase-notice { max-width: 720px; margin: 0 0 14px; font-size: .92rem; }
.purchase-notice p { margin: 3px 0; }
.purchase-notice-main { font-weight: 700; }
.purchase-notice a, .purchase-help a, .purchase-note a { color: var(--paper); text-decoration-color: var(--green); text-underline-offset: 3px; }
.purchase-help { margin: 12px 0 0; font-size: .9rem; }
.price-line { margin: 0 0 8px; color: var(--green); font-size: 1.1rem; font-weight: 700; }
.purchase-note { margin: 0 0 22px; }
@media (max-width: 680px) {
      }

/* Botones con ícono (YouTube, Spotify) */
.music-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button-icon { gap: 10px; }
.button-icon svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }

/* Contenido externo que se carga solo si la persona lo decide */
.embed-gate { position: relative; display: grid; overflow: hidden; width: 100%; min-height: 260px; border: 1px solid var(--line); background: var(--black); }
.embed-gate-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.embed-gate-copy { position: relative; align-self: end; padding: clamp(18px, 3vw, 28px); }
.embed-gate-provider { margin: 0 0 6px; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.embed-gate-title { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.15; }
.embed-gate-note { max-width: 520px; margin: 0 0 16px; font-size: .86rem; }
.embed-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.embed-gate.is-loaded { min-height: 0; border: 0; }
.embed-gate.is-loaded iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }
.visit-map .embed-gate { height: 100%; min-height: 390px; aspect-ratio: auto !important; background: var(--black); color: var(--paper); }
.visit-map .embed-gate.is-loaded iframe { min-height: 390px; }
@media (max-width: 680px) { .visit-map .embed-gate, .visit-map .embed-gate.is-loaded iframe { min-height: 300px; } }

/* Enlaces legales del pie */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: .8rem; }
.footer-legal-link { color: var(--paper); opacity: .78; text-decoration: none; }
.footer-legal-link:hover { color: var(--green); opacity: 1; }

/* Documentos legales */
.legal-doc { max-width: 760px; }
.legal-doc h1 { margin-bottom: 10px; }
.legal-meta { margin: 0 0 28px; font-size: .9rem; opacity: .8; }
.legal-toc { margin: 0 0 40px; padding: 18px 22px; border: 1px solid var(--line); }
.legal-toc p { margin: 0 0 8px; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-toc li { margin: 4px 0; }
.legal-toc a { color: var(--paper); text-decoration-color: var(--green); text-underline-offset: 3px; }
.legal-doc section { margin: 0 0 34px; scroll-margin-top: 90px; }
.legal-doc h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.legal-doc p, .legal-doc li { max-width: 68ch; }
.legal-doc ul { margin: 0 0 16px; padding-left: 1.2rem; }
.legal-doc li { margin: 6px 0; }
.legal-doc li::marker { color: var(--green); }
.legal-doc a { color: var(--paper); text-decoration-color: var(--green); text-underline-offset: 3px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .92rem; }
.legal-doc th, .legal-doc td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-doc th { color: var(--green); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }

/* Botones fijos en celular */
.sticky-cta { display: none; }
@media (max-width: 680px) {
  .sticky-cta { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(0, 0, 0, .94); backdrop-filter: blur(8px); }
  .sticky-cta .button { width: 100%; min-height: 46px; }
  .sticky-cta .button-outline { background: var(--black); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.page-shell > .button + .detail-panel { margin-top: 28px; }

/* Videos y mapa insertados */
.embed-frame { position: relative; overflow: hidden; width: 100%; background: var(--black); }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit-map .embed-frame { height: 100%; min-height: 390px; aspect-ratio: auto !important; }
@media (max-width: 680px) { .visit-map .embed-frame { min-height: 300px; } }

/* Datos del evento o proyección (reemplaza el diseño de boleto) */
.event-info { margin: 6px 0 30px; padding: 20px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-info-date { margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.event-info-facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0 0 14px; }
.event-info-facts > div { padding: 0 22px; border-left: 1px solid var(--line); }
.event-info-facts > div:first-child { padding-left: 0; border-left: 0; }
.event-info-facts dt { margin-bottom: 3px; color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.event-info-facts dd { margin: 0; font-weight: 700; }
.event-info-place { margin: 0; font-size: .92rem; }
.event-info-place a { color: var(--paper); text-decoration-color: var(--green); text-underline-offset: 3px; }
@media (max-width: 680px) {
  .event-info-facts > div { flex: 1 1 45%; padding: 0; border-left: 0; }
}

/* Cineclub: histórico en tarjetas pequeñas */
.projection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.projection-mini-link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); color: var(--paper); text-decoration: none; transition: border-color .18s ease; }
.projection-mini-link:hover { border-color: var(--green); }
.projection-mini img, .projection-mini-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #141414; }
.projection-mini-poster { display: flex; align-items: flex-end; padding: 14px; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.projection-mini-copy { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.projection-mini-date { color: var(--green); font-size: .78rem; font-weight: 700; }
.projection-mini-copy strong { font-size: 1rem; line-height: 1.25; }
@media (max-width: 900px) { .projection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .projection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Página de una proyección */
.projection-detail { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(20px, 4vw, 44px); align-items: start; margin-bottom: 10px; }
.projection-detail-cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.projection-detail p { margin-top: 0; font-size: 1.05rem; }
.projection-note { color: var(--green); font-weight: 700; }
@media (max-width: 680px) { .projection-detail { grid-template-columns: 1fr; } .projection-detail-cover { max-width: 280px; } }
.projection-list { margin-top: 56px; }
.projection-list > h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 3.4vw, 3rem); }
