/* =====================================================================
   Bosk Furniture — Product & Project showcase pages
   Used by product.php and project-details.php (body.sc-page).
   Brand palette: brown #532A1A · gold #C2A773 · ink #2b2419 · cream #f7f3ec
   Class prefixes:  sc-  shared   ·   pd-  product   ·   pj-  project
   ===================================================================== */

.sc-page {
    --bk-brown: #532A1A;
    --bk-brown-2: #6e3a22;
    --bk-gold: #C2A773;
    --bk-gold-soft: #eadcc0;
    --bk-ink: #2b2419;
    --bk-text: #5f574d;
    --bk-muted: #8a7d75;
    --bk-cream: #f7f3ec;
    --bk-cream-2: #fbf8f3;
    --bk-line: #ece3d2;
    --bk-radius: 20px;
    --bk-shadow: 0 24px 60px -30px rgba(83, 42, 26, .45);
    --bk-shadow-sm: 0 10px 26px -16px rgba(83, 42, 26, .45);
    --bk-ease: cubic-bezier(.22, .61, .36, 1);
}

/* The theme paints the body dark and uppercases headings: every showcase
   section sets its own background and heading case. */
.sc-page .sc-section { position: relative; background: #fff; padding: 80px 0; }
.sc-page .sc-section.is-cream { background: var(--bk-cream-2); }
.sc-page .sc-section h1,
.sc-page .sc-section h2,
.sc-page .sc-section h3,
.sc-page .sc-section h4 { text-transform: none; letter-spacing: 0; color: var(--bk-ink); }
.sc-page .sc-section a,
.sc-page .sc-section a:hover,
.sc-page .sc-section a:focus { text-decoration: none; }
@media (max-width: 991px) { .sc-page .sc-section { padding: 60px 0; } }
@media (max-width: 575px) { .sc-page .sc-section { padding: 48px 0; } }

/* ---------- Shared type ---------- */
.sc-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--bk-gold);
    margin-bottom: 14px;
}
.sc-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.sc-eyebrow.no-rule::before { display: none; }

.sc-title {
    font-family: Montserrat, sans-serif; font-weight: 700;
    font-size: clamp(26px, 3.1vw, 38px); line-height: 1.18; margin: 0 0 16px;
}
.sc-sub { font-size: 15.5px; line-height: 1.8; color: var(--bk-text); max-width: 640px; margin: 0; }
.sc-head { margin-bottom: 44px; }
.sc-head.is-center { text-align: center; }
.sc-head.is-center .sc-sub { margin: 0 auto; }
.sc-head.is-center .sc-eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }

