/* Pu Chapeau — night-garden landing system */

:root {
    --ink: #12161c;
    --ink-soft: #1c232d;
    --mist: #eef2f4;
    --cream: #f7f2ea;
    --champagne: #e8d9c3;
    --champagne-deep: #c9b089;
    --gold: #b9974f;
    --teal: #1f6f6a;
    --teal-deep: #155652;
    --muted: #6a7380;
    --line: rgba(18, 22, 28, 0.10);
    --hero-overlay: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.62) 0%,
        rgba(18, 22, 28, 0.28) 40%,
        rgba(18, 22, 28, 0.82) 100%
    );
    --tile-overlay: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0) 30%,
        rgba(18, 22, 28, 0.28) 55%,
        rgba(18, 22, 28, 0.88) 100%
    );
    --font-display: "Fraunces", "Noto Naskh Arabic", Georgia, serif;
    --font-script: "Pinyon Script", "Fraunces", "Noto Naskh Arabic", cursive;
    --font-body: "Manrope", "Noto Sans Arabic", system-ui, sans-serif;
    --max: 1120px;
    --pad: clamp(20px, 4vw, 40px);
    --radius: 2px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body.bc-landing {
    margin: 0;
    color: var(--muted);
    background: var(--mist);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.bc-landing[dir="rtl"] {
    font-family: "Noto Sans Arabic", "Manrope", sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.bc-wrap {
    min-height: 100vh;
    overflow-x: clip;
}

.bc-container {
    width: min(100% - (var(--pad) * 2), var(--max));
    margin-inline: auto;
}

/* Shared editorial accents */
.bc-script {
    display: block;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.1;
    color: var(--gold);
    margin: 0 0 10px;
}

[dir="rtl"] .bc-script {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    font-weight: 600;
}

.bc-section--ink .bc-script,
.bc-quote .bc-script,
.bc-cta .bc-script,
.bc-hero .bc-script {
    color: var(--champagne-deep);
}

.bc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(232, 217, 195, 0.85);
}

.bc-eyebrow::before,
.bc-eyebrow::after {
    content: "";
    width: clamp(24px, 6vw, 54px);
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.bc-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold);
}

.bc-ornament::before,
.bc-ornament::after {
    content: "";
    height: 1px;
    width: clamp(40px, 14vw, 150px);
    background: linear-gradient(90deg, transparent, currentColor);
}

.bc-ornament::after {
    background: linear-gradient(270deg, transparent, currentColor);
}

.bc-ornament__mark {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border: 1px solid currentColor;
}

/* Header */
.bc-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 20;
    padding: 22px 0;
    transition: background 0.35s var(--ease), padding 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
}

.bc-header.is-scrolled {
    padding: 12px 0;
    background: rgba(18, 22, 28, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(232, 217, 195, 0.14);
}

.bc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bc-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    letter-spacing: -0.03em;
    color: var(--champagne);
    text-decoration: none;
}

.bc-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-nav a {
    color: rgba(232, 217, 195, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.bc-nav a:hover,
.bc-nav a.is-active {
    color: #fff;
}

.bc-lang {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(232, 217, 195, 0.7);
}

.bc-lang a {
    color: inherit;
}

.bc-lang a.is-active {
    color: var(--champagne);
}

/* Hero — full bleed */
.bc-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: var(--ink);
}

.bc-hero__media {
    position: absolute;
    inset: 0;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    animation: bcKenBurns 22s ease-out forwards;
    will-change: transform;
}

.bc-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.bc-hero__frame {
    position: absolute;
    inset: clamp(14px, 2.2vw, 28px);
    border: 1px solid rgba(232, 217, 195, 0.28);
    pointer-events: none;
    z-index: 2;
}

.bc-hero__content {
    position: relative;
    z-index: 3;
    padding: clamp(130px, 20vh, 200px) 0 clamp(80px, 14vh, 120px);
}

.bc-hero .bc-eyebrow,
.bc-hero .bc-script,
.bc-hero__brand,
.bc-hero__headline,
.bc-hero__support,
.bc-hero__cta {
    opacity: 0;
    transform: translateY(22px);
    animation: bcRise 1s var(--ease) forwards;
}

.bc-hero .bc-eyebrow {
    animation-delay: 0.1s;
}

.bc-hero .bc-script {
    animation-delay: 0.2s;
}

.bc-hero__brand {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.2rem, 10.5vw, 7.25rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--champagne);
    animation-delay: 0.3s;
}

.bc-hero__headline {
    margin: 0 0 14px;
    max-width: 18ch;
    font-family: var(--font-display);
    font-weight: 550;
    font-size: clamp(1.45rem, 3.2vw, 2.15rem);
    line-height: 1.25;
    color: #fff;
    animation-delay: 0.42s;
}

.bc-hero__support {
    margin: 0 0 28px;
    max-width: 38ch;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: rgba(255, 255, 255, 0.84);
    animation-delay: 0.54s;
}

