/* =============================================================
   ECUBE ACCESS - INTERMISSION EVENT-PAGE LAYOUT
   ecube-intermission-layout-v2.css
   Loaded after ecube-layout-reset.css by signals.presale_head.

   v2 (2026-10-01): the final SYM x IN THE ZONE poster. The house is now a
   frame of film: a cold blue light leak bleeds in from the edges, sprocket
   holes run down the right, and the bill is set live on the frame the way
   the poster sets it (lockup, LOSE THE SEATS / FIND THE BEATS in copper, the
   INTERMISSION headline, the lineup on ruled lines, date / time / venue, and
   the EVERY GENERATION WELCOME ticket sticker). The plate behind it is the
   poster with every word erased (infra/scripts/build-intermission-assets.py).

   Desktop shows the whole plate. A phone cannot hold a 16:9 frame, so there
   the frame is rebuilt: one two-frame repeat of the film strip tiled down the
   right edge, and the left and top light leaks drawn as gradients.

   All motion is CSS (presale CSP allows no scripts) and every animation is
   frozen at its resting frame under prefers-reduced-motion. The strobe fires
   twice per 6 s cycle, i.e. 0.33 Hz, an order of magnitude under the 3 Hz
   photosensitivity ceiling; the light leak only drifts in opacity.

   FIXED intermission constants: house #05070B, panel #0B0D12, ivory #EDE6D6,
   projector white #FFFFFF, ink #F2F0EA, copper #E6A57C to #F4E6DB, leak blue
   #2E7FD0, sprocket cream #FFF6E2. New filename per change (Cloudflare).
   ============================================================= */