/* Rich text written in the admin (paragraphs, lists, sub-headings) */
.sc-rich { font-size: 15.5px; line-height: 1.9; color: var(--bk-text); }
.sc-rich p { margin: 0 0 18px; line-height: 1.9; }
.sc-rich p:last-child { margin-bottom: 0; }
.sc-rich h2, .sc-rich h3, .sc-rich h4, .sc-rich h5 {
    font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; color: var(--bk-ink);
    text-transform: none; margin: 30px 0 14px; display: flex; align-items: center; gap: 10px;
}
.sc-rich h2::before, .sc-rich h3::before, .sc-rich h4::before, .sc-rich h5::before {
    content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--bk-gold); flex: 0 0 auto;
}
.sc-rich ul, .sc-rich ol { margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.sc-rich ul li, .sc-rich ol li {
    list-style: none; position: relative; padding: 12px 16px 12px 48px; margin: 0;
    background: var(--bk-cream-2); border: 1px solid var(--bk-line); border-radius: 12px;
    line-height: 1.6; color: #4a3f38;
}
.sc-rich ul li::before {
    content: "\f00c"; font-family: FontAwesome; position: absolute; left: 14px; top: 50%;
    width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
    background: var(--bk-brown); color: #fff; font-size: 11px; line-height: 22px; text-align: center;
}
.sc-rich ol { counter-reset: sc-ol; }
.sc-rich ol li::before {
    counter-increment: sc-ol; content: counter(sc-ol); position: absolute; left: 14px; top: 50%;
    width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
    background: var(--bk-gold); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center;
}
.sc-rich a { color: var(--bk-brown); font-weight: 600; border-bottom: 1px solid var(--bk-gold-soft); }
.sc-rich a:hover { color: var(--bk-gold); }

/* ---------- Buttons ---------- */
.sc-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: Montserrat, sans-serif; font-size: 14.5px; font-weight: 700; letter-spacing: .3px;
    border-radius: 40px; padding: 15px 28px; border: 1.5px solid transparent; cursor: pointer;
    transition: transform .3s var(--bk-ease), box-shadow .3s var(--bk-ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.sc-btn i { font-size: 17px; }
.sc-btn::after {
    content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .35) 50%, transparent 100%);
    transform: skewX(-20deg); transition: left .7s ease;
}
.sc-btn:hover::after { left: 140%; }
.sc-btn:hover { transform: translateY(-2px); }
.sc-btn:active { transform: translateY(0) scale(.99); }
.sc-btn-wa { background: #25D366; color: #fff !important; box-shadow: 0 16px 30px -14px rgba(37, 211, 102, .9); }
.sc-btn-wa:hover { background: #1ebe5b; box-shadow: 0 20px 34px -14px rgba(37, 211, 102, .95); }
.sc-btn-wa i { font-size: 20px; }
.sc-btn-dark { background: var(--bk-brown); color: #fff !important; box-shadow: 0 16px 30px -16px rgba(83, 42, 26, .9); }
.sc-btn-dark:hover { background: var(--bk-brown-2); }
.sc-btn-line { background: #fff; color: var(--bk-brown) !important; border-color: var(--bk-brown); }
.sc-btn-line:hover { background: var(--bk-brown); color: #fff !important; }
.sc-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.sc-btn-ghost:hover { background: #fff; color: var(--bk-brown) !important; border-color: #fff; }
.sc-btn:focus-visible { outline: 3px solid var(--bk-gold); outline-offset: 3px; }
.sc-btn, .sc-btn:hover, .sc-btn:focus, .sc-link, .sc-link:hover, .sc-link:focus { text-decoration: none !important; }
/* Bootstrap's reboot rings every clicked button; keep rings for keyboard users only */
.sc-page button:focus:not(:focus-visible), .sc-page a:focus:not(:focus-visible), .pd-stage:focus:not(:focus-visible) { outline: none; }

.sc-link {
    display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif;
    font-size: 14px; font-weight: 700; color: var(--bk-brown) !important;
}
.sc-link i { transition: transform .3s var(--bk-ease); }
.sc-link:hover { color: var(--bk-gold) !important; }
.sc-link:hover i { transform: translateX(4px); }

/* ---------- Breadcrumb strip (replaces the generic 50vh banner) ---------- */
.sc-crumbs { background: var(--bk-cream); border-bottom: 1px solid var(--bk-line); padding: 18px 0; }
.sc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sc-crumbs li { list-style: none; margin: 0; font-size: 13px; font-weight: 600; color: var(--bk-muted); display: inline-flex; align-items: center; gap: 10px; }
.sc-crumbs li + li::before { content: "\f105"; font-family: FontAwesome; color: var(--bk-gold); font-size: 13px; }
.sc-crumbs a { color: var(--bk-text) !important; text-decoration: none !important; transition: color .2s ease; }
.sc-crumbs a:hover { color: var(--bk-brown) !important; }
.sc-crumbs li[aria-current] { color: var(--bk-brown); }

/* ---------- Page header band (breadcrumb + title) ---------- */
.sc-pagehead {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, var(--bk-cream) 0%, var(--bk-cream-2) 60%, #fff 100%);
    border-bottom: 1px solid var(--bk-line); padding: 26px 0 52px;
}
.sc-pagehead::before {
    content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 167, 115, .22) 0%, rgba(194, 167, 115, 0) 70%);
}
.sc-pagehead.is-dark {
    background: var(--bk-ink); border-bottom: 0; padding: 30px 0 60px;
}
.sc-pagehead.is-dark::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: radial-gradient(60% 120% at 85% 0%, rgba(83, 42, 26, .8) 0%, rgba(43, 36, 25, 0) 70%);
}
.sc-pagehead .sc-crumbs { background: transparent; border: 0; padding: 0 0 18px; }
.sc-pagehead.is-dark .sc-crumbs li { color: rgba(255, 255, 255, .6); }
.sc-pagehead.is-dark .sc-crumbs a { color: rgba(255, 255, 255, .85) !important; }
.sc-pagehead.is-dark .sc-crumbs a:hover { color: var(--bk-gold) !important; }
.sc-pagehead.is-dark .sc-crumbs li[aria-current] { color: var(--bk-gold); }
.sc-pagehead-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--bk-gold); margin-bottom: 14px; }
.sc-pagehead-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.sc-pagehead h1 {
    font-family: Montserrat, sans-serif; font-weight: 700; text-transform: none; letter-spacing: -.5px;
    font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 0; color: var(--bk-ink); text-wrap: balance;
}
.sc-pagehead.is-dark h1 { color: #fff; }
.sc-pagehead p { margin: 16px 0 0; font-size: 16px; line-height: 1.8; color: var(--bk-text); max-width: 640px; }
.sc-pagehead.is-dark p { color: rgba(255, 255, 255, .78); }

/* ---- Photo banner variant (set $hero_bg) ---- */
.sc-pagehead.has-bg { padding: 58px 0 66px; }
.sc-pagehead.has-bg::before { display: none; } /* drop the gold blob over a photo */
.sc-pagehead-bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    filter: saturate(1.02) brightness(.94);   /* tame very bright photos a touch */
}
/* Readable dark wash over ANY photo (incl. light-toned ones): a strong
   horizontal scrim keeps the text column dark while the right still shows
   the photo, plus a bottom fade so the sub-line never sits on a bright spot. */
.sc-pagehead.has-bg::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(26, 21, 14, .95) 0%, rgba(32, 26, 18, .9) 44%, rgba(43, 36, 25, .74) 66%, rgba(60, 38, 24, .5) 100%),
        linear-gradient(0deg, rgba(26, 21, 14, .6) 0%, rgba(26, 21, 14, 0) 45%);
}
.sc-pagehead.has-bg .container { position: relative; }
/* Safety net so text stays legible even over the lightest photo */
.sc-pagehead.has-bg .sc-crumbs,
.sc-pagehead.has-bg .sc-pagehead-eyebrow,
.sc-pagehead.has-bg h1,
.sc-pagehead.has-bg p { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
@media (max-width: 991px) {
    .sc-pagehead.has-bg { padding: 44px 0 52px; }
    /* Text stacks full-width on phones/tablets, so darken more evenly. */
    .sc-pagehead.has-bg::after {
        background:
            linear-gradient(175deg, rgba(26, 21, 14, .9) 0%, rgba(32, 26, 18, .84) 50%, rgba(43, 36, 25, .9) 100%);
    }
}
@media (max-width: 575px) { .sc-pagehead.has-bg { padding: 30px 0 40px; } }
.sc-pagehead .sc-pagehead-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 575px) { .sc-pagehead { padding: 20px 0 40px; } }

