/* ═══════════════════════════════════════════════════
   BookJune Theme Styles
   Layout-specific and page-level styles
   ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   Header — Editorial Luxury Layout (Lacemade-inspired)
   3 tiers: Announcement | Logo Row | Nav Row
   ═══════════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--bj-z-sticky);
    background: var(--bj-white);
    border-bottom: 1px solid var(--bj-border);
    height: auto;
    transition: box-shadow var(--bj-duration-base) var(--bj-ease);
}

.site-header.scrolled {
    box-shadow: var(--bj-shadow-md);
}

/* ─── Announcement Bar ────────────────────────────── */
.site-header__announcement {
    background: var(--bj-rose);
    color: var(--bj-charcoal);
    padding: 8px var(--bj-gutter);
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bj-rose-dark);
}

.site-header__announcement-inner {
    max-width: var(--bj-container-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--bj-space-sm);
    flex-wrap: wrap;
}

.site-header__announcement-divider {
    color: var(--bj-charcoal);
    opacity: 0.5;
}

/* ─── Logo Row (Tier 2) ───────────────────────────── */
.site-header__logo-row {
    background: var(--bj-white);
    padding: var(--bj-space-lg) var(--bj-gutter);
}

.site-header__logo-row-inner {
    max-width: var(--bj-container-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--bj-space-md);
}

.site-header__logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--bj-duration-fast) var(--bj-ease);
}

.site-header__logo-link:hover {
    opacity: 0.85;
}

.site-header__logo picture,
.site-header__logo-link picture {
    display: block;
    line-height: 0;
}

.site-header__logo img,
.site-header__logo-img {
    height: 110px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-header__logo-img--raster {
    height: 130px;
}

.site-header__logo-text {
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-xl);
    font-weight: 600;
    color: var(--bj-charcoal);
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* CTA on right of logo row */
.site-header__cta {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
}

.site-header__cta-btn {
    padding: 12px 28px !important;
    font-size: var(--bj-text-xs) !important;
    letter-spacing: 0.12em !important;
}

/* ─── Navigation Row (Tier 3) ─────────────────────── */
.site-header__nav-row {
    background: var(--bj-white);
    border-top: 1px solid var(--bj-border);
    padding: 0 var(--bj-gutter);
}

.site-header__nav-row .site-nav__list {
    max-width: var(--bj-container-wide);
    margin: 0 auto;
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: var(--bj-space-2xl);
    height: 56px;
}

.site-header__nav-row .site-nav__list > li {
    display: flex;
    align-items: center;
    height: 100%;
}

/* ─── Mobile menu toggle (hidden on desktop) ──────── */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--bj-charcoal);
    grid-column: 1;
    justify-self: start;
    align-self: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.menu-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all var(--bj-duration-base) var(--bj-ease);
}

/* Hide mobile drawer on desktop */
.site-nav--mobile {
    display: none;
}

/* ─── Tablet & Mobile (≤1024px) ───────────────────── */
@media (max-width: 1024px) {
    .site-header__announcement {
        font-size: 11px;
        padding: 6px var(--bj-gutter);
    }

    .site-header__logo-row {
        padding: var(--bj-space-md) var(--bj-gutter);
    }

    .site-header__logo img,
    .site-header__logo-img {
        height: 70px;
    }

    .site-header__logo-img--raster {
        height: 80px;
    }

    /* Hide desktop nav row */
    .site-header__nav-row {
        display: none;
    }

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Hide CTA button text on mobile, keep button compact */
    .site-header__cta-btn {
        padding: 10px 18px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 640px) {
    .site-header__logo img,
    .site-header__logo-img {
        height: 56px;
    }

    .site-header__logo-img--raster {
        height: 64px;
    }

    .site-header__announcement-divider {
        display: none;
    }

    .site-header__announcement-inner {
        flex-direction: column;
        gap: 2px;
    }
}

/* ─── Dropdown menu (Our Services) ────────────────── */
.site-nav__item--has-dropdown {
    position: relative;
}

.site-nav__link--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

.site-nav__chevron {
    transition: transform var(--bj-duration-base) var(--bj-ease);
    flex-shrink: 0;
}

.site-nav__item--has-dropdown:hover .site-nav__chevron,
.site-nav__item--has-dropdown:focus-within .site-nav__chevron {
    transform: rotate(180deg);
}

.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: var(--bj-white);
    border: 1px solid var(--bj-border);
    box-shadow: var(--bj-shadow-lg);
    padding: var(--bj-space-sm) 0;
    z-index: var(--bj-z-dropdown);
    opacity: 0;
    visibility: hidden;
    transition: all var(--bj-duration-base) var(--bj-ease);
    pointer-events: none;
}

