/* ============================================================
   RENOVATION COMPACT — polished "lollipop" layout
   Section 01 condensed into a tab-driven, gizmo-rich panel.
   All original prose preserved; revealed via tabs + <details>
   + lifecycle node clicks. Scoped under #renovation-retrofit.

   Design language:
   - Surface: white over cream wash, refined hairline borders
   - Accent: --svc-accent (#FF3B30) used sparingly on
     interactive states (hover, open, active scrubber)
   - Motion: house sliding-pill curve (520ms cubic-bezier)
   - Depth: layered shadows for cards, subtle lift on hover
   - Border radius rhythm: 10 / 14 / 18 / 100
   ============================================================ */

#renovation-retrofit .rcc {
    --rcc-surface:        #FFFFFF;
    --rcc-surface-soft:   #FAFAF7;
    --rcc-border:         rgba(50, 48, 47, 0.10);
    --rcc-border-strong:  rgba(50, 48, 47, 0.18);
    --rcc-border-active:  rgba(50, 48, 47, 0.55);
    --rcc-text:           #32302F;
    --rcc-text-soft:      rgba(50, 48, 47, 0.72);
    --rcc-text-dim:       rgba(50, 48, 47, 0.55);
    --rcc-text-muted:     rgba(50, 48, 47, 0.42);
    --rcc-accent:         #FF3B30;
    --rcc-accent-soft:    rgba(255, 59, 48, 0.10);
    --rcc-accent-glow:    rgba(255, 59, 48, 0.22);
    --rcc-shadow-sm:      0 1px 2px rgba(50, 48, 47, 0.04);
    --rcc-shadow-card:    0 4px 14px -6px rgba(50, 48, 47, 0.10),
                          0 1px 2px rgba(50, 48, 47, 0.04);
    --rcc-shadow-hover:   0 14px 32px -10px rgba(50, 48, 47, 0.16),
                          0 2px 6px rgba(50, 48, 47, 0.06);
    --rcc-shadow-elev:    0 24px 60px -24px rgba(50, 48, 47, 0.22),
                          0 4px 12px rgba(50, 48, 47, 0.05);
    --rcc-ease:           cubic-bezier(0.4, 0, 0.1, 1);

    position: relative;
    padding: clamp(20px, 2.5vw, 32px) clamp(20px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.6vw, 20px);
}

/* ========== 1. HERO STRIP ========== */
#renovation-retrofit .rcc__hero {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 18px);
    padding: clamp(12px, 1.4vw, 16px) clamp(14px, 1.6vw, 20px);
    background: linear-gradient(135deg, var(--rcc-surface) 0%, var(--rcc-surface-soft) 100%);
    border: 1px solid var(--rcc-border);
    border-radius: 18px;
    box-shadow: var(--rcc-shadow-card);
    transition: box-shadow 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__hero:hover {
    box-shadow: var(--rcc-shadow-hover);
}

#renovation-retrofit .rcc__hero-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 18px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rcc-text-soft);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border-strong);
    border-radius: 100px;
    flex-shrink: 0;
}

/* Red accent dot inside the tag */
#renovation-retrofit .rcc__hero-tag::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--rcc-accent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px var(--rcc-accent-soft);
}

#renovation-retrofit .rcc__hero-headline {
    flex: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: var(--font-semibold);
    letter-spacing: -0.4px;
    line-height: 1.25;
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__hero-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border-strong);
    border-radius: 50%;
    color: var(--rcc-text);
    cursor: pointer;
    transition: all 320ms var(--rcc-ease);
    font-size: 0.95rem;
    box-shadow: var(--rcc-shadow-sm);
}

#renovation-retrofit .rcc__hero-toggle:hover {
    border-color: var(--rcc-border-active);
    transform: translateY(-1px);
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__hero-toggle[aria-expanded="true"] {
    background: var(--rcc-text);
    color: var(--rcc-surface);
    border-color: var(--rcc-text);
    transform: rotate(180deg);
    box-shadow: 0 0 0 4px var(--rcc-accent-soft), var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__hero-detail {
    overflow: hidden;
    max-height: 0;
    transition: max-height 520ms var(--rcc-ease);
}

#renovation-retrofit .rcc__hero-detail.is-open {
    max-height: 600px;
}

#renovation-retrofit .rcc__hero-detail p {
    margin: 8px 0 0;
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 22px);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-left: 3px solid var(--rcc-accent);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rcc-text-soft);
    box-shadow: var(--rcc-shadow-sm);
}

/* ========== 2. STATS RIBBON ========== */
#renovation-retrofit .rcc__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--rcc-shadow-card);
    position: relative;
    transition: box-shadow 320ms var(--rcc-ease), transform 320ms var(--rcc-ease);
}

#renovation-retrofit .rcc__stats:hover {
    box-shadow: var(--rcc-shadow-hover);
    transform: translateY(-2px);
}

/* Top hairline accent that sweeps in on hover */
#renovation-retrofit .rcc__stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rcc-accent) 50%, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 600ms var(--rcc-ease);
}

#renovation-retrofit .rcc__stats:hover::before {
    transform: scaleX(1);
}

#renovation-retrofit .rcc__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: clamp(14px, 1.6vw, 20px) clamp(8px, 1vw, 14px);
    text-align: center;
    border-right: 1px solid var(--rcc-border);
    transition: background 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__stat:last-child {
    border-right: none;
}

