/* Rebel Seasonal Manager: public styles.
   Everything is scoped under body.rsm-active or an .rsm-* class, so nothing changes unless a campaign is live. */

/* ---- announcement bar (in the page flow, never over the navigation) ---- */
.rsm-bar{position:absolute;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:center;min-height:var(--rsm-bar-h,40px);box-sizing:border-box;padding:8px 48px 8px 16px;background:var(--rsm-bar-bg,#731E34);color:var(--rsm-bar-fg,#F7EFE6);font:600 12px/1.45 var(--b,system-ui,sans-serif);letter-spacing:.08em;text-align:center}
.rsm-bar p{margin:0}
.rsm-bar-link{color:inherit;text-decoration:underline;text-underline-offset:3px;margin-left:6px;white-space:nowrap}
.rsm-bar-x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer;opacity:.85}
.rsm-bar-x:hover,.rsm-bar-x:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:-4px}
body.rsm-has-bar{--rsm-bar-h:40px;padding-top:var(--rsm-bar-h)}
body.rsm-has-bar .pill{top:var(--rsm-off,var(--rsm-bar-h))}
@media(max-width:600px){.rsm-bar{font-size:11.5px;letter-spacing:.05em}body.rsm-has-bar{--rsm-bar-h:56px}}
/* the theme's full-screen menu and book modal stay above everything (they are position:fixed; inset:0) */

/* ---- hero: no flash of the old copy. A pure-CSS failsafe reveals the hero after 1.2s even if JavaScript never runs ---- */
body.rsm-pending .hero-editorial-film .cinema-kicker,
body.rsm-pending .hero-editorial-film .cinema-headline,
body.rsm-pending .hero-editorial-film .cinema-dek,
body.rsm-pending .hero-editorial-film .cinema-hero-actions{opacity:0;animation:rsm-failsafe 0s linear 1.2s both}
@keyframes rsm-failsafe{to{opacity:1}}