.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown:focus-within .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.site-nav__dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__dropdown-link {
    display: block;
    padding: 10px var(--bj-space-lg);
    font-family: var(--bj-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--bj-charcoal);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all var(--bj-duration-fast) var(--bj-ease);
    white-space: nowrap;
}

.site-nav__dropdown-link:hover {
    background: var(--bj-rose-light);
    color: var(--bj-charcoal);
    padding-left: calc(var(--bj-space-lg) + 4px);
}

.site-nav__dropdown-link--all {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: var(--bj-gold, #C9A96E);
}

.site-nav__dropdown-divider {
    height: 1px;
    background: var(--bj-border);
    margin: var(--bj-space-xs) 0;
    list-style: none;
}

/* Transparent header dropdown — keep dropdown solid white */
body.has-transparent-header .site-nav__dropdown {
    background: var(--bj-white);
    border-color: var(--bj-border);
}

body.has-transparent-header .site-nav__dropdown-link {
    color: var(--bj-charcoal);
}

/* ─── Nav Link Styles (shared desktop + mobile) ───── */
.site-nav__link {
    font-family: var(--bj-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--bj-charcoal);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: var(--bj-space-xs) 0;
    position: relative;
    transition: color var(--bj-duration-fast) var(--bj-ease);
    white-space: nowrap;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--bj-gold, #C9A96E);
    transition: all var(--bj-duration-base) var(--bj-ease);
    transform: translateX(-50%);
}

.site-nav__link:hover {
    color: var(--bj-gold, #C9A96E);
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--bj-space-xs);
    cursor: pointer;
    color: var(--bj-charcoal);
}

.menu-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all var(--bj-duration-base) var(--bj-ease);
}

/* ─── Mobile Drawer ──────────────────────────────── */
@media (max-width: 1024px) {
    .site-nav--mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bj-white);
        padding: 100px var(--bj-gutter) var(--bj-space-2xl);
        transform: translateX(-100%);
        transition: transform var(--bj-duration-base) var(--bj-ease);
        z-index: var(--bj-z-overlay);
        overflow-y: auto;
    }

    .site-nav--mobile.is-open {
        transform: translateX(0);
    }

    .site-nav--mobile .site-nav__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .site-nav--mobile .site-nav__list > li {
        width: 100%;
        border-bottom: 1px solid var(--bj-border);
    }

    .site-nav--mobile .site-nav__link {
        font-size: var(--bj-text-lg);
        display: block;
        padding: var(--bj-space-md) 0;
        text-align: center;
        letter-spacing: 0.1em;
        width: 100%;
    }

    .site-nav--mobile .site-nav__link::after {
        display: none;
    }

    /* Mobile submenu (Our Services) */
    .site-nav--mobile .site-nav__mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        font: inherit;
    }

    .site-nav--mobile .site-nav__mobile-submenu {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--bj-duration-base) var(--bj-ease);
        background: var(--bj-rose-light);
    }

    .site-nav--mobile .site-nav__item--has-dropdown.is-open .site-nav__mobile-submenu {
        max-height: 800px;
    }

    .site-nav--mobile .site-nav__item--has-dropdown.is-open .site-nav__chevron {
        transform: rotate(180deg);
    }

    .site-nav--mobile .site-nav__link--sub {
        font-size: var(--bj-text-base);
        padding: var(--bj-space-sm) 0;
        text-transform: none;
        letter-spacing: 0.02em;
        font-weight: 400;
        color: var(--bj-gray);
    }

    .site-nav__mobile-cta {
        margin-top: var(--bj-space-xl);
    }

    .site-nav__mobile-cta .btn-primary {
        width: 100%;
        padding: 16px 24px;
    }

    /* Hamburger animation when menu open */
    body.menu-open .menu-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.menu-open .menu-toggle__bar:nth-child(2) {
        opacity: 0;
    }
    body.menu-open .menu-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ═══════════════════════════════════════════════════
   Transparent Header Overlay (homepage with fullscreen hero)
   ═══════════════════════════════════════════════════ */

