/* ============================================================================
   BORDERLESS HOME — «بدون مرز»
   Design thesis: the brand name is the layout. Every section draws a fine
   architect-sheet rule (hairline), and content deliberately CROSSES it:
   the hero headline crosses the day/night seam, section titles straddle
   their top rule, portfolio images escape their frames, the ticker runs
   off both screen edges.
   Palette is taken from the firm's own executed work:
     ink #0A0A0C · bone #EFE8D8 · brass #C8A24B (logo gold)
     pool #2F55FF (the executed pool's underwater light — "light" moments only)
   All classes are bh- prefixed; safe next to theme + home-design-premium.css.
   ========================================================================== */

:root {
    --bh-ink: #0A0A0C;
    --bh-ink2: #101015;
    --bh-panel: #14141A;
    --bh-bone: #EFE8D8;
    --bh-mute: rgba(239, 232, 216, .60);
    --bh-faint: rgba(239, 232, 216, .38);
    --bh-brass: #C8A24B;
    --bh-brass2: #E4C468;
    --bh-pool: #2F55FF;
    --bh-pool2: #7D93FF;
    --bh-line: rgba(239, 232, 216, .15);
    --bh-line-strong: rgba(239, 232, 216, .28);
}

/* ---- ground ---- */
.bh-wrap {
    background: var(--bh-ink);
    color: var(--bh-bone);
    overflow-x: clip;
}

.bh-c {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
}

/* menu must stay above everything on this page */
.mega-nav, .mega-menu, .secondary-mega-nav { z-index: 999999; }

/* PERF: the flow circles declare backdrop-filter: blur(20px) inline, but they sit on a flat
   #000 section — the blur is invisible yet costs a GPU blur pass on every pulse frame and
   every scroll (measured: the only dropped frames on the page; Safari suffers most).
   !important in a stylesheet beats a non-important inline declaration. */
.process-diagonal-flow [style*="backdrop-filter"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* display type where the element isn't an h1-h3 (global css forces Shabnam) */
.bm-typo .bh-dis, .bm-typo .bh-dis * {
    font-family: 'Lalezar', 'Shabnam', sans-serif !important;
    font-weight: 400 !important;
}

/* ---- reveal system ---- */
.bh-rev {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}

.bh-rev.in { opacity: 1; transform: none; }

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

/* ---- buttons: drafted rectangles, not web pills ---- */
.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.bh-btn--brass {
    background: var(--bh-brass);
    color: #0A0A0C !important;
}

.bh-btn--brass:hover {
    background: var(--bh-brass2);
    color: #0A0A0C !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(200, 162, 75, .28);
}

.bh-btn--ghost {
    border-color: var(--bh-line-strong);
    color: var(--bh-bone) !important;
    background: transparent;
}

.bh-btn--ghost:hover {
    border-color: var(--bh-brass);
    color: var(--bh-brass2) !important;
    transform: translateY(-2px);
}

.bh-wrap a:focus-visible,
.bh-wrap button:focus-visible {
    outline: 2px solid var(--bh-pool2);
    outline-offset: 3px;
}

/* ---- section skeleton: the rule the title crosses ---- */
.bh-sec {
    position: relative;
    background: var(--bh-ink);
    border-top: 1px solid var(--bh-line);
    padding-bottom: clamp(72px, 8vw, 110px);
}

.bh-head {
    width: max-content;
    max-width: 100%;
    background: var(--bh-ink);
    transform: translateY(-50%);
    padding-inline-end: clamp(16px, 3vw, 34px);
    margin-bottom: clamp(6px, 1.5vw, 18px);
}

.bh-kick {
    display: block;
    color: var(--bh-brass);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 6px;
}

.bh-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.25;
    color: var(--bh-bone);
}

.bh-sub {
    color: var(--bh-mute);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 0 clamp(28px, 3.5vw, 48px);
    line-height: 2;
}

/* ============================================================================
   HERO — day / night diptych of the same executed villa
   ========================================================================== */