/* ---- hero palette (only the hero is recoloured, never the rest of the site) ---- */
body.rsm-active .hero-editorial-film .rebel-cinema-hero{background:var(--rsm-secondary)}
body.rsm-active .hero-editorial-film .cinema-picture-border{border-color:var(--rsm-accent-soft,rgba(195,161,106,.5))}
body.rsm-active .hero-editorial-film .cinema-shade{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:var(--rsm-overlay,transparent)}
body.rsm-active .hero-editorial-film .cinema-editorial-number{color:var(--rsm-light-soft,#CDBFB1)}
body.rsm-active .hero-editorial-film .cinema-editorial-number span{color:var(--rsm-accent)}
body.rsm-active .hero-editorial-film .cinema-kicker{color:var(--rsm-accent)}
body.rsm-active .hero-editorial-film .cinema-headline{color:var(--rsm-light);font-size:clamp(44px,5.8vw,88px);line-height:.96}
body.rsm-active .hero-editorial-film .cinema-headline span{white-space:normal}
body.rsm-active .hero-editorial-film .cinema-headline i{color:var(--rsm-accent)}
body.rsm-active .hero-editorial-film .cinema-dek{color:var(--rsm-light-soft,#E3D8CC)}
body.rsm-active .hero-editorial-film .cinema-button-main{background:var(--rsm-primary);color:var(--rsm-light);box-shadow:inset 0 0 0 1px var(--rsm-accent-soft,rgba(195,161,106,.6))}
body.rsm-active .hero-editorial-film .cinema-button-main:hover,body.rsm-active .hero-editorial-film .cinema-button-main:focus-visible{background:var(--rsm-accent);color:var(--rsm-secondary)}
body.rsm-active .hero-editorial-film .cinema-button-text{color:var(--rsm-light);border-bottom-color:var(--rsm-accent)}
body.rsm-active .hero-editorial-film .cinema-footnote{color:var(--rsm-light-soft,#B9AA9C)}
@media(min-width:1101px){body.rsm-active .hero-editorial-film .cinema-headline{font-size:clamp(46px,3.9vw,66px)}}
.film-viewport.rsm-portrait{aspect-ratio:4/5}
@media(min-width:1101px){.film-viewport.rsm-portrait{aspect-ratio:16/9}}

/* ---- seasonal sections ---- */
.rsm-sec{padding:clamp(56px,7vw,104px) 0;background:var(--rsm-light);color:var(--rsm-secondary)}
.rsm-sec .rsm-eyebrow{display:block;margin:0 0 14px;font:700 10.5px var(--b,system-ui,sans-serif);letter-spacing:.22em;text-transform:uppercase;color:var(--rsm-primary)}
.rsm-sec h2{margin:0;font:500 clamp(34px,4.4vw,64px)/1.02 var(--h,Georgia,serif);letter-spacing:-.03em;color:inherit}
.rsm-sec .rsm-intro{max-width:56ch;margin:18px 0 0;font-size:16px;line-height:1.7;opacity:.82}
.rsm-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:clamp(30px,4vw,52px) 0 0;padding:0;list-style:none}
.rsm-card{display:flex;flex-direction:column;background:rgba(255,255,255,.55);border:1px solid rgba(36,18,23,.14)}
.rsm-card-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--rsm-secondary)}
.rsm-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.rsm-swatch{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(160deg,var(--rsm-secondary),rgba(0,0,0,.35))}
.rsm-nail{position:relative;width:64px;height:96px;border-radius:50% 50% 14px 14px/38% 38% 14px 14px;background:var(--sw,#731E34);box-shadow:inset -9px -10px 18px rgba(0,0,0,.28),inset 7px 6px 12px rgba(255,255,255,.28),0 14px 24px rgba(0,0,0,.35)}
.rsm-nail::after{content:"";position:absolute;left:14px;top:14px;width:10px;height:44px;border-radius:6px;background:rgba(255,255,255,.4)}
.rsm-card-body{display:flex;flex-direction:column;gap:8px;padding:20px 20px 22px;flex:1}
.rsm-card h3{margin:0;font:500 26px/1.1 var(--h,Georgia,serif);letter-spacing:-.02em}
.rsm-card p{margin:0;font-size:14.5px;line-height:1.6;opacity:.8}
.rsm-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:auto;padding-top:10px}
.rsm-link{font:700 10.5px var(--b,system-ui,sans-serif);letter-spacing:.14em;text-transform:uppercase;color:var(--rsm-primary);border-bottom:1px solid currentColor;padding-bottom:3px;text-decoration:none}
.rsm-link:hover,.rsm-link:focus-visible{color:var(--rsm-secondary)}
.rsm-gift{background:var(--rsm-secondary);color:var(--rsm-light);border-block:1px solid var(--rsm-accent-soft,rgba(195,161,106,.4))}
.rsm-gift .rsm-eyebrow{color:var(--rsm-accent)}
.rsm-gift-inner{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(24px,5vw,80px);align-items:end}
.rsm-gift .rsm-intro{opacity:.85}
.rsm-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;background:var(--rsm-primary);color:var(--rsm-light);font:700 11px var(--b,system-ui,sans-serif);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;box-shadow:inset 0 0 0 1px var(--rsm-accent-soft,rgba(195,161,106,.6));transition:background .2s,color .2s}
.rsm-btn:hover,.rsm-btn:focus-visible{background:var(--rsm-accent);color:var(--rsm-secondary)}
.rsm-gift-cta{justify-self:end}
@media(max-width:900px){.rsm-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rsm-gift-inner{grid-template-columns:1fr}.rsm-gift-cta{justify-self:start}}
@media(max-width:520px){.rsm-edit-grid{grid-template-columns:1fr}.rsm-btn{width:100%}}

/* ---- animation layer: fixed, click-through, below the navigation, menus and the mobile booking bar ---- */
.rsm-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:40;contain:strict}
@media (prefers-reduced-motion:reduce),print{.rsm-fx{display:none!important}}

/* ---- admin-only draft preview badge ---- */
.rsm-preview-badge{position:fixed;left:12px;bottom:84px;z-index:70;max-width:calc(100vw - 24px);padding:8px 12px;background:#1d1d1d;color:#fff;font:600 11.5px/1.4 system-ui,sans-serif;border-radius:3px;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.rsm-preview-badge a{color:#fff;text-decoration:underline}
@media(min-width:901px){.rsm-preview-badge{bottom:14px}}