body.has-transparent-header {
    /* Hero starts at top of viewport — header floats over it */
}

/* Header floats fixed over the hero so the slider fills the full viewport.
   Transparent at top, solid white once scrolled (.scrolled is added by JS). */
body.has-transparent-header .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

/* Push hero content down so the eyebrow/title clear the floating header.
   Padding-bottom keeps content above the .hero__promo + dots strip. */
body.has-transparent-header .hero__slide {
    padding-top: 240px;
    padding-bottom: 100px;
}

@media (max-width: 1024px) {
    body.has-transparent-header .hero__slide {
        padding-top: 160px;
        padding-bottom: 80px;
    }
}

@media (max-width: 640px) {
    body.has-transparent-header .hero__slide {
        padding-top: 130px;
    }
}

body.has-transparent-header .site-header__announcement {
    background: rgba(242, 223, 223, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--bj-white);
    backdrop-filter: blur(8px);
}

body.has-transparent-header .site-header__announcement-divider {
    color: var(--bj-white);
    opacity: 0.6;
}

body.has-transparent-header .site-header__logo-row,
body.has-transparent-header .site-header__nav-row {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.15);
}

body.has-transparent-header .site-nav__link {
    color: var(--bj-white);
}

body.has-transparent-header .site-nav__link:hover {
    color: var(--bj-rose);
}

body.has-transparent-header .site-nav__link::after {
    background: var(--bj-rose);
}

body.has-transparent-header .menu-toggle {
    color: var(--bj-white);
}

/* Inquire button stays solid for visibility */
body.has-transparent-header .site-header__cta-btn {
    background: var(--bj-white);
    color: var(--bj-charcoal);
}

body.has-transparent-header .site-header__cta-btn:hover {
    background: var(--bj-rose);
    color: var(--bj-charcoal);
}

/* On scroll: header gets solid white background */
body.has-transparent-header .site-header.scrolled {
    background: var(--bj-white);
    border-bottom-color: var(--bj-border);
    box-shadow: var(--bj-shadow-md);
}

body.has-transparent-header .site-header.scrolled .site-header__announcement {
    background: var(--bj-rose);
    color: var(--bj-charcoal);
    border-bottom-color: var(--bj-rose-dark);
    backdrop-filter: none;
}

body.has-transparent-header .site-header.scrolled .site-header__announcement-divider {
    color: var(--bj-charcoal);
    opacity: 0.5;
}

body.has-transparent-header .site-header.scrolled .site-header__logo-row,
body.has-transparent-header .site-header.scrolled .site-header__nav-row {
    background: var(--bj-white);
    border-top-color: var(--bj-border);
}

body.has-transparent-header .site-header.scrolled .site-nav__link {
    color: var(--bj-charcoal);
}