/* ---------- Feature / value grid ---------- */
.sc-features { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sc-feature {
    background: #fff; border: 1px solid var(--bk-line); border-radius: 18px; padding: 28px 26px;
    box-shadow: var(--bk-shadow-sm); transition: transform .4s var(--bk-ease), box-shadow .4s var(--bk-ease);
}
.sc-feature:hover { transform: translateY(-6px); box-shadow: var(--bk-shadow); }
.sc-feature-ic { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(150deg, #f3e9da, #fff); color: var(--bk-brown); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--bk-line); }
.sc-feature h3 { font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; color: var(--bk-ink); margin: 0 0 10px; }
.sc-feature p { font-size: 14.5px; line-height: 1.75; color: var(--bk-text); margin: 0; }

/* ---------- Full-width CTA strip ---------- */
.sc-strip {
    position: relative; overflow: hidden; isolation: isolate; border-radius: 24px;
    background: linear-gradient(135deg, var(--bk-brown) 0%, var(--bk-brown-2) 55%, #3a1e12 100%);
    color: #fff; padding: 52px 48px; text-align: center;
}
.sc-strip::before { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 167, 115, .4) 0%, rgba(194, 167, 115, 0) 70%); }
.sc-strip h2 { font-family: Montserrat, sans-serif; font-weight: 700; text-transform: none; color: #fff; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 14px; }
.sc-strip p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .85); margin: 0 auto 26px; max-width: 560px; }
.sc-strip .sc-strip-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 575px) { .sc-strip { padding: 40px 24px; } }

/* ---------- Empty state ---------- */
.sc-empty { text-align: center; max-width: 460px; margin: 20px auto; padding: 40px 24px; }
.sc-empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--bk-cream); color: var(--bk-gold); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.sc-empty h3 { font-family: Montserrat, sans-serif; font-size: 22px; font-weight: 700; color: var(--bk-ink); margin: 0 0 10px; }
.sc-empty p { font-size: 15px; line-height: 1.7; color: var(--bk-text); margin: 0 0 24px; }
.sc-404-num {
    display: block; font-family: Montserrat, sans-serif; font-weight: 700; line-height: 1; letter-spacing: -4px;
    font-size: clamp(96px, 16vw, 156px); color: transparent; -webkit-text-stroke: 2px var(--bk-gold); margin-bottom: 18px;
}
a.sc-feature, a.sc-feature:hover, a.sc-feature:focus { display: block; color: inherit !important; text-decoration: none !important; }

/* ---------- Document pages (warranty / policy text) ----------
   Legal wording stays exactly as written; this only makes it readable. */
.sc-page .sc-doc { background: var(--bk-cream-2); padding: 70px 0 90px; }
.sc-page .sc-doc > .container {
    max-width: 920px; background: #fff; border: 1px solid var(--bk-line); border-radius: 24px;
    padding: 48px 56px; box-shadow: var(--bk-shadow-sm);
}
.sc-page .sc-doc p, .sc-page .sc-doc li, .sc-page .sc-doc td { font-size: 15.5px; line-height: 1.9; color: #4a3f38; }
.sc-page .sc-doc p { margin: 0 0 18px; }
.sc-page .sc-doc b, .sc-page .sc-doc strong { color: var(--bk-ink); font-weight: 700; }
.sc-page .sc-doc h2, .sc-page .sc-doc h3, .sc-page .sc-doc h4 { font-family: Montserrat, sans-serif; text-transform: none; color: var(--bk-ink); line-height: 1.3; margin: 28px 0 12px; }
.sc-page .sc-doc table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--bk-line); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.sc-page .sc-doc th { background: var(--bk-brown); color: #fff; font-family: Montserrat, sans-serif; font-size: 13.5px; font-weight: 600; text-align: left; padding: 14px 16px; }
.sc-page .sc-doc td { padding: 12px 16px; border-top: 1px solid var(--bk-line); background: #fff; }
.sc-page .sc-doc tr:nth-child(even) td { background: var(--bk-cream-2); }
@media (max-width: 767px) {
    .sc-page .sc-doc { padding: 40px 0 60px; }
    .sc-page .sc-doc > .container { padding: 28px 20px; border-radius: 18px; margin-left: 12px; margin-right: 12px; width: auto; }
    .sc-page .sc-doc p, .sc-page .sc-doc li, .sc-page .sc-doc td { font-size: 15px; }
    .sc-page .sc-doc table { display: block; overflow-x: auto; }
}

/* ---------- Filter pills ---------- */
.sc-filters { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 0 30px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-filters::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .sc-filters { flex-wrap: wrap; justify-content: center; } }
.sc-filters a {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; color: var(--bk-brown) !important;
    background: #fff; border: 1.5px solid var(--bk-line); border-radius: 30px; padding: 9px 18px;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .25s var(--bk-ease), box-shadow .3s ease;
}
.sc-filters a:hover { transform: translateY(-2px); border-color: var(--bk-gold); box-shadow: var(--bk-shadow-sm); }
.sc-filters a.is-active { background: var(--bk-brown); color: #fff !important; border-color: var(--bk-brown); box-shadow: 0 8px 18px -8px rgba(83, 42, 26, .6); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.sc-js .sc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--bk-ease), transform .8s var(--bk-ease); }
.sc-js .sc-reveal.is-in { opacity: 1; transform: none; }
.sc-js .sc-reveal[data-delay="1"] { transition-delay: .08s; }
.sc-js .sc-reveal[data-delay="2"] { transition-delay: .16s; }
.sc-js .sc-reveal[data-delay="3"] { transition-delay: .24s; }
.sc-js .sc-reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Cards (related products / projects / collections) ---------- */
.sc-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sc-grid.is-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 680px) { .sc-grid, .sc-grid.is-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; } }
.sc-nowrap { white-space: nowrap; }
.sc-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--bk-line); box-shadow: var(--bk-shadow-sm);
    transition: transform .4s var(--bk-ease), box-shadow .4s var(--bk-ease);
    color: inherit !important; text-decoration: none !important; height: 100%;
}
.sc-card:hover { transform: translateY(-6px); box-shadow: var(--bk-shadow); }
.sc-card .sc-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bk-cream); }
.sc-card .sc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--bk-ease); }
.sc-card:hover .sc-card-img img { transform: scale(1.07); }
.sc-card .sc-card-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(43, 36, 25, 0) 55%, rgba(43, 36, 25, .45) 100%);
    opacity: 0; transition: opacity .4s ease;
}
.sc-card:hover .sc-card-img::after { opacity: 1; }
.sc-card .sc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sc-card .sc-card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--bk-gold); margin-bottom: 6px; }
.sc-card h3 { font-family: Montserrat, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 14px; color: var(--bk-ink); }
.sc-card .sc-card-desc { font-size: 14px; line-height: 1.7; color: var(--bk-text); margin: 0 0 16px; }
.sc-card .sc-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--bk-brown); }
.sc-card .sc-card-more i { transition: transform .3s var(--bk-ease); }
.sc-card:hover .sc-card-more { color: var(--bk-gold); }
.sc-card:hover .sc-card-more i { transform: translateX(4px); }
.sc-card.is-current { outline: 2px solid var(--bk-gold); outline-offset: -2px; }