#renovation-retrofit .rcc__stat:hover {
    background: var(--rcc-surface-soft);
}

#renovation-retrofit .rcc__stat-num {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: var(--font-bold);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__stat-cap {
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--rcc-text-muted);
}

/* ========== 3. SUB-TABS — sliding pill ========== */
#renovation-retrofit .rcc__tabs {
    position: relative;
    display: flex;
    gap: 4px;
    padding: 5px;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 14px;
    box-shadow: var(--rcc-shadow-sm);
    overflow: hidden;
}

#renovation-retrofit .rcc__tab-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: linear-gradient(135deg, var(--rcc-text) 0%, #1f1d1c 100%);
    border-radius: 10px;
    box-shadow: 0 6px 16px -6px rgba(50, 48, 47, 0.4);
    transition: transform 520ms var(--rcc-ease),
                width 520ms var(--rcc-ease);
    z-index: 0;
}

#renovation-retrofit .rcc__tab {
    position: relative;
    flex: 1;
    z-index: 1;
    padding: clamp(9px, 1.1vw, 12px) clamp(10px, 1.4vw, 16px);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 0.95vw, 0.85rem);
    font-weight: 600;
    color: var(--rcc-text-soft);
    transition: color 280ms var(--rcc-ease);
    text-align: center;
    white-space: nowrap;
}

#renovation-retrofit .rcc__tab[aria-selected="true"] {
    color: #fff;
}

#renovation-retrofit .rcc__tab:hover:not([aria-selected="true"]) {
    color: var(--rcc-text);
}

/* ========== 4. TAB PANES ========== */
#renovation-retrofit .rcc__pane {
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: rccPaneIn 420ms var(--rcc-ease);
}

#renovation-retrofit .rcc__pane.is-active {
    display: flex;
}

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

/* ========== 5. EXPAND ROWS — <details> ========== */
#renovation-retrofit .rcc__expand {
    position: relative;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--rcc-shadow-card);
    transition: border-color 280ms var(--rcc-ease),
                box-shadow 280ms var(--rcc-ease),
                transform 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__expand:hover {
    border-color: var(--rcc-border-strong);
    box-shadow: var(--rcc-shadow-hover);
    transform: translateY(-1px);
}

#renovation-retrofit .rcc__expand[open] {
    border-color: var(--rcc-border-active);
    box-shadow: var(--rcc-shadow-elev);
}

#renovation-retrofit .rcc__expand[open]::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--rcc-accent);
    border-radius: 14px 0 0 14px;
}

#renovation-retrofit .rcc__expand summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(13px, 1.4vw, 16px) clamp(16px, 1.7vw, 22px);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.1vw, 1.02rem);
    font-weight: var(--font-semibold);
    letter-spacing: -0.2px;
    color: var(--rcc-text);
    user-select: none;
    transition: background 200ms var(--rcc-ease);
}

#renovation-retrofit .rcc__expand summary::-webkit-details-marker {
    display: none;
}

#renovation-retrofit .rcc__expand summary:hover {
    background: var(--rcc-surface-soft);
}

#renovation-retrofit .rcc__expand summary i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--rcc-text);
    background: var(--rcc-surface-soft);
    border: 1px solid var(--rcc-border);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__expand[open] summary i {
    background: var(--rcc-accent-soft);
    border-color: rgba(255, 59, 48, 0.25);
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__expand summary::after {
    content: '+';
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--rcc-text-dim);
    background: var(--rcc-surface-soft);
    border: 1px solid var(--rcc-border);
    border-radius: 50%;
    transition: all 360ms var(--rcc-ease);
    flex-shrink: 0;
}

#renovation-retrofit .rcc__expand[open] summary::after {
    transform: rotate(45deg);
    background: var(--rcc-text);
    color: #fff;
    border-color: var(--rcc-text);
}

#renovation-retrofit .rcc__expand-body {
    padding: 0 clamp(16px, 1.7vw, 22px) clamp(14px, 1.5vw, 18px) clamp(60px, 5.2vw, 70px);
    border-top: 1px solid var(--rcc-border);
}

#renovation-retrofit .rcc__expand-body p {
    margin: 14px 0 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rcc-text-soft);
}

/* ========== 6. DETAIL CHIPS — key/value mini cards ========== */
#renovation-retrofit .rcc__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

#renovation-retrofit .rcc__detail {
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 220ms var(--rcc-ease),
                box-shadow 220ms var(--rcc-ease);
}

#renovation-retrofit .rcc__detail:hover {
    border-color: var(--rcc-border-strong);
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__detail[open] {
    border-color: var(--rcc-border-active);
    background: linear-gradient(180deg, var(--rcc-surface) 0%, var(--rcc-surface-soft) 100%);
}

#renovation-retrofit .rcc__detail summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 200ms var(--rcc-ease);
}

#renovation-retrofit .rcc__detail summary::-webkit-details-marker {
    display: none;
}

#renovation-retrofit .rcc__detail summary i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--rcc-text);
    background: var(--rcc-accent-soft);
    border-radius: 7px;
    flex-shrink: 0;
    transition: background 200ms var(--rcc-ease);
}

#renovation-retrofit .rcc__detail[open] summary i {
    background: var(--rcc-accent);
    color: #fff;
}

#renovation-retrofit .rcc__detail-key {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--rcc-text);
    flex: 1;
    letter-spacing: -0.1px;
}