body.has-transparent-header .site-header.scrolled .site-nav__link:hover {
    color: var(--bj-gold, #C9A96E);
}

body.has-transparent-header .site-header.scrolled .site-nav__link::after {
    background: var(--bj-gold, #C9A96E);
}

body.has-transparent-header .site-header.scrolled .menu-toggle {
    color: var(--bj-charcoal);
}

body.has-transparent-header .site-header.scrolled .site-header__cta-btn {
    background: var(--bj-charcoal);
    color: var(--bj-rose);
}

body.has-transparent-header .site-header.scrolled .site-header__cta-btn:hover {
    background: var(--bj-gray);
}

/* Hero starts at top of viewport; transparent header sits over it via
   `position: absolute` on body.has-transparent-header .site-header. */

/* ─── Hero Section ────────────────────────────────── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    overflow: hidden;
    background: var(--bj-charcoal);
}

/* Fullscreen hero variant */
.hero--fullscreen {
    min-height: 100vh;
    height: 100vh;
}

/* When header is transparent + sticky, hero starts behind it */
body.has-transparent-header .hero--fullscreen {
    margin-top: 0;
}

/* Background video styling */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1C1B1B 0%, #3a3535 50%, #5C5C5C 100%);
}

/* ─── Hero Slider ─────────────────────────────────── */
.hero--slider {
    position: relative;
}

.hero__slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--bj-ease), visibility 1.2s var(--bj-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

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

.hero__slide .hero__overlay {
    z-index: 2;
}

.hero__slide .hero__content {
    z-index: 3;
}

/* Slide content fade-in animation */
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__subtitle,
.hero__slide.is-active .hero__actions {
    animation: heroSlideFadeUp 1s var(--bj-ease) forwards;
    opacity: 0;
}

.hero__slide.is-active .hero__eyebrow { animation-delay: 0.2s; }
.hero__slide.is-active .hero__title { animation-delay: 0.4s; }
.hero__slide.is-active .hero__subtitle { animation-delay: 0.6s; }
.hero__slide.is-active .hero__actions { animation-delay: 0.8s; }

@keyframes heroSlideFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Eyebrow text above hero title */
.hero__eyebrow {
    display: block;
    font-size: var(--bj-text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bj-rose);
    margin-bottom: var(--bj-space-md);
}

/* Slider Arrows */
.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--bj-white);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bj-duration-base) var(--bj-ease);
    opacity: 0;
}

.hero--slider:hover .hero__arrow {
    opacity: 1;
}

.hero__arrow:hover {
    background: var(--bj-white);
    color: var(--bj-charcoal);
    border-color: var(--bj-white);
}

.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* Slider Dots */
.hero__dots {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    transition: all var(--bj-duration-base) var(--bj-ease);
}

.hero__dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero__dot.is-active {
    background: var(--bj-white);
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero__arrow {
        width: 40px;
        height: 40px;
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
    .hero__arrow--prev { left: 12px; }
    .hero__arrow--next { right: 12px; }

    .hero__dots {
        bottom: 18px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* Promo bar at bottom (Lacemade style) */
.hero__promo {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--bj-white);
    font-size: var(--bj-text-sm);
    letter-spacing: 0.05em;
    z-index: 4;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    opacity: 0.7;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, var(--bj-white));
    animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { transform: scaleY(0.6); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero--fullscreen {
        min-height: 100vh;
        height: 100vh;
    }

    .hero__promo {
        bottom: 50px;
        font-size: var(--bj-text-xs);
        padding: 0 var(--bj-space-md);
    }
}

.hero--compact {
    min-height: 40vh;
}

.hero--page {
    min-height: 300px;
    background: var(--bj-rose-light);
}

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

.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 27, 27, 0.5) 0%,
        rgba(28, 27, 27, 0.25) 40%,
        rgba(28, 27, 27, 0.55) 100%
    );
    z-index: 2;
}

/* Stronger overlay when no media (gradient fallback only) */
.hero--has-image .hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(28, 27, 27, 0.45) 0%,
        rgba(28, 27, 27, 0.2) 40%,
        rgba(28, 27, 27, 0.5) 100%
    );
}

.hero--has-video .hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(28, 27, 27, 0.4) 0%,
        rgba(28, 27, 27, 0.15) 40%,
        rgba(28, 27, 27, 0.45) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: var(--bj-space-xl) var(--bj-gutter);
}

.hero__title {
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-4xl);
    font-weight: 500;
    color: var(--bj-white);
    margin-bottom: var(--bj-space-lg);
    line-height: 1.1;
}

.hero__title em {
    font-family: var(--bj-font-accent);
    font-style: italic;
}

.hero--page .hero__title {
    color: var(--bj-charcoal);
}

.hero__subtitle {
    font-size: var(--bj-text-md);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--bj-space-xl);
    line-height: 1.6;
}

.hero--page .hero__subtitle {
    color: var(--bj-gray);
}