.bh-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    min-height: min(88vh, 920px);
    background: var(--bh-ink);
    border-top: 1px solid var(--bh-line);
    transition: grid-template-columns .8s cubic-bezier(.22, .8, .3, 1);
}

@media (hover: hover) and (min-width: 861px) {
    .bh-hero:has(.bh-pane--night:hover) { grid-template-columns: .88fr 1.12fr; }
}

.bh-pane {
    position: relative;
    overflow: hidden;
    min-height: min(92vh, 980px);
}

.bh-pane img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bh-pane--day img { object-position: 52% 34%; }
.bh-pane--night img { object-position: 50% 68%; }

/* legibility veils — no backdrop-filter (perf) */
.bh-pane--day::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, 0) 30%),
        linear-gradient(to left, rgba(10, 10, 12, .84) 0%, rgba(10, 10, 12, .38) 46%, rgba(10, 10, 12, .12) 78%),
        linear-gradient(to top, rgba(10, 10, 12, .78) 0%, rgba(10, 10, 12, 0) 34%);
}

.bh-pane--night::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, .5) 0%, rgba(10, 10, 12, 0) 28%),
        linear-gradient(to top, rgba(10, 10, 12, .72) 0%, rgba(10, 10, 12, 0) 36%);
}

/* the seam — the border the headline refuses to respect */
.bh-pane--night { border-inline-end: 1px solid rgba(200, 162, 75, .6); }

/* panel truth-labels */
.bh-pane-tag {
    position: absolute;
    z-index: 3;
    bottom: 96px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--bh-bone);
    background: rgba(10, 10, 12, .72);
    border: 1px solid var(--bh-line);
    border-radius: 2px;
}

.bh-pane--day .bh-pane-tag { inset-inline-start: clamp(16px, 3vw, 40px); }
.bh-pane--night .bh-pane-tag { inset-inline-end: clamp(16px, 3vw, 40px); }

.bh-pane-tag .sun { color: var(--bh-brass); }
.bh-pane-tag .moon { color: var(--bh-pool2); }

/* headline block — crosses the seam */
.bh-hero-copy {
    position: absolute;
    z-index: 5;
    top: 47%;
    transform: translateY(-50%);
    inset-inline-start: clamp(24px, 6vw, 96px);
    width: min(720px, 86vw);
}

.bh-hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bh-brass);
    font-size: clamp(.95rem, 1.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: .28em;
    margin-bottom: 6px;
}

.bh-hero-kicker::after {
    content: "";
    width: 74px;
    height: 1px;
    background: var(--bh-brass);
    opacity: .7;
}

.bh-hero-title {
    margin: 0 0 14px;
    font-size: clamp(4.2rem, 10.5vw, 9rem);
    line-height: .96;
    color: var(--bh-bone);
    text-shadow: 0 4px 60px rgba(10, 10, 12, .65);
}

/* kicker sits inside the h1 but keeps the body face */
.bm-typo .bh-hero-kicker {
    font-family: 'Shabnam', 'IRANYekanX', sans-serif !important;
}

.bh-hero-sub {
    color: rgba(239, 232, 216, .86);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 2.1;
    max-width: 560px;
    margin: 0 0 26px;
    text-shadow: 0 2px 24px rgba(10, 10, 12, .8);
}

.bh-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.bh-hero-scroll {
    color: var(--bh-faint);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s;
}

.bh-hero-scroll:hover { color: var(--bh-pool2); }

/* proof strip pinned to the hero base — facts only */
.bh-proof {
    position: absolute;
    z-index: 6;
    bottom: 0;
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--bh-line);
    background: rgba(10, 10, 12, .82);
}

.bh-proof-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 62px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--bh-mute);
    text-align: center;
}

.bh-proof-item + .bh-proof-item { border-inline-start: 1px solid var(--bh-line); }

.bh-proof-item b { color: var(--bh-bone); font-weight: 700; }
.bh-proof-item .tick { color: var(--bh-brass); }

