/* ═══════════════════════════════════════════════════════════
   RREBELL — berlin.css
   Scope : body.page-berlin  (applied via $bodyClass)
   Mobile-first. Scale up.
   ═══════════════════════════════════════════════════════════ */

.page-berlin *,
.page-berlin *::before,
.page-berlin *::after { box-sizing: border-box; }

.page-berlin img { display: block; max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.bl-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050505;
}

.bl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bl-hero__img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.bl-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,.6) 0%,
        rgba(0,0,0,.5) 50%,
        rgba(0,0,0,.8) 100%
    );
}

.bl-hero__inner {
    position: relative;
    z-index: 2;
    padding: clamp(80px, 15vw, 140px) 20px clamp(60px, 10vw, 100px);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.bl-eyebrow {
    font-family: var(--font-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}

.bl-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 10vw, 7rem);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.035em;
    color: #fff;
    margin: 0 0 20px;
    overflow-wrap: break-word;
}

.bl-hero__word { display: block; }

.bl-accent { color: var(--primary-accent, #ff005a); }

/* glitch effect — reduced motion safe */
.bl-glitch {
    position: relative;
}

@media (prefers-reduced-motion: no-preference) {
    .bl-glitch::after {
        content: attr(data-text);
        position: absolute;
        left: 3px; top: 0;
        color: var(--primary-accent, #ff005a);
        clip-path: inset(20% 0 30% 0);
        animation: bl-glitch 4s infinite linear;
        opacity: .4;
        pointer-events: none;
    }

    @keyframes bl-glitch {
        0%, 80%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
        82% { clip-path: inset(20% 0 30% 0); transform: translateX(-4px); }
        84% { clip-path: inset(60% 0 10% 0); transform: translateX(4px); }
        86% { clip-path: inset(40% 0 50% 0); transform: none; }
    }
}

.bl-hero__sub {
    font-family: var(--font-body);
    font-size: clamp(.9rem, 2.5vw, 1.1rem);
    line-height: 1.78;
    color: rgba(255,255,255,.65);
    max-width: 560px;
    margin: 0 0 28px;
    overflow-wrap: break-word;
}

/* hero nav pills */
.bl-hero__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-nav-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    font-family: var(--font-accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    background: rgba(255,255,255,.06);
    transition: border-color .15s, color .15s, background .15s;
}

.bl-nav-pill:hover {
    border-color: var(--primary-accent, #ff005a);
    color: #fff;
    background: rgba(255,0,90,.1);
}

.bl-nav-pill:focus-visible {
    outline: 2px solid var(--secondary-accent, #00eeff);
    outline-offset: 2px;
}

/* scroll indicator */
.bl-scroll {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--font-accent);
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
}

.bl-scroll__line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.3));
}

/* ═══════════════════════════════════════════════════════════
   PAGE BODY WRAP
   ═══════════════════════════════════════════════════════════ */
.bl-wrap {
    overflow-x: hidden;
}

/* anchor offset for sticky header */
.bl-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SOUNDCLOUD EMBED
   ═══════════════════════════════════════════════════════════ */
.bl-sc {
    padding: clamp(32px, 6vw, 56px) 20px;
    max-width: 800px;
    margin: 0 auto;
}

.bl-sc__frame {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    overflow: hidden;
}

.bl-sc__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.bl-sc__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-accent, #ff005a);
    flex-shrink: 0;
}

.bl-sc__label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

.bl-sc__title {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-left: auto;
}

.bl-sc__embed {
    background: #000;
}

/* iframe must not overflow */
.bl-sc__embed iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: none;
}

.bl-sc__note {
    font-size: .78rem;
    color: rgba(255,255,255,.3);
    text-align: center;
    margin-top: 12px;
    overflow-wrap: break-word;
}

/* ═══════════════════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════════════════ */
.bl-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto 0;
}

.bl-divider__line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.07);
    min-width: 0;
}

