/* Homepage events band, ported from design/v2/home.css (lines 57-95, 343-382,
   418-431). `.qty`, `.eyebrow`, `.section__head` and `.reveal` come from
   base.css — this file only adds what the tickets block owns. */

/* Until the hero lands (card 13) the tickets band is the front page's first
   section and would sit under the fixed header. Scoped to `.section` so the
   rule retires by itself once `.vhero` — which carries its own offset — takes
   over as first child. */
.home > .section:first-child{padding-top:calc(clamp(64px,8vw,108px) + var(--hdr-h));}

/* ---------- section shell ---------- */
.tix{position:relative;background:linear-gradient(165deg,#0c1f3d 0%,#123a63 55%,#0e2f52 100%);color:#fff;overflow:hidden;scroll-margin-top:var(--hdr-h);}
.tix::before{content:"";position:absolute;inset:0;background-image:url('../img/brand-gradient.webp');background-size:cover;background-position:center;opacity:.28;mix-blend-mode:screen;}
.tix::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 80% at 80% 0%,rgba(25,130,180,.32),transparent 60%);}
.tix .shell{position:relative;z-index:2;}
.tix .eyebrow{color:#bfe0f3;} .tix .section__head p{color:rgba(255,255,255,.82);}
.tix__title{color:#fff;}

/* ---------- shared event-card pieces ---------- */
.tcard__type{align-self:flex-start;background:var(--bright);color:#fff;font-size:11px;font-weight:600;letter-spacing:.07em;
  text-transform:uppercase;padding:6px 11px;border-radius:13px;}
.tcard__meta{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.9);font-size:15.5px;margin-top:10px;font-weight:400;}
.tcard__blurb{color:rgba(255,255,255,.82);font-size:15.5px;line-height:1.55;margin-top:13px;font-weight:300;}
.tcard__foot{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;}
.tcard__sum{font-size:15px;color:rgba(255,255,255,.85);font-weight:400;} .tcard__sum b{display:block;font-size:24px;color:#fff;font-weight:700;}

/* ---------- ticket picker ---------- */
.tix-types{margin-top:22px;display:flex;flex-direction:column;gap:11px;}
.tix-type{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-radius:14px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);transition:border-color .2s;}
.tix-type:hover{border-color:rgba(255,255,255,.4);}
.tix-type__l{display:flex;flex-direction:column;gap:4px;}
.tix-type__n{font-weight:600;font-size:18px;display:flex;align-items:center;gap:8px;}
.tix-type__n .pill{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:#46c08a;color:#06301f;padding:2px 8px;border-radius:9px;}
.tix-type__p{font-size:16px;color:#fff;font-weight:600;}
.tix-type__r{display:flex;align-items:center;gap:14px;}

/* ---------- featured on-sale event ---------- */
.tfeat{display:grid;grid-template-columns:1fr 1.3fr;gap:0;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  border-radius:20px;overflow:hidden;backdrop-filter:blur(8px);margin-bottom:42px;box-shadow:0 30px 70px -34px rgba(0,0,0,.6);}
.tfeat__img{position:relative;min-height:360px;background-size:cover;background-position:center;background-color:var(--navy);}
.tfeat__img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,29,78,.1),rgba(20,29,78,.55));}
.tfeat__live{position:absolute;top:16px;left:16px;z-index:2;display:inline-flex;align-items:center;gap:8px;background:#46c08a;color:#06301f;
  font-weight:700;font-size:12px;letter-spacing:.05em;text-transform:uppercase;padding:8px 14px;border-radius:15px;}
