/* 2026 total visual transformation for heritage barber.
   Uses existing DOM hooks so functionality remains intact. */

body.total-rebuild {
    --reb-ink: #f6f1e9;
    --reb-ink-soft: #d7cbba;
    --reb-surface: #171a1e;
    --reb-surface-2: #20252b;
    --reb-line: rgba(201, 166, 106, 0.28);
    --reb-accent: #c9a66a;
    --reb-accent-2: #e6c487;
    --reb-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
    background: radial-gradient(130% 120% at 100% 0%, rgba(201, 166, 106, 0.12), transparent 60%),
        radial-gradient(100% 120% at 0% 100%, rgba(112, 141, 179, 0.14), transparent 62%),
        #101214;
    color: var(--reb-ink);
}

body.total-rebuild::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 0.65px, transparent 0.65px);
    background-size: 3px 3px;
    opacity: 0.55;
}

/* Vacation-inspired atmospheric layers for homepage */
body.total-rebuild.home-concise .fx-noise {
    position: fixed;
    inset: -24%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: soft-light;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0.5px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(0, 0, 0, 0.55) 0.6px, transparent 1px);
    background-size: 4px 4px, 5px 5px;
    animation: reb-noise-shift 0.9s steps(2, end) infinite;
}

body.total-rebuild.home-concise .fx-lines {
    position: fixed;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0px, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 44px),
        repeating-linear-gradient(64deg, rgba(201, 166, 106, 0.08) 0px, rgba(201, 166, 106, 0.08) 1px, transparent 1px, transparent 72px);
    mix-blend-mode: soft-light;
    animation: reb-line-sweep 24s linear infinite;
}

/* Only non-fixed elements need forced stacking context above body::before grain texture */
body.total-rebuild main,
body.total-rebuild footer,
body.total-rebuild .mobile-cta-bar {
    position: relative;
    z-index: 1;
}

body.total-rebuild .container {
    width: min(1180px, calc(100% - 2.4rem));
}

body.total-rebuild .header {
    background: linear-gradient(180deg, rgba(9, 11, 13, 0.92), rgba(9, 11, 13, 0.72));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

body.total-rebuild .header--scrolled {
    background: rgba(9, 11, 13, 0.96);
    border-bottom-color: var(--reb-line);
}

body.total-rebuild .nav__links {
    gap: 1.2rem;
}

@media (min-width: 768px) {
    body.total-rebuild.home-concise.logo-morph-enabled .nav__links {
        display: flex !important;
    }

    body.total-rebuild.home-concise.logo-morph-enabled .nav__cta {
        display: flex !important;
    }

    body.total-rebuild.home-concise.logo-morph-enabled .nav__hamburger {
        display: none !important;
    }
}

body.total-rebuild .nav__link {
    font-family: var(--font-heading);
    letter-spacing: 0.07em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--reb-ink-soft);
}

body.total-rebuild .nav__link::after {
    background: var(--reb-accent);
}

body.total-rebuild .nav__logo-img,
body.total-rebuild .header .nav__logo-img--receiver {
    filter: saturate(0.95) contrast(1.08) brightness(1.05) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.55));
    mix-blend-mode: screen;
    background: transparent;
}

/* Remove stacking-context isolation so logo renders cleanly against dark header */
body.total-rebuild .header .nav__logo {
    isolation: auto;
}

body.total-rebuild.logo-morph-enabled .header .nav__links-logo .nav__logo,
body.total-rebuild.logo-morph-disabled .header .nav__links-logo .nav__logo {
    border-radius: 999px;
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

body.total-rebuild.logo-morph-enabled.logo-morph-complete .header .nav__links-logo .nav__logo,
body.total-rebuild.logo-morph-disabled .header .nav__links-logo .nav__logo {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    padding: 0;
}

body.total-rebuild.logo-morph-enabled:not(.logo-morph-complete) .header .nav__links-logo .nav__logo {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    padding: 0;
}

body.total-rebuild .btn--primary {
    color: #131313;
    background: linear-gradient(135deg, var(--reb-accent), var(--reb-accent-2));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 22px rgba(201, 166, 106, 0.28);
}

body.total-rebuild .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(201, 166, 106, 0.36);
}