.bl-divider__label {
    flex-shrink: 0;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    text-align: center;
    overflow-wrap: break-word;
    max-width: 240px;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.bl-section {
    padding: clamp(40px, 7vw, 80px) 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.bl-eye {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary-accent, #ff005a);
    margin-bottom: 12px;
}

.bl-eye span { color: rgba(255,255,255,.2); }

.bl-sec-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(1.6rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 16px;
    overflow-wrap: break-word;
}

.bl-sec-title em {
    font-style: normal;
    color: var(--primary-accent, #ff005a);
}

.bl-rule {
    width: 36px; height: 3px;
    background: var(--primary-accent, #ff005a);
    border-radius: 2px;
    margin-bottom: 28px;
}

/* ── Body text ──────────────────────────────────────────── */
.bl-body {
    margin-bottom: 24px;
}

.bl-body p {
    font-size: clamp(.9rem, 2vw, 1rem);
    line-height: 1.7;
    color: rgba(255,255,255,.65);
    margin: 0 0 16px;
    overflow-wrap: break-word;
}

.bl-body strong { color: #fff; }
.bl-body em { color: rgba(255,255,255,.85); }
.bl-body a { color: var(--secondary-accent, #00eeff); }

/* ── Two col ────────────────────────────────────────────── */
.bl-two-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .bl-two-col {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .bl-two-col > * { flex: 1; min-width: 0; }
}

/* ── Three col ──────────────────────────────────────────── */
.bl-three-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 540px) {
    .bl-three-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .bl-three-col { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Cards ──────────────────────────────────────────────── */
.bl-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 18px;
}

.bl-card__eye {
    display: block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-accent, #ff005a);
    margin-bottom: 6px;
}

.bl-card__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    overflow-wrap: break-word;
}

.bl-card p {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(255,255,255,.55);
    margin: 0;
    overflow-wrap: break-word;
}

/* ── Wide card ──────────────────────────────────────────── */
.bl-wide-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.09);
    border-left: 3px solid var(--primary-accent, #ff005a);
    border-radius: 8px;
    padding: clamp(20px, 4vw, 32px);
    margin-bottom: 24px;
}

.bl-wide-card h3 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(.95rem, 2.5vw, 1.15rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    overflow-wrap: break-word;
}

.bl-wide-card p {
    font-size: .9rem;
    line-height: 1.65;
    color: rgba(255,255,255,.6);
    margin: 0 0 12px;
    overflow-wrap: break-word;
}

.bl-wide-card p:last-child { margin-bottom: 0; }
.bl-wide-card p strong { color: #fff; }

/* ── Statement block ────────────────────────────────────── */
.bl-statement {
    background: rgba(255,0,90,.04);
    border: 1px solid rgba(255,0,90,.15);
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.bl-statement__eye {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--primary-accent, #ff005a);
    margin-bottom: 8px;
}

.bl-statement p {
    font-size: .88rem;
    line-height: 1.65;
    color: rgba(255,255,255,.6);
    margin: 0;
    overflow-wrap: break-word;
}

.bl-statement p strong { color: #fff; }

/* ── Tags — overflow safe ───────────────────────────────── */
.bl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.bl-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── Images ─────────────────────────────────────────────── */
.bl-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    margin-bottom: 16px;
}

.bl-img--full {
    aspect-ratio: 16/7;
    border-radius: 10px;
    margin-top: 24px;
    margin-bottom: 24px;
}

/* ─── Quote ─────────────────────────────────────────────── */
.bl-quote-wrap {
    padding: clamp(40px, 7vw, 72px) 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bl-quote {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(1.2rem, 4.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 12px;
    overflow-wrap: break-word;
}

.bl-quote em {
    font-style: normal;
    color: var(--primary-accent, #ff005a);
}

.bl-quote__cite {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    font-style: normal;
}

/* ═══════════════════════════════════════════════════════════
   ESCAPE GRID
   ═══════════════════════════════════════════════════════════ */
.bl-escape-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 540px) {
    .bl-escape-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .bl-escape-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.bl-escape-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-escape-num {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .15em;
    color: var(--primary-accent, #ff005a);
}

.bl-escape-card h3 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(.9rem, 2.5vw, 1rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    overflow-wrap: break-word;
}

.bl-escape-card p {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(255,255,255,.55);
    margin: 0;
    flex: 1;
    overflow-wrap: break-word;
}

/* ═══════════════════════════════════════════════════════════
   AI PROMPT GRID
   ═══════════════════════════════════════════════════════════ */
.bl-prompt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 600px) {
    .bl-prompt-grid { grid-template-columns: 1fr 1fr; }
}

.bl-prompt-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-top: 2px solid var(--primary-accent, #ff005a);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-prompt-label {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-accent, #ff005a);
}

.bl-prompt-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    overflow-wrap: break-word;
}

.bl-prompt-card > p {
    font-size: .82rem;
    line-height: 1.55;
    color: rgba(255,255,255,.45);
    margin: 0;
    overflow-wrap: break-word;
}

/* prompt text — key overflow fix for long quoted strings */
.bl-prompt-text {
    font-size: .82rem;
    line-height: 1.65;
    color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.25);
    border-radius: 6px;
    padding: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   MERCH CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.bl-merch {
    padding: clamp(40px, 7vw, 80px) 0;
    overflow: hidden;
}

.bl-merch__head {
    padding: 0 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bl-merch__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px;
}

.bl-merch__sub {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
    margin: 0;
}

.bl-merch__swiper {
    padding-bottom: 40px !important;
}

/* Swiper slides */
.bl-merch-card {
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}

.bl-merch-card__img {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.bl-merch-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.bl-merch-card:hover .bl-merch-card__img img {
    transform: scale(1.03);
}

.bl-merch-card__caption {
    padding: 16px;
}

.bl-merch-card__caption h4 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}

.bl-merch-card__caption p {
    font-size: .78rem;
    color: rgba(255,255,255,.45);
    margin: 0;
}

.bl-merch__note {
    padding: 16px 20px 0;
    font-size: .78rem;
    color: rgba(255,255,255,.3);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    overflow-wrap: break-word;
}

/* Swiper custom styles */
.bl-merch__swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,.3);
    opacity: 1;
}

.bl-merch__swiper .swiper-pagination-bullet-active {
    background: var(--primary-accent, #ff005a);
}

.bl-merch__swiper .swiper-button-prev,
.bl-merch__swiper .swiper-button-next {
    color: rgba(255,255,255,.6);
    width: 44px; height: 44px;
}

.bl-merch__swiper .swiper-button-prev::after,
.bl-merch__swiper .swiper-button-next::after {
    font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════ */
.bl-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}

.bl-reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .bl-reveal { opacity: 1; transform: none; transition: none; }
}