.ec-im-wrap{position:relative;min-height:calc(100vh - 120px);font-family:'Archivo',-apple-system,'Helvetica Neue',Arial,sans-serif;background:#05070B;color:#F2F0EA;overflow-x:hidden}
.ec-im-wrap *{box-sizing:border-box}

/* -- Film grain over the whole house -- */
.ec-im-wrap::after{content:'';position:fixed;inset:0;z-index:3;pointer-events:none;opacity:.07;background-image:url('intermission/grain-200.png');background-repeat:repeat;background-size:200px 200px}

/* -- Top bar -- */
.ec-im-topbar{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:14px 48px;border-bottom:1px solid rgba(255,255,255,.14);background:#05070B}
.ec-im-topbar-brand{display:block;line-height:0}
.ec-im-topbar-brand img{height:40px;width:auto;display:block}
a.ec-im-topbar-link,a.ec-im-topbar-link:visited{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;font-weight:500;line-height:1;letter-spacing:.26em;text-transform:uppercase;color:#F2F0EA!important;text-decoration:none!important;border-bottom:1px solid #E6A57C;padding-bottom:4px}
a.ec-im-topbar-link:hover{color:#FFFFFF!important}

/* -- Hero: one frame of film -- */
.ec-im-hero{position:relative;overflow:hidden;background-color:#05070B;background-image:url('intermission/hero-plate-v2.webp');background-size:cover;background-position:100% 50%;background-repeat:no-repeat;padding:clamp(44px,5.4vw,84px) clamp(96px,11.5vw,210px) clamp(56px,6vw,96px) clamp(40px,7.5vw,136px)}
/* the frame's own black gate bleeds into the page below it */
.ec-im-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none;background:linear-gradient(180deg,rgba(5,7,11,0) 0%,#05070B 100%)}

/* the light leak breathes: one blue bloom from the left edge drifting in
   opacity only, so no luminance step ever reaches a flash */
.ec-im-leak{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(60% 70% at 0% 50%,rgba(46,127,208,.34) 0%,rgba(46,127,208,0) 70%),radial-gradient(40% 50% at 88% 60%,rgba(120,180,240,.16) 0%,rgba(120,180,240,0) 70%);opacity:.55;animation:ec-im-leak 9s ease-in-out infinite alternate}

.ec-im-hero-copy{position:relative;z-index:1;max-width:1240px;margin:0 auto}

.ec-im-lockup{margin:0 0 clamp(14px,2vw,26px)!important;text-align:center;line-height:0}
.ec-im-lockup img{display:inline-block;width:clamp(170px,19vw,300px);height:auto}

/* LOSE THE SEATS / FIND THE BEATS: copper light, the poster's only warm ink */
.ec-im-tagline{display:flex;justify-content:space-between;gap:24px;margin:0 0 clamp(2px,.6vw,8px)!important;padding:0 .4%}
.ec-im-tagline span{font-family:'Archivo',-apple-system,'Helvetica Neue',Arial,sans-serif;font-weight:500;font-size:clamp(13px,2.35vw,36px);line-height:1;letter-spacing:-.01em;text-transform:uppercase;background:linear-gradient(90deg,#E6A57C 0%,#F4E6DB 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#EFC9AE!important}
.ec-im-tagline span:last-child{background:linear-gradient(90deg,#F4E6DB 0%,#E6A57C 100%);-webkit-background-clip:text;background-clip:text}

h1.ec-im-h1{margin:0 0 clamp(26px,3.4vw,52px)!important;padding:0!important;line-height:0!important}
img.ec-im-title{display:block;width:100%;height:auto;margin:0 auto;filter:drop-shadow(0 0 40px rgba(255,255,255,.18));animation:ec-im-strobe 6s steps(1,end) infinite}
.ec-im-sr,h1.ec-im-h1 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* -- The bill: lineup | date, time, venue | sticker -- */
.ec-im-bill{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:clamp(20px,3vw,44px)}
ul.ec-im-lineup{list-style:none;margin:0!important;padding:0!important;column-count:2;column-gap:clamp(20px,3.4vw,52px)}
ul.ec-im-lineup li{break-inside:avoid;margin:0!important;padding:.36em 0 .42em .3em!important;font-family:'Archivo',-apple-system,'Helvetica Neue',Arial,sans-serif;font-weight:500;font-size:clamp(15px,1.72vw,28px);line-height:1.12;letter-spacing:-.012em;text-transform:uppercase;color:#FFFFFF!important;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.78) 12%,rgba(255,255,255,.78) 78%,rgba(255,255,255,0) 100%) left bottom/100% 2px no-repeat}
ul.ec-im-lineup li::before{content:none!important}

.ec-im-facts{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:clamp(12px,1.6vw,24px);padding-left:clamp(16px,2vw,30px);border-left:1px solid;border-image:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5) 20%,rgba(255,255,255,.5) 80%,rgba(255,255,255,0)) 1}
p.ec-im-fact{margin:0!important;display:flex;flex-direction:column;font-family:'Archivo',-apple-system,'Helvetica Neue',Arial,sans-serif;font-size:clamp(14px,1.75vw,27px);line-height:1.02;text-transform:uppercase;letter-spacing:-.01em}
p.ec-im-fact span{font-weight:300;color:#F2F0EA!important}
p.ec-im-fact b{font-weight:800;background:linear-gradient(90deg,#E6A57C 0%,#F4E6DB 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#EFC9AE!important}

/* the ticket sticker: tan stock, notched ends, a perforation, a white
   backing that shows as an offset shadow (drop-shadow on the wrapper,
   because a filter on the masked element itself would be masked away) */
/* like the poster, the sticker hangs over the film edge into the frame's margin */
p.ec-im-sticker{margin:0 calc(-1 * clamp(0px,6.5vw,120px)) 0 0!important;transform:rotate(-9deg);filter:drop-shadow(5px 7px 0 #E9EEF6) drop-shadow(0 16px 26px rgba(0,0,0,.45))}
p.ec-im-sticker span{position:relative;display:block;width:clamp(170px,15vw,236px);padding:clamp(14px,1.4vw,20px) clamp(38px,3.3vw,52px) clamp(14px,1.4vw,20px) clamp(20px,2vw,28px);font-family:'Archivo','Arial Black',Impact,sans-serif;font-weight:800;font-stretch:80%;font-size:clamp(15px,1.55vw,24px);line-height:1.02;letter-spacing:-.01em;text-transform:uppercase;text-align:center;color:#111111!important;background:linear-gradient(100deg,#F6D9C0 0%,#EFC3A0 40%,#DB9A6F 100%);border:2px solid #111111;
  -webkit-mask-image:radial-gradient(circle at 0 50%,transparent 0 11px,#000 11.5px),radial-gradient(circle at 100% 50%,transparent 0 11px,#000 11.5px);-webkit-mask-composite:source-in;mask-image:radial-gradient(circle at 0 50%,transparent 0 11px,#000 11.5px),radial-gradient(circle at 100% 50%,transparent 0 11px,#000 11.5px);mask-composite:intersect}
p.ec-im-sticker span::after{content:'';position:absolute;top:6px;bottom:6px;right:clamp(22px,2.2vw,32px);border-left:2px dashed #111111}

/* -- The gates line as a torn ticket stub -- */
.ec-im-stub{position:relative;display:block;max-width:820px;margin:clamp(34px,4vw,56px) auto 0;padding:18px 26px 18px 40px;background:#EDE6D6;color:#050505!important;font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11.5px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;line-height:1.9;text-align:left;
  /* torn edge: a row of bites taken out of the left side */
  -webkit-mask-image:radial-gradient(circle at 0 6px,transparent 0 5px,#000 5.5px);mask-image:radial-gradient(circle at 0 6px,transparent 0 5px,#000 5.5px);-webkit-mask-size:100% 12px;mask-size:100% 12px;-webkit-mask-repeat:repeat-y;mask-repeat:repeat-y}
.ec-im-stub *{color:#050505!important}
.ec-im-stub-ready{display:block;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(5,5,5,.35);font-weight:500;letter-spacing:.24em}

.ec-im-hero-copy>a.ec-im-cta{display:flex;width:max-content;margin-left:auto;margin-right:auto}
a.ec-im-cta,a.ec-im-cta:visited{display:inline-flex;align-items:center;gap:16px;margin-top:30px;background:#EDE6D6;color:#050505!important;text-decoration:none!important;font-family:'Archivo','Arial Black',Impact,sans-serif;font-size:14px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;padding:20px 36px;border-radius:0;box-shadow:0 18px 50px rgba(46,127,208,.28);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
a.ec-im-cta::after{content:'\2192';font-family:'Archivo',sans-serif;font-size:20px;line-height:1}
a.ec-im-cta:hover,a.ec-im-cta:focus-visible{transform:translateY(-2px);background:#FFFFFF;box-shadow:0 24px 62px rgba(46,127,208,.4);color:#050505!important}
.ec-im-note{margin:20px 0 0;font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:rgba(242,240,234,.62)!important}

/* -- Main column -- */
.ec-im-main{position:relative;z-index:2;max-width:1120px;margin:0 auto;padding:56px 48px 40px}
.ec-im-section-label{display:flex;align-items:center;gap:16px;margin:0 0 26px;font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;font-weight:500;letter-spacing:.32em;text-transform:uppercase;color:#F2F0EA!important}
.ec-im-section-label i{display:block;width:24px;height:2px;background:#E6A57C}
.ec-im-section-label::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.14)}
.ec-im-panel{background:#0B0D12;border:1px solid rgba(255,255,255,.14);border-left:3px solid #EDE6D6;border-radius:0;padding:30px 34px;margin:0 0 40px;color:rgba(242,240,234,.72)}
.ec-im-panel p{margin:0;color:rgba(242,240,234,.72)!important}
.ec-im-drop-title{font-family:'Archivo','Arial Black',Impact,sans-serif;font-size:20px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#FFFFFF!important;margin-bottom:10px}

/* the exclusive-access gate box sits in the main column; its colours come from
   .ea-preset-intermission in public-cta-v19.css */
.ec-im-main .exclusive-access-cta{margin-bottom:44px}

/* -- Film-leader countdown ring: the marker on the letterboard -- */
.ec-im-ring{position:relative;flex:0 0 auto;width:44px;height:44px;border:2px solid rgba(255,255,255,.34);border-radius:50%;overflow:hidden;background:#05070B}
.ec-im-ring::before{content:'';position:absolute;inset:0;background:linear-gradient(to right,transparent calc(50% - 1px),rgba(255,255,255,.34) calc(50% - 1px),rgba(255,255,255,.34) calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(to bottom,transparent calc(50% - 1px),rgba(255,255,255,.34) calc(50% - 1px),rgba(255,255,255,.34) calc(50% + 1px),transparent calc(50% + 1px))}
.ec-im-ring::after{content:'';position:absolute;inset:0;background:conic-gradient(from 0deg,rgba(230,165,124,.6) 0deg,rgba(230,165,124,.08) 70deg,transparent 90deg,transparent 360deg);animation:ec-im-sweep 4s linear infinite}

/* -- Marquee letterboard: the tier list, edged in sprocket cream -- */
.ec-im-board{position:relative;margin:0 0 30px;padding:26px 0;background:#0B0D12;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 1px rgba(46,127,208,.18),0 30px 80px rgba(46,127,208,.12)}
/* film sprocket strips down the board's top and bottom edges */
.ec-im-board::before,.ec-im-board::after{content:'';position:absolute;left:0;right:0;height:16px;background-image:repeating-linear-gradient(to right,rgba(255,246,226,.5) 0 14px,transparent 14px 34px);background-size:34px 8px;background-position:center;background-repeat:repeat-x}
.ec-im-board::before{top:0}
.ec-im-board::after{bottom:0}
.ec-im-board-head{display:flex;align-items:center;gap:18px;padding:6px 30px 22px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:6px}
.ec-im-board-title{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:12px;font-weight:500;letter-spacing:.34em;text-transform:uppercase;color:#FFFFFF!important}
.ec-im-board-rows{padding:0 8px}

.ec-im-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:32px;padding:22px 22px;margin:0;background:transparent!important;border:0!important;border-bottom:1px dashed rgba(255,255,255,.14)!important;border-radius:0!important;box-shadow:none!important;transition:background .2s ease}
.ec-im-row:last-child{border-bottom:0!important}
.ec-im-row:hover{background:rgba(255,255,255,.04)!important}
.ec-im-row.is-off{opacity:.45}
.ec-im-row-name{font-family:'DM Mono','Share Tech Mono','Courier New',monospace!important;font-weight:500!important;font-size:17px!important;line-height:1.25!important;letter-spacing:.2em!important;text-transform:uppercase;margin:0 0 6px!important;color:#FFFFFF!important}
.ec-im-row-desc{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(242,240,234,.62)!important}
.ec-im-row-desc p{margin:0;color:inherit!important}
.ec-im-price{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:26px;font-weight:500;line-height:1;white-space:nowrap;color:#EFC9AE!important}
.ec-im-status{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:rgba(242,240,234,.62)!important;min-width:150px;text-align:right}
.ec-im-status a{color:#FFFFFF!important}
.ec-im-soldout{display:inline-block;padding:6px 12px;border:1px solid rgba(255,255,255,.34);font-size:10px;letter-spacing:.24em;color:rgba(242,240,234,.62)!important}
.ec-im-qty .input-item-count-group{display:inline-flex;align-items:stretch}
.ec-im-qty .input-item-count{width:64px;text-align:center}
.ec-im-cta-row{display:flex;justify-content:flex-end;margin:0 0 48px}
.ec-im-cta-btn{font-family:'Archivo','Arial Black',Impact,sans-serif!important;font-size:13px!important;font-weight:800!important;letter-spacing:.2em!important;text-transform:uppercase;padding:18px 34px!important;background:#EDE6D6!important;border:none!important;border-radius:0!important;color:#050505!important;box-shadow:0 18px 50px rgba(46,127,208,.28)!important}

/* -- Voucher + info -- */
.ec-im-voucher{margin:0 0 56px}
.ec-im-info{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:48px 0 24px;border-top:1px solid rgba(255,255,255,.14)}
.ec-im-info-col{position:relative}
.ec-im-info-label{font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:rgba(242,240,234,.62)!important;margin-bottom:14px}
.ec-im-info-big{font-family:'Archivo','Arial Black',Impact,sans-serif;font-weight:900;font-size:clamp(18px,2vw,26px);letter-spacing:-.01em;text-transform:uppercase;color:#FFFFFF!important;line-height:1.15}
.ec-im-info-meta{margin-top:10px;font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(242,240,234,.62)!important;line-height:1.9}
img.ec-im-info-mark{position:absolute;right:0;top:-10px;height:34px;width:auto;opacity:.7}

/* -- Close: the partner row, then the sign-off -- */
.ec-im-close{position:relative;z-index:2;max-width:1120px;margin:0 auto;padding:24px 48px 68px}
.ec-im-partners{display:flex;justify-content:center;align-items:flex-end;flex-wrap:wrap;gap:28px clamp(40px,7vw,96px);padding:40px 0 48px;margin:0 0 36px;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14)}
figure.ec-im-partner{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}
figure.ec-im-partner img{display:block;height:auto;max-height:64px;width:auto}
figure.ec-im-partner figcaption{font-family:'Archivo',-apple-system,'Helvetica Neue',Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#FFFFFF!important}
.ec-im-close .ec-im-section-label{margin-bottom:18px}
.ec-im-close-line{font-family:'Archivo','Arial Black',Impact,sans-serif;font-weight:900;font-size:clamp(20px,3vw,34px);letter-spacing:-.01em;text-transform:uppercase;color:#FFFFFF!important}
.ec-im-close-meta{margin-top:12px;font-family:'DM Mono','Share Tech Mono','Courier New',monospace;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:rgba(242,240,234,.62)!important}

/* -- Motion -- */
@keyframes ec-im-leak{0%{opacity:.4}100%{opacity:.8}}
/* two 80 ms spikes in a 6 s cycle: 0.33 Hz, well under the 3 Hz limit */
@keyframes ec-im-strobe{0%,29.4%{filter:drop-shadow(0 0 40px rgba(255,255,255,.18)) brightness(1)}30%,31.3%{filter:drop-shadow(0 0 70px rgba(120,180,240,.45)) brightness(1.35)}31.4%,71.4%{filter:drop-shadow(0 0 40px rgba(255,255,255,.18)) brightness(1)}71.5%,72.8%{filter:drop-shadow(0 0 70px rgba(120,180,240,.45)) brightness(1.35)}72.9%,100%{filter:drop-shadow(0 0 40px rgba(255,255,255,.18)) brightness(1)}}
@keyframes ec-im-sweep{to{transform:rotate(360deg)}}

@media (prefers-reduced-motion:reduce){
  .ec-im-leak{animation:none;opacity:.55}
  img.ec-im-title{animation:none;filter:drop-shadow(0 0 40px rgba(255,255,255,.18))}
  .ec-im-ring::after{animation:none}
  a.ec-im-cta,.ec-im-row{transition:none}
}

/* -- Hide the default pretix event-header band on the index page (belt and
      braces: base.html also skips it for this preset) -- */
body:has(.ec-im-wrap) .page-header{display:none!important}

/* -- Tablet: the sticker drops under the bill -- */
@media (max-width:1020px){
  .ec-im-bill{grid-template-columns:minmax(0,1fr) auto}
  p.ec-im-sticker{grid-column:1/-1;justify-self:center;margin:10px 0 0!important}
}

/* -- Phone: the frame is rebuilt, a 16:9 plate cannot hold a tall page -- */
@media (max-width:720px){
  .ec-im-topbar,.ec-im-main,.ec-im-close{padding-left:20px;padding-right:20px}
  .ec-im-topbar-brand img{height:34px}
  .ec-im-hero{padding:40px 58px 64px 22px;background-color:#05070B;background-image:url('intermission/film-edge-v2.webp'),radial-gradient(90% 40% at 0% 30%,rgba(46,127,208,.55) 0%,rgba(46,127,208,0) 72%),linear-gradient(180deg,rgba(46,127,208,.28) 0%,rgba(46,127,208,0) 90px);background-size:74px auto,100% 100%,100% 100%;background-position:100% 0,0 0,0 0;background-repeat:repeat-y,no-repeat,no-repeat}
  .ec-im-lockup img{width:180px}
  .ec-im-tagline{flex-direction:column;align-items:center;gap:6px;margin-bottom:14px!important}
  .ec-im-tagline span{font-size:15px;letter-spacing:.04em}
  h1.ec-im-h1{margin-bottom:28px!important}
  .ec-im-bill{grid-template-columns:1fr;gap:28px}
  ul.ec-im-lineup{column-gap:18px}
  ul.ec-im-lineup li{font-size:15px}
  .ec-im-facts{flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:16px 20px;padding:16px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.4);border-image:none}
  p.ec-im-fact{font-size:16px}
  p.ec-im-sticker{grid-column:auto;margin-top:0!important}
  .ec-im-stub{padding:16px 18px 16px 30px;font-size:10.5px;letter-spacing:.14em;line-height:2}
  .ec-im-hero-copy>a.ec-im-cta{width:100%}
  a.ec-im-cta{font-size:12px;padding:17px 26px;justify-content:center}
  .ec-im-board-head{padding:6px 18px 18px}
  .ec-im-row{grid-template-columns:1fr;gap:12px;padding:20px 14px}
  .ec-im-status{text-align:left;min-width:0}
  .ec-im-price{font-size:22px}
  .ec-im-info{grid-template-columns:1fr;gap:30px}
  img.ec-im-info-mark{height:28px}
  .ec-im-cta-row{justify-content:stretch}
  .ec-im-cta-btn{width:100%}
  .ec-im-partners{gap:28px 34px}
  figure.ec-im-partner img{max-height:48px}
  figure.ec-im-partner figcaption{font-size:10.5px}
}
@media (max-width:420px){
  ul.ec-im-lineup{column-count:1}
}
