/* =========================================================
   RETAL BRAND — Corporate Applications (slug corporate-applications),
   Pattern Design (.pd-*), Design Template (.dt-*), Retal Profile (.rp-*)
   and Supporting Images and Footages (slug supporting-images-and-footages).
   Values taken from the live Elementor CSS (page ids 58862, 59362).
   Markup: src/seed/fix-corporate-applications.ts,
           src/seed/fix-supporting-images.ts (.sif-* blocks)
   ========================================================= */

@font-face { font-family: 'SangBleuKingdom-Light'; font-style: normal; font-weight: 300; font-display: swap; src: url('../../fonts/sangbleu-kingdom-light.ttf') format('truetype'); }

.brand-apps { --ba-brown: #85553A; --ba-panel: #FBFDFC; --ba-pad: 3%; color: #020202; overflow: hidden; }
.brand-apps img { display: block; max-width: 100%; height: auto; }
.brand-apps h1, .brand-apps h2, .brand-apps h3 { margin: 0; font-family: 'Lucky Beauty', serif; font-weight: 400; }

/* ---------- intro: RETAL / BRAND + page index ---------- */
.ba-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 500px; padding: 0 var(--ba-pad); }
.ba-intro__kicker, .ba-intro__brand { display: block; font-family: 'SangBleuKingdom-Light', 'Lucky Beauty', serif; font-weight: 300; }
.ba-intro__kicker { font-size: 60px; line-height: 1; letter-spacing: 10px; text-transform: uppercase; margin-bottom: 30px; }
.ba-intro__brand { font-size: 112px; line-height: 1; }
.ba-intro__nav { list-style: none; margin: 0; padding: 0; max-width: 120px; }
.ba-intro__nav a { position: relative; display: block; padding-inline-start: 22px; font-family: 'Marcellus', serif; font-size: 17px; line-height: 25px; color: var(--ba-brown); }
.ba-intro__nav a::before { content: ''; position: absolute; inset-inline-start: 2px; top: 8px; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.ba-intro__nav a:hover { color: #000; }

/* ---------- brown banner ---------- */
.ba-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 420px; padding: 6% var(--ba-pad); background: #8C5948; }
.ba-banner__title { max-width: 560px; padding-inline-start: 20px; font-size: 90px; line-height: 100px; color: #fff; }
.ba-banner__logo { flex: 0 0 auto; width: 160px; margin-inline-end: 40px; }

/* ---------- numbered section heading + download ---------- */
.ba-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: var(--ba-pad); }
.ba-head h2 { font-size: 60px; line-height: 65px; color: var(--ba-brown); }
.ba-download { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px; border: 1px solid #CCC; background: #fff; color: #000; transition: background-color .3s, border-color .3s, color .3s; }
.ba-download svg { width: 16px; height: 18px; }
.ba-download:hover { background: var(--ba-brown); border-color: var(--ba-brown); color: #fff; }

/* ---------- light panels ---------- */
.ba-panel { background: var(--ba-panel); }
.ba-panel + .ba-panel { margin-top: 10px; }
.ba-sub { font-size: 30px; line-height: 45px; color: #020202; }
.ba-title { font-size: 60px; line-height: 65px; color: #020202; padding-inline-start: 10px; }

/* 01. letterhead: two sheets side by side */
.ba-letterhead { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 30px var(--ba-pad); }
.ba-letterhead img { width: min(308px, 40%); }

/* 02. envelope */
.ba-center { display: flex; justify-content: center; padding: 50px var(--ba-pad); }
.ba-center img { width: min(660px, 100%); }

/* text beside a picture (Envelope A5/A4/A3, Envelope 20x20) */
.ba-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: var(--ba-pad); }
.ba-split img { width: 100%; height: 500px; object-fit: contain; }

/* 03. cards: business card fronts and backs in rows */
.ba-cards { padding: var(--ba-pad); }
.ba-cards__row { display: flex; gap: 20px; padding: 30px; }
.ba-cards__row img { width: min(502px, calc(50% - 10px)); }
.ba-cards__row + .ba-cards__row { margin-top: 20px; }

/* ID card, paper folder: picture with its name over the top-left corner */
.ba-figure { padding: var(--ba-pad); }
.ba-figure__inner { position: relative; background: var(--ba-panel); }
.ba-figure__inner .ba-sub { position: absolute; top: 40px; inset-inline-start: 40px; z-index: 1; }
.ba-figure__inner img { width: 100%; }
.ba-figure--folder .ba-figure__inner img { height: 600px; object-fit: contain; }

/* ---------- responsive (Elementor breakpoints 1200 / 880 / 767) ---------- */
@media (max-width: 1199px) {
	.ba-intro__kicker { font-size: 45px; }
	.ba-intro__brand { font-size: 84px; }
	.ba-banner__title { font-size: 64px; line-height: 72px; }
	.ba-head h2, .ba-title { font-size: 46px; line-height: 52px; }
}

@media (max-width: 880px) {
	.ba-split { grid-template-columns: 1fr; }
	.ba-split img { height: auto; max-height: 420px; }
	.ba-cards__row { flex-direction: column; align-items: center; padding: 20px 0; }
	.ba-cards__row img { width: min(502px, 100%); }
}

@media (max-width: 767px) {
	.brand-apps { --ba-pad: 20px; }
	.ba-intro { min-height: 280px; flex-direction: column; align-items: flex-start; justify-content: center; }
	.ba-intro__kicker { font-size: 28px; letter-spacing: 6px; margin-bottom: 12px; }
	.ba-intro__brand { font-size: 56px; }
	.ba-intro__nav { max-width: none; }
	.ba-banner { flex-direction: column-reverse; align-items: flex-start; min-height: 0; padding: 40px var(--ba-pad); }
	.ba-banner__title { padding: 0; font-size: 40px; line-height: 46px; }
	.ba-banner__logo { width: 100px; margin: 0; }
	.ba-head h2, .ba-title { font-size: 30px; line-height: 36px; }
	.ba-sub { font-size: 22px; line-height: 30px; }
	.ba-letterhead { gap: 16px; }
	.ba-letterhead img { width: calc(50% - 8px); }
	.ba-center { padding: 30px var(--ba-pad); }
	.ba-figure__inner .ba-sub { position: static; padding: 20px 20px 0; }
	.ba-figure--folder .ba-figure__inner img { height: auto; }
}

/* =========================================================
   Supporting Images and Footages (.sif-*)
   ========================================================= */
/* intro: the Pattern Design intro (Elementor gives both pages the same values) */
.ba-intro:has(+ .sif-banner) { min-height: 500px; }
.ba-intro:has(+ .sif-banner) .ba-intro__kicker { line-height: 45px; margin-bottom: 64px; }
.ba-intro:has(+ .sif-banner) .ba-intro__brand { line-height: 45px; margin: 22px 0 17px; }
.ba-intro:has(+ .sif-banner) .ba-intro__nav { max-width: none; padding-inline-end: 20px; white-space: nowrap; }

/* banner: title and logo halves side by side at every width, the logo 25% of its half (70% on phones) */
.sif-banner { min-height: 500px; flex-direction: row; gap: 0; }
.sif-banner .ba-banner__title { flex: 1 1 50%; min-width: 0; max-width: none; line-height: 120px; }
.sif-banner .ba-banner__logo { flex: 0 0 auto; width: 12.5%; margin: 0 20px 0 0; }

/* numbered heading: 01. Branded Environment / 02. Branded Items */
.sif-head { padding: var(--ba-pad); font-size: 60px; line-height: 65px; color: var(--ba-brown); }
.sif-head--items { margin-top: 40px; padding: 0 calc(var(--ba-pad) + 5%) 50px calc(var(--ba-pad) + 2%); }

/* full-width picture, its name over the top corner */
.sif-figure { position: relative; margin: 20px 0 0; }
.sif-head + .sif-figure { margin-top: 0; }
.sif-figure img { width: 100%; }
.sif-figure--pad { margin: 3% 0; } /* spacing outside the picture, so the caption sits on the photo */
.sif-figure--flush { margin-top: 0; }
.sif-figure--tight { margin-top: 10px; }
.sif-figure--boxed { max-width: 1600px; margin-inline: auto; }
.sif-caption { position: absolute; top: 40px; inset-inline-start: 40px; z-index: 1; font-family: 'Lucky Beauty', serif; font-size: 30px; font-weight: 300; line-height: 45px; }
.sif-caption--light { color: #fff; }
.sif-caption--dark { color: #020202; }

/* grey gallery: title, then pictures side by side */
.sif-gallery { margin-top: 20px; background: #F5F5F5; padding: 4% 3% 2%; }
.sif-gallery__title { margin: 0 0 50px !important; font-size: 40px !important; line-height: 65px; color: #020202; }
.sif-gallery__row { display: flex; gap: 20px; }
.sif-gallery__item { flex: 1 1 0; min-width: 0; padding: 10px; }
.sif-gallery__item img { width: 100%; }
.sif-gallery--posters { max-width: 1600px; margin-inline: auto; }
.sif-gallery--posters .sif-gallery__item { padding-bottom: 50px; }
.sif-gallery--wide { padding: 4% 5% 2%; }
.sif-gallery--wide .sif-gallery__row, .sif-gallery--tshirt .sif-gallery__row { padding: 0 5% 5%; }
.sif-gallery--tshirt { padding: 50px; }

/* two square pictures side by side */
.sif-pair { display: flex; gap: 20px; }
.sif-section .sif-pair + .sif-figure, .sif-pair { margin-top: 20px; }
.sif-head + .sif-pair { margin-top: 0; }
.sif-pair .sif-figure { flex: 1 1 0; min-width: 0; margin: 0; padding: 10px; }
.sif-pair .sif-caption { top: 50px; inset-inline-start: 50px; }

@media (max-width: 1400px) {
	.sif-banner { padding: 100px 10px; }
	.sif-head { padding-bottom: 20px; font-size: 40px; }
	.sif-head--items { padding-bottom: 20px; }
	.sif-gallery__title { margin-bottom: 20px !important; }
}

@media (max-width: 1199px) {
	.ba-intro:has(+ .sif-banner) { min-height: 400px; padding: 50px 10px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__kicker { font-size: 40px; margin-bottom: 44px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__brand { font-size: 80px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__nav a { font-size: 13px; }
	.sif-banner { min-height: 400px; padding: 50px 10px; }
	.sif-banner .ba-banner__logo { margin-inline-end: 0; }
	.sif-banner .ba-banner__title { font-size: 60px; line-height: 60px; }
}

@media (max-width: 767px) {
	.ba-intro:has(+ .sif-banner) { min-height: 300px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0; padding: 50px 10px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__kicker { font-size: 20px; letter-spacing: 10px; margin-bottom: 21px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__brand { font-size: 40px; margin: -15px 0 17px; }
	.ba-intro:has(+ .sif-banner) .ba-intro__nav { padding: 0 10px 0 0; }
	.ba-intro:has(+ .sif-banner) .ba-intro__nav a { font-size: 15px; }
	.sif-banner { min-height: 300px; flex-direction: row; align-items: center; padding: 40px 10px; }
	.sif-banner .ba-banner__title { font-size: 25px; line-height: 30px; }
	.sif-banner .ba-banner__logo { width: 35%; }
	/* the heading's own margin loses to `.brand-apps h2 { margin: 0 }`, so its 30px above and below are padding (live: 20px + 10px each side) */
	.sif-head { padding: 30px 10px; font-size: 25px; line-height: 45px; }
	.sif-head--items { padding: 10px; line-height: 30px; }
	.sif-figure, .sif-figure--tight { margin: 20px 0 40px; }
	.sif-head + .sif-figure { margin: 0; }
	/* Interior Signage: 10px under Outdoor Signage, 30px over the signage system */
	.sif-figure--pad { margin: 10px 0 30px; }
	.sif-caption, .sif-pair .sif-caption { top: 10px; inset-inline-start: 10px; font-size: 25px; line-height: 32px; }
	.sif-pair .sif-caption { top: 20px; inset-inline-start: 20px; }
	.sif-gallery { padding: 20px 10px 2%; }
	.sif-gallery__title { margin: 0 0 10px !important; font-size: 25px !important; line-height: 30px; }
	.sif-gallery__row, .sif-pair { flex-direction: column; gap: 10px; }
	.sif-gallery--wide .sif-gallery__row, .sif-gallery--tshirt .sif-gallery__row { padding: 0; }
	.sif-gallery--posters .sif-gallery__item { padding-bottom: 10px; }
}

/* =========================================================
   Pattern Design (.pd-*) — slug pattern-design, page id 59274
   Markup: src/seed/fix-pattern-design.ts
   ========================================================= */

/* intro: headings keep Elementor's 45px line boxes, index on one line */
.pd-intro { min-height: 500px; }
.pd-intro .ba-intro__kicker { line-height: 45px; margin-bottom: 64px; }
.pd-intro .ba-intro__brand { line-height: 45px; margin: 22px 0 17px; }
.pd-intro .ba-intro__nav { max-width: none; padding-inline-end: 20px; white-space: nowrap; }

/* full-width artworks, stacked */
.pd-figure { margin: 20px 0 0; }
.pd-figure img { width: 100%; }
.pd-figure--first { margin-top: 50px; }
.pd-figure--inset { margin-top: 10px; padding: 0 1%; }
.pd-figure--near { margin-top: 10px; }
.pd-figure--last { margin-bottom: 20px; }

@media (max-width: 1400px) {
	.pd-intro { padding: 100px 10px; }
	.pd-intro .ba-intro__nav { padding-inline-end: 20px; }
}

@media (max-width: 1199px) {
	.pd-intro { min-height: 400px; padding: 50px 10px; }
	.pd-intro .ba-intro__kicker { font-size: 40px; margin-bottom: 44px; }
	.pd-intro .ba-intro__brand { font-size: 80px; }
	.pd-intro .ba-intro__nav a { font-size: 13px; }
}

@media (max-width: 880px) {
	.pd-intro .ba-intro__nav { padding-inline: 20px; }
}

@media (max-width: 767px) {
	.pd-intro { min-height: 300px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0; }
	.pd-intro .ba-intro__kicker { font-size: 20px; letter-spacing: 10px; margin-bottom: 21px; }
	.pd-intro .ba-intro__brand { font-size: 40px; margin: -15px 0 17px; }
	.pd-intro .ba-intro__nav { padding: 0 10px 0 0; }
	.pd-intro .ba-intro__nav a { font-size: 15px; }
	.pd-figure--last { margin: 60px 0 40px; }
}

/* =========================================================
   Design Template (.dt-*) — slug design-template, page id 59317
   Markup: src/seed/fix-design-template.ts
   ========================================================= */

/* intro + brown banner keep Elementor's 45px line boxes */
.dt-intro { min-height: 500px; }
.dt-intro .ba-intro__kicker { line-height: 45px; margin-bottom: 64px; }
.dt-intro .ba-intro__brand { line-height: 45px; margin: 22px 0 17px; }
.dt-intro .ba-intro__nav { max-width: none; padding-inline-end: 20px; white-space: nowrap; }
.dt-banner .ba-banner__title { max-width: none; }
.dt-banner .ba-banner__logo { width: 12.5%; max-width: 240px; margin-inline-end: 20px; }

/* ---------- logo colourways: two sheets, then three ---------- */
.dt-swatches { margin: 30px 0 10px; }
.dt-swatches__row { display: flex; gap: 0; }
.dt-swatches__row img { width: 100%; }
.dt-swatches__row > * { flex: 1 1 0; min-width: 0; }

/* ---------- grey panel with a title (Images Style) ---------- */
.dt-panel { background: #fff; padding: 50px 0 0; }
.dt-panel__inner { background: #F5F5F5; padding: 50px; }
.dt-panel__title { margin: 0 0 30px; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: #020202; }
.dt-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dt-gallery a { display: block; position: relative; overflow: hidden; }
.dt-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.dt-gallery a:hover img { transform: scale(1.05); }

/* ---------- artwork tiles: the picture with its name over the corner ---------- */
.dt-tile { position: relative; margin: 0; }
.dt-tile img { display: block; width: 100%; height: auto; }
.dt-tile__title {
	position: absolute; top: 0; inset-inline-start: 0; z-index: 1; margin: 0; padding: 50px;
	font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: #020202;
}
.dt-tile--light .dt-tile__title { color: #fff; }
.dt-tile-wrap { background: #fff; margin: 20px 0; }
.dt-tile-wrap:first-of-type { margin-top: 20px; }

/* two tiles side by side */
.dt-row { display: flex; gap: 0; margin-top: 20px; }
.dt-row > .dt-tile { flex: 1 1 0; min-width: 0; }

/* ---------- picture beside its name (Occasion Posts Template) ---------- */
.dt-wide { display: flex; align-items: center; gap: 20px; min-height: 800px; padding: 5%; background: #F5F5F5; margin-top: 10px; }
.dt-wide__title { flex: 0 0 50%; margin: 0; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: #020202; }
.dt-wide__media { flex: 0 0 50%; }
.dt-wide__media img { width: 70%; }

/* ---------- download blocks (Presentations / Report template) ---------- */
.dt-block { margin-top: 20px; padding: 100px 50px; background: #F5F5F5; }
.dt-block__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dt-block__head + .dt-block__head { margin-top: 60px; }
.dt-block__title { margin: 0; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: #020202; }
/* the download control: the live page frames its arrow in a white square */
.dt-download {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px;
	border: 1px solid #CCC; background: #fff; color: #2C2C2C; transition: background-color .3s, border-color .3s, color .3s;
}
.dt-download svg { display: block; width: 14px; height: 19px; }
.dt-download:hover, .dt-download:focus { background: #85553A; border-color: #85553A; color: #fff; }
.dt-block__imgs { display: flex; gap: 20px; margin-top: 30px; }
.dt-block__imgs img { width: 100%; }
.dt-block__imgs > * { flex: 1 1 0; min-width: 0; }
.dt-block__img { margin-top: 30px; }
.dt-block__img img { width: 100%; }

/* ---------- responsive (Elementor breakpoints 1400 / 1200 / 880 / 767) ---------- */
@media (max-width: 1400px) {
	.dt-intro { padding: 100px 10px; }
	.dt-tile__title, .dt-wide__title, .dt-block__title, .dt-panel__title { font-size: 35px; }
}

@media (max-width: 1199px) {
	.dt-intro { min-height: 400px; padding: 50px 10px; }
	.dt-intro .ba-intro__kicker { font-size: 40px; margin-bottom: 44px; }
	.dt-intro .ba-intro__brand { font-size: 80px; }
	.dt-intro .ba-intro__nav a { font-size: 13px; }
	.dt-banner { min-height: 400px; padding: 50px 10px; }
	.dt-wide { min-height: 400px; }
	.dt-panel__inner, .dt-block { padding: 50px 20px; }
}

@media (max-width: 880px) {
	.dt-gallery { grid-template-columns: repeat(2, 1fr); }
	.dt-tile__title, .dt-wide__title, .dt-block__title, .dt-panel__title { font-size: 25px; }
	.dt-tile__title { padding: 20px; }
	.dt-wide { flex-direction: column; align-items: flex-start; }
	.dt-wide__title, .dt-wide__media { flex: 1 1 auto; width: 100%; }
	.dt-wide__media img { width: 100%; }
}

@media (max-width: 767px) {
	.dt-intro { min-height: 300px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0; }
	.dt-intro .ba-intro__kicker { font-size: 20px; letter-spacing: 10px; margin-bottom: 21px; }
	.dt-intro .ba-intro__brand { font-size: 40px; margin: -15px 0 17px; }
	.dt-intro .ba-intro__nav { padding: 0 10px 0 0; }
	.dt-intro .ba-intro__nav a { font-size: 15px; }
	.dt-banner { min-height: 300px; flex-direction: row; align-items: center; padding: 40px 10px; }
	.dt-banner .ba-banner__title { font-size: 25px; line-height: 30px; }
	.dt-banner .ba-banner__logo { width: 70px; max-width: none; }
	.dt-swatches__row { flex-direction: column; }
	.dt-row { flex-direction: column; }
	.dt-block { padding: 20px; }
	.dt-block__head { flex-direction: column; align-items: flex-start; gap: 10px; }

	.dt-block__imgs { flex-direction: column; }
	.dt-panel__inner { padding: 20px; }
}

/* =========================================================
   Retal Profile (.rp-*) — slug retal-profile-limited-access, page id 60214
   Markup: src/seed/fix-retal-profile.ts; behaviour: assets/js/retal-profile.js
   ========================================================= */

/* intro + brown banner keep Elementor's 45px line boxes */
.rp-intro { min-height: 500px; }
.rp-intro .ba-intro__kicker { line-height: 45px; margin-bottom: 64px; }
.rp-intro .ba-intro__brand { line-height: 45px; margin: 22px 0 17px; }
.rp-intro .ba-intro__nav { max-width: none; padding-inline-end: 20px; white-space: nowrap; }
.rp-banner .ba-banner__title { max-width: none; }
.rp-banner .ba-banner__logo { width: 12.5%; max-width: 240px; margin-inline-end: 20px; }

/* ---------- "A next generation real estate developer" ---------- */
.rp-about { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 3%; }
.rp-about__kicker { margin: 0; padding-inline-start: 20px; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 60px; line-height: 1.2; color: var(--ba-brown); }
.rp-about__title { margin: -10px 0 0 !important; padding-inline-start: 20px; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif !important; font-size: 40px; line-height: 48px; color: #020202; }
.rp-about__text { max-width: 708px; padding-inline-start: 20px; font-family: 'Marcellus', serif; font-size: 17px; line-height: 1.5; color: #424548; }
.rp-about__text p { margin: 0; }

/* slide in from the left as they scroll into view (retal-profile.js adds .rp-reveal / .is-in) */
@keyframes rp-slide-in-left { from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
.rp-reveal { visibility: hidden; }
.rp-reveal.is-in { visibility: visible; animation: rp-slide-in-left .75s ease both; }

/* ---------- key figures + corporate profile download ---------- */
.rp-stats { padding: 3%; }
.rp-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 50%; padding-inline-start: 20px; }
.rp-stat__number { font-family: 'Lucky Beauty', serif; font-size: 30px; font-weight: 600; line-height: 45px; color: #020202; }
.rp-stat__title { font-family: 'Marcellus', serif; font-size: 17px; line-height: 20px; color: #7A7A7A; }
.rp-stats__download { margin-top: 40px; padding-inline-start: 20px; }

/* section headings: Retal Videos, Audio Branding Elements */
.rp-head { margin: 0 !important; font-family: 'Lucky Beauty', serif; font-size: 60px; line-height: 1.2; color: var(--ba-brown); }

/* ---------- videos: poster with a play button, then the Vimeo player ---------- */
.rp-videos { display: flex; flex-direction: column; gap: 20px; padding: 3%; }
.rp-videos .rp-head { margin: 50px 0 !important; }
.rp-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.rp-video img { width: 100%; height: 100%; object-fit: cover; }
.rp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rp-video__play { position: absolute; top: 50%; left: 50%; width: 95px; height: 95px; transform: translate(-50%, -50%); cursor: pointer; transition: transform .3s; }
.rp-video__play svg { display: block; width: 100%; height: 100%; }
.rp-video__play:hover, .rp-video__play:focus-visible { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- audio branding: players styled like Elementor Extras ---------- */
.rp-audio { padding: 3% 0 80px; }
.rp-audio__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 3% 30px; }
.rp-audio__group { margin-top: 50px; padding: 0 3%; }
.rp-audio__title { margin: 0 0 30px; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 40px; line-height: 1.2; color: #020202; }
.rp-audio__players { width: 70%; box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }

.rp-player { font-family: 'Marcellus', serif; font-size: 12px; }
.rp-player audio { display: none; }
.rp-player__bar { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; color: #2C2C2C; }
.rp-player__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 14px; cursor: pointer; opacity: .9; }
.rp-player__btn:hover, .rp-player__btn:focus-visible { opacity: 1; }
.rp-player__time, .rp-player__duration { font-size: 16px; white-space: nowrap; }
.rp-player__progress, .rp-player__volume { position: relative; height: 12px; border-radius: 100px; background: rgba(44, 44, 44, .2); overflow: hidden; cursor: pointer; touch-action: none; }
.rp-player__progress { flex: 1 1 80%; }
.rp-player__volume { flex: 0 1 85px; }
.rp-player__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 0 100px 100px 0; background: #2C2C2C; }
.rp-player__volume .rp-player__fill { width: 80%; }
.rp-player__track { display: flex; justify-content: space-between; gap: 12px; padding: 6px 12px; background: var(--ba-brown); color: #fff; font-size: 16px; }
.rp-player.is-list-hidden .rp-player__track { display: none; }

/* ---------- fixed "Full Access" button (to the photo library) ---------- */
.rp-full-access { position: fixed; inset-inline-end: 10px; top: 50%; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateY(-50%); pointer-events: none; }
.rp-full-access a { pointer-events: auto; }
.rp-full-access__btn { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border: 1px solid #fff; border-radius: 50%; background: var(--ba-brown); color: #fff; font-size: 16px; transition: background-color .3s; }
.rp-full-access__btn:hover, .rp-full-access__btn:focus-visible { background: #5e3c29; color: #fff; }
.rp-full-access__label { font-family: 'Lucky Beauty', serif; font-size: 15px; font-weight: 600; line-height: 20px; text-align: center; color: var(--ba-brown); }

/* ---------- responsive (Elementor breakpoints 1400 / 1200 / 880 / 767) ---------- */
@media (max-width: 1400px) {
	.rp-intro, .rp-banner { padding: 100px 10px; }
	.rp-about { min-height: 500px; justify-content: center; padding: 100px 10px; }
	.rp-about__text { max-width: 501px; }
	.rp-stats { min-height: 500px; padding: 100px 10px; }
	.rp-head { font-size: 40px; }
	.rp-videos .rp-head { margin: 0 0 20px !important; }
	.rp-audio__title { font-size: 35px; }
}

@media (max-width: 1199px) {
	.rp-intro { min-height: 400px; padding: 50px 10px; }
	.rp-intro .ba-intro__kicker { font-size: 40px; margin-bottom: 44px; }
	.rp-intro .ba-intro__brand { font-size: 80px; }
	.rp-intro .ba-intro__nav a { font-size: 13px; }
	.rp-banner { min-height: 400px; padding: 50px 10px; }
	.rp-about, .rp-stats { min-height: 400px; padding: 50px 10px; }
	.rp-about__text, .rp-stat__title { font-size: 13px; }
	.rp-stat__number { font-size: 25px; }
	.rp-audio__title { font-size: 25px; }
}

@media (max-width: 880px) {
	.rp-about { padding: 0; }
	.rp-about__kicker { font-size: 40px; }
	.rp-videos { padding: 50px 20px; }
	.rp-audio__players { width: 100%; }
}

@media (max-width: 767px) {
	.rp-intro { min-height: 300px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0; }
	.rp-intro .ba-intro__kicker { font-size: 20px; letter-spacing: 10px; margin-bottom: 21px; }
	.rp-intro .ba-intro__brand { font-size: 40px; margin: -15px 0 17px; }
	.rp-intro .ba-intro__nav { padding: 0 10px 0 0; }
	.rp-intro .ba-intro__nav a { font-size: 15px; }
	.rp-banner { min-height: 300px; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 20px; padding: 50px 10px; }
	.rp-banner .ba-banner__title { padding: 0; font-size: 45px; line-height: 50px; text-align: center; }
	.rp-banner .ba-banner__logo { width: 87px; margin: 0; }
	.rp-about { min-height: 300px; padding: 30px 10px 0; }
	.rp-about__kicker { padding: 0; line-height: 70px; }
	.rp-about__title { padding: 0; font-size: 20px; line-height: 32px; }
	.rp-about__text { max-width: none; padding: 0; }
	.rp-stats { min-height: 0; margin-top: 20px; padding: 0 10px; }
	.rp-stats__grid { width: 100%; padding: 0; }
	.rp-stats__download { margin-top: 20px; padding: 0; }
	.rp-videos { padding: 50px 10px; }
	.rp-head { font-size: 25px; line-height: 30px; }
	.rp-videos .rp-head { margin: 0 !important; }
	.rp-audio__head { padding: 0 10px 20px; }
	.rp-audio__group { margin-top: 30px; padding: 0 10px; }
	.rp-audio__title { margin-bottom: 20px; font-size: 20px; }
	.rp-player__bar { gap: 8px; padding: 8px; }
	.rp-player__time, .rp-player__duration, .rp-player__track { font-size: 13px; }
	.rp-player__volume, .rp-player__vol-icon { display: none; }
	.rp-full-access__btn { width: 48px; height: 48px; }
}

/* =========================================================
   Retal Music (retal-music, src/seed/fix-retal-music.ts) — intro, banner and
   players are the Retal Profile ones; each track row carries its own download
   button beside the player (Elementor: player 70% | button 30%, centred)
   ========================================================= */
.rm-track { display: flex; align-items: center; }
.rm-track + .rm-track { margin-top: 20px; }
.rm-track .rp-audio__players { flex: 0 0 70%; width: 70%; }
.rm-track__download { flex: 1 1 auto; display: flex; justify-content: center; }

@media (max-width: 880px) {
	.rm-track { gap: 12px; }
	.rm-track .rp-audio__players { flex: 1 1 auto; width: auto; min-width: 0; }
	.rm-track__download { flex: 0 0 auto; }
}

/* =========================================================
   Retal Projects (retal-projects, src/seed/fix-retal-projects.ts) — intro and
   banner are the Retal Profile ones; then one block per brand family: its
   name, and per project the name + brand pack download beside the logo
   versions (framed tiles), the renders in a scrolling strip under them
   ========================================================= */
.rpj-group { padding: 3% 3% 0; }
/* each group is its own CMS block (own wrapper), so siblings are matched on the wrappers */
.cms-section:last-child > .rpj-group { padding-bottom: 80px; }
.rpj-group__title { margin: 0 0 30px !important; font-family: 'Lucky Beauty', serif; font-size: 60px; line-height: 1.2; color: #020202; }
.rpj-project { padding-bottom: 50px; }
.rpj-project + .rpj-project { padding-top: 10px; }
.rpj-group:not(#retal-projects) { border-top: 1px solid #E5E5E5; margin-top: 30px; }

.rpj-project__row { display: flex; align-items: center; gap: 20px; }
.rpj-project__head { flex: 0 0 25%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-inline-end: 10px; }
.rpj-project__title { margin: 0 !important; font-family: 'Lucky Beauty new', 'Lucky Beauty', serif; font-size: 30px; font-weight: 400; line-height: 1.2; color: #020202; text-transform: uppercase; }
.rpj-logos { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.rpj-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin: 0; padding: 20px; border: 1px solid #E5E5E5; background: #fff; }
.rpj-logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

.rpj-gallery { display: flex; gap: 10px; margin-top: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rpj-shot { flex: 0 0 auto; scroll-snap-align: start; }
.rpj-shot img { display: block; height: 320px; width: auto; max-width: none; object-fit: cover; transition: filter .3s; }
.rpj-shot:hover img { filter: brightness(.9); }

@media (max-width: 1199px) {
	.rpj-group__title { font-size: 46px; }
	.rpj-project__title { font-size: 24px; }
}

@media (max-width: 767px) {
	.rpj-group { padding: 30px 10px 0; }
	.rpj-group__title { font-size: 30px; margin-bottom: 20px !important; }
	.rpj-project__row { flex-direction: column; align-items: stretch; }
	.rpj-project__head { flex: none; flex-direction: row; align-items: center; justify-content: space-between; padding: 0; }
	.rpj-project__title { font-size: 20px; }
	.rpj-logo { padding: 10px; }
	.rpj-gallery { margin-top: 20px; }
	.rpj-shot img { height: 200px; }
}