/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
.sc-page .sc-section.pd-hero { padding: 48px 0 24px; background: linear-gradient(180deg, var(--bk-cream-2) 0%, #fff 420px); }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 1199px) { .pd-layout { gap: 40px; } }
@media (max-width: 991px)  { .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; } .sc-page .sc-section.pd-hero { padding: 28px 0 60px; } }

/* ---- Gallery (stays in view while the details column scrolls) ---- */
.pd-gallery { position: sticky; top: 146px; }
@media (max-width: 991px) { .pd-gallery { position: relative; top: auto; } }
.pd-stage {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--bk-radius); overflow: hidden;
    background: var(--bk-cream); box-shadow: var(--bk-shadow); isolation: isolate; outline: none;
    touch-action: pan-y;
}
.pd-stage:focus-visible { box-shadow: var(--bk-shadow), 0 0 0 3px var(--bk-gold); }
.pd-slide {
    position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
    transition: opacity .6s var(--bk-ease), visibility 0s linear .6s; cursor: zoom-in;
}
.pd-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--bk-ease), visibility 0s; z-index: 1; }
/* Soft blurred copy fills the frame so portrait and landscape photos are never cropped */
.pd-slide .pd-fill {
    position: absolute; inset: -30px; background-size: cover; background-position: center;
    filter: blur(28px) saturate(1.1); opacity: .55; transform: scale(1.05);
}
.pd-slide img {
    position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block;
    transition: transform 1.2s var(--bk-ease);
}
.pd-stage:hover .pd-slide.is-active img { transform: scale(1.03); }

.pd-nav {
    position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px;
    border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--bk-brown);
    display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55); opacity: 0;
    transition: opacity .3s ease, transform .3s var(--bk-ease), background .25s ease, color .25s ease;
}
.pd-nav.is-prev { left: 16px; transform: translateX(-8px); }
.pd-nav.is-next { right: 16px; transform: translateX(8px); }
.pd-stage:hover .pd-nav, .pd-stage:focus-within .pd-nav { opacity: 1; transform: none; }
.pd-nav:hover { background: var(--bk-brown); color: #fff; }
.pd-nav:focus-visible { opacity: 1; transform: none; outline: 3px solid var(--bk-gold); outline-offset: 2px; }
@media (hover: none) { .pd-nav { opacity: 1; transform: none; width: 40px; height: 40px; margin-top: -20px; } }

.pd-badge {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(43, 36, 25, .72); color: #fff; backdrop-filter: blur(6px);
    font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .4px;
    border-radius: 30px; padding: 8px 14px; pointer-events: none;
}
.pd-badge.is-count { left: 16px; bottom: 16px; }
.pd-badge.is-zoom { right: 16px; bottom: 16px; }
.pd-badge i { color: var(--bk-gold); }

.pd-thumbs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.pd-thumb {
    flex: 0 0 auto; width: 92px; height: 72px; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer;
    border: 2px solid transparent; background: var(--bk-cream); opacity: .62;
    transition: opacity .3s ease, border-color .3s ease, transform .3s var(--bk-ease), box-shadow .3s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; transform: translateY(-3px); }
.pd-thumb.is-active { opacity: 1; border-color: var(--bk-brown); box-shadow: 0 10px 20px -12px rgba(83, 42, 26, .8); }
.pd-thumb:focus-visible { outline: 3px solid var(--bk-gold); outline-offset: 2px; }
@media (max-width: 575px) { .pd-thumb { width: 72px; height: 58px; } }

/* ---- Info panel ---- */
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.pd-cat {
    display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--bk-gold) !important; transition: color .2s ease;
}
.pd-cat::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.pd-cat:hover { color: var(--bk-brown) !important; }
.pd-pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
    color: var(--bk-brown); background: #f3e9da; border-radius: 30px; padding: 5px 12px;
}
.pd-title {
    font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15; margin: 0 0 18px; color: var(--bk-ink);
    overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance;
}
.pd-lead { font-size: 16px; line-height: 1.85; color: var(--bk-text); margin: 0 0 22px; }
.pd-lead a { color: var(--bk-brown); font-weight: 600; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.pd-chips li {
    list-style: none; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--bk-brown);
    background: #fff; border: 1px solid var(--bk-line); border-radius: 30px; padding: 6px 14px;
    transition: border-color .25s ease, background .25s ease;
}
.pd-chips li::before { content: "#"; color: var(--bk-gold); margin-right: 2px; }
.pd-chips li:hover { border-color: var(--bk-gold); background: var(--bk-cream-2); }