#renovation-retrofit .rcc__detail summary::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2332302F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                opacity 520ms cubic-bezier(0.4, 0, 0.1, 1);
    flex-shrink: 0;
}

#renovation-retrofit .rcc__detail:hover summary::after {
    opacity: 0.7;
}

#renovation-retrofit .rcc__detail[open] summary::after {
    transform: rotate(90deg);
    opacity: 1;
}

#renovation-retrofit .rcc__detail-val {
    display: block;
    padding: 0 14px 12px 50px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--rcc-text-soft);
    font-weight: 500;
}

/* ========== 7. LIFECYCLE — clickable nodes ========== */
#renovation-retrofit .rcc__life-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    position: relative;
}

/* Connector dotted line behind nodes */
#renovation-retrofit .rcc__life-nodes::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(90deg, var(--rcc-border-strong) 50%, transparent 50%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}

#renovation-retrofit .rcc__life-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--rcc-shadow-sm);
    transition: all 320ms var(--rcc-ease);
}

#renovation-retrofit .rcc__life-node:hover {
    border-color: var(--rcc-border-active);
    transform: translateY(-3px);
    box-shadow: var(--rcc-shadow-hover);
}

#renovation-retrofit .rcc__life-node[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--rcc-text) 0%, #1f1d1c 100%);
    border-color: var(--rcc-text);
    box-shadow: 0 0 0 4px var(--rcc-accent-soft), var(--rcc-shadow-elev);
}

#renovation-retrofit .rcc__life-node i {
    font-size: 1.5rem;
    color: var(--rcc-text);
    transition: color 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__life-node[aria-pressed="true"] i {
    color: #fff;
}

#renovation-retrofit .rcc__life-node span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--rcc-text);
    transition: color 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__life-node[aria-pressed="true"] span {
    color: #fff;
}

#renovation-retrofit .rcc__life-detail {
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 22px);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-left: 3px solid var(--rcc-accent);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--rcc-text-soft);
    display: none;
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__life-detail.is-active {
    display: block;
    animation: rccPaneIn 360ms var(--rcc-ease);
}

#renovation-retrofit .rcc__life-detail strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--font-semibold);
    letter-spacing: -0.3px;
    color: var(--rcc-text);
}

/* Compact team-bars chart */
#renovation-retrofit .rcc__bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 22px);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 14px;
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__bars-headline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-semibold);
    letter-spacing: -0.3px;
    color: var(--rcc-text);
    margin: 0 0 2px;
}

#renovation-retrofit .rcc__bars-intro {
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--rcc-text-dim);
    margin: 0 0 8px;
}

#renovation-retrofit .rcc__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 26px;
}

#renovation-retrofit .rcc__bar-name {
    flex: 0 0 120px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--rcc-text);
    text-align: right;
}

#renovation-retrofit .rcc__bar-track {
    flex: 1;
    height: 14px;
    background: rgba(50, 48, 47, 0.06);
    border-radius: 7px;
    position: relative;
    overflow: hidden;
}

#renovation-retrofit .rcc__bar-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--rcc-text) 0%, #1f1d1c 100%);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 2px 6px -2px rgba(50, 48, 47, 0.3);
}

/* ========== 8. PHASES — scrubber + sliding pin ========== */
#renovation-retrofit .rcc__phases-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 5px;
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 14px;
    box-shadow: var(--rcc-shadow-sm);
    overflow: hidden;
}

#renovation-retrofit .rcc__phases-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: linear-gradient(135deg, var(--rcc-accent) 0%, #d63125 100%);
    border-radius: 10px;
    box-shadow: 0 6px 16px -6px var(--rcc-accent-glow);
    transition: transform 520ms var(--rcc-ease),
                width 520ms var(--rcc-ease);
    z-index: 0;
}

#renovation-retrofit .rcc__phase-pin {
    position: relative;
    z-index: 1;
    padding: 10px 6px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: var(--font-bold);
    letter-spacing: -0.4px;
    color: var(--rcc-text);
    transition: color 280ms var(--rcc-ease);
}

#renovation-retrofit .rcc__phase-pin[aria-selected="true"] {
    color: #fff;
}

#renovation-retrofit .rcc__phase-pin:hover:not([aria-selected="true"]) {
    color: var(--rcc-accent);
}

#renovation-retrofit .rcc__phase-pane {
    display: none;
    padding: clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 28px);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 16px;
    box-shadow: var(--rcc-shadow-card);
    animation: rccPaneIn 420ms var(--rcc-ease);
    position: relative;
    overflow: hidden;
}

#renovation-retrofit .rcc__phase-pane.is-active {
    display: block;
}

/* Subtle accent gradient corner */
#renovation-retrofit .rcc__phase-pane::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at top right, var(--rcc-accent-soft), transparent 60%);
    pointer-events: none;
}

#renovation-retrofit .rcc__phase-pane > * {
    position: relative;
    z-index: 1;
}

#renovation-retrofit .rcc__phase-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 16px;
    background: var(--rcc-accent);
    color: #fff;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px -4px var(--rcc-accent-glow);
    position: relative;
}

#renovation-retrofit .rcc__phase-num::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

#renovation-retrofit .rcc__phase-title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: var(--font-semibold);
    letter-spacing: -0.4px;
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__phase-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rcc-text-soft);
}

