/* QUACK V24 — only the two user-identified poster sections are redesigned.
   The full-size original Quack lettering is taken from the user's source.
   Rest of V23, including the Howling EqHi Sans typography and motion strips, stays intact. */

/* 01 / Film poster: use one logical lock-up so the logo, credit and metadata do not collide.
   The visual center follows the source poster's left-of-center composition. */
.q24 .film-hero{position:relative;isolation:isolate;height:100svh;min-height:590px;background:#140505}
.q24 .film-hero-image{object-position:50% 46%;filter:saturate(1.21) hue-rotate(-9deg) contrast(1.035);transform:scale(1.02)}
.q24 .film-hero-vignette{background:
 linear-gradient(90deg,rgba(32,0,6,.09),transparent 34%,transparent 66%,rgba(32,0,6,.09)),
 linear-gradient(180deg,rgba(6,0,1,.08) 0%,transparent 32%,rgba(5,0,1,.09) 52%,rgba(9,0,1,.53) 70%,rgba(6,0,1,.91) 88%,#080304 100%)}
.q24 .quack-poster-lockup{
 position:absolute;z-index:5;left:45%;bottom:clamp(36px,5.6svh,68px);transform:translateX(-50%);
 width:min(46vw,650px);max-width:calc(100% - 46px);
 display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
 gap:0;text-align:center;pointer-events:none;
 animation:q24PosterEnter 1.25s cubic-bezier(.16,1,.3,1) .15s both
}
@keyframes q24PosterEnter{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
.q24 .quack-poster-lockup > .film-logo,
.q24 .film-logo{
 position:relative;z-index:2;inset:auto;top:auto;left:auto;right:auto;bottom:auto;
 width:100%;max-width:100%;max-height:none;height:auto;aspect-ratio:1440 / 498;
 display:block;object-fit:contain;transform:none;animation:none!important;
 margin:0 auto clamp(11px,1.3svh,17px);filter:drop-shadow(0 6px 12px rgba(20,0,0,.24));pointer-events:none
}
.q24 .quack-poster-lockup .film-hero-footer{
 position:relative;left:auto;right:auto;top:auto;bottom:auto;inset:auto;
 z-index:2;width:100%;margin:0;padding:0;
 display:block;animation:none!important;transform:none!important;
 pointer-events:auto;text-align:center
}
.q24 .quack-poster-lockup .film-hero-details{display:flex;flex-direction:column;align-items:center;gap:0}
.q24 .quack-poster-lockup .film-role-under-logo{
 display:block;font-size:clamp(15px,1.35vw,21px);font-weight:440;
 line-height:1.25;letter-spacing:.09em;color:#f6eee9;
 margin:0 0 clamp(13px,1.9svh,24px);white-space:nowrap;
 text-shadow:0 2px 18px #000d
}
.q24 .quack-poster-lockup .film-meta{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 width:100%;max-width:670px;
 gap:clamp(6px,.8vw,12px) clamp(15px,2vw,32px);
 font-size:clamp(11px,.94vw,15px);letter-spacing:.025em;line-height:1.5;
 color:#e7d6cf;text-shadow:0 2px 17px #000d
}
.q24 .quack-poster-lockup .film-meta>span{font-size:inherit;font-weight:400;line-height:1.5;letter-spacing:inherit;white-space:nowrap;color:inherit}
.q24 .quack-poster-lockup .film-meta .meta-year{font-size:clamp(17px,1.48vw,23px);line-height:1.05;font-weight:600;letter-spacing:.045em;color:#fff6ef}
.q24 .quack-poster-lockup .film-meta .meta-runtime{font-size:clamp(14px,1.08vw,18px);font-weight:460;color:#faf2e8}
.q24 .quack-poster-lockup .film-meta .meta-spec{flex-basis:100%;font-size:clamp(10px,.87vw,14px);color:#cfc0b9;letter-spacing:.07em}
.q24 .quack-poster-lockup .trailer-launch{pointer-events:auto;position:relative;margin-top:17px}

/* 02 / The quotation has the actual original letter silhouettes, spacing and quotation marks,
   rather than attempting to approximate the user's custom typographic art with normal text. */
.q24 .statement{
 min-height:100svh;min-height:100dvh;background:#000;
 display:grid;place-items:center;overflow:hidden;
 padding:0 clamp(16px,3vw,35px);isolation:isolate
}
.q24 .statement-lines{
 display:block;position:relative;
 width:min(820px,64vw);max-width:calc(100vw - 30px);
 margin:0 auto;text-align:initial;outline-offset:16px;
 transform:translate(-4.3vw,4svh)
}
.q24 .statement-lines[data-reveal].is-visible .q24-quote-art{animation:q24QuoteIn 1.15s cubic-bezier(.16,1,.3,1) both}
@keyframes q24QuoteIn{from{opacity:0;transform:translateY(20px) scale(.986);filter:blur(4px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
.q24 .quote-lang.q24-quote-art{
 width:100%;height:auto;aspect-ratio:820 / 415;display:block;position:relative;
 font-size:inherit;line-height:normal;letter-spacing:normal;margin:0;padding:0;
 overflow:visible;isolation:isolate
}
.q24 .q24-quote-base{width:100%;height:100%;display:block;object-fit:fill;user-select:none;-webkit-user-drag:none;pointer-events:none}
.q24 .q24-accent-glyph{
 position:absolute;z-index:2;display:block;opacity:0;pointer-events:none;
 transform-origin:50% 60%;will-change:opacity,filter;
 filter:drop-shadow(var(--q24-thickness,0px) 0 0 #d52528) drop-shadow(calc(var(--q24-thickness,0px) * -1) 0 0 #d52528)
}
.q24 .q24-accent-glyph>img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}
.q24 .q24-quote-mobile{display:none}
html[lang='en'] .q24 .quote-lang.q24-quote-art{display:none}
html[lang='en'] .q24 .statement-lines{width:min(1050px,90vw);transform:translateY(0)}
html[lang='en'] .q24 .quote-en{display:block;font-size:clamp(28px,4vw,60px)}

@media(min-width:1500px){
 .q24 .quack-poster-lockup{left:42%;width:min(43vw,690px)}
 .q24 .statement-lines{width:min(880px,61vw)}
}
@media(max-width:850px) and (min-width:681px){
 .q24 .quack-poster-lockup{left:43%;width:57vw;bottom:5svh}
 .q24 .quack-poster-lockup .film-meta{gap:5px 12px}
 .q24 .statement-lines{width:78vw}
}
@media(max-width:680px){
 .q24 .film-hero{min-height:0;height:100svh;height:100dvh}
 .q24 .film-hero-image{object-position:54% 42%;transform:scale(1.01)}
 .q24 .film-hero-vignette{background:linear-gradient(180deg,#07000411 0%,transparent 32%,#06010233 51%,#060102bd 75%,#060102ee 94%,#060102 100%)}
 .q24 .quack-poster-lockup{
  left:50%;bottom:clamp(32px,5.3svh,68px);transform:translateX(-50%);
  width:min(81vw,405px);max-width:calc(100vw - 42px)
 }
 .q24 .quack-poster-lockup>.film-logo{
  width:100%;max-width:100%;aspect-ratio:1440 / 498;
  margin-bottom:clamp(9px,1.7svh,14px);transform:none
 }
 .q24 .quack-poster-lockup .film-role-under-logo{
  font-size:clamp(14px,3.7vw,17px);letter-spacing:.09em;
  margin-bottom:clamp(10px,1.8svh,15px)
 }
 .q24 .quack-poster-lockup .film-meta{gap:2px 12px;max-width:335px;line-height:1.45}
 .q24 .quack-poster-lockup .film-meta .meta-year{font-size:18px}
 .q24 .quack-poster-lockup .film-meta .meta-runtime{font-size:14px}
 .q24 .quack-poster-lockup .film-meta .meta-type{font-size:12px}
 .q24 .quack-poster-lockup .film-meta .meta-spec{font-size:11px;letter-spacing:.035em}
 .q24 .statement{min-height:76svh;min-height:76dvh;padding:75px 14px 92px}
 .q24 .statement-lines{width:100%;max-width:100%;transform:none}
 .q24 .quote-lang.q24-quote-art{display:none}
 .q24 .q24-quote-mobile{display:flex;flex-direction:column;align-items:stretch;width:min(420px,100%);margin-inline:auto;color:#fafafa}
 .q24 .q24-mline{line-height:1;white-space:nowrap;letter-spacing:-.075em}
 .q24 .q24-mtop{display:flex;align-items:flex-start;gap:9px;font-size:clamp(29px,7.6vw,42px);font-weight:370;margin-bottom:7px}
 .q24 .q24-mmark{font-family:serif;font-size:1.5em;line-height:.8;font-weight:600}
 .q24 .q24-mhero{font-size:clamp(51px,13vw,79px);font-weight:790;line-height:1.06;margin-left:clamp(17px,5vw,30px);transform:scaleX(.82);transform-origin:left center;letter-spacing:-.08em}
 .q24 .q24-mmiddle{font-size:clamp(23px,6vw,35px);font-weight:380;text-align:right;margin:11px 6px 4px}
 .q24 .q24-mbottom{display:flex;align-items:baseline;justify-content:flex-end;font-size:clamp(22px,5.2vw,30px);margin-right:2px;gap:0;letter-spacing:-.085em}
 .q24 .q24-mbottom .q24-mstrong{font-size:2.15em;font-weight:800;line-height:.9;transform:scaleX(.81);transform-origin:left bottom;margin-right:-.13em}
 .q24 .q24-mdot{font-size:1.7em;font-weight:700}
 .q24 .q24-mclose{font-family:serif;font-size:1.5em;font-weight:600;margin-left:0}
 .q24 .statement-lines[data-reveal].is-visible .q24-quote-mobile{animation:q24QuoteIn 1.05s cubic-bezier(.16,1,.3,1) both}
 html[lang='en'] .q24 .q24-quote-mobile{display:none}
 html[lang='en'] .q24 .quote-en{font-size:clamp(20px,5.3vw,28px)}
}
@media(max-width:360px){
 .q24 .quack-poster-lockup{width:78vw;bottom:34px}
 .q24 .statement{padding-left:10px;padding-right:10px}
 .q24 .q24-mhero{font-size:12.8vw}
 .q24 .q24-mbottom{font-size:5vw}
}
@media(prefers-reduced-motion:reduce){
 .q24 .quack-poster-lockup{animation:none!important;opacity:1}
 .q24 .q24-quote-art,.q24 .q24-quote-mobile{animation:none!important;opacity:1!important;filter:none!important}
}

/* More faithful two-tier mobile typography, matching the source poster's weight contrast. */
@media(max-width:680px){
 .q24 .q24-quote-mobile{display:block;width:100%;max-width:390px;overflow:visible}
 .q24 .q24-type-row{display:flex;width:max-content;align-items:baseline;justify-content:flex-start;white-space:nowrap;line-height:1;letter-spacing:-.105em;transform:scaleX(.80);transform-origin:left center}
 .q24 .q24-type-top{margin:0 0 12px;font-weight:400}
 .q24 .q24-mark{font-family:serif;font-size:clamp(25px,7vw,34px);font-weight:700;align-self:flex-start;margin-right:.02em}
 .q24 .q24-type-small,.q24 .q24-type-end{font-size:clamp(20px,5.45vw,25px);font-weight:420}
 .q24 .q24-type-key{font-size:clamp(45px,13.2vw,65px);font-weight:780;letter-spacing:-.085em;line-height:1.1}
 .q24 .q24-type-bottom{align-items:flex-start}
 .q24 .q24-type-huge{font-size:clamp(47px,13.2vw,67px);font-weight:770;letter-spacing:-.09em;line-height:1.1}
 .q24 .q24-type-weapon{font-size:clamp(60px,17vw,83px);font-weight:840;letter-spacing:-.13em;line-height:1.1;transform:translateY(.32em)}
 .q24 .q24-type-period{font-size:clamp(25px,7.5vw,34px);font-weight:700;align-self:flex-end;transform:translateY(.75em)}
 .q24 .q24-type-close{font-family:serif;font-size:clamp(27px,7.5vw,39px);font-weight:700;align-self:flex-start;margin-left:.15em}
}
@media(min-width:681px){.q24 .statement-lines{transform:translate(-4.3vw,4svh)}}
/* Film facts occupy the visual width of the original festival-laurel row. */
@media(min-width:681px){
 .q24 .quack-poster-lockup .film-meta{width:min(425px,92%);max-width:425px;justify-content:space-between;column-gap:15px}
 .q24 .quack-poster-lockup .film-meta .meta-spec{text-align:center}
}