.pd-quote {
    background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius);
    padding: 24px; box-shadow: var(--bk-shadow-sm);
}
.pd-quote-note { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.65; color: #4a3f38; margin: 0 0 18px; }
.pd-quote-note i { flex: 0 0 auto; margin-top: 3px; color: var(--bk-gold); font-size: 18px; }
.pd-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.pd-actions .sc-btn { width: 100%; }
@media (max-width: 480px) { .pd-actions { grid-template-columns: 1fr; } }

.pd-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-perks li {
    list-style: none; margin: 0; text-align: center; background: var(--bk-cream-2);
    border-radius: 14px; padding: 16px 8px 14px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--bk-ink);
    transition: transform .3s var(--bk-ease), background .3s ease;
}
.pd-perks li:hover { transform: translateY(-3px); background: #f3e9da; }
.pd-perks li i { display: block; font-size: 20px; color: var(--bk-brown); margin-bottom: 8px; }
@media (max-width: 380px) { .pd-perks { grid-template-columns: 1fr; } .pd-perks li { display: flex; gap: 12px; align-items: center; text-align: left; } .pd-perks li i { margin: 0; } }

.pd-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; }
.pd-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--bk-text) !important; }
.pd-links a i { color: var(--bk-gold); }
.pd-links a:hover { color: var(--bk-brown) !important; }

/* ---- Details ---- */
.pd-details-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 991px) { .pd-details-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.pd-facts {
    background: var(--bk-ink); color: #efe7da; border-radius: var(--bk-radius); padding: 30px 28px;
    box-shadow: var(--bk-shadow); position: relative; overflow: hidden;
}
.pd-facts::before {
    content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 167, 115, .35) 0%, rgba(194, 167, 115, 0) 70%);
}
.pd-facts h3 { color: #fff !important; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; margin: 0 0 18px; position: relative; }
.pd-facts ul { margin: 0; padding: 0; position: relative; }
.pd-fact { list-style: none; margin: 0; display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pd-fact:first-child { border-top: 0; padding-top: 0; }
.pd-fact i { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: rgba(194, 167, 115, .16); color: var(--bk-gold); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pd-fact .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #b9ab94; margin: 0 0 3px; }
.pd-fact .v { display: block; font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.5; }
.pd-fact .v a { color: var(--bk-gold) !important; }
.pd-fact .v a:hover { color: #fff !important; }
/* When the description has nothing beyond its lead, the facts run full width */
.pd-details-grid.is-facts-only { grid-template-columns: minmax(0, 1fr); }
.pd-details-grid.is-facts-only .pd-facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 28px; }
.pd-details-grid.is-facts-only .pd-fact { border-top: 0; padding-top: 0; }

/* ---- Process steps ---- */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: sc-step; }
.sc-steps::before {
    content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--bk-gold) 0 8px, transparent 8px 16px); opacity: .6;
}
.sc-step { list-style: none; margin: 0; position: relative; text-align: center; padding: 0 6px; }
.sc-step-icon {
    position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
    background: #fff; border: 2px solid var(--bk-gold-soft); color: var(--bk-brown);
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: 0 12px 26px -16px rgba(83, 42, 26, .7);
    transition: transform .4s var(--bk-ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.sc-step:hover .sc-step-icon { transform: translateY(-4px) rotate(-6deg); background: var(--bk-brown); color: #fff; border-color: var(--bk-brown); }
.sc-step-icon::after {
    counter-increment: sc-step; content: counter(sc-step);
    position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--bk-gold); color: #fff; font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.sc-step h3 { font-family: Montserrat, sans-serif; font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.sc-step p { font-size: 14px; line-height: 1.7; color: var(--bk-text); margin: 0; }
.sc-steps-foot { text-align: center; margin-top: 40px; }
@media (max-width: 991px) {
    .sc-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .sc-steps::before { display: none; }
}
@media (max-width: 480px) {
    .sc-steps { grid-template-columns: 1fr; gap: 26px; }
    .sc-step { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; text-align: left; align-items: center; }
    .sc-step-icon { margin: 0; grid-row: span 2; }
    .sc-step h3 { margin-bottom: 4px; }
}

/* =====================================================================
   PROJECT PAGE
   ===================================================================== */
.pj-hero { position: relative; background: var(--bk-ink); color: #fff; overflow: hidden; isolation: isolate; }
.pj-hero-bg {
    position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center;
    filter: blur(34px) saturate(1.15); opacity: .38; transform: scale(1.08);
}
.pj-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(43, 36, 25, .97) 0%, rgba(43, 36, 25, .9) 45%, rgba(83, 42, 26, .7) 100%);
}
.pj-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 70px 0 90px; }
@media (max-width: 991px) { .pj-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 0 64px; } }