/* hot dots — the site's signature annotation, desktop only */
.bh-dot-group { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

.bh-dot {
    position: absolute;
    pointer-events: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(125, 147, 255, .9);
    background: rgba(10, 10, 12, .55);
    color: var(--bh-pool2);
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translate(50%, -50%);
    transition: background .25s, color .25s;
}

.bh-dot::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(47, 85, 255, .55);
    animation: bh-pulse 2.6s ease-out infinite;
}

@keyframes bh-pulse {
    0% { transform: scale(.72); opacity: .9; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .bh-dot::before { animation: none; opacity: .5; }
}

.bh-dot:hover, .bh-hot-item.open .bh-dot {
    background: var(--bh-pool);
    color: #fff;
}

.bh-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    inset-inline-start: 50%;
    transform: translateX(50%) translateY(6px);
    width: 230px;
    background: rgba(10, 10, 12, .94);
    border: 1px solid rgba(125, 147, 255, .4);
    border-radius: 2px;
    padding: 12px 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    text-align: right;
}

.bh-hot-item {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.bh-hot-item .bh-dot { position: static; transform: none; pointer-events: auto; }
.bh-hot-item.open .bh-pop, .bh-hot-item:hover .bh-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}

.bh-pop b {
    display: block;
    color: var(--bh-pool2);
    font-size: .86rem;
    margin-bottom: 4px;
}

.bh-pop span {
    color: var(--bh-mute);
    font-size: .8rem;
    line-height: 1.8;
    display: block;
}

/* ============================================================================
   TICKER — runs off both edges
   ========================================================================== */
.bh-ticker {
    /* the marquee geometry is LTR (track slides to -50%); items stay RTL inside.
       without this, an RTL page pushes the max-content track out of view. */
    direction: ltr;
    border-block: 1px solid var(--bh-line);
    background: var(--bh-ink);
    overflow: hidden;
    padding-block: 16px;
    /* air for the next section's crossing title */
    margin-bottom: 56px;
}

.bh-ticker-track {
    direction: ltr;
    display: flex;
    width: max-content;
    animation: bh-marq 46s linear infinite;
}

.bh-ticker:hover .bh-ticker-track { animation-play-state: paused; }

@keyframes bh-marq {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.bh-ticker-set {
    direction: rtl;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.bh-tick {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding-inline: 13px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--bh-bone);
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s;
}

.bh-tick:hover { color: var(--bh-brass2); }

.bh-tick::after {
    content: "◆";
    font-size: .55rem;
    color: var(--bh-brass);
    opacity: .8;
}

@media (prefers-reduced-motion: reduce) {
    .bh-ticker { overflow-x: auto; }
    .bh-ticker-track { animation: none; width: auto; }
    .bh-ticker-set:last-child { display: none; }
}

/* ============================================================================
   PROJECTS — frames the images escape from
   ========================================================================== */
.bh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 3vw, 40px) clamp(18px, 2.6vw, 34px);
    margin-top: 34px;
}

.bh-card {
    position: relative;
    display: block;
    border: 1px solid var(--bh-line);
    border-radius: 2px;
    padding: 0 16px 18px;
    margin-top: 18px;
    text-decoration: none;
    transition: border-color .35s ease, background .35s ease;
    background: transparent;
}

.bh-card:hover { border-color: rgba(200, 162, 75, .55); background: var(--bh-ink2); }

.bh-card-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    transform: translate(4.5%, -18px);
    transition: transform .45s cubic-bezier(.22, .8, .3, 1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
    background: var(--bh-panel);
}

.bh-card:hover .bh-card-media { transform: translate(0, -10px); }

@media (prefers-reduced-motion: reduce) {
    .bh-card-media, .bh-card:hover .bh-card-media { transform: translate(4.5%, -18px); transition: none; }
}

.bh-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.bh-card:hover .bh-card-media img { transform: scale(1.04); }