/* ========== 9. SECTORS + CTA ========== */
#renovation-retrofit .rcc__sectors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 20px);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border);
    border-radius: 14px;
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__sector {
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--rcc-text);
    background: var(--rcc-surface);
    border: 1px solid var(--rcc-border-strong);
    border-radius: 100px;
    transition: all 240ms var(--rcc-ease);
    cursor: default;
}

#renovation-retrofit .rcc__sector:hover {
    background: var(--rcc-text);
    color: #fff;
    border-color: var(--rcc-text);
    transform: translateY(-1px);
    box-shadow: var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 32px 72px;
    background: linear-gradient(135deg, var(--rcc-text) 0%, #1f1d1c 100%);
    color: #fff;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    align-self: center;
    transition: all 320ms var(--rcc-ease);
    box-shadow: var(--rcc-shadow-card);
    position: relative;
    overflow: hidden;
}

#renovation-retrofit .rcc__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--rcc-accent) 0%, #d63125 100%);
    opacity: 0;
    transition: opacity 320ms var(--rcc-ease);
}

#renovation-retrofit .rcc__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px var(--rcc-accent-glow), var(--rcc-shadow-card);
}

#renovation-retrofit .rcc__cta:hover::before {
    opacity: 1;
}

#renovation-retrofit .rcc__cta > * {
    position: relative;
    z-index: 1;
}

#renovation-retrofit .rcc__cta i {
    font-size: 0.95rem;
    transition: transform 320ms var(--rcc-ease);
}

#renovation-retrofit .rcc__cta:hover i {
    transform: translateX(3px);
}

/* ========== 10. RESPONSIVE ========== */
@media (max-width: 720px) {
    #renovation-retrofit .rcc__hero {
        flex-wrap: wrap;
    }
    #renovation-retrofit .rcc__hero-headline {
        flex: 1 1 100%;
        order: 3;
        font-size: 1rem;
    }
    #renovation-retrofit .rcc__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    #renovation-retrofit .rcc__stat:nth-child(2) {
        border-right: none;
    }
    #renovation-retrofit .rcc__stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--rcc-border);
    }
    #renovation-retrofit .rcc__life-node i {
        font-size: 1.15rem;
    }
    #renovation-retrofit .rcc__life-node span {
        font-size: 0.62rem;
    }
    #renovation-retrofit .rcc__bar-name {
        flex: 0 0 90px;
        font-size: 0.68rem;
    }
    #renovation-retrofit .rcc__tabs {
        flex-wrap: wrap;
    }
    #renovation-retrofit .rcc__tab {
        flex: 1 1 calc(50% - 2px);
    }
    #renovation-retrofit .rcc__tab-indicator {
        display: none;
    }
    #renovation-retrofit .rcc__tab[aria-selected="true"] {
        background: var(--rcc-text);
        color: #fff;
    }
    #renovation-retrofit .rcc__phases-strip {
        grid-template-columns: repeat(5, 1fr);
    }
    #renovation-retrofit .rcc__life-nodes::before {
        display: none;
    }
}

/* ========== 11. RESET ORIGINAL SECTIONS ========== */
#renovation-retrofit .sv-card__panel-inner--renovation > .sv-reno__s,
#renovation-retrofit .sv-card__panel-inner--renovation > .sv-reno__divider {
    display: none !important;
}


/* ============================================
   12. EXPLORE — Merged sidebar nav + active panel
   Mirrors .ec-merged / .in-explore / .qm-explore. Replaces the original
   horizontal .rcc__tabs with a vertical red sidebar nav inside the
   renovation-retrofit card panel.
   ============================================ */
#renovation-retrofit .rr-explore {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    width: 100%;
    margin: 16px 0 0;
}

/* Force the inner .rcc__pane to render — visibility is now controlled by
   the wrapping .rr-explore__panel, not by the old tab system. */
#renovation-retrofit .rr-explore__panel .rcc__pane {
    display: flex;
    animation: none;
}

/* ---- Left nav (sticky red panel) ---- */
#renovation-retrofit .rr-explore__nav {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-accent, #FF3B30);
    border-radius: 16px;
    padding: clamp(1.25rem, 2vw, 1.75rem) 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

#renovation-retrofit .rr-explore__nav::-webkit-scrollbar { width: 4px; }
#renovation-retrofit .rr-explore__nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

#renovation-retrofit .rr-explore__navbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.6rem, 1vw, 1rem);
    padding: clamp(0.55rem, 0.9vw, 0.75rem) clamp(1.1rem, 1.6vw, 1.6rem);
    background: none;
    border: none;
    border-radius: 0;
    text-align: left;
    cursor: pointer;
    width: 100%;
    position: relative;
    transition: background 0.2s, opacity 0.2s;
    font-family: var(--font-body, 'Urbanist', sans-serif);
}

#renovation-retrofit .rr-explore__navbox:hover {
    background: rgba(255, 255, 255, 0.08);
}

#renovation-retrofit .rr-explore__navbox.is-active {
    background: rgba(255, 255, 255, 0.06);
}

#renovation-retrofit .rr-explore__navbox.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 0 2px 2px 0;
}

#renovation-retrofit .rr-explore__navbox-num {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    min-width: 24px;
    letter-spacing: 0.02em;
}

#renovation-retrofit .rr-explore__navbox.is-active .rr-explore__navbox-num {
    color: rgba(255, 255, 255, 0.8);
}