.pj-crumbs ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.pj-crumbs li { list-style: none; margin: 0; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); display: inline-flex; align-items: center; gap: 10px; }
.pj-crumbs li + li::before { content: "\f105"; font-family: FontAwesome; color: var(--bk-gold); }
.pj-crumbs a { color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; }
.pj-crumbs a:hover { color: var(--bk-gold) !important; }

.pj-hero .sc-eyebrow { color: var(--bk-gold); }
.pj-title {
    font-family: Montserrat, sans-serif; font-weight: 700; color: #fff !important; text-transform: none !important;
    font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 22px; letter-spacing: -.5px; text-wrap: balance;
}
.pj-title span { color: var(--bk-gold); display: block; font-size: .5em; font-weight: 600; letter-spacing: 0; margin-top: 12px; line-height: 1.3; }
.pj-lead { font-size: 16.5px; line-height: 1.85; color: rgba(255, 255, 255, .8); margin: 0 0 32px; max-width: 560px; }
.pj-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.pj-hero-media { position: relative; }
.pj-hero-frame {
    position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; width: 100%;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); cursor: zoom-in; border: 1px solid rgba(255, 255, 255, .12);
}
.pj-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--bk-ease); }
.pj-hero-frame:hover img { transform: scale(1.05); }
.pj-hero-media::before {
    content: ""; position: absolute; left: -22px; bottom: -22px; width: 55%; height: 55%;
    border: 2px solid var(--bk-gold); border-radius: 26px; opacity: .55; z-index: -1;
}
.pj-hero-tag {
    position: absolute; right: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .94); color: var(--bk-brown); border-radius: 30px; padding: 9px 16px;
    font-family: Montserrat, sans-serif; font-size: 12.5px; font-weight: 700; pointer-events: none;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.pj-hero-tag i { color: var(--bk-gold); }
.pj-hero-float {
    position: absolute; left: -26px; bottom: 34px; z-index: 2; background: #fff; color: var(--bk-ink); border-radius: 18px;
    padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: 290px;
    box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .65);
}
.pj-hero-float i { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--bk-brown); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pj-hero-float b { display: block; font-family: Montserrat, sans-serif; font-size: 14.5px; font-weight: 700; color: var(--bk-ink); }
.pj-hero-float small { display: block; font-size: 12.5px; color: var(--bk-muted); line-height: 1.45; margin-top: 2px; }
@media (max-width: 991px) {
    .pj-hero-frame { aspect-ratio: 4 / 3; }
    .pj-hero-media::before { display: none; }
    .pj-hero-float { left: 14px; bottom: 14px; }
}
@media (max-width: 480px) { .pj-hero-float { position: relative; left: auto; bottom: auto; margin-top: -30px; margin-left: 14px; margin-right: 14px; max-width: none; } }

/* Scope strip under the hero */
.pj-scope { background: #fff; position: relative; z-index: 2; }
.pj-scope-list {
    list-style: none; margin: -46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--bk-radius); box-shadow: var(--bk-shadow); border: 1px solid var(--bk-line); overflow: hidden;
}
.pj-scope-list li {
    list-style: none; margin: 0; padding: 26px 24px; display: flex; gap: 14px; align-items: center;
    border-left: 1px solid var(--bk-line); transition: background .3s ease;
}
.pj-scope-list li:first-child { border-left: 0; }
.pj-scope-list li:hover { background: var(--bk-cream-2); }
.pj-scope-list i { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: #f3e9da; color: var(--bk-brown); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.pj-scope-list b { display: block; font-family: Montserrat, sans-serif; font-size: 14.5px; font-weight: 700; color: var(--bk-ink); line-height: 1.3; }
.pj-scope-list small { display: block; font-size: 12.5px; color: var(--bk-muted); line-height: 1.45; margin-top: 3px; }
@media (max-width: 991px) {
    .pj-scope-list { grid-template-columns: repeat(2, 1fr); margin-top: -36px; }
    .pj-scope-list li:nth-child(3) { border-left: 0; }
    .pj-scope-list li:nth-child(n+3) { border-top: 1px solid var(--bk-line); }
}
@media (max-width: 480px) {
    .pj-scope-list { grid-template-columns: 1fr; }
    .pj-scope-list li { border-left: 0; }
    .pj-scope-list li + li { border-top: 1px solid var(--bk-line); }
}

/* Design planning: editorial two-column text */
.pj-plan { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.pj-plan-head { position: sticky; top: 150px; }
.pj-plan-body { border-left: 2px solid var(--bk-line); padding-left: 44px; }
.pj-plan-body > p:first-child { font-size: 19px; line-height: 1.75; color: var(--bk-ink); }
.pj-plan + .pj-story { margin-top: 110px; }
@media (max-width: 991px) {
    .pj-plan { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .pj-plan-head { position: static; }
    .pj-plan-body { border-left: 0; padding-left: 0; }
    .pj-plan-body > p:first-child { font-size: 17px; }
    .pj-plan + .pj-story { margin-top: 70px; }
}
.pj-story-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

/* Story blocks: image + text, alternating */
.pj-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.pj-story + .pj-story { margin-top: 100px; }
.pj-story.is-text { grid-template-columns: minmax(0, 1fr); }
.pj-story.is-flip .pj-story-media { order: 2; }
@media (max-width: 991px) {
    .pj-story { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .pj-story.is-flip .pj-story-media { order: 0; }
    .pj-story + .pj-story { margin-top: 64px; }
}
.pj-story-media { position: relative; }
.pj-story-frame {
    position: relative; display: block; border-radius: var(--bk-radius); overflow: hidden; aspect-ratio: 4 / 5;
    box-shadow: var(--bk-shadow); cursor: zoom-in; background: var(--bk-cream);
}
.pj-story-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--bk-ease); }
.pj-story-frame:hover img { transform: scale(1.05); }
.pj-story-frame .pd-badge { right: 16px; bottom: 16px; left: auto; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.pj-story-frame:hover .pd-badge, .pj-story-frame:focus-visible .pd-badge { opacity: 1; transform: none; }
@media (hover: none) { .pj-story-frame .pd-badge { opacity: 1; transform: none; } }
.pj-story-media::after {
    content: ""; position: absolute; right: -18px; top: -18px; width: 42%; height: 42%; z-index: -1;
    border-radius: 24px; background: repeating-linear-gradient(45deg, var(--bk-gold-soft) 0 2px, transparent 2px 12px); opacity: .9;
}
.pj-story.is-flip .pj-story-media::after { right: auto; left: -18px; }
@media (max-width: 575px) { .pj-story-media::after { display: none; } }
.pj-num { font-family: Montserrat, sans-serif; font-size: 64px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--bk-gold-soft); display: block; margin-bottom: 10px; }

/* Project gallery (both photos, opens the lightbox) */
.pj-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.pj-gallery.is-two { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 767px) { .pj-gallery.is-two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pj-gallery.is-two { grid-template-columns: 1fr; } }
.pj-shot { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bk-cream); box-shadow: var(--bk-shadow-sm); cursor: zoom-in; }
.pj-gallery.is-two .pj-shot { aspect-ratio: auto; height: 460px; }
@media (max-width: 767px) { .pj-gallery.is-two .pj-shot { height: 300px; } }
.pj-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--bk-ease); }
.pj-shot::after {
    content: "\f00e"; font-family: FontAwesome; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; background: rgba(43, 36, 25, .45); opacity: 0; transition: opacity .35s ease;
}
.pj-shot:hover img { transform: scale(1.06); }
.pj-shot:hover::after, .pj-shot:focus-visible::after { opacity: 1; }