.bc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation-delay: 0.66s;
}

.bc-hero__scroll {
    position: absolute;
    inset-inline-end: clamp(30px, 4.5vw, 62px);
    bottom: clamp(80px, 14vh, 120px);
    z-index: 3;
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(232, 217, 195, 0.75);
    writing-mode: vertical-rl;
}

.bc-hero__scroll::after {
    content: "";
    width: 1px;
    height: 62px;
    background: linear-gradient(180deg, var(--champagne-deep), transparent);
    animation: bcPulse 2.4s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .bc-hero__scroll {
        display: flex;
    }
}

/* Buttons */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease;
}

.bc-btn:hover {
    transform: translateY(-1px);
}

.bc-btn--primary {
    background: var(--champagne);
    color: var(--ink);
}

.bc-btn--primary:hover {
    background: #f3e9d8;
}

.bc-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.bc-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.bc-btn--solid {
    background: var(--teal);
    color: #fff;
}

.bc-btn--solid:hover {
    background: var(--teal-deep);
}

.bc-btn--ink {
    background: var(--ink);
    color: var(--champagne);
}

.bc-btn--ink:hover {
    background: var(--ink-soft);
}

.bc-store-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.bc-store-badge {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Sections */
.bc-section {
    padding: clamp(64px, 10vh, 112px) 0;
}

.bc-section--cream {
    background: var(--cream);
}

.bc-section--ink {
    background: var(--ink);
    color: rgba(238, 242, 244, 0.78);
}

.bc-section--ink .bc-section__title,
.bc-section--ink .bc-step__title {
    color: var(--champagne);
}

.bc-section__head {
    max-width: 46rem;
    margin-bottom: clamp(36px, 6vw, 56px);
}

.bc-section__head--center {
    margin-inline: auto;
    text-align: center;
}

.bc-section__head--center .bc-section__lead {
    margin-inline: auto;
}

.bc-section__title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.bc-section__lead {
    margin: 0;
    max-width: 46ch;
    font-size: 1.05rem;
    color: var(--muted);
}

.bc-section--ink .bc-section__lead {
    color: rgba(238, 242, 244, 0.7);
}

/* Vendor tiles */
.bc-vendors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 18px);
}

@media (min-width: 900px) {
    .bc-vendors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bc-vendor {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    isolation: isolate;
}

.bc-vendor__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.4s var(--ease), filter 0.6s ease;
}

.bc-vendor:hover .bc-vendor__img {
    transform: scale(1.09);
}

.bc-vendor::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tile-overlay);
    z-index: 1;
}

.bc-vendor__body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(16px, 2.2vw, 26px);
    color: #fff;
}

.bc-vendor__rule {
    display: block;
    width: 28px;
    height: 1px;
    margin-bottom: 12px;
    background: var(--champagne-deep);
    transition: width 0.5s var(--ease);
}

.bc-vendor:hover .bc-vendor__rule {
    width: 56px;
}

.bc-vendor__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.bc-vendor__desc {
    margin: 6px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

@media (hover: hover) and (min-width: 900px) {
    .bc-vendor__desc {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    }

    .bc-vendor:hover .bc-vendor__desc {
        opacity: 1;
        transform: none;
    }
}

/* Moments mosaic */
.bc-mosaic {
    display: grid;
    gap: clamp(10px, 1.4vw, 18px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bc-mosaic__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink-soft);
}

.bc-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s var(--ease);
}

.bc-mosaic__item:hover img {
    transform: scale(1.05);
}

.bc-mosaic__item--tall {
    grid-row: span 2;
}

.bc-mosaic__item--wide {
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    .bc-mosaic {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: 88px;
    }

    .bc-mosaic__item--tall {
        grid-column: span 5;
        grid-row: span 6;
    }

    .bc-mosaic__item--a {
        grid-column: span 7;
        grid-row: span 3;
    }

    .bc-mosaic__item--b {
        grid-column: span 7;
        grid-row: span 3;
    }

    .bc-mosaic__item--wide {
        grid-column: span 12;
        grid-row: span 4;
    }
}

.bc-mosaic__caption {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 20px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 1px 12px rgba(18, 22, 28, 0.65);
}

.bc-mosaic__item--wide::after,
.bc-mosaic__item--tall::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0) 55%,
        rgba(18, 22, 28, 0.6) 100%
    );
}

/* Split: image + steps */
.bc-split {
    display: grid;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

@media (min-width: 900px) {
    .bc-split {
        grid-template-columns: 0.85fr 1.15fr;
        align-items: start;
    }

    .bc-split--reverse {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .bc-split--reverse .bc-split__media {
        order: 2;
        position: sticky;
        top: 110px;
    }
}

.bc-split__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.bc-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.bc-split__media::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(232, 217, 195, 0.35);
    pointer-events: none;
}

/* How it works */
.bc-steps {
    display: grid;
    gap: 28px;
}

@media (min-width: 768px) {
    .bc-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(24px, 4vw, 44px);
    }
}