.bh-card h3 {
    margin: 8px 0 6px;
    font-size: 1.28rem;
    line-height: 1.55;
    color: var(--bh-bone);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s;
}

.bh-card:hover h3 { color: var(--bh-brass2); }

.bh-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--bh-faint);
    font-size: .84rem;
    font-weight: 700;
}

.bh-card-meta .arr {
    color: var(--bh-brass);
    font-size: 1.05rem;
    transition: transform .3s;
}

.bh-card:hover .bh-card-meta .arr { transform: translateX(-6px); }

.bh-more { margin-top: 40px; text-align: center; }

/* ============================================================================
   PROMISE — طراحی = اجرا (before/after)
   ========================================================================== */
.bh-promise {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.bh-promise-copy h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.4;
    margin: 0 0 18px;
    color: var(--bh-bone);
}

.bh-promise-copy h2 em {
    font-style: normal;
    color: var(--bh-brass);
}

.bh-promise-copy p {
    color: var(--bh-mute);
    line-height: 2.1;
    margin: 0 0 20px;
}

.bh-checks { list-style: none; margin: 0 0 26px; padding: 0; }

.bh-checks li {
    position: relative;
    padding-inline-start: 28px;
    margin-bottom: 12px;
    color: rgba(239, 232, 216, .8);
    line-height: 1.9;
    font-size: .98rem;
}

.bh-checks li::before {
    content: "◆";
    position: absolute;
    inset-inline-start: 2px;
    top: 2px;
    color: var(--bh-brass);
    font-size: .65rem;
}

/* the draggable design/build viewer */
.bh-ba {
    position: relative;
    aspect-ratio: 608 / 520;
    max-width: 680px;
    overflow: hidden;
    border: 1px solid var(--bh-line-strong);
    border-radius: 2px;
    touch-action: none;
    cursor: ew-resize;
    user-select: none;
    --p: 50;
}

.bh-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* top layer = the RENDER, revealed from the right (RTL start):
   the right --p% stays visible, the rest is clipped from the left */
.bh-ba-top {
    position: absolute;
    inset: 0;
    display: block;
    clip-path: inset(0 0 0 calc(100% - var(--p) * 1%));
}

.bh-ba-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(var(--p) * 1%);
    width: 2px;
    margin-right: -1px;
    background: var(--bh-brass);
    z-index: 3;
    pointer-events: none;
}

.bh-ba-bar::after {
    content: "⇄";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bh-brass);
    color: #0A0A0C;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .5);
}

.bh-ba-tag {
    position: absolute;
    top: 14px;
    z-index: 4;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 2px;
    background: rgba(10, 10, 12, .78);
    border: 1px solid var(--bh-line);
    pointer-events: none;
}

.bh-ba-tag--design { right: 14px; color: var(--bh-pool2); }
.bh-ba-tag--build { left: 14px; color: var(--bh-brass2); }

.bh-ba-cap {
    margin-top: 12px;
    color: var(--bh-faint);
    font-size: .85rem;
    line-height: 1.9;
}

/* ============================================================================
   SERVICES — index rows with hover preview
   ========================================================================== */
.bh-svc-list { border-bottom: 1px solid var(--bh-line); margin-top: 10px; }

.bh-svc {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 340px) 1fr auto auto;
    gap: clamp(14px, 3vw, 40px);
    align-items: center;
    padding: clamp(20px, 2.6vw, 30px) 6px;
    border-top: 1px solid var(--bh-line);
    text-decoration: none;
    transition: background .3s;
}

.bh-svc:hover { background: var(--bh-ink2); }

.bh-svc h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    line-height: 1.5;
    color: var(--bh-bone);
    transition: color .3s;
}

.bh-svc:hover h3 { color: var(--bh-brass2); }

.bh-svc p {
    margin: 0;
    color: var(--bh-mute);
    font-size: .95rem;
    line-height: 1.9;
}