/* Previous / next project */
.pj-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.pj-pager a {
    display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: #fff;
    border: 1px solid var(--bk-line); box-shadow: var(--bk-shadow-sm); color: inherit !important;
    transition: transform .35s var(--bk-ease), box-shadow .35s var(--bk-ease);
}
.pj-pager a:hover { transform: translateY(-4px); box-shadow: var(--bk-shadow); }
.pj-pager a.is-next { flex-direction: row-reverse; text-align: right; grid-column: 2; }
.pj-pager img { width: 84px; height: 72px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.pj-pager small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bk-gold); margin-bottom: 4px; }
.pj-pager b { display: block; font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 700; color: var(--bk-ink); line-height: 1.35; }
@media (max-width: 575px) { .pj-pager { grid-template-columns: 1fr; } .pj-pager a.is-next { grid-column: auto; } }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */
.hm-hero { position: relative; background: var(--bk-ink); color: #fff; overflow: hidden; isolation: isolate; }
.hm-hero-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(30px) saturate(1.1); opacity: .35; transform: scale(1.08); }
.hm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(43, 36, 25, .97) 0%, rgba(43, 36, 25, .88) 48%, rgba(83, 42, 26, .62) 100%); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; padding: 84px 0 110px; }
@media (max-width: 991px) { .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 52px 0 86px; } }
.hm-hero .sc-eyebrow { color: var(--bk-gold); }
.hm-title {
    font-family: Montserrat, sans-serif; font-weight: 700; color: #fff !important; text-transform: none !important;
    font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -1px; margin: 0 0 22px; text-wrap: balance;
}
.hm-title span { color: var(--bk-gold); }
.hm-lead { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .8); margin: 0 0 34px; max-width: 540px; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hm-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; }
.hm-trust li { list-style: none; margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hm-trust li i { color: var(--bk-gold); }

/* Photo mosaic: one tall photo + two stacked */
.hm-mosaic { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 540px; }
.hm-mosaic::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 48%; height: 46%; border: 2px solid var(--bk-gold); border-radius: 26px; opacity: .5; z-index: -1; }
.hm-tile, .hm-tile:hover, .hm-tile:focus, .hm-feature-img, .hm-feature-img:hover { text-decoration: none !important; }
.hm-tile { position: relative; display: block; overflow: hidden; border-radius: 20px; background: #3a3024; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .1); }
.hm-tile:first-child { grid-row: span 2; }
.hm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--bk-ease); }
.hm-tile:hover img { transform: scale(1.06); }
.hm-tile-tag {
    position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255, 255, 255, .94); color: var(--bk-brown); border-radius: 30px; padding: 7px 13px;
    font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
}
.hm-tile-tag i { color: var(--bk-gold); }
.hm-float {
    position: absolute; right: -14px; top: 26px; z-index: 3; background: #fff; color: var(--bk-ink); border-radius: 18px; padding: 14px 18px;
    display: flex; gap: 12px; align-items: center; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .7);
}
.hm-float i { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--bk-brown); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hm-float b { display: block; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; }
.hm-float small { display: block; font-size: 12px; color: var(--bk-muted); margin-top: 2px; }
@media (max-width: 991px) { .hm-mosaic { height: 440px; } .hm-float { right: 10px; } }
@media (max-width: 575px) {
    .hm-mosaic { height: 320px; gap: 10px; }
    .hm-mosaic::before { display: none; }
    .hm-tile { border-radius: 14px; }
    .hm-float { top: auto; bottom: -18px; right: 10px; padding: 10px 14px; }
    .hm-float i { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px; }
}

