/* Sceneo marketing kit. 1rem = 1% of the piece's shorter side (set per piece in the layout). */
:root {
    --ink: #1d1a45;
    --ink-2: #2c2766;
    --coral: #ff6b5b;
    --amber: #ffb341;
    --violet: #7c6cff;
    --teal: #40c8be;
    --paper: #fbf9f6;
    --muted: #6b6889;
    --gradient: linear-gradient(135deg, var(--coral), var(--amber));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; }
body { font-family: 'Plus Jakarta Sans', 'Noto Naskh Arabic', system-ui, sans-serif; color: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.piece { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.piece > *, .bg-glow ~ * { position: relative; }
.bg-glow { position: absolute !important; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 8%, rgba(255, 107, 91, .45), transparent 42%), radial-gradient(circle at 5% 70%, rgba(124, 108, 255, .4), transparent 45%); }

/* Shared bits */
.brand { display: flex; align-items: center; gap: .35em; font-weight: 800; letter-spacing: -.02em; font-size: 4.2rem; line-height: 1; }
.brand img { width: 1.25em; height: 1.25em; }
.brand b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-block; border: .2rem solid rgba(255, 255, 255, .35); border-radius: 99rem; padding: .6rem 1.8rem; font-weight: 700; font-size: 2.2rem; }
.headline { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; font-size: 11rem; }
.headline span, .banner-headline span, .card-tag span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 3rem; line-height: 1.35; color: rgba(255, 255, 255, .82); font-weight: 500; }
.kicker { font-weight: 800; font-size: 3rem; color: var(--amber); margin-bottom: 1.6rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 1.9rem; font-weight: 800; color: var(--coral); }
.section-h { font-size: 4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 1rem 0 2.2rem; }
.fine { font-size: 1.8rem; color: var(--muted); line-height: 1.4; }