.hero__actions {
    display: flex;
    gap: var(--bj-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero {
        min-height: 70vh;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ─── Section Header ──────────────────────────────── */
.section-header {
    margin-bottom: var(--bj-space-2xl);
}

.section-header--center {
    text-align: center;
}

.section-header__title {
    font-size: var(--bj-text-2xl);
    margin-bottom: var(--bj-space-sm);
}

.section-header__subtitle {
    font-size: var(--bj-text-md);
    color: var(--bj-gray-light);
    max-width: 600px;
}

.section-header--center .section-header__subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ─── Trust Bar ───────────────────────────────────── */
.trust-bar {
    background: var(--bj-rose-light);
    padding: var(--bj-space-xl) 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--bj-space-lg);
    text-align: center;
}

.trust-bar__number {
    display: block;
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-2xl);
    font-weight: 500;
    color: var(--bj-charcoal);
    line-height: 1;
    margin-bottom: var(--bj-space-2xs);
}

.trust-bar__label {
    font-size: var(--bj-text-xs);
    color: var(--bj-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── How It Works ────────────────────────────────── */
.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bj-space-2xl);
}

.how-it-works__step {
    text-align: center;
    position: relative;
}

.how-it-works__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bj-charcoal);
    color: var(--bj-rose);
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-lg);
    font-weight: 500;
    margin-bottom: var(--bj-space-lg);
}

.how-it-works__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--bj-space-lg);
    color: var(--bj-charcoal);
}

.how-it-works__icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.how-it-works__title {
    font-size: var(--bj-text-md);
    margin-bottom: var(--bj-space-sm);
}

.how-it-works__text {
    font-size: var(--bj-text-sm);
    color: var(--bj-gray-light);
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .how-it-works__grid {
        grid-template-columns: 1fr;
        gap: var(--bj-space-xl);
    }
}

/* ─── CTA Banner ──────────────────────────────────── */
.cta-banner {
    padding: var(--bj-space-4xl) 0;
    text-align: center;
}

.cta-banner--dark {
    background: var(--bj-charcoal);
}

.cta-banner--dark .cta-banner__title {
    color: var(--bj-rose);
}

.cta-banner--dark .cta-banner__subtitle {
    color: rgba(242, 223, 223, 0.7);
}

.cta-banner--dark .btn-primary {
    background: var(--bj-rose);
    color: var(--bj-charcoal);
}

.cta-banner--dark .btn-primary:hover {
    background: var(--bj-white);
}

.cta-banner--light {
    background: var(--bj-rose-light);
}

.cta-banner__title {
    font-size: var(--bj-text-2xl);
    margin-bottom: var(--bj-space-sm);
}

.cta-banner__subtitle {
    font-size: var(--bj-text-md);
    color: var(--bj-gray-light);
    margin-bottom: var(--bj-space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
    background: var(--bj-rose);
    color: var(--bj-gray);
    padding: var(--bj-space-4xl) 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--bj-space-2xl);
}

/* Brand column — center-align logo, tagline, and social icons */
.site-footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__brand {
    margin-bottom: var(--bj-space-md);
    display: flex;
    justify-content: center;
}

.site-footer__brand picture {
    display: block;
    line-height: 0;
}

.site-footer__logo {
    height: 60px;
    width: auto;
    display: block;
}

.site-footer__logo--raster {
    height: 220px;
    max-width: 100%;
    object-fit: contain;
}