#renovation-retrofit .rr-explore__navbox-title {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
    transition: color 0.2s, font-size 0.2s, font-weight 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

#renovation-retrofit .rr-explore__navbox.is-active .rr-explore__navbox-title {
    color: #fff;
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    font-weight: 600;
}

/* ---- Right content + panels ---- */
#renovation-retrofit .rr-explore__content { min-width: 0; }
#renovation-retrofit .rr-explore__panels { position: relative; }

#renovation-retrofit .rr-explore__panel { display: none; }
#renovation-retrofit .rr-explore__panel.is-active {
    display: block;
    animation: rrExploreFade 0.35s var(--rcc-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

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

/* Mobile: stack vertically below 900px (the card panel is already narrow) */
@media (max-width: 900px) {
    #renovation-retrofit .rr-explore {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    #renovation-retrofit .rr-explore__nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding: 0.75rem 0;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }
    #renovation-retrofit .rr-explore__navbox {
        flex: 0 0 auto;
        padding: 0.6rem 1rem;
    }
    #renovation-retrofit .rr-explore__navbox.is-active::before {
        display: none;
    }
}


/* ============================================
   13. CLEANUP — Strip futuristic styling, weird hovers, icon pills.
   This block intentionally lives at the end so it overrides everything
   above. Goal: make the panels read as plain, calm accordions. The
   red sidebar (.rr-explore__nav) is untouched.
   ============================================ */

/* --- Hero: title + reveal-button on the left, stock image on the right.
       Layout mirrors the other panels' .sv-card__hero-text / .sv-card__hero-image
       pairing but uses .rcc__-prefixed classes for renovation-specific scoping.
       Tag pill (glowing dot) and old toggle hidden in case markup re-introduced. --- */
#renovation-retrofit .rcc__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
#renovation-retrofit .rcc__hero:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}
#renovation-retrofit .rcc__hero-tag,
#renovation-retrofit .rcc__hero-toggle { display: none; }
#renovation-retrofit .rcc__hero-detail {
    display: contents;
}

#renovation-retrofit .rcc__hero-text {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 24px);
    min-width: 0;
}

#renovation-retrofit .rcc__hero-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
}

#renovation-retrofit .rcc__hero-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.1, 1);
}

#renovation-retrofit .rcc__hero-image:hover .rcc__hero-image-img {
    transform: scale(1.04);
}

/* Headline — mixed-scale typography (matches homepage hero technique).
   Three roles in one heading:
     .label   — small tracked uppercase label, lifted (overline)
     .connect — small italic muted connector
     .anchor  — full-size dominant focal word, bold, tight tracking */
#renovation-retrofit .rcc__hero-headline {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.8px;
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__hero-headline-line {
    display: block;
}

#renovation-retrofit .rcc__hero-headline-label {
    display: inline-block;
    font-size: 0.42em;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.7;
    vertical-align: 0.55em;
    margin-right: 0.6em;
}

#renovation-retrofit .rcc__hero-headline-connect {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    opacity: 0.65;
    vertical-align: 0.3em;
    margin-right: 0.45em;
}

#renovation-retrofit .rcc__hero-headline-anchor {
    font-weight: 700;
    letter-spacing: -0.03em;
}

#renovation-retrofit .rcc__hero-lead {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    line-height: 1.6;
    color: var(--rcc-text-soft);
}

/* Lead emphasis — same toolkit, smaller doses */
#renovation-retrofit .rcc__hero-lead-key {
    font-weight: 700;
    color: var(--rcc-text);
    letter-spacing: -0.01em;
}

/* ---- Hero reveal — black circle (+) button hides the lead paragraph;
   click expands the panel below with the house-motion curve.
   Plus → × via 45° rotation of the icon wrapper. ---- */
#renovation-retrofit .rcc__hero-reveal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#renovation-retrofit .rcc__hero-reveal__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #0A1119;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

#renovation-retrofit .rcc__hero-reveal__btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

#renovation-retrofit .rcc__hero-reveal__btn:focus-visible {
    outline: 2px solid var(--rcc-accent, #C0392B);
    outline-offset: 3px;
}

#renovation-retrofit .rcc__hero-reveal__icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

#renovation-retrofit .rcc__hero-reveal__icon-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 1px;
}

#renovation-retrofit .rcc__hero-reveal__icon-bar:nth-child(1) {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

#renovation-retrofit .rcc__hero-reveal__icon-bar:nth-child(2) {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

/* Expanded state — whole icon rotates 45° so + becomes × */
#renovation-retrofit .rcc__hero-reveal__btn[aria-expanded="true"] .rcc__hero-reveal__icon {
    transform: rotate(45deg);
}

/* Collapsible panel — grid-template-rows 0fr → 1fr for smooth height
   animation that adapts to any content height. */
#renovation-retrofit .rcc__hero-reveal__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows 520ms cubic-bezier(0.4, 0, 0.1, 1),
                opacity 420ms cubic-bezier(0.4, 0, 0.1, 1),
                margin-top 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

#renovation-retrofit .rcc__hero-reveal__panel > * {
    min-height: 0;
    overflow: hidden;
}

#renovation-retrofit .rcc__hero-reveal__btn[aria-expanded="true"] + .rcc__hero-reveal__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: clamp(16px, 2vw, 24px);
}