.tfeat__live .pulse{width:8px;height:8px;border-radius:50%;background:#06301f;}
.tfeat__date{position:absolute;bottom:16px;left:16px;z-index:2;background:#fff;color:var(--navy);border-radius:12px;padding:9px 14px;text-align:center;line-height:1;font-weight:600;}
.tfeat__date b{display:block;font-size:26px;} .tfeat__date span{font-size:11px;letter-spacing:.12em;}
.tfeat__body{padding:clamp(24px,3vw,40px);display:flex;flex-direction:column;}
.tfeat__title{font-size:clamp(26px,2.8vw,36px);font-weight:600;line-height:1.06;margin-top:10px;}

/* prominent 'naar de kassa' button + standhouder link */
.tcard__checkout{background:linear-gradient(135deg,#1f8a5b 0%,#27a86f 100%);color:#fff;height:54px;padding:0 26px;font-size:14.5px;
  box-shadow:0 16px 32px -12px rgba(31,138,91,.75);}
.tcard__checkout:hover{background:linear-gradient(135deg,#27a86f 0%,#2eb878 100%);box-shadow:0 20px 38px -12px rgba(31,138,91,.85);}
.tcard__checkout:disabled{opacity:.45;pointer-events:none;transform:none;}
.tfeat__stand{display:inline-flex;align-items:center;gap:8px;margin-top:16px;align-self:flex-start;min-height:44px;font-size:13.5px;font-weight:600;
  color:#bfe0f3;border-bottom:1.5px solid transparent;transition:color .2s,border-color .2s;}
.tfeat__stand:hover{color:#fff;border-color:#fff;}

/* ---------- upcoming events ---------- */
.tix__up-head{font-size:21px;font-weight:600;margin-bottom:20px;color:#fff;}
.tup-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-items:stretch;}
.tup{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:14px 16px;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:6px 14px;transition:border-color .3s;}
.tup:hover{border-color:rgba(255,255,255,.36);}
.tup__date{width:58px;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--grad-band);color:#fff;border-radius:11px;text-align:center;line-height:1.05;font-weight:600;}
.tup__date b{display:block;font-size:15px;letter-spacing:.08em;} .tup__date span{font-size:11px;opacity:.85;margin-top:2px;}
.tup__body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;}
.tup__title{font-size:18px;font-weight:600;margin-top:6px;line-height:1.16;}
.tup__meta{font-size:14px;color:rgba(255,255,255,.88);margin-top:4px;font-weight:400;}
.tup__btn{color:#fff;border-color:rgba(255,255,255,.4);background:transparent;align-self:flex-start;}
.tup__btn:hover{background:rgba(255,255,255,.12);border-color:#fff;}
.tup__actions{display:contents;}
.tup__actions .tup__btn{grid-column:3;grid-row:1;white-space:nowrap;}
.tup__stand{grid-column:2;display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:13px;font-weight:600;color:#bfe0f3;}
.tup__stand:hover{color:#fff;text-decoration:underline;}

/* the check replaces the envelope only once this card's signup succeeded */
.tup__btn .thv-ico--done{display:none;}
.tup__btn.is-done .thv-ico--ask{display:none;}
.tup__btn.is-done .thv-ico--done{display:inline-flex;}
.tup__btn.is-done{border-color:rgba(255,255,255,.75);background:rgba(255,255,255,.12);}

/* reminder capture: revealed by the button above it, never on first paint */
.tup__news[hidden]{display:none;}
.tup__news{grid-column:1/-1;width:100%;margin-top:6px;}
.tup__newsrow{display:flex;gap:8px;}
.tup__news input[type="email"]{
  flex:1;min-width:0;height:44px;border-radius:22px;border:1.5px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.08);color:#fff;padding:0 15px;font-size:14px;outline:none;
  transition:border-color .2s,background .2s;
}
.tup__news input[type="email"]::placeholder{color:rgba(255,255,255,.6);}
.tup__news input[type="email"]:focus{border-color:#fff;background:rgba(255,255,255,.14);}
.tup__news .btn{flex:none;}
.tup__news.is-busy{opacity:.6;pointer-events:none;}
.tup__news .thv-consent{margin-top:8px;}

@media (max-width:1080px){
  .tup-grid{grid-template-columns:1fr;}
  .tfeat{grid-template-columns:1fr;}
}
@media (max-width:860px){
  .tfeat__img{min-height:240px;}
}

/* Day tabs, as on the festival site */
.tix-days{display:inline-flex;margin-top:22px;padding:4px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);gap:4px;}
.tix-days__tab{padding:9px 18px;border-radius:999px;font-weight:650;font-size:14px;letter-spacing:.02em;color:#fff;opacity:.85;}
.tix-days__tab[aria-selected="true"]{background:#fff;color:var(--navy);opacity:1;box-shadow:0 6px 16px -8px rgba(0,0,0,.45);}
.tix-days__tab:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.tix-days + .tix-types{margin-top:14px;}
.tix-type[hidden]{display:none;}
.tix-type__n .pill--fast{background:#F3A25B;color:#3b1d06;}


/* ======================================================================================================
   Winter Edition: with a festival on sale the band is dressed as /festival/ (.tix--fest, set by
   tickets-section.php). The kit (tokens, stickers, date sticker, gold button, icicle edge) is
   festival-tokens.css; this is only the band's own layout: night sky with static snow and sparkles, the
   icicles hanging from the top edge, a white card with a hard navy edge, frost ticket rows and the hooks
   tickets.js needs untouched. Without a festival the rules above give the original blue band.
   ====================================================================================================== */
.tix--fest{padding-top:clamp(112px,11vw,150px);
  background:radial-gradient(90% 55% at 85% 100%,rgba(240,129,15,.2),transparent 70%),
    linear-gradient(180deg,var(--f-ink) 0%,var(--f-night) 38%,var(--f-deep) 100%);}
.tix--fest::before,.tix--fest::after{content:none;}
.tix__sky{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;}
.tix__snow{position:absolute;inset:0;opacity:.4;background-image:radial-gradient(circle,rgba(255,255,255,.85) 1.5px,transparent 2.4px),radial-gradient(circle,rgba(255,255,255,.6) 2.4px,transparent 3.4px);background-size:150px 130px,260px 240px;background-position:20px 30px,110px 90px;}
.tix__spark{position:absolute;display:block;width:22px;color:var(--f-cream);}
.tix__spark--a{left:5%;top:34%;}
.tix__spark--b{right:7%;top:46%;width:30px;color:#fff;}
.tix__spark--c{left:52%;top:15%;width:16px;color:var(--f-gold);}
@media (prefers-reduced-motion:no-preference){
  .tix__spark{animation:tix-twinkle 4.8s ease-in-out infinite;}
  .tix__spark--b{animation-delay:-1.6s;} .tix__spark--c{animation-delay:-3.1s;}
}
@keyframes tix-twinkle{0%,100%{opacity:.95;transform:scale(1);}50%{opacity:.4;transform:scale(.8);}}

/* heading: eyebrow, outlined display title, the theme line and the festival logo */
.tix--fest .tix__head{align-items:center;}
.tix--fest .eyebrow{font-family:var(--f-display);font-weight:900;font-size:clamp(20px,2vw,26px);letter-spacing:.28em;text-transform:uppercase;line-height:1.1;color:var(--f-ice);}
.tix--fest .tix__title{font-family:var(--f-display);font-weight:900;text-transform:uppercase;letter-spacing:.01em;line-height:.94;font-size:clamp(46px,6.4vw,88px);color:#fff;text-shadow:3px 3px 0 var(--f-amber),6px 6px 0 var(--f-ice);}
.tix--fest .tix__theme{margin-top:22px;font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(18px,2vw,26px);line-height:1.2;color:var(--f-cream);}
.tix__logo{flex:none;width:clamp(150px,16vw,220px);height:auto;}

/* the festival card */
.tfeat--fest{background:#fff;color:var(--f-night);border:3px solid var(--f-night);border-radius:20px;backdrop-filter:none;box-shadow:8px 8px 0 var(--f-ice);}
.tfeat--fest .tfeat__img{border-right:3px solid var(--f-night);}
.tfeat--fest .tfeat__img::after{background:linear-gradient(180deg,rgba(5,15,29,.05),rgba(5,15,29,.5));}
.tfeat--fest .tfeat__live{top:18px;left:18px;margin:0;display:inline-flex;align-items:center;gap:8px;padding:8px 16px 6px;font-size:clamp(16px,1.4vw,20px);box-shadow:3px 3px 0 var(--f-night);}
.tfeat--fest .tfeat__live .pulse{background:var(--f-night);}
.tfeat--fest .tfeat__date{left:18px;bottom:18px;margin:0;padding:0;border-radius:0;background:linear-gradient(100deg,var(--f-gold),var(--f-orange));color:var(--f-night);box-shadow:5px 5px 0 rgba(5,15,29,.55);}
.tfeat--fest .tfeat__date .fest-date__d{border-right:0;padding:10px 20px 8px;}
.tfeat--fest .tfeat__date b{font-size:clamp(42px,4vw,58px);}
.tfeat--fest .tfeat__date i{font-size:clamp(22px,2vw,30px);margin-top:2px;}
.tfeat--fest .tcard__type{margin:0;padding:6px 16px 4px;background:var(--f-ice);color:var(--f-night);font-size:clamp(16px,1.4vw,20px);letter-spacing:.1em;}
.tfeat--fest .tfeat__title{margin-top:14px;font-family:var(--f-display);font-weight:900;text-transform:uppercase;line-height:.95;font-size:clamp(36px,4vw,58px);color:var(--f-night);}
.tfeat--fest .tcard__meta{color:var(--f-teal-ink);font-weight:600;}
.tfeat--fest .tcard__blurb{color:#27303b;font-weight:400;}

/* day toggle */
.tfeat--fest .tix-days{background:#fff;border:3px solid var(--f-night);box-shadow:4px 4px 0 var(--f-ice);}
.tfeat--fest .tix-days__tab{color:var(--f-night);opacity:1;font-family:var(--f-display);font-weight:900;font-size:19px;letter-spacing:.06em;text-transform:uppercase;padding:9px 20px 7px;}
.tfeat--fest .tix-days__tab:hover{background:var(--f-frost);}
.tfeat--fest .tix-days__tab[aria-selected="true"]{background:linear-gradient(120deg,var(--f-gold),var(--f-orange));box-shadow:none;}
.tfeat--fest .tix-days__tab:focus-visible{outline:3px solid var(--f-night);}

/* ticket rows: frost, Fast Lane warm */
.tfeat--fest .tix-type{background:var(--f-frost);border:2px solid var(--f-night);border-radius:14px;box-shadow:3px 3px 0 var(--f-ice);color:var(--f-night);}
.tfeat--fest .tix-type:hover{border-color:var(--f-night);box-shadow:4px 4px 0 var(--f-ice);}
.tfeat--fest .tix-type--fast{background:linear-gradient(160deg,#fff6e2,#ffe0b0);box-shadow:3px 3px 0 var(--f-orange);}
.tfeat--fest .tix-type__n{font-family:var(--f-display);font-weight:900;font-size:24px;line-height:1;letter-spacing:.02em;text-transform:uppercase;}
.tfeat--fest .tix-type__p{font-size:17px;font-weight:700;color:var(--f-night);}
.tfeat--fest .tix-type__n .pill{font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.08em;padding:3px 9px;border-radius:999px;background:var(--f-night);color:var(--f-gold);}
.tfeat--fest .tix-type__n .pill--fast{background:var(--f-orange-ink);color:#fff;}
.tfeat--fest .qty{border:2px solid var(--f-night);border-radius:12px;background:#fff;}
.tfeat--fest .qty button{color:var(--f-night);}
.tfeat--fest .qty button:hover{background:var(--f-frost);}
.tfeat--fest .qty button:focus-visible{outline:3px solid var(--f-ice);outline-offset:-3px;}
.tfeat--fest .qty span{color:var(--f-night);font-weight:700;}

/* total, checkout and links */
.tfeat--fest .tcard__sum{color:#27303b;}
.tfeat--fest .tcard__sum b{font-family:var(--f-display);font-weight:900;font-size:38px;line-height:1;color:var(--f-night);}
.tfeat--fest .tcard__checkout{height:54px;font-size:15px;box-shadow:4px 4px 0 var(--f-night);}
.tfeat--fest .tcard__checkout:hover{box-shadow:6px 6px 0 var(--f-night);}
.tfeat--fest .tcard__checkout:disabled{opacity:.5;box-shadow:4px 4px 0 var(--f-night);}
.tfeat__links{display:flex;flex-wrap:wrap;gap:0 26px;}
.tfeat--fest .tfeat__links{margin-top:12px;}
.tfeat--fest .tfeat__stand{margin-top:0;font-size:14.5px;font-weight:700;color:var(--f-teal-ink);}
.tfeat--fest .tfeat__stand:hover{color:var(--f-orange-ink);border-color:var(--f-orange-ink);}
.tfeat--fest .tfeat__stand:focus-visible{outline:3px solid var(--f-ice);outline-offset:2px;}

/* the agenda under it: night glass cards in the same type */
.tix--fest .tix__up-head{font-family:var(--f-display);font-weight:900;font-size:clamp(28px,3vw,38px);letter-spacing:.06em;text-transform:uppercase;color:var(--f-cream);}
.tix--fest .tup{background:rgba(5,15,29,.6);border:2px solid rgba(143,208,238,.45);border-radius:16px;}
.tix--fest .tup:hover{border-color:var(--f-ice);}
.tix--fest .tup__date{border-radius:0;background:linear-gradient(100deg,var(--f-gold),var(--f-orange));color:var(--f-night);box-shadow:3px 3px 0 rgba(5,15,29,.55);}
.tix--fest .tup .tcard__type{margin:0;padding:4px 12px 2px;background:var(--f-ice);color:var(--f-night);font-size:16px;letter-spacing:.1em;}
.tix--fest .tup__title{font-family:var(--f-display);font-weight:900;font-size:24px;line-height:1;text-transform:uppercase;}
.tix--fest .tup__stand{color:var(--f-ice);}

@media (max-width:1080px){
  .tfeat--fest .tfeat__img{border-right:0;border-bottom:3px solid var(--f-night);}
}
@media (max-width:860px){
  .tix--fest .tix__head{flex-direction:column;align-items:flex-start;}
  .tix__logo{width:130px;}
}
@media (max-width:560px){
  .tfeat--fest{box-shadow:5px 5px 0 var(--f-ice);}
  .tfeat--fest .tix-type{padding:12px 14px;}
  .tfeat--fest .tcard__foot{flex-wrap:wrap;}
}
.tfeat--fest .tfeat__live{background:linear-gradient(135deg,var(--f-gold),var(--f-orange));color:var(--f-night);font-family:var(--f-display);font-weight:900;letter-spacing:.1em;}
.tix--fest{background:radial-gradient(90% 45% at 85% 100%,rgba(240,129,15,.12),transparent 70%),linear-gradient(180deg,var(--f-ink) 0%,var(--f-night) 38%,var(--f-deep) 100%);}
@media (max-width:480px){.tix--fest .tix__title{font-size:var(--fs-h1);}}

@media (max-width:560px){
  .tup{grid-template-columns:auto minmax(0,1fr);}
  .tup__actions .tup__btn{grid-column:1/-1;grid-row:auto;justify-content:center;}
  .tup__stand{grid-column:1/-1;}
}