.site-footer__col--brand .site-footer__about {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer__col--brand .site-footer__social {
    justify-content: center;
}

.site-footer h4,
.site-footer .widget-title {
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-base);
    font-weight: 500;
    color: var(--bj-charcoal);
    margin-bottom: var(--bj-space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer__about {
    font-size: var(--bj-text-sm);
    line-height: 1.8;
}

.site-footer__links {
    list-style: none;
    padding: 0;
}

.site-footer__links li {
    margin-bottom: var(--bj-space-sm);
}

.site-footer__links a {
    color: var(--bj-gray);
    font-size: var(--bj-text-sm);
    transition: color var(--bj-duration-fast) var(--bj-ease);
}

.site-footer__links a:hover {
    color: var(--bj-charcoal);
}

.site-footer__social {
    display: flex;
    gap: var(--bj-space-md);
    margin-top: var(--bj-space-lg);
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bj-charcoal);
    color: var(--bj-rose);
    transition: background var(--bj-duration-fast) var(--bj-ease);
}

.site-footer__social a:hover {
    background: var(--bj-gray);
}

.site-footer__social svg {
    width: 18px;
    height: 18px;
}

/* Newsletter form */
.site-footer__newsletter-form {
    display: flex;
    gap: 0;
}

.site-footer__newsletter-form input[type="email"] {
    border: 1px solid var(--bj-rose-dark);
    background: var(--bj-white);
    flex: 1;
    padding: 12px 16px;
}

.site-footer__newsletter-form button {
    white-space: nowrap;
}

/* Footer bottom */
.site-footer__bottom {
    margin-top: var(--bj-space-2xl);
    padding: var(--bj-space-lg) 0;
    border-top: 1px solid var(--bj-rose-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--bj-text-xs);
    color: var(--bj-gray-light);
}

.site-footer__legal {
    display: flex;
    gap: var(--bj-space-lg);
    list-style: none;
    padding: 0;
}

.site-footer__legal a {
    color: var(--bj-gray-light);
    font-size: var(--bj-text-xs);
}

.site-footer__legal a:hover {
    color: var(--bj-charcoal);
}

@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: var(--bj-space-sm);
        text-align: center;
    }
}

/* ─── Blog Card (bookjune-style: image + uppercase title + Read More) ── */
.blog-card {
    background: var(--bj-white);
    border: 1px solid var(--bj-charcoal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--bj-duration-base) var(--bj-ease);
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card__image-wrapper {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bj-off-white);
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bj-duration-slow) var(--bj-ease);
}

.blog-card:hover .blog-card__image {
    transform: scale(1.04);
}

.blog-card__content {
    padding: var(--bj-space-lg) var(--bj-space-lg) var(--bj-space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bj-gold, var(--bj-rose));
    margin-bottom: var(--bj-space-sm);
    display: block;
}

.blog-card__title {
    font-family: var(--bj-font-sans, var(--bj-font-heading));
    font-size: var(--bj-text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0 0 var(--bj-space-sm);
}

.blog-card__title a {
    color: var(--bj-charcoal);
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--bj-rose-dark, var(--bj-rose));
}

.blog-card__excerpt {
    font-size: var(--bj-text-sm);
    line-height: 1.6;
    color: var(--bj-gray);
    margin: 0 0 var(--bj-space-lg);
    flex: 1;
}

.blog-card__meta {
    display: none; /* date is hidden on cards in bookjune style */
}

.blog-card__readmore {
    display: block;
    margin: 0;
    padding: 18px var(--bj-space-md);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bj-charcoal);
    background: var(--bj-rose-light, #f3eeee);
    border-top: 1px solid var(--bj-charcoal);
    text-decoration: none;
    transition: background var(--bj-duration-base) var(--bj-ease), color var(--bj-duration-base) var(--bj-ease);
}

.blog-card__readmore:hover {
    background: var(--bj-charcoal);
    color: var(--bj-white);
}