/* Featured product (split) */
.hm-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 991px) { .hm-feature { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.hm-feature-img { position: relative; display: block; border-radius: var(--bk-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bk-cream); box-shadow: var(--bk-shadow); }
.hm-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--bk-ease); }
.hm-feature-img:hover img { transform: scale(1.05); }
.hm-feature h3 { font-family: Montserrat, sans-serif; font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; line-height: 1.15; color: var(--bk-ink); margin: 0 0 16px; text-transform: none; }
.hm-feature p { font-size: 15.5px; line-height: 1.85; color: var(--bk-text); margin: 0 0 26px; }
.hm-feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-more { margin-top: 56px; }

/* Project spotlight (used when there is a single project) */
.hm-spot { position: relative; display: block; border-radius: 24px; overflow: hidden; min-height: 460px; box-shadow: var(--bk-shadow); color: #fff !important; text-decoration: none !important; }
.hm-spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--bk-ease); }
.hm-spot:hover img { transform: scale(1.04); }
.hm-spot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 36, 25, .92) 0%, rgba(43, 36, 25, .55) 45%, rgba(43, 36, 25, 0) 75%); }
.hm-spot-body { position: relative; z-index: 2; max-width: 520px; padding: 56px 52px; }
.hm-spot-body .sc-eyebrow { color: var(--bk-gold); }
.sc-page .hm-spot-body h3 { font-family: Montserrat, sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.15; color: #fff; margin: 0 0 14px; text-transform: none; }
.hm-spot-body p { font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, .82); margin: 0 0 26px; }
@media (max-width: 767px) {
    .hm-spot { min-height: 0; }
    .hm-spot img { position: relative; height: 260px; }
    .hm-spot::after { display: none; }
    .hm-spot-body { background: var(--bk-ink); padding: 28px 24px 30px; max-width: none; }
}

/* About teaser */
.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 991px) { .hm-about { grid-template-columns: minmax(0, 1fr); gap: 34px; } }
.hm-about-media { position: relative; }
.hm-about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bk-radius); box-shadow: var(--bk-shadow); display: block; }
.hm-about-media::after { content: ""; position: absolute; right: -18px; top: -18px; width: 40%; height: 40%; z-index: -1; border-radius: 24px; background: repeating-linear-gradient(45deg, var(--bk-gold-soft) 0 2px, transparent 2px 12px); }
.hm-about-badge {
    position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); border-radius: 16px; padding: 14px 18px;
    display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6);
}
.hm-about-badge strong { font-family: Montserrat, sans-serif; font-size: 30px; font-weight: 700; color: var(--bk-brown); line-height: 1; }
.hm-about-badge span { font-size: 12.5px; font-weight: 600; color: var(--bk-text); line-height: 1.35; }
.hm-points { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 12px; }
.hm-points li { list-style: none; margin: 0; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: #4a3f38; }
.hm-points li i { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--bk-brown); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* Testimonials scroller */
.sc-scroller-wrap { position: relative; }
.sc-quotes {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sc-quotes::-webkit-scrollbar { display: none; }
@media (max-width: 991px) { .sc-quotes { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 575px) { .sc-quotes { grid-auto-columns: 86%; gap: 16px; } }
.sc-quote {
    scroll-snap-align: start; position: relative; background: #fff; border: 1px solid var(--bk-line); border-radius: 20px;
    padding: 30px 28px 26px; box-shadow: var(--bk-shadow-sm); display: flex; flex-direction: column;
}
.sc-quote::before { content: "\f10d"; font-family: FontAwesome; font-size: 26px; color: var(--bk-gold-soft); margin-bottom: 14px; }
.sc-quote-stars { color: var(--bk-gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.sc-quote p { font-size: 14.5px; line-height: 1.8; color: #4a3f38; margin: 0 0 22px; flex: 1; }
.sc-quote-who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--bk-line); }
.sc-quote-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--bk-brown), var(--bk-gold)); color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.sc-quote-who b { display: block; font-family: Montserrat, sans-serif; font-size: 15px; color: var(--bk-ink); }
.sc-quote-who small { display: block; font-size: 12.5px; color: var(--bk-muted); }
.sc-scroll-btns { display: flex; gap: 10px; }
.sc-scroll-btn {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--bk-line); background: #fff; color: var(--bk-brown);
    display: inline-flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--bk-ease);
}
.sc-scroll-btn:hover { background: var(--bk-brown); color: #fff; border-color: var(--bk-brown); transform: translateY(-2px); }

/* Partner logos marquee */
.hm-marquee { position: relative; overflow: hidden; background: #fff; border-top: 1px solid var(--bk-line); padding: 34px 0; }
/* Edge fades are white overlays (a mask would expose the theme's dark body background) */
.hm-marquee::before, .hm-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.hm-marquee::before { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }
.hm-marquee::after { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }
.hm-marquee-track { display: flex; width: max-content; animation: hm-marquee 38s linear infinite; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-marquee-set { display: flex; align-items: center; gap: 70px; padding-right: 70px; }
.hm-marquee-set img { height: 46px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s ease, opacity .3s ease; }
.hm-marquee-set img:hover { filter: none; opacity: 1; }
@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .hm-marquee-track { animation: none; }
    .sc-page *, .sc-page *::before, .sc-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .sc-js .sc-reveal { opacity: 1; transform: none; }
}