@media (prefers-reduced-motion: reduce) {
    #renovation-retrofit .rcc__hero-reveal__btn,
    #renovation-retrofit .rcc__hero-reveal__icon,
    #renovation-retrofit .rcc__hero-reveal__panel {
        transition: none;
    }
}

#renovation-retrofit .rcc__hero-lead-list {
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rcc-text);
}

#renovation-retrofit .rcc__hero-lead-note {
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 720px) {
    #renovation-retrofit .rcc__hero {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --- Stats: drop the card chrome and hover lift --- */
#renovation-retrofit .rcc__stats {
    margin-top: clamp(20px, 3vw, 40px);
    background: transparent;
    border: none;
    box-shadow: none;
}
#renovation-retrofit .rcc__stats:hover,
#renovation-retrofit .rcc__stats:hover::before {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}
#renovation-retrofit .rcc__stats::before { display: none; }
#renovation-retrofit .rcc__stat:hover { transform: none; }

/* --- Expand accordions: FAQ-style rows ----------------------------------
   Borrowed from the homepage .faq__accordion: top border per item, bottom
   border on the last; trigger is a 3-column grid (icon | title | + circle);
   the right indicator is a 32px circle with a + that rotates 45° when open
   (gray idle → white-on-dark active). House-motion curve throughout. */
#renovation-retrofit .rcc__expand {
    background: transparent;
    border: none;
    border-top: 1px solid var(--rcc-border);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
#renovation-retrofit .rcc__pane > .rcc__expand:last-of-type {
    border-bottom: 1px solid var(--rcc-border);
}
#renovation-retrofit .rcc__expand:hover,
#renovation-retrofit .rcc__expand[open] {
    background: transparent;
    box-shadow: none;
    transform: none;
}
#renovation-retrofit .rcc__expand[open]::before { display: none; }

#renovation-retrofit .rcc__expand summary {
    display: grid;
    grid-template-columns: auto 1fr 32px;
    align-items: center;
    gap: var(--space-5, 1.25rem);
    padding: var(--space-7, 1.75rem) var(--space-2, 0.5rem);
    background: transparent;
}
#renovation-retrofit .rcc__expand summary:hover { background: transparent; }

/* Left ph icon — no pill, no border (size + color set by the unified rule
   below at 3.2rem / accent red). */
#renovation-retrofit .rcc__expand summary i,
#renovation-retrofit .rcc__expand[open] summary i {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* + circle on the right (FAQ pattern). 32px, gray border idle, rotates 45°
   on open, swaps to white background + dark border + dark glyph. */
#renovation-retrofit .rcc__expand summary::after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--rcc-border);
    background: transparent;
    color: var(--rcc-text-dim);
    font-family: var(--font-body, sans-serif);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 0;
    background-image: none;
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                background 520ms cubic-bezier(0.4, 0, 0.1, 1),
                border-color 520ms cubic-bezier(0.4, 0, 0.1, 1),
                color 520ms cubic-bezier(0.4, 0, 0.1, 1);
}
#renovation-retrofit .rcc__expand[open] summary::after {
    transform: rotate(45deg);
    background: #fff;
    border-color: var(--rcc-text);
    color: var(--rcc-text);
}

/* Body — sit flush under the row, no top border. */
#renovation-retrofit .rcc__expand-body {
    padding: 0 var(--space-2, 0.5rem) var(--space-7, 1.75rem) calc(3.2rem + var(--space-5, 1.25rem) + var(--space-2, 0.5rem));
    border-top: none;
}

/* --- Detail chips: same FAQ-style accordion treatment --- */
#renovation-retrofit .rcc__details { gap: 0; }
#renovation-retrofit .rcc__detail {
    background: transparent;
    border: none;
    border-top: 1px solid var(--rcc-border);
    border-radius: 0;
    box-shadow: none;
}
#renovation-retrofit .rcc__details > .rcc__detail:last-of-type {
    border-bottom: 1px solid var(--rcc-border);
}
#renovation-retrofit .rcc__detail:hover,
#renovation-retrofit .rcc__detail[open] {
    background: transparent;
    box-shadow: none;
}

#renovation-retrofit .rcc__detail summary {
    display: grid;
    grid-template-columns: auto 1fr 32px;
    align-items: center;
    gap: var(--space-5, 1.25rem);
    padding: var(--space-6, 1.5rem) var(--space-2, 0.5rem);
}
#renovation-retrofit .rcc__detail summary i,
#renovation-retrofit .rcc__detail[open] summary i {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* + circle on detail rows too. */
#renovation-retrofit .rcc__detail summary::after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--rcc-border);
    background: transparent;
    color: var(--rcc-text-dim);
    font-family: var(--font-body, sans-serif);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 0;
    background-image: none;
    opacity: 1;
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                background 520ms cubic-bezier(0.4, 0, 0.1, 1),
                border-color 520ms cubic-bezier(0.4, 0, 0.1, 1),
                color 520ms cubic-bezier(0.4, 0, 0.1, 1);
}
#renovation-retrofit .rcc__detail[open] summary::after {
    transform: rotate(45deg);
    background: #fff;
    border-color: var(--rcc-text);
    color: var(--rcc-text);
    opacity: 1;
}

#renovation-retrofit .rcc__detail-val {
    padding: 0 var(--space-2, 0.5rem) var(--space-5, 1.25rem) calc(3.2rem + var(--space-5, 1.25rem) + var(--space-2, 0.5rem));
}