/* ─── Breadcrumbs ─────────────────────────────────── */
.breadcrumbs {
    padding: var(--bj-space-md) 0;
    font-size: var(--bj-text-xs);
    color: var(--bj-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumbs a {
    color: var(--bj-gray-light);
}

.breadcrumbs a:hover {
    color: var(--bj-charcoal);
}

.breadcrumbs__separator {
    margin: 0 var(--bj-space-xs);
    color: var(--bj-gray-lighter);
}

/* ─── Pricing Table ───────────────────────────────── */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    font-family: var(--bj-font-body);
    font-size: var(--bj-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bj-gray-light);
    padding: var(--bj-space-md) var(--bj-space-lg);
    border-bottom: 2px solid var(--bj-charcoal);
    text-align: left;
}

.pricing-table td {
    padding: var(--bj-space-lg);
    border-bottom: 1px solid var(--bj-border);
    vertical-align: middle;
}

.pricing-table tr:hover {
    background: var(--bj-rose-light);
}

.pricing-table__service-name {
    font-family: var(--bj-font-heading);
    font-weight: 500;
    color: var(--bj-charcoal);
}

.pricing-table__price {
    font-family: var(--bj-font-heading);
    font-weight: 500;
    font-size: var(--bj-text-md);
    color: var(--bj-charcoal);
}

@media (max-width: 640px) {
    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tr {
        padding: var(--bj-space-lg);
        border-bottom: 1px solid var(--bj-border);
    }

    .pricing-table td {
        padding: var(--bj-space-xs) 0;
        border-bottom: none;
    }

    .pricing-table td::before {
        content: attr(data-label);
        font-size: var(--bj-text-xs);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--bj-gray-light);
        display: block;
        margin-bottom: var(--bj-space-2xs);
    }
}

/* ─── Page Content (long-form: Privacy, Terms, About) ──── */
.page-content {
    padding-top: var(--bj-space-3xl);
    padding-bottom: var(--bj-space-4xl);
    color: var(--bj-charcoal);
    line-height: 1.75;
    font-size: var(--bj-text-base);
}

.page-content > p:first-child em {
    color: var(--bj-gray);
    font-size: var(--bj-text-sm);
}

.page-content .lead,
.page-content > p:nth-of-type(1):not(:has(em)) {
    font-size: var(--bj-text-lg);
    color: var(--bj-charcoal);
}

.page-content h2 {
    font-family: var(--bj-font-heading);
    font-size: var(--bj-text-2xl);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-top: var(--bj-space-3xl);
    margin-bottom: var(--bj-space-md);
    padding-top: var(--bj-space-md);
    border-top: 1px solid var(--bj-border);
}

.page-content h2:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: var(--bj-space-2xl);
}

.page-content h3 {
    font-size: var(--bj-text-lg);
    font-weight: 600;
    margin-top: var(--bj-space-xl);
    margin-bottom: var(--bj-space-sm);
    color: var(--bj-charcoal);
}

.page-content p {
    margin-bottom: var(--bj-space-md);
}

.page-content p + p {
    margin-top: 0;
}

.page-content ul,
.page-content ol {
    padding-left: var(--bj-space-xl);
    margin-bottom: var(--bj-space-lg);
}

.page-content li {
    margin-bottom: var(--bj-space-sm);
}

.page-content li::marker {
    color: var(--bj-rose-dark, var(--bj-rose));
}

.page-content a {
    color: var(--bj-charcoal);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.page-content a:hover {
    color: var(--bj-rose-dark, var(--bj-rose));
}

.page-content strong {
    color: var(--bj-charcoal);
}

/* Lead paragraph — used in About hero copy and the top of long-form pages. */
.lead {
    font-size: var(--bj-text-lg);
    line-height: 1.6;
    color: var(--bj-charcoal);
    margin-bottom: var(--bj-space-md);
}

/* ─── About Page Split ────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bj-space-3xl);
    align-items: center;
}

.about-split--reverse {
    direction: rtl;
}

.about-split--reverse > * {
    direction: ltr;
}

.about-split__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.about-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: var(--bj-space-xl);
    }
}

/* ─── Contact Page ────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--bj-space-3xl);
}

.contact-info__item {
    display: flex;
    gap: var(--bj-space-md);
    margin-bottom: var(--bj-space-lg);
}

.contact-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bj-rose-light);
    color: var(--bj-charcoal);
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ─── Pagination ──────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--bj-space-xs);
    margin-top: var(--bj-space-2xl);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--bj-space-sm);
    font-size: var(--bj-text-sm);
    border: 1px solid var(--bj-border);
    color: var(--bj-gray);
    transition: all var(--bj-duration-fast) var(--bj-ease);
}

.pagination a:hover {
    background: var(--bj-charcoal);
    color: var(--bj-rose);
    border-color: var(--bj-charcoal);
}

.pagination .current {
    background: var(--bj-charcoal);
    color: var(--bj-rose);
    border-color: var(--bj-charcoal);
}