.bh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 1px solid rgba(200, 162, 75, .4);
    border-radius: 2px;
    color: var(--bh-brass2);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.bh-svc .arr {
    color: var(--bh-faint);
    font-size: 1.35rem;
    transition: transform .3s, color .3s;
}

.bh-svc:hover .arr { color: var(--bh-brass); transform: translateX(-8px); }

.bh-svc-prev {
    position: absolute;
    z-index: 5;
    inset-inline-end: clamp(120px, 22vw, 340px);
    top: 50%;
    width: 240px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--bh-line-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translateY(-50%) rotate(-4deg) scale(.92);
    transition: opacity .35s ease, transform .45s cubic-bezier(.22, .8, .3, 1);
    pointer-events: none;
    display: none;
}

@media (hover: hover) and (min-width: 1024px) {
    .bh-svc-prev { display: block; }

    .bh-svc:hover .bh-svc-prev {
        opacity: 1;
        transform: translateY(-50%) rotate(-1.5deg) scale(1);
    }
}

/* ============================================================================
   PROCESS — one brass line, five stations
   ========================================================================== */
.bh-line-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(14px, 2vw, 28px);
    margin-top: 46px;
}

.bh-line-track::before {
    content: "";
    position: absolute;
    top: 26px;
    inset-inline: 26px;
    height: 1px;
    background: linear-gradient(to left, var(--bh-brass), rgba(200, 162, 75, .25));
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 1.4s cubic-bezier(.22, .8, .3, 1) .2s;
}

.bh-line-track.in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
    .bh-line-track::before { transform: scaleX(1); transition: none; }
}

.bh-step { position: relative; }

.bh-step-n {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(200, 162, 75, .55);
    background: var(--bh-ink);
    color: var(--bh-brass);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.bh-step h3 {
    font-size: 1.18rem;
    margin: 0 0 8px;
    color: var(--bh-bone);
    line-height: 1.6;
}

.bh-step p {
    margin: 0;
    color: var(--bh-mute);
    font-size: .88rem;
    line-height: 1.95;
}

.bh-step-note {
    margin-top: 34px;
    color: var(--bh-faint);
    font-size: .88rem;
}

.bh-step-note b { color: var(--bh-brass2); }

/* ============================================================================
   EXECUTED — real-photo rail, edge to edge
   ========================================================================== */
.bh-rail-outer { position: relative; }

.bh-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 8px clamp(20px, 4vw, 48px) 22px;
    scrollbar-width: none;
}

.bh-rail::-webkit-scrollbar { display: none; }

.bh-shot {
    flex: 0 0 auto;
    width: min(380px, 74vw);
    scroll-snap-align: center;
    margin: 0;
}

.bh-shot-media {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--bh-line);
    border-radius: 2px;
    background: var(--bh-panel);
}

.bh-shot-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.bh-shot:hover .bh-shot-media img { transform: scale(1.04); }

.bh-shot-real {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    padding: 5px 10px;
    background: rgba(10, 10, 12, .78);
    border: 1px solid rgba(200, 162, 75, .45);
    border-radius: 2px;
    color: var(--bh-brass2);
    font-size: .72rem;
    font-weight: 700;
}

.bh-shot figcaption {
    margin-top: 10px;
    color: var(--bh-mute);
    font-size: .88rem;
    line-height: 1.8;
}

/* ============================================================================
   SHOP + MAGAZINE wrappers (components keep their own internals)
   ========================================================================== */
.bh-compwrap { padding-top: 6px; }

/* the legacy wrapper carried a bottom:120px overlap hack for the OLD page flow —
   in the new flow it would paint the whole section 120px too high */
.bh-compwrap.featured-products-marble { bottom: auto !important; }

/* pane heights follow the section, not the old full-viewport hero */
.bh-pane { min-height: min(88vh, 920px); }

/* ============================================================================
   FINAL CTA — full bleed night pool
   ========================================================================== */
.bh-final {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: grid;
    place-items: center;
    text-align: center;
    border-top: 1px solid var(--bh-line);
}