.scene { flex-shrink: 0; position: relative; border-radius: 3rem; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2) center / cover; box-shadow: 0 3rem 6rem -2rem rgba(0, 0, 0, .55); border: .3rem solid rgba(255, 255, 255, .14); }
.scene::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.scene-tag { position: absolute; z-index: 1; top: 2.5rem; left: 2.5rem; background: rgba(0, 0, 0, .45); border-radius: 99rem; padding: .7rem 2rem; font-weight: 700; font-size: 2.2rem; color: #fff; }
.scene-sub { position: absolute; z-index: 1; left: 0; right: 0; bottom: 3rem; text-align: center; color: #fff; }
.scene-sub .line, .social-sub .line { display: inline-block; font-family: 'Noto Naskh Arabic', serif; font-weight: 700; font-size: 4.6rem; background: rgba(0, 0, 0, .65); padding: .4rem 2.2rem; border-radius: 1.4rem; line-height: 1.6; }
.scene-sub .meaning, .social-sub .meaning { display: block; color: var(--amber); font-weight: 700; font-size: 2.8rem; margin-top: .8rem; }

.steps { list-style: none; display: grid; gap: 2rem; }
.steps li { display: flex; align-items: center; gap: 2rem; }
.step-icon { flex-shrink: 0; display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 2rem; background: var(--gradient); color: #fff; font-size: 3.4rem; }
.steps li:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--violet), #a79bff); }
.steps li:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--teal), #86e3db); }
.steps li:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--ink-2), var(--violet)); }
.steps b { display: block; font-size: 3.1rem; font-weight: 800; }
.steps div span { display: block; font-size: 2.4rem; opacity: .78; line-height: 1.3; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.price { position: relative; border-radius: 2.4rem; padding: 2.2rem 1.6rem; text-align: center; background: rgba(255, 255, 255, .1); border: .25rem solid rgba(255, 255, 255, .2); }
.price.featured { background: var(--gradient); border-color: transparent; color: #fff; }
.price .qty { font-size: 2.3rem; font-weight: 700; opacity: .85; }
.price .amount { font-size: 6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.price .save { font-size: 1.9rem; font-weight: 800; margin-top: .3rem; }

.qr-block { display: flex; align-items: center; gap: 2.4rem; }
.qr { flex-shrink: 0; width: 22rem; height: 22rem; padding: 1.4rem; background: #fff; border-radius: 2.2rem; }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; display: block; }
.qr-cta { font-size: 3.4rem; font-weight: 800; }
.qr-link { font-size: 2.4rem; font-weight: 700; color: var(--amber); word-break: break-all; }
.qr-by { font-size: 2rem; opacity: .75; margin-top: .6rem; }

.ticks { list-style: none; display: grid; gap: 1.3rem; font-size: 2.5rem; font-weight: 600; line-height: 1.3; }
.ticks li { display: flex; gap: 1.2rem; }
.ticks i { color: var(--coral); }

/* Poster */
.piece-poster { display: flex; flex-direction: column; gap: 4.5rem; padding: 8rem; }
.piece-poster .top { display: flex; justify-content: space-between; align-items: center; }
.piece-poster .headline { font-size: 10.6rem; }
.piece-poster .lede { font-size: 3.4rem; margin-top: -1rem; }
.piece-poster .scene, .piece-rollup .scene { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.piece-poster .scene-sub .line { font-size: 5.6rem; }
.piece-poster .scene-sub .meaning { font-size: 3.4rem; }
.piece-poster .bottom { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 5rem; align-items: end; }
.piece-poster .qr-block { flex-direction: column; text-align: center; gap: 1.2rem; }
.piece-poster .qr-cta { font-size: 3rem; }
.piece-poster .qr { width: 26rem; height: 26rem; }

/* Roll-up */
.piece-rollup { display: flex; flex-direction: column; gap: 6rem; padding: 11rem 9rem; }
.piece-rollup .brand { font-size: 9rem; }
.piece-rollup .headline { font-size: 16rem; }
.piece-rollup .lede { font-size: 4.6rem; }
.piece-rollup .scene-sub .line { font-size: 6rem; }
.piece-rollup .scene-sub .meaning { font-size: 3.8rem; }
.piece-rollup .scene-tag { font-size: 3rem; }
.piece-rollup .steps { gap: 4rem; }
.piece-rollup .steps b { font-size: 5rem; }
.piece-rollup .steps div span { font-size: 3.6rem; }
.piece-rollup .step-icon { width: 11rem; height: 11rem; font-size: 5.4rem; border-radius: 3rem; }
.piece-rollup .kicker { font-size: 5rem; margin-bottom: -4rem; }
.piece-rollup .price .qty { font-size: 3.6rem; }
.piece-rollup .price .amount { font-size: 9rem; }
.piece-rollup .price .save { font-size: 3rem; }
.piece-rollup .qr-block { margin-top: auto; }
.piece-rollup .qr { width: 36rem; height: 36rem; }
.piece-rollup .qr-cta { font-size: 6rem; }
.piece-rollup .qr-link { font-size: 4rem; }

/* Flyer */
.piece-flyer { display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.flyer-head { position: relative; background: var(--ink); color: #fff; padding: 6rem 7rem; display: grid; gap: 2.6rem; }
.flyer-head .top { display: flex; justify-content: space-between; align-items: center; }
.flyer-head .headline { font-size: 9.6rem; }
.flyer-head .lede { font-size: 2.7rem; }
.flyer-body { flex: 1; display: flex; flex-direction: column; padding: 4.5rem 7rem 5rem; }
.flyer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-bottom: 1rem; }
.piece-flyer .steps { gap: 1.6rem; }
.piece-flyer .step-icon { width: 6rem; height: 6rem; font-size: 3rem; border-radius: 1.7rem; }
.piece-flyer .section-h { font-size: 3.6rem; margin-bottom: 2rem; }
.piece-flyer .price .amount { font-size: 5rem; }
.piece-flyer .price { padding: 1.6rem 1rem; }
.piece-flyer .qr { width: 18rem; height: 18rem; }
.piece-flyer .qr-block { gap: 2rem; }
.piece-flyer .qr-cta { font-size: 3rem; }
.flyer-grid .section-h { margin-top: 0; }
.flyer-grid .ticks { margin-top: 3rem; }
.piece-flyer .steps span { color: var(--muted); opacity: 1; }
.piece-flyer .steps b { font-size: 2.7rem; }
.piece-flyer .steps div span { font-size: 2.2rem; }
.piece-flyer .price { background: #fff; border-color: #eee9e3; color: var(--ink); }
.piece-flyer .price.featured { color: #fff; background: var(--gradient); border-color: transparent; }
.flyer-foot { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 4rem; align-items: center; padding-top: 3rem; }
.piece-flyer .qr { border: .3rem solid #eee9e3; }
.piece-flyer .qr-link { color: var(--coral); }

/* Tri-fold (A4 landscape, three panels) */
.piece-trifold-outside, .piece-trifold-inside { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); color: var(--ink); }
.panel { position: relative; padding: 7rem 6rem; display: flex; flex-direction: column; gap: 3rem; overflow: hidden; }
.panel + .panel { border-left: .2rem dashed rgba(29, 26, 69, .12); }
.panel > * { position: relative; }
.panel-dark { background: var(--ink); color: #fff; border-left: 0 !important; }
.panel .section-h { margin: 0; font-size: 4.4rem; }
.panel .headline { font-size: 10rem; }
.panel .brand { font-size: 5rem; }
.panel-light .lede { color: var(--muted); }
.panel-light .steps span { color: var(--muted); opacity: 1; }
.panel-back { align-items: center; text-align: center; justify-content: center; }
.panel-back .qr-block { flex-direction: column; gap: 1.6rem; }
.panel-back .qr { width: 30rem; height: 30rem; border: .3rem solid #eee9e3; }
.panel-back .qr-link { color: var(--coral); }
.panel-light .ticks { font-size: 2.6rem; }
.panel-dark .price .qty { font-size: 2rem; }
.panel-dark .price .amount { font-size: 4.6rem; }
.panel-dark .price { padding: 2rem .8rem; }
.panel-dark .ticks { margin-top: auto; }
.panel-dark .ticks i { color: var(--amber); }
.panel-dark .scene-sub .line { font-size: 3.4rem; }
.panel-dark .scene-sub .meaning { font-size: 2.3rem; }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.mini-scene { aspect-ratio: 4 / 3; border-radius: 2rem; background: var(--ink-2) center / cover; display: flex; align-items: flex-end; padding: 1.4rem; box-shadow: inset 0 -8rem 6rem -4rem rgba(0, 0, 0, .7); }
.mini-scene span { color: #fff; font-weight: 800; font-size: 2.2rem; }

/* Business card */
.piece-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6rem; padding: 9rem 10rem; }
.piece-card .brand { font-size: 10rem; }
.card-tag { font-size: 6rem; font-weight: 800; margin-top: 5rem; letter-spacing: -.02em; line-height: 1.15; }
.card-name { font-size: 7rem; font-weight: 800; margin-top: 6rem; }
.card-meta { font-size: 5rem; opacity: .78; margin-top: 2rem; line-height: 1.35; }
.piece-card .qr-block { flex-direction: column; text-align: center; gap: 3rem; }
.piece-card .qr { width: 52rem; height: 52rem; padding: 3rem; border-radius: 5rem; }
.piece-card .qr-cta { font-size: 6rem; }
.piece-card .qr-link, .piece-card .qr-by { display: none; }

/* Display banners */
.piece-banner { display: flex; align-items: center; }
.scene-strip { position: absolute !important; inset: 0 0 0 auto; width: 45%; background: center / cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .9; }
.banner-copy { z-index: 1; display: flex; flex-direction: column; }
.banner-headline { font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.banner-sub { font-weight: 700; color: var(--amber); }
.banner-cta { z-index: 1; flex-shrink: 0; background: var(--gradient); color: #fff; font-weight: 800; border-radius: 99rem; white-space: nowrap; box-shadow: 0 1rem 2rem -1rem rgba(255, 107, 91, .8); }

.piece-banner.is-wide { padding: 0 8rem; gap: 10rem; }
.piece-banner.is-wide .banner-copy { flex-direction: row; align-items: center; gap: 10rem; }
.piece-banner.is-wide .brand { font-size: 30rem; }
.piece-banner.is-wide .banner-headline { font-size: 26rem; }
.piece-banner.is-wide .banner-sub { font-size: 16rem; margin-top: 3rem; }
.piece-banner.is-wide .banner-cta { font-size: 20rem; padding: 10rem 20rem; margin-left: auto; }
.piece-leaderboard .banner-copy > div:last-child, .piece-mobile-banner .brand { display: none; }
.piece-leaderboard .banner-copy, .piece-billboard .banner-copy, .piece-email-header .banner-copy { gap: 12rem; }
.piece-billboard .banner-copy, .piece-email-header .banner-copy, .piece-mobile-banner .banner-copy { flex-direction: column !important; align-items: flex-start !important; gap: 5rem !important; }
.piece-billboard .brand, .piece-email-header .brand { font-size: 16rem; }
.piece-billboard .banner-headline { font-size: 22rem; }
.piece-billboard .banner-cta { font-size: 12rem; padding: 6rem 14rem; }
.piece-email-header .banner-headline { font-size: 17rem; }
.piece-email-header .banner-sub { font-size: 10rem; margin-top: 0; }
.piece-email-header .banner-cta { font-size: 10rem; padding: 6rem 11rem; }
.piece-mobile-banner { padding: 0 7rem !important; gap: 4rem !important; }
.piece-mobile-banner .banner-headline { font-size: 16rem; }
.piece-mobile-banner .banner-sub { font-size: 11rem; margin-top: 0 !important; }
.piece-mobile-banner .banner-cta { font-size: 11rem; padding: 7rem 10rem; }
.piece-mobile-banner .scene-strip, .piece-leaderboard .scene-strip { width: 30%; }

.piece-banner.is-boxy { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 7rem; }
.piece-banner.is-boxy .scene-strip { inset: 0 0 auto 0; width: 100%; height: 58%; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.piece-banner.is-boxy .brand { font-size: 9rem; margin-bottom: 3rem; }
.piece-banner.is-boxy .banner-headline { font-size: 11.5rem; }
.piece-banner.is-boxy .banner-sub { font-size: 6.4rem; margin-top: 2rem; }
.piece-banner.is-boxy .banner-cta { font-size: 7rem; padding: 3.5rem 7rem; margin-top: 5rem; }

.piece-banner.is-tall { flex-direction: column; align-items: flex-start; padding: 12rem 10rem; }
.piece-banner.is-tall .scene-strip { inset: auto 0 0 0; width: 100%; height: 42%; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.piece-banner.is-tall .brand { font-size: 14rem; margin-bottom: 16rem; }
.piece-banner.is-tall .banner-headline { font-size: 22rem; }
.piece-banner.is-tall .banner-sub { font-size: 12rem; margin-top: 8rem; }
.piece-banner.is-tall .banner-cta { font-size: 11rem; padding: 7rem 12rem; margin-top: 14rem; }

/* Social */
.piece-social { display: flex; }
.social-photo { position: absolute !important; inset: 0; background: center / cover; }
.social-shade { position: absolute !important; inset: 0; background: linear-gradient(90deg, rgba(29, 26, 69, .96) 30%, rgba(29, 26, 69, .45)); }
.social-copy { display: flex; flex-direction: column; justify-content: center; gap: 4rem; padding: 8rem; max-width: 70%; }
.social-copy .brand { font-size: 7rem; }
.social-sub { align-self: flex-start; }
.social-sub .meaning { text-align: left; }
.social-price { font-size: 4rem; font-weight: 600; }
.social-price b { color: var(--amber); font-weight: 800; }
.social-link { align-self: flex-start; background: var(--gradient); padding: 1.6rem 4rem; border-radius: 99rem; font-weight: 800; font-size: 4rem; }

.piece-social.is-boxy .social-shade { background: linear-gradient(180deg, rgba(29, 26, 69, .3), rgba(29, 26, 69, .96) 55%); }
.piece-social.is-boxy .social-copy { max-width: none; justify-content: flex-end; padding: 7rem; gap: 3.2rem; }
.piece-social.is-boxy .headline { font-size: 9.5rem; }
.piece-social.is-boxy .lede, .piece-social.is-boxy .social-sub { display: none; }

.piece-social.is-tall .social-shade { background: linear-gradient(180deg, rgba(29, 26, 69, .15) 10%, rgba(29, 26, 69, .97) 55%); }
.piece-social.is-tall .social-copy { max-width: none; justify-content: flex-end; padding: 12rem 9rem 30rem; gap: 6rem; }
.piece-social.is-tall .brand { font-size: 10rem; }
.piece-social.is-tall .headline { font-size: 15rem; }
.piece-social.is-tall .lede { font-size: 5.4rem; }
.piece-social.is-tall .social-sub .line { font-size: 6.4rem; }
.piece-social.is-tall .social-sub .meaning { font-size: 4.4rem; }
.piece-social.is-tall .social-price { font-size: 5.4rem; }
.piece-social.is-tall .social-link { font-size: 5.4rem; padding: 2.4rem 6rem; }

.piece-social.is-wide .social-copy { max-width: 62%; padding: 9rem 12rem; gap: 5rem; }
.piece-social.is-wide .headline { font-size: 14rem; }
.piece-social.is-wide .brand { font-size: 9rem; }
.piece-social.is-wide .lede, .piece-social.is-wide .social-sub { display: none; }
.piece-social.is-wide .social-price { font-size: 6rem; }
.piece-social.is-wide .social-link { font-size: 6rem; }
.piece-facebook-link .social-copy { max-width: 70%; }
.piece-facebook-link .headline { font-size: 11rem; }
.piece-facebook-link .lede { display: block !important; font-size: 4.2rem; }
.piece-facebook-link .social-price { font-size: 4.2rem; }
.piece-facebook-link .social-link { font-size: 4.2rem; }
.piece-facebook-cover .social-copy, .piece-x-header .social-copy { padding-left: 30rem; }
.piece-youtube-thumbnail .social-copy { max-width: 75%; }
.piece-youtube-thumbnail .headline { font-size: 13rem; }
.piece-youtube-thumbnail .social-price { font-size: 5rem; }
.piece-youtube-thumbnail .social-link { display: none; }