body.total-rebuild .btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--reb-ink);
    background: rgba(255, 255, 255, 0.05);
}

body.total-rebuild .hero {
    min-height: clamp(560px, 84svh, 760px);
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: clamp(118px, 15vh, 156px); /* clear fixed nav + expanded center logo */
    padding-bottom: clamp(1.2rem, 4vw, 2.8rem);
}

body.total-rebuild .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 7, 8, 0.86) 12%, rgba(12, 14, 18, 0.45) 52%, rgba(7, 8, 9, 0.8) 100%);
}

body.total-rebuild .hero__content {
    width: min(1700px, calc(100% - 0.2rem));
    max-width: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    justify-items: center;
    gap: 0.75rem;
}

body.total-rebuild.logo-morph-enabled .hero__content {
    padding-top: 0;
}

body.total-rebuild .hero__schedule {
    width: min(1680px, calc(100% - 0.2rem));
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
    padding: clamp(0.82rem, 1.5vw, 1.2rem);
    margin-top: clamp(160px, 22vh, 260px);
    border-radius: 6px;
    border: 1px solid rgba(201, 165, 104, 0.2);
    border-top: 3px solid var(--color-accent);
    background: rgba(3, 4, 7, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(201, 165, 104, 0.08);
}

body.total-rebuild .hero__schedule-info {
    display: none;
    gap: 0.65rem;
    text-align: left;
}

body.total-rebuild .hero__schedule-kicker {
    margin: 0;
    font-family: 'Oswald', var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: clamp(0.78rem, 1vw, 0.92rem);
    color: var(--color-accent);
}

body.total-rebuild .hero__schedule-title {
    margin: 0;
    font-family: 'Oswald', var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.0;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

body.total-rebuild .hero__schedule-copy {
    margin: 0;
    color: #e7ddd0;
    text-align: left;
    max-width: 42ch;
}

body.total-rebuild .hero__schedule .forge-booking-widget-host {
    width: 100%;
    max-height: clamp(480px, 75vh, 760px);
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 14px;
    background: rgba(2, 3, 6, 0.9);
}

body.total-rebuild .hero__schedule .forge-booking-widget-host::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body.total-rebuild .hero__schedule-fallback {
    margin: 0;
    font-size: 0.88rem;
    color: #d2c5b4;
}

/* Compact booking internals so more service content is visible in-hero */
body.total-rebuild .hero__schedule .forge-booking__header {
    margin-bottom: 0.6rem;
}

body.total-rebuild .hero__schedule .forge-booking__steps {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

body.total-rebuild .hero__schedule .forge-booking__steps::-webkit-scrollbar {
    height: 0;
}

body.total-rebuild .hero__schedule .forge-booking__step {
    flex: 0 0 clamp(112px, 17vw, 190px);
    min-height: 76px;
    padding: 0.45rem 0.4rem;
    border-radius: 10px;
}

body.total-rebuild .hero__schedule .forge-booking__step-label {
    font-size: 0.92rem;
}

body.total-rebuild .hero__schedule .forge-booking__title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.8rem, 2vw, 2.15rem);
}

body.total-rebuild .hero__schedule .forge-booking__subtitle {
    margin-bottom: 0.7rem;
    font-size: 0.98rem;
    line-height: 1.3;
}

body.total-rebuild .hero__schedule .forge-booking__services {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.55rem;
}

body.total-rebuild .hero__schedule .forge-booking__services::-webkit-scrollbar {
    height: 0;
}

@media (min-width: 768px) {
    body.total-rebuild .hero__schedule .forge-booking__steps {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.45rem;
        overflow: visible;
    }

    body.total-rebuild .hero__schedule .forge-booking__step {
        flex: initial;
        min-height: 64px;
        padding: 0.35rem 0.3rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__services {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.45rem;
        overflow: visible;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-card {
        flex: 1 1 auto !important;
        flex-basis: auto !important;
        width: 100%;
        min-width: 0;
        max-width: none !important;
        min-height: 114px;
        padding: 0.48rem 0.54rem;
        grid-column: auto !important;
        justify-self: stretch !important;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-card h3 {
        font-size: 0.9rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-description {
        font-size: 0.74rem;
        line-height: 1.2;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-duration {
        font-size: 0.68rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-price {
        font-size: 1.35rem;
    }
}

body.total-rebuild .hero__schedule .forge-booking__service-card {
    flex: 0 0 clamp(128px, 19vw, 220px);
    padding: 0.62rem 0.72rem;
    border-radius: 12px;
    min-height: 138px;
}

body.total-rebuild .hero__schedule .forge-booking__service-card h3 {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

body.total-rebuild .hero__schedule .forge-booking__service-description {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.total-rebuild .hero__schedule .forge-booking__service-duration {
    font-size: 0.74rem;
    margin-bottom: 0.2rem;
}

body.total-rebuild .hero__schedule .forge-booking__service-price {
    font-size: 1.55rem;
    line-height: 1;
}

body.total-rebuild .hero__schedule .forge-booking__footer {
    margin-top: 0.6rem;
}

body.total-rebuild .hero__schedule .forge-booking__btn {
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
}

body.total-rebuild .hero__schedule .forge-booking__radio-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.total-rebuild .hero__schedule .forge-booking__calendar-shell {
    padding: 0.85rem;
}

body.total-rebuild .hero__schedule .forge-booking__calendar-range,
body.total-rebuild .hero__schedule .forge-booking__legend-item,
body.total-rebuild .hero__schedule .forge-booking__calendar-day-status,
body.total-rebuild .hero__schedule .forge-booking__loading,
body.total-rebuild .hero__schedule .forge-booking__no-times,
body.total-rebuild .hero__schedule .forge-booking__summary-key,
body.total-rebuild .hero__schedule .forge-booking__summary-value {
    color: var(--color-text-secondary);
}

body.total-rebuild .hero__schedule .forge-booking__calendar-day {
    min-height: 84px;
}

body.total-rebuild .hero__schedule .forge-booking__calendar-day.is-selected,
body.total-rebuild .hero__schedule .forge-booking__calendar-day.is-selected .forge-booking__calendar-day-status {
    color: #101920;
}

body.total-rebuild .hero__schedule .forge-booking__calendar-nav {
    min-width: 92px;
}

/* De-emphasize in-person payment option */
body.total-rebuild .hero__schedule .forge-booking__pay-opt[data-pay-opt="in_person"] {
    opacity: 1;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt[data-pay-opt="in_person"] strong {
    color: rgba(246, 241, 233, 0.8);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt[data-pay-opt="in_person"]:hover {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt[data-pay-opt="in_person"].forge-booking__pay-opt--active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.total-rebuild .hero__schedule .forge-booking__pay-options {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt {
    position: relative;
    display: block;
    border: 1px solid rgba(231, 214, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(19, 22, 28, 0.96), rgba(11, 13, 17, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt:hover {
    border-color: rgba(201, 166, 106, 0.4);
    transform: translateY(-1px);
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt--active {
    border-color: rgba(201, 166, 106, 0.72);
    background: linear-gradient(180deg, rgba(31, 27, 17, 0.98), rgba(16, 13, 9, 0.98));
    box-shadow: 0 0 0 1px rgba(201, 166, 106, 0.18), 0 16px 28px rgba(0, 0, 0, 0.24);
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt-inner {
    display: grid;
    gap: 0.28rem;
    padding: 0.95rem 1rem;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt strong,
body.total-rebuild .hero__schedule .forge-booking__pay-opt span,
body.total-rebuild .hero__schedule .forge-booking__tip-label,
body.total-rebuild .hero__schedule .forge-booking__tip-optional,
body.total-rebuild .hero__schedule .forge-booking__pay-row,
body.total-rebuild .hero__schedule .forge-booking__pay-row span {
    color: var(--reb-ink) !important;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.total-rebuild .hero__schedule .forge-booking__pay-opt span:last-child {
    color: rgba(240, 229, 211, 0.82) !important;
    font-size: 0.9rem;
    line-height: 1.45;
}

body.total-rebuild .hero__schedule .forge-booking__pay-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.52rem;
    border-radius: 999px;
    background: rgba(201, 166, 106, 0.14);
    border: 1px solid rgba(201, 166, 106, 0.32);
    color: var(--reb-accent-2) !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.total-rebuild .hero__schedule .forge-booking__tip-section {
    margin-bottom: 1rem;
}

body.total-rebuild .hero__schedule .forge-booking__tip-label {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.total-rebuild .hero__schedule .forge-booking__tip-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.55rem;
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0.78rem 0.95rem 0.78rem 3rem;
    border: 1px solid rgba(231, 214, 184, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--reb-ink) !important;
    cursor: pointer;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice:hover {
    border-color: rgba(201, 166, 106, 0.34);
    transform: translateY(-1px);
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(231, 214, 184, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-50%);
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice--active {
    border-color: rgba(201, 166, 106, 0.7);
    background: linear-gradient(180deg, rgba(36, 31, 19, 0.92), rgba(17, 14, 9, 0.92));
    box-shadow: 0 0 0 1px rgba(201, 166, 106, 0.18), 0 12px 24px rgba(0, 0, 0, 0.22);
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice--active::before {
    border-color: var(--reb-accent);
    box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.16);
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice--active::after {
    content: "";
    position: absolute;
    left: 1.34rem;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--reb-accent);
    transform: translateY(-50%);
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice-copy {
    display: grid;
    gap: 0.14rem;
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice-label {
    color: var(--reb-ink) !important;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.15;
}

body.total-rebuild .hero__schedule .forge-booking__tip-choice-meta {
    color: rgba(240, 229, 211, 0.78) !important;
    font-size: 0.8rem;
    line-height: 1.2;
}

body.total-rebuild .hero__schedule .forge-booking__tip-custom-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.7rem;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(201, 166, 106, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

body.total-rebuild .hero__schedule .forge-booking__tip-custom-prefix {
    color: var(--reb-accent-2) !important;
    font-size: 1rem;
    font-weight: 700;
}

body.total-rebuild .hero__schedule .forge-booking__tip-custom-input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--reb-ink) !important;
    font-size: 1rem;
}

body.total-rebuild .hero__schedule .forge-booking__tip-custom-input::placeholder {
    color: rgba(240, 229, 211, 0.5);
}

body.total-rebuild .hero__schedule .forge-booking__pay-breakdown {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(231, 214, 184, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

body.total-rebuild .hero__schedule .forge-booking__pay-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.48rem 0;
    font-size: 0.94rem;
    line-height: 1.35;
}

body.total-rebuild .hero__schedule .forge-booking__pay-row + .forge-booking__pay-row {
    border-top: 1px solid rgba(231, 214, 184, 0.08);
}

body.total-rebuild .hero__schedule .forge-booking__pay-row--fee span:last-child,
body.total-rebuild .hero__schedule .forge-booking__pay-row--total span:last-child {
    color: var(--reb-accent-2) !important;
}

body.total-rebuild .hero__schedule .forge-booking__pay-row--total {
    font-weight: 700;
}

@media (max-width: 767px) {
    body.total-rebuild .hero__schedule .forge-booking__pay-opt-inner {
        padding: 0.85rem 0.9rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__tip-group {
        grid-template-columns: 1fr;
    }

    body.total-rebuild .hero__schedule .forge-booking__tip-choice {
        min-height: 54px;
        padding-right: 0.85rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__pay-row {
        font-size: 0.9rem;
    }
}

body.total-rebuild .hero__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    background: rgba(0, 0, 0, 0.28);
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    text-transform: uppercase;
}

body.total-rebuild.logo-morph-enabled .hero__subtitle {
    margin-bottom: 0;
}

body.total-rebuild .hero__title {
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 14ch;
    margin-top: 0.25rem;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

body.total-rebuild.logo-morph-enabled .hero__title {
    opacity: 1;
    pointer-events: auto;
}

body.total-rebuild .hero__description {
    max-width: 62ch;
    color: #f0e7dc;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    overflow-wrap: anywhere;
    margin-top: 0.4rem;
}

body.total-rebuild.logo-morph-enabled .hero__description {
    margin-top: 0.55rem;
}

body.total-rebuild .hero__cta-group {
    margin-top: 0.8rem;
    justify-content: center;
}

body.total-rebuild .hero__badges {
    margin-top: 0.9rem;
    justify-content: center;
    gap: 0.9rem;
}

body.total-rebuild .hero__scroll-book {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
    color: var(--reb-accent-2);
    text-decoration: none;
    opacity: 0.95;
    width: fit-content;
    margin-inline: auto;
}

body.total-rebuild .hero__scroll-book svg {
    width: 16px;
    height: 16px;
}

body.total-rebuild .hero__scroll-book:hover {
    color: var(--reb-ink);
}

/* ===== HERO ENTRY ANIMATIONS =====
   CSS keyframes bypass the IntersectionObserver dependency for above-fold elements.
   @keyframes must be at top level, not inside @media to work across all viewports. */
@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes reb-noise-shift {
    0% { transform: translate3d(0, 0, 0); }
    25% { transform: translate3d(-1.4%, 1.1%, 0); }
    50% { transform: translate3d(1%, -1%, 0); }
    75% { transform: translate3d(-0.7%, -0.5%, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes reb-line-sweep {
    0% { transform: translate3d(-2%, 0, 0) rotate(0.25deg); }
    50% { transform: translate3d(2.2%, -1.1%, 0) rotate(-0.25deg); }
    100% { transform: translate3d(-2%, 0, 0) rotate(0.25deg); }
}

body.total-rebuild .hero .hero__schedule { animation: hero-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }

body.total-rebuild .trust-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(9, 11, 13, 0.52);
    min-width: 145px;
}

body.total-rebuild .section {
    position: relative;
    background: transparent;
    padding-block: clamp(4.2rem, 9vw, 7.2rem);
}

body.total-rebuild.home-concise #services,
body.total-rebuild.home-concise #team,
body.total-rebuild.home-concise #products,
body.total-rebuild.home-concise #social-proof,
body.total-rebuild.home-concise #faq,
body.total-rebuild.home-concise .gift-banner,
body.total-rebuild.home-concise .gallery-cursor,
body.total-rebuild.home-concise .lightbox {
    display: none;
}

body.total-rebuild .quick-nav__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

body.total-rebuild .quick-nav__card {
    display: block;
    text-decoration: none;
    padding: 1.15rem 1rem;
    border-radius: 14px;
    background: linear-gradient(170deg, rgba(28, 33, 38, 0.95), rgba(17, 20, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--reb-ink);
}

body.total-rebuild .quick-nav__card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
}

body.total-rebuild .quick-nav__card p {
    margin: 0;
    color: var(--reb-ink-soft);
}

body.total-rebuild .quick-nav__card:hover {
    border-color: rgba(201, 166, 106, 0.52);
    transform: translateY(-3px);
}

body.total-rebuild .contact__info--compact {
    max-width: 760px;
    margin: 2rem auto 0;
}

body.total-rebuild .section-header {
    max-width: 780px;
    margin-inline: auto;
    margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

body.total-rebuild .section-header h2 {
    font-size: clamp(1.9rem, 4.3vw, 3.4rem);
    line-height: 1.04;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow-wrap: break-word;
}

body.total-rebuild .section-header__subtitle {
    color: var(--reb-ink-soft);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    max-width: 62ch;
    margin-inline: auto;
    overflow-wrap: break-word;
}

body.total-rebuild.inner-page .page-header {
    padding-top: clamp(7rem, 12vw, 10rem);
    padding-bottom: clamp(2.4rem, 5vw, 4rem);
    background: radial-gradient(120% 140% at 15% 10%, rgba(201, 166, 106, 0.11), transparent 45%),
        linear-gradient(180deg, rgba(8, 9, 11, 0.95), rgba(10, 12, 14, 0.7));
}

body.total-rebuild.inner-page .page-header .section-header {
    text-align: center;
}

body.total-rebuild.inner-page .page-header .section-header h1 {
    font-size: clamp(1.75rem, 4.2vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: min(92vw, 20ch);
    margin-inline: auto;
    text-wrap: pretty;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

body.total-rebuild.inner-page .breadcrumb-link {
    color: var(--reb-accent-2);
    text-decoration: none;
}

body.total-rebuild.inner-page .breadcrumb-link:hover {
    color: var(--reb-ink);
}

body.total-rebuild.inner-page .breadcrumb-separator,
body.total-rebuild.inner-page .breadcrumb-current {
    color: var(--reb-ink-soft);
}

body.total-rebuild.inner-page .gallery-masonry .gallery-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--reb-shadow);
}

body.total-rebuild.inner-page .gallery-masonry .gallery-item:hover {
    border-color: rgba(201, 166, 106, 0.5);
}

body.total-rebuild .treatment-card__name,
body.total-rebuild .experience-card h3,
body.total-rebuild .product-card h3,
body.total-rebuild .process-step h3,
body.total-rebuild .staff-card__name,
body.total-rebuild .testimonial-card__author,
body.total-rebuild .faq-item__question {
    overflow-wrap: break-word;
}

body.total-rebuild .treatment-card__desc,
body.total-rebuild .experience-card p,
body.total-rebuild .product-card p,
body.total-rebuild .process-step p,
body.total-rebuild .staff-card__bio,
body.total-rebuild .testimonial-card__text,
body.total-rebuild .faq-item__answer p,
body.total-rebuild .schedule__status-note,
body.total-rebuild .schedule__status-update,
body.total-rebuild .forge-widget-shell__subtitle,
body.total-rebuild .forge-widget-shell__fallback {
    overflow-wrap: break-word;
    max-width: 66ch;
}

body.total-rebuild .experience,
body.total-rebuild .process,
body.total-rebuild .products,
body.total-rebuild .testimonials,
body.total-rebuild .faq,
body.total-rebuild .booking-section {
    isolation: isolate;
}

body.total-rebuild .experience::before,
body.total-rebuild .process::before,
body.total-rebuild .products::before,
body.total-rebuild .booking-section::before,
body.total-rebuild .testimonials::before,
body.total-rebuild .faq::before {
    content: "";
    position: absolute;
    inset: 1.3rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    z-index: -1;
}

body.total-rebuild .experience-card,
body.total-rebuild .process-step,
body.total-rebuild .product-card,
body.total-rebuild .stat-card,
body.total-rebuild .treatment-card,
body.total-rebuild .staff-card,
body.total-rebuild .testimonial-card,
body.total-rebuild .faq-item,
body.total-rebuild .schedule__status,
body.total-rebuild .forge-widget-shell,
body.total-rebuild .instagram-card {
    background: linear-gradient(170deg, rgba(28, 33, 38, 0.95), rgba(17, 20, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--reb-shadow);
}

body.total-rebuild .schedule__calendar-side,
body.total-rebuild .schedule__form-side {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.total-rebuild .experience-card:hover,
body.total-rebuild .process-step:hover,
body.total-rebuild .product-card:hover,
body.total-rebuild .treatment-card:hover,
body.total-rebuild .staff-card:hover,
body.total-rebuild .testimonial-card:hover,
body.total-rebuild .instagram-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 166, 106, 0.52);
}

body.total-rebuild .services .filter-btn.active,
body.total-rebuild .services .filter-btn:hover {
    background: linear-gradient(135deg, var(--reb-accent), var(--reb-accent-2));
    color: #151515;
    border-color: transparent;
}

body.total-rebuild .services-group__title,
body.total-rebuild .treatment-card__name,
body.total-rebuild .staff-card__name,
body.total-rebuild .faq-item__question {
    color: var(--reb-ink);
}

body.total-rebuild .treatment-card__desc,
body.total-rebuild .services-group__subtitle,
body.total-rebuild .staff-card__bio,
body.total-rebuild .testimonial-card__text,
body.total-rebuild .instagram-card__description,
body.total-rebuild .schedule__status-note,
body.total-rebuild .schedule__status-update,
body.total-rebuild .contact-info__text,
body.total-rebuild .faq-item__answer p {
    color: var(--reb-ink-soft);
}

body.total-rebuild .testimonial-card__stars svg,
body.total-rebuild .product-card__tag,
body.total-rebuild .process-step__number,
body.total-rebuild .stat-card__value,
body.total-rebuild .hero-metric__value {
    color: var(--reb-accent-2);
}

body.total-rebuild .process-step__number {
    background: rgba(201, 166, 106, 0.2);
    border: 1px solid rgba(201, 166, 106, 0.44);
}

body.total-rebuild .schedule__tab[aria-selected="true"],
body.total-rebuild .book-tab--active {
    background: linear-gradient(135deg, rgba(201, 166, 106, 0.2), rgba(201, 166, 106, 0.1));
    border-color: rgba(201, 166, 106, 0.46);
}

body.total-rebuild .schedule__input,
body.total-rebuild .schedule__select,
body.total-rebuild .schedule__textarea,
body.total-rebuild .contact-form input,
body.total-rebuild .contact-form textarea,
body.total-rebuild .contact-form select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--reb-ink);
}

body.total-rebuild .schedule__input:focus,
body.total-rebuild .schedule__select:focus,
body.total-rebuild .schedule__textarea:focus,
body.total-rebuild .contact-form input:focus,
body.total-rebuild .contact-form textarea:focus,
body.total-rebuild .contact-form select:focus {
    border-color: rgba(201, 166, 106, 0.8);
    box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.16);
}

body.total-rebuild .faq-item__question {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

body.total-rebuild .faq-item__answer {
    background: rgba(255, 255, 255, 0.02);
}

body.total-rebuild .instagram-card__fallback-link,
body.total-rebuild .staff-card__social {
    color: var(--reb-accent-2);
}

body.total-rebuild .footer {
    background: #0b0d0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.total-rebuild .footer a,
body.total-rebuild .footer p,
body.total-rebuild .footer li,
body.total-rebuild .footer span {
    color: #d2c7b8;
}

body.total-rebuild .back-to-top,
body.total-rebuild .mobile-cta-bar .btn,
body.total-rebuild .social-sidebar__link {
    border-color: rgba(201, 166, 106, 0.45);
    background: rgba(16, 18, 21, 0.84);
    color: #f2e5d1;
}

/* ===== SECTION HEADER ENHANCEMENTS ===== */
body.total-rebuild .section-header h2 {
    background: linear-gradient(135deg, #f6f1e9, #e6c487);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

body.total-rebuild .section-header__subtitle {
    color: #d7cbba;
    margin-top: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* ===== ENHANCED INTERACTIVE ELEMENTS ===== */
body.total-rebuild .btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

body.total-rebuild .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

body.total-rebuild .btn:hover::before {
    transform: translateX(100%);
}

/* Card elevation for better depth */
body.total-rebuild .experience-card,
body.total-rebuild .treatment-card,
body.total-rebuild .staff-card,
body.total-rebuild .testimonial-card {
    transition: all var(--transition-base);
    border-color: rgba(201, 166, 106, 0.2);
}

body.total-rebuild .experience-card:hover,
body.total-rebuild .treatment-card:hover,
body.total-rebuild .staff-card:hover,
body.total-rebuild .testimonial-card:hover {
    border-color: rgba(201, 166, 106, 0.5);
    box-shadow: 0 8px 32px rgba(201, 166, 106, 0.3);
}

/* Link hover states */
body.total-rebuild a:not(.btn) {
    transition: color 200ms ease, text-decoration-color 200ms ease;
}

body.total-rebuild a:hover:not(.btn) {
    color: var(--reb-accent-2);
}

/* Better form focus states */
body.total-rebuild input:focus-visible,
body.total-rebuild textarea:focus-visible,
body.total-rebuild select:focus-visible {
    outline: none;
    border-color: var(--reb-accent);
    box-shadow: 0 0 0 4px rgba(201, 166, 106, 0.2);
}

/* Tab and interactive elements smoother transitions */
body.total-rebuild .book-tab,
body.total-rebuild [role="tab"],
body.total-rebuild .filter-btn {
    transition: all var(--transition-base);
}

@media (min-width: 1024px) {
    body.total-rebuild .header .nav__logo-img,
    body.total-rebuild .header .nav__logo-img--receiver {
        height: 85px;
        width: auto;
    }

    body.total-rebuild .header .nav__links-logo {
        min-width: 132px;
        padding-inline: 1.2rem;
    }

    body.total-rebuild.logo-morph-enabled .hero__subtitle {
        margin-left: clamp(-4.25rem, -3.6vw, -2.4rem);
    }
}

@media (max-width: 991px) {
    body.total-rebuild .header .nav__logo-img,
    body.total-rebuild .header .nav__logo-img--receiver {
        height: 58px;
    }

    body.total-rebuild .header .nav__links-logo {
        min-width: 108px;
        padding-inline: 0.75rem;
    }

    body.total-rebuild.logo-morph-enabled .hero__subtitle {
        margin-left: 0;
    }

    body.total-rebuild .hero__content {
        width: calc(100% - 0.25rem);
        max-width: 980px;
    }

    body.total-rebuild .hero__schedule {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.65rem;
        margin-top: clamp(56px, 9vh, 108px);
    }

    body.total-rebuild .hero__schedule-info {
        display: none;
    }

    body.total-rebuild .hero__schedule .forge-booking-widget-host {
        max-height: clamp(405px, 66vh, 590px);
        overflow: auto;
    }

    body.total-rebuild .hero__schedule .forge-booking__services {
        gap: 0.45rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__step {
        min-height: 70px;
        padding: 0.35rem;
    }

    body.total-rebuild .hero__schedule .forge-booking__service-card {
        padding: 0.58rem 0.62rem;
        min-height: 128px;
    }

    body.total-rebuild .hero__schedule-info,
    body.total-rebuild .hero__schedule-title,
    body.total-rebuild .hero__schedule-copy {
        text-align: center;
        justify-items: center;
    }

    body.total-rebuild .section-header {
        text-align: center;
    }

    body.total-rebuild .quick-nav__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    body.total-rebuild .hero__schedule {
        width: 100%;
        margin-top: clamp(138px, 18vh, 220px);
    }

    body.total-rebuild .hero__schedule .forge-booking-widget-host {
        max-height: clamp(400px, 62vh, 560px);
        overflow: auto;
    }
}

@media (max-width: 767px) {
    body.total-rebuild .hero__schedule .forge-booking__step {
        flex-basis: clamp(100px, 34vw, 160px);
    }

    body.total-rebuild .hero__schedule .forge-booking__service-card {
        flex-basis: clamp(118px, 38vw, 180px);
    }

    body.total-rebuild .header .nav__logo-img,
    body.total-rebuild .header .nav__logo-img--receiver {
        height: 46px;
    }

    body.total-rebuild .header .nav__links-logo {
        min-width: 88px;
        padding-inline: 0.45rem;
    }

    body.total-rebuild .section::before {
        inset: 0.7rem;
        border-radius: 16px;
    }

    body.total-rebuild .hero {
        min-height: 0;
        padding-top: clamp(112px, 14vh, 142px);
        padding-bottom: 1.4rem;
    }

    body.total-rebuild .hero__title {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
        line-height: 1.02;
        max-width: 100%;
    }

    body.total-rebuild .hero__content {
        width: min(100%, calc(100% - 0.7rem));
        gap: 0.5rem;
    }

    body.total-rebuild .hero__schedule {
        width: min(100%, calc(100% - 0.4rem));
        padding: 0.7rem 0.55rem;
        border-radius: 14px;
        margin-top: clamp(34px, 6vh, 72px);
    }

    body.total-rebuild .hero__schedule .forge-booking__services {
        gap: 0.4rem;
    }

    body.total-rebuild .hero__brand-logo {
        width: clamp(300px, 92vw, 560px);
    }

    body.total-rebuild .hero__mast,
    body.total-rebuild .hero__body {
        border-radius: 16px;
    }

    body.total-rebuild .hero__description {
        line-height: 1.55;
    }

    body.total-rebuild .trust-badge {
        min-width: 110px;
    }

    body.total-rebuild .quick-nav__grid {
        grid-template-columns: 1fr;
    }

    body.total-rebuild.inner-page .page-header {
        padding-top: 6.1rem;
        padding-bottom: 2rem;
    }

    body.total-rebuild.inner-page .page-header .section-header {
        margin-bottom: 1.25rem;
    }

    body.total-rebuild.inner-page .page-header .section-header h1 {
        font-size: clamp(1.9rem, 12vw, 3rem);
        max-width: 14ch;
    }

    body.total-rebuild.inner-page .page-header .section-header__subtitle {
        font-size: 0.98rem;
        line-height: 1.55;
    }
}