/* --- Lifecycle: drop the horizontal dotted connector line behind nodes --- */
#renovation-retrofit .rcc__life-nodes::before { display: none; }

/* --- Unified icon size + color across every clickable thing in the
       renovation panel (CTA excluded — it has its own white-on-dark icon).
       Tinted with the brand accent red so the icons read as a consistent
       visual system. --- */
#renovation-retrofit .rcc__expand summary i,
#renovation-retrofit .rcc__expand[open] summary i,
#renovation-retrofit .rcc__detail summary i,
#renovation-retrofit .rcc__detail[open] summary i,
#renovation-retrofit .rcc__life-node i {
    font-size: 3.2rem;
    color: var(--rcc-accent);
}

/* CTA arrow: large + white on the dark button. */
#renovation-retrofit .rcc__cta i {
    font-size: 1.9rem;
    color: #fff;
}

/* Sector chips: larger badges so they read as proper tags. */
#renovation-retrofit .rcc__sector {
    padding: 12px 22px;
    font-size: 0.95rem;
}
@media (max-width: 720px) {
    #renovation-retrofit .rcc__expand summary i,
    #renovation-retrofit .rcc__expand[open] summary i,
    #renovation-retrofit .rcc__detail summary i,
    #renovation-retrofit .rcc__detail[open] summary i,
    #renovation-retrofit .rcc__life-node i {
        font-size: 2.4rem;
    }
}

/* --- Lifecycle bars chart: taller bars with larger labels --- */
#renovation-retrofit .rcc__bar {
    height: 44px;
    gap: 16px;
}
#renovation-retrofit .rcc__bar-name {
    flex: 0 0 150px;
    font-size: 0.95rem;
}
#renovation-retrofit .rcc__bar-track {
    height: 28px;
    border-radius: 14px;
}
#renovation-retrofit .rcc__bar-fill {
    border-radius: 14px;
    font-size: 0.85rem;
}

/* --- Lifecycle nodes: drop pressed gradient + glow + hover lift --- */
#renovation-retrofit .rcc__life-node {
    background: transparent;
    border: 1px solid var(--rcc-border);
    box-shadow: none;
}
#renovation-retrofit .rcc__life-node:hover {
    transform: none;
    border-color: var(--rcc-border);
    box-shadow: none;
}
#renovation-retrofit .rcc__life-node[aria-pressed="true"] {
    background: var(--rcc-text);
    border-color: var(--rcc-text);
    box-shadow: none;
}
#renovation-retrofit .rcc__life-detail {
    border-left: 1px solid var(--rcc-border);
    box-shadow: none;
}
#renovation-retrofit .rcc__bars { box-shadow: none; }
#renovation-retrofit .rcc__bar-fill {
    background: var(--rcc-text);
    box-shadow: none;
}

/* --- Phases: drop gradient pin + accent corner --- */
#renovation-retrofit .rcc__phases-strip { box-shadow: none; }
#renovation-retrofit .rcc__phases-indicator {
    background: var(--rcc-text);
    box-shadow: none;
}
#renovation-retrofit .rcc__phase-pin:hover:not([aria-selected="true"]) {
    color: var(--rcc-text);
}
#renovation-retrofit .rcc__phase-pane {
    box-shadow: none;
}
#renovation-retrofit .rcc__phase-pane::before { display: none; }
#renovation-retrofit .rcc__phase-num {
    background: transparent;
    color: var(--rcc-text-dim);
    box-shadow: none;
    padding: 0;
}
#renovation-retrofit .rcc__phase-num::before { display: none; }

/* --- Sectors row + CTA: calm down --- */
#renovation-retrofit .rcc__sectors-row { box-shadow: none; }
#renovation-retrofit .rcc__sector {
    transition: none;
}
#renovation-retrofit .rcc__sector:hover {
    background: var(--rcc-surface);
    color: var(--rcc-text);
    border-color: var(--rcc-border-strong);
    transform: none;
    box-shadow: none;
}
#renovation-retrofit .rcc__cta {
    background: var(--rcc-text);
    box-shadow: none;
}
#renovation-retrofit .rcc__cta::before { display: none; }
#renovation-retrofit .rcc__cta:hover {
    transform: none;
    box-shadow: none;
}
#renovation-retrofit .rcc__cta:hover i { transform: none; }


/* ============================================
   14. NEWSPAPER MODE — Static editorial spread
   One typeface (var(--font-body) — Urbanist). Hierarchy comes from
   varied size and weight, like a magazine page. Accordion toggles,
   lifecycle node buttons, and phase scrubbers are removed; everything
   that was collapsed is laid out flat.
   ============================================ */

/* All panel content uses ONE font; the script font on .rcc__hero-headline
   etc. is overridden so the page reads as one voice. */
#renovation-retrofit .rr-explore__panel,
#renovation-retrofit .rr-explore__panel *:not([class*="ph-"]) {
    font-family: var(--font-body, 'Urbanist', sans-serif) !important;
}