.bc-step {
    padding-top: 20px;
    border-top: 1px solid rgba(232, 217, 195, 0.18);
}

.bc-section:not(.bc-section--ink) .bc-step {
    border-top-color: var(--line);
}

.bc-step__index {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--champagne-deep);
}

.bc-step__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}

.bc-step__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Advantage quote over image */
.bc-quote {
    position: relative;
    padding: clamp(96px, 18vh, 180px) 0;
    color: #fff;
    text-align: center;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media (min-width: 1024px) and (hover: hover) {
    .bc-quote {
        background-attachment: fixed;
    }
}

.bc-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.78),
        rgba(18, 22, 28, 0.62)
    );
}

.bc-quote .bc-container {
    position: relative;
    z-index: 2;
}

.bc-quote__title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    letter-spacing: -0.03em;
    color: var(--champagne);
}

.bc-quote__text {
    margin: 0 auto;
    max-width: 34ch;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.bc-quote .bc-ornament {
    margin-top: 32px;
    color: var(--champagne-deep);
}

/* FAQ accordion */
.bc-faq {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.bc-faq__item {
    border-bottom: 1px solid var(--line);
}

.bc-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: 0;
    text-align: start;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
}

.bc-faq__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    position: relative;
}

.bc-faq__icon::before,
.bc-faq__icon::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 100%;
    height: 1.5px;
    background: var(--gold);
    transition: transform 0.25s ease;
}

.bc-faq__icon::after {
    transform: rotate(90deg);
}

.bc-faq__item.is-open .bc-faq__icon::after {
    transform: rotate(0deg);
}

.bc-faq__panel {
    display: none;
    padding: 0 0 22px;
    color: var(--muted);
    max-width: 62ch;
    font-size: 0.98rem;
}

.bc-faq__item.is-open .bc-faq__panel {
    display: block;
}

/* Final CTA */
.bc-cta {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(80px, 14vh, 132px) 0;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.bc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.82),
        rgba(18, 22, 28, 0.92)
    );
}

.bc-cta .bc-container {
    position: relative;
    z-index: 2;
}

.bc-cta__title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--champagne);
}

.bc-cta__text {
    margin: 0 auto 28px;
    max-width: 42ch;
    font-size: 1.05rem;
}

.bc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Footer */
.bc-footer {
    background: var(--ink-soft);
    color: rgba(238, 242, 244, 0.65);
    padding: 40px 0 32px;
}

.bc-footer__inner {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .bc-footer__inner {
        grid-template-columns: 1.2fr 1fr 1fr;
        align-items: start;
    }
}

.bc-footer .bc-brand {
    color: var(--champagne);
}

.bc-footer__links,
.bc-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.bc-footer a:hover {
    color: var(--champagne);
}

.bc-footer__copy {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* Legal pages */
.bc-legal {
    padding: clamp(56px, 9vh, 88px) 0 80px;
    background: var(--mist);
}

.bc-legal__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--ink);
    letter-spacing: -0.03em;
}

.bc-legal__sub {
    margin: 0 0 32px;
    color: var(--muted);
}

.bc-legal__body {
    max-width: 48rem;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.85;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.bc-legal__langs {
    margin-top: 36px;
    display: flex;
    gap: 16px;
}

.bc-legal__langs a {
    font-weight: 700;
    color: var(--muted);
}

.bc-legal__langs a.is-active,
.bc-legal__langs a:hover {
    color: var(--teal);
}

/* Header variant on light pages */
.bc-header--solid {
    position: relative;
    background: var(--ink);
    padding: 18px 0;
}

.bc-header--solid.is-scrolled {
    padding: 18px 0;
}

/* Reveal on scroll */
.bc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.bc-reveal[data-bc-delay="1"] {
    transition-delay: 0.1s;
}

.bc-reveal[data-bc-delay="2"] {
    transition-delay: 0.2s;
}

.bc-reveal[data-bc-delay="3"] {
    transition-delay: 0.3s;
}

.bc-reveal[data-bc-delay="4"] {
    transition-delay: 0.4s;
}

.bc-reveal[data-bc-delay="5"] {
    transition-delay: 0.5s;
}

@keyframes bcRise {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bcKenBurns {
    to {
        transform: scale(1);
    }
}

@keyframes bcPulse {
    0%,
    100% {
        opacity: 0.35;
    }
    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-hero__media,
    .bc-hero .bc-eyebrow,
    .bc-hero .bc-script,
    .bc-hero__brand,
    .bc-hero__headline,
    .bc-hero__support,
    .bc-hero__cta,
    .bc-hero__scroll::after,
    .bc-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 640px) {
    .bc-nav .bc-nav__hide-sm {
        display: none;
    }

    .bc-hero__brand {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .bc-hero__frame {
        inset: 10px;
    }
}