.bh-final > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 74%;
}

.bh-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, .86) 0%, rgba(10, 10, 12, .55) 45%, rgba(10, 10, 12, .82) 100%);
}

.bh-final-copy {
    position: relative;
    z-index: 2;
    padding: clamp(70px, 9vw, 120px) 20px;
    max-width: 760px;
}

.bh-final-copy h2 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--bh-bone);
}

.bh-final-copy h2 em {
    font-style: normal;
    color: var(--bh-brass2);
}

.bh-final-copy p {
    color: rgba(239, 232, 216, .8);
    line-height: 2.1;
    margin: 0 0 30px;
    font-size: 1.05rem;
}

.bh-final-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 26px;
}

.bh-final-meta {
    color: var(--bh-faint);
    font-size: .9rem;
}

.bh-final-meta a { color: var(--bh-mute); text-decoration: none; }
.bh-final-meta a:hover { color: var(--bh-brass2); }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .bh-grid { grid-template-columns: repeat(2, 1fr); }

    .bh-svc { grid-template-columns: minmax(180px, 280px) 1fr auto; }
    .bh-svc .bh-chip { display: none; }
}

@media (max-width: 860px) {
    /* hero folds: copy first, then the diptych as two tall slats */
    .bh-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto minmax(52vh, 560px) auto;
        min-height: 0;
    }

    .bh-hero-copy {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        padding: 40px 20px 30px;
    }

    .bh-hero-title { font-size: clamp(3.6rem, 17vw, 5.4rem); }

    .bh-pane { min-height: 0; grid-row: 2; }
    .bh-pane--day { grid-column: 2; }
    .bh-pane--night { grid-column: 1; border-inline-end: none; border-inline-start: 1px solid rgba(200, 162, 75, .6); }

    .bh-pane--day::after { background: linear-gradient(to top, rgba(10, 10, 12, .7) 0%, rgba(10, 10, 12, 0) 40%); }

    .bh-pane-tag { bottom: 14px; padding: 6px 10px; font-size: .7rem; }
    .bh-pane--day .bh-pane-tag { inset-inline-start: 12px; }
    .bh-pane--night .bh-pane-tag { inset-inline-end: 12px; }

    .bh-dot-group { display: none; }

    .bh-proof {
        position: static;
        grid-column: 1 / -1;
        grid-row: 3;
        grid-template-columns: 1fr 1fr;
    }

    .bh-proof-item { justify-content: flex-start; text-align: right; border-inline-start: none !important; min-height: 54px; }
    .bh-proof-item:nth-child(even) { border-inline-start: 1px solid var(--bh-line) !important; }
    .bh-proof-item:nth-child(n+3) { border-top: 1px solid var(--bh-line); }

    .bh-tick { font-size: 1.2rem; }

    .bh-promise { grid-template-columns: 1fr; }
    .bh-ba { max-width: none; }

    .bh-grid { grid-template-columns: 1fr; gap: 30px; }

    .bh-svc { grid-template-columns: 1fr auto; row-gap: 6px; }
    .bh-svc p { grid-column: 1 / -1; }

    .bh-line-track { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }

    .bh-line-track::before {
        top: 26px;
        bottom: 26px;
        height: auto;
        width: 1px;
        inset-inline: auto;
        inset-inline-start: 26px;
        background: linear-gradient(to bottom, var(--bh-brass), rgba(200, 162, 75, .25));
        transform: scaleY(0);
        transform-origin: top center;
    }

    .bh-line-track.in::before { transform: scaleY(1); }

    .bh-step { padding-inline-start: 76px; }
    .bh-step-n { position: absolute; inset-inline-start: 0; top: 0; margin-bottom: 0; }

    .bh-final { min-height: 440px; }
}

@media (max-width: 480px) {
    .bh-hero-cta .bh-btn { flex: 1 1 auto; }
    .bh-shot { width: 82vw; }
}