/* --- Strip every interactive control --- */
#renovation-retrofit .rcc__pane summary {
    cursor: default;
    pointer-events: none;
    list-style: none;
    grid-template-columns: 1fr;
    padding: 0;
    border: none;
}
#renovation-retrofit .rcc__expand summary::after,
#renovation-retrofit .rcc__detail summary::after {
    display: none;
}
#renovation-retrofit .rcc__expand summary i,
#renovation-retrofit .rcc__detail summary i,
#renovation-retrofit .rcc__life-node i,
#renovation-retrofit .rcc__phase-num::before {
    display: none !important;
}
#renovation-retrofit .rcc__life-nodes,
#renovation-retrofit .rcc__phases-strip {
    display: none !important;
}

/* Force-show every body so all text is visible at once. */
#renovation-retrofit .rcc__expand-body,
#renovation-retrofit .rcc__detail-val {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

/* --- Panel container --- */
#renovation-retrofit .rcc__pane {
    display: block;
    color: var(--rcc-text);
    font-size: 1rem;
    line-height: 1.7;
    padding: var(--space-2, 0.5rem) 0;
}

/* --- Expand items: section heading + body paragraph --- */
#renovation-retrofit .rcc__expand,
#renovation-retrofit .rcc__expand[open],
#renovation-retrofit .rcc__expand:hover {
    background: transparent;
    border: none !important;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
#renovation-retrofit .rcc__expand summary,
#renovation-retrofit .rcc__expand[open] summary {
    display: block;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--rcc-text);
    padding: 0 0 var(--space-3, 0.75rem) 0;
    background: transparent;
}
#renovation-retrofit .rcc__expand-body {
    padding: 0 !important;
    border-top: none;
}
#renovation-retrofit .rcc__expand-body p {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--rcc-text-soft);
    margin: 0;
    padding: 0;
    max-width: 64ch;
}

/* --- Detail rows: editorial fact list (key | value), single column --- */
#renovation-retrofit .rcc__details {
    display: block;
    gap: 0;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding-top: clamp(1.25rem, 2vw, 1.75rem);
    border-top: 1px solid var(--rcc-border);
}
#renovation-retrofit .rcc__detail,
#renovation-retrofit .rcc__detail[open],
#renovation-retrofit .rcc__detail:hover {
    background: transparent;
    border: none !important;
    border-radius: 0;
    box-shadow: none;
}
#renovation-retrofit .rcc__detail summary {
    display: grid !important;
    grid-template-columns: minmax(180px, 0.32fr) 1fr;
    gap: var(--space-5, 1.25rem);
    align-items: baseline;
    padding: var(--space-3, 0.75rem) 0;
    border-bottom: 1px solid var(--rcc-border);
}
#renovation-retrofit .rcc__detail-key {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--rcc-text-dim);
    flex: none;
}
#renovation-retrofit .rcc__detail-val {
    padding: 0 !important;
    font-size: 1rem;
    font-weight: 400;
    color: var(--rcc-text);
}

/* --- Lifecycle: each phase as a heading + paragraph --- */
#renovation-retrofit .rcc__life-detail {
    display: block !important;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rcc-border);
    border-radius: 0;
    box-shadow: none;
    animation: none !important;
    padding: 0 0 clamp(1.5rem, 2.5vw, 2rem) 0;
    margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rcc-text-soft);
}
#renovation-retrofit .rcc__life-detail:last-of-type {
    border-bottom: none;
}
#renovation-retrofit .rcc__life-detail strong {
    display: block;
    margin-bottom: var(--space-3, 0.75rem);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--rcc-text);
}

/* --- Bars chart: keep, but tone down to fit the editorial feel --- */
#renovation-retrofit .rcc__bars {
    background: transparent;
    border: none;
    border-top: 1px solid var(--rcc-border);
    border-radius: 0;
    box-shadow: none;
    padding: clamp(1.5rem, 2.5vw, 2rem) 0 0 0;
    margin-top: clamp(1.5rem, 2.5vw, 2rem);
}
#renovation-retrofit .rcc__bars-headline {
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--rcc-text);
    margin: 0 0 var(--space-2, 0.5rem) 0;
}
#renovation-retrofit .rcc__bars-intro {
    font-size: 0.9375rem;
    color: var(--rcc-text-soft);
    margin: 0 0 var(--space-5, 1.25rem) 0;
    max-width: 60ch;
}

/* --- Phases: each pane as a stacked editorial entry --- */
#renovation-retrofit .rcc__phase-pane {
    display: block !important;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rcc-border);
    border-radius: 0;
    box-shadow: none;
    animation: none !important;
    padding: 0 0 clamp(1.75rem, 3vw, 2.25rem) 0;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    overflow: visible;
}
#renovation-retrofit .rcc__phase-pane:last-of-type {
    border-bottom: none;
}
#renovation-retrofit .rcc__phase-pane::before { display: none; }
#renovation-retrofit .rcc__phase-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--rcc-text-dim);
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: var(--space-2, 0.5rem);
}
#renovation-retrofit .rcc__phase-title {
    margin: 0 0 var(--space-3, 0.75rem) 0;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--rcc-text);
}
#renovation-retrofit .rcc__phase-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rcc-text-soft);
    max-width: 64ch;
    margin: 0;
}

/* --- Sectors row: typographic tags, no chip pills --- */
#renovation-retrofit .rcc__sectors-row {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: clamp(2rem, 3vw, 2.5rem);
}
#renovation-retrofit .rcc__sector {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    color: var(--rcc-text);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
#renovation-retrofit .rcc__sector:hover {
    background: transparent !important;
    color: var(--rcc-text);
    transform: none;
}
