/* ============================================================
   NEOFLUX — Réalisations "Showroom"
   css/realisations.css
   ============================================================ */

/* ── HERO ── */
.rz-hero {
    background: #07111d;
    position: relative;
    overflow: hidden;
}

/* Red top accent */
.rz-hero-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #D42F2F 30%, #ff6666 50%, #D42F2F 70%, transparent);
}

/* Dot pattern bg */
.rz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Ambient glows */
.rz-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.rz-hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(212, 47, 47, .08);
    bottom: -150px;
    left: -100px;
}

.rz-hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, .06);
    top: -100px;
    right: 10%;
}

/* Layout */
.rz-hero-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    padding: 90px 0 0;
}

/* Text side */
.rz-hero-text {
    max-width: 680px;
}

.rz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 2rem;
}

.rz-eyebrow-line {
    display: block;
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, .15);
}

.rz-eyebrow em {
    font-style: normal;
    color: #D42F2F;
}

.rz-title {
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -3px;
    margin-bottom: 1.8rem;
}

.rz-title .t-white {
    display: block;
    color: #fff;
}

.rz-title .t-outline {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .15);
}

.rz-desc {
    font-size: .92rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.8;
    max-width: 500px;
}

/* Decorative large number (right side) */
.rz-hero-deco {
    font-size: clamp(8rem, 15vw, 16rem);
    font-weight: 900;
    color: rgba(255, 255, 255, .03);
    line-height: 1;
    letter-spacing: -8px;
    user-select: none;
    pointer-events: none;
    padding-right: 2rem;
    padding-top: 2rem;
}

/* ── Stats bar (bottom of hero) ── */
.rz-statsbar {
    position: relative;
    z-index: 1;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .06);
    margin-top: 3rem;
}

.rz-statsbar-item {
    flex: 1;
    padding: 1.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .06);
    transition: background .25s;
    position: relative;
}

.rz-statsbar-item:last-child {
    border-right: none;
}

.rz-statsbar-item:hover {
    background: rgba(255, 255, 255, .03);
}

.rz-statsbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #D42F2F;
    transition: width .35s;
}

.rz-statsbar-item:hover::after {
    width: 60%;
}

.rz-statsbar-n {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.rz-statsbar-n sup {
    font-size: .85rem;
    color: #D42F2F;
    vertical-align: super;
}

.rz-statsbar-l {
    display: block;
    font-size: .6rem;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: .4rem;
}

/* ══════════════════════════════════════════════
   FILTER BAR (category tabs)
══════════════════════════════════════════════ */
.rz-cats {
    background: #fff;
    border-top: 3px solid #D42F2F;
    border-bottom: 1px solid #edf0f4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.rz-cats-scroll {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    min-height: 56px;
}

.rz-cats-scroll::-webkit-scrollbar {
    display: none;
}

.rz-cat-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 0 1.4rem;
    background: transparent;
    border: none;
    border-right: 1px solid #edf0f4;
    color: #64748b;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    position: relative;
}

.rz-cat-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #D42F2F;
    transform: scaleX(0);
    transition: transform .2s;
}

.rz-cat-btn:hover {
    color: #0f172a;
    background: #f8fafc;
}

.rz-cat-btn.active {
    color: #D42F2F;
    background: #fff9f9;
    font-weight: 700;
}

.rz-cat-btn.active::after {
    transform: scaleX(1);
}

.rz-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 100px;
    padding: 0 .45rem;
    transition: all .2s;
}

.rz-cat-btn.active .rz-cat-count {
    background: #fef2f2;
    color: #D42F2F;
}

/* Result counter — right side */
.rz-result-count {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-size: .76rem;
    color: #94a3b8;
    border-left: 1px solid #edf0f4;
    white-space: nowrap;
    gap: .25rem;
}

.rz-result-count strong {
    color: #0f172a;
    font-weight: 800;
}

/* ══════════════════════════════════════════════
   GALLERY SECTION
══════════════════════════════════════════════ */
.rz-gallery {
    background: #f1f5f9;
    padding: 3px 0 80px;
    min-height: 400px;
}

/* Empty state */
.rz-empty {
    text-align: center;
    padding: 6rem 2rem;
    color: #94a3b8;
}

.rz-empty i {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   PROJECT GRID — Mosaic
══════════════════════════════════════════════ */
.rz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: row dense;
    gap: 6px;
    transition: opacity .2s ease;
}

/* Tailles mixtes */
.rz-card:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.rz-card:nth-child(5n+3) { grid-row: span 2; }
.rz-card:nth-child(5n+5) { grid-column: span 2; }

.rz-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #cbd5e1;
    border-radius: 4px;
}

.rz-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.25, .46, .45, .94);
}

.rz-card:hover img {
    transform: scale(1.07);
}

/* Hover overlay — simple dark + zoom icon */
.rz-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}

.rz-card:hover .rz-card-hover {
    background: rgba(0, 0, 0, .45);
}

.rz-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(.55);
    transition: opacity .3s ease, transform .35s cubic-bezier(.25, .46, .45, .94);
}

.rz-card:hover .rz-card-icon {
    opacity: 1;
    transform: scale(1);
}

.rz-card.hidden {
    display: none;
}

/* No results */
.rz-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: #94a3b8;
    display: none;
}

.rz-no-results.show {
    display: block;
}

.rz-no-results i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   LIGHTBOX — Plein écran (image pure)
══════════════════════════════════════════════ */
.rz-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .95);
    align-items: center;
    justify-content: center;
}

.rz-lb.open {
    display: flex;
    animation: rzLbIn .25s ease;
}

@keyframes rzLbIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Image wrapper */
.rz-lb-img-wrap {
    max-width: calc(100vw - 160px);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-lb-img-wrap img {
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    display: block;
    border-radius: 3px;
    transition: opacity .3s ease, transform .3s ease;
}

.rz-lb-img-wrap img.lb-out-left  { opacity: 0; transform: translateX(-80px); }
.rz-lb-img-wrap img.lb-out-right { opacity: 0; transform: translateX( 80px); }
.rz-lb-img-wrap img.lb-in-left   { opacity: 0; transform: translateX( 50px); transition: none; }
.rz-lb-img-wrap img.lb-in-right  { opacity: 0; transform: translateX(-50px); transition: none; }
.rz-lb-img-wrap img.lb-visible   { opacity: 1; transform: translateX(0); }

/* Close button */
.rz-lb-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 2;
}

.rz-lb-close:hover {
    background: #D42F2F;
    border-color: #D42F2F;
    color: #fff;
    transform: scale(1.05);
}

/* Arrow buttons */
.rz-lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 2;
}

.rz-lb-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: #0f172a;
    transform: translateY(-50%) scale(1.05);
}

.rz-lb-arrow-l { left: 16px; }
.rz-lb-arrow-r { right: 16px; }

/* Counter + dots */
.rz-lb-footer {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.rz-lb-counter {
    font-size: .7rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .35);
    font-family: 'Poppins', sans-serif;
}

.rz-lb-dots {
    display: flex;
    gap: 5px;
}

.rz-lb-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    transition: all .2s;
}

.rz-lb-dot.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .rz-title { font-size: clamp(3rem, 7vw, 5.5rem); }
    .rz-grid  { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
}

@media (max-width: 900px) {
    .rz-hero-deco { display: none; }
    .rz-hero-body { grid-template-columns: 1fr; }
    .rz-title     { font-size: clamp(3rem, 8vw, 5rem); }
}

@media (max-width: 768px) {
    .rz-hero-body { padding: 80px 0 0; }
    .rz-title     { font-size: 3rem; letter-spacing: -1.5px; }
    .rz-statsbar  { flex-wrap: wrap; }
    .rz-statsbar-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.06); }
    .rz-statsbar-n { font-size: 1.9rem; }

    .rz-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 4px; }
    /* Réinitialiser les tailles sur mobile */
    .rz-card:nth-child(5n+1) { grid-column: span 1; grid-row: span 1; }
    .rz-card:nth-child(5n+3) { grid-row: span 1; }
    .rz-card:nth-child(odd)  { grid-column: span 1; }
    .rz-card:nth-child(5n+1) { grid-column: span 2; }

    .rz-lb-img-wrap { max-width: 100vw; }
    .rz-lb-arrow    { width: 40px; height: 40px; font-size: .8rem; }
    .rz-lb-arrow-l  { left: 6px; }
    .rz-lb-arrow-r  { right: 6px; }
}

@media (max-width: 480px) {
    .rz-grid { grid-auto-rows: 130px; }
}


/* ╔══════════════════════════════════════════════════════════════╗
   ║  NEOFLUX — NOTRE HISTOIRE  (Timeline verticale cinématique) ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ── Variables locales ── */
.ht-wrap {
    --ht-gold:        #c9a84c;
    --ht-gold-light:  #e8c97a;
    --ht-gold-dark:   #7a5f1e;
    --ht-bg:          #07090f;
    --ht-card-bg:     rgba(255,255,255,.028);
    --ht-border:      rgba(201,168,76,.18);
    --ht-text:        #e8eaf0;
    --ht-muted:       rgba(232,234,240,.45);
    --ht-spine-w:     2px;
    --ht-node-size:   52px;
    --ht-col-gap:     56px;
}

/* ── Wrapper ── */
.ht-wrap {
    position: relative;
    background: var(--ht-bg);
    overflow: hidden;
    padding: 0 0 80px;
}

/* ── Background "1968" ghost text ── */
.ht-bg-text {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14rem, 28vw, 28rem);
    font-weight: 700;
    color: rgba(201,168,76,.04);
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

/* ── Section header ── */
.ht-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 80px 0 56px;
}

.ht-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--ht-border), transparent);
}

.ht-header-center {
    text-align: center;
    flex-shrink: 0;
}

.ht-eyebrow {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--ht-gold);
    margin-bottom: 12px;
}

.ht-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: .02em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.ht-subtitle {
    font-size: .88rem;
    color: var(--ht-muted);
    max-width: 480px;
    line-height: 1.75;
    font-weight: 300;
}

/* ── Decade nav ── */
.ht-nav-outer {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7,9,15,.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--ht-border);
    border-bottom: 1px solid var(--ht-border);
}

.ht-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.ht-nav-btn {
    position: relative;
    padding: 16px 28px;
    background: transparent;
    border: none;
    color: var(--ht-muted);
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s;
    border-right: 1px solid var(--ht-border);
}

.ht-nav-btn:last-child { border-right: none; }

.ht-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--ht-gold);
    transition: transform .25s;
    border-radius: 2px;
}

.ht-nav-btn:hover,
.ht-nav-btn.active {
    color: var(--ht-gold-light);
}

.ht-nav-btn.active::after,
.ht-nav-btn:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ── Timeline wrapper ── */
.ht-timeline {
    position: relative;
    padding: 60px 0 20px;
}

/* ── Central spine ── */
.ht-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: var(--ht-spine-w);
    transform: translateX(-50%);
    background: rgba(201,168,76,.1);
    overflow: hidden;
}

.ht-spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;                         /* animé via JS */
    background: linear-gradient(to bottom,
        transparent,
        var(--ht-gold) 15%,
        var(--ht-gold-light) 50%,
        var(--ht-gold) 85%,
        transparent);
    transition: height .6s ease;
}

/* ── Era item ── */
.ht-era {
    position: relative;
    display: grid;
    grid-template-columns: 1fr var(--ht-node-size) 1fr;
    gap: 0 var(--ht-col-gap);
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid rgba(201,168,76,.06);
}

.ht-era:last-child { border-bottom: none; }

/* ── Scroll animation ── */
.ht-hidden .ht-col-photo { opacity: 0; transform: translateX(-60px); }
.ht-hidden .ht-col-text  { opacity: 0; transform: translateX( 60px); }
.ht-hidden.ht-right .ht-col-photo { transform: translateX( 60px); }
.ht-hidden.ht-right .ht-col-text  { transform: translateX(-60px); }
.ht-hidden .ht-node { opacity: 0; transform: scale(.4); }

.ht-era .ht-col-photo,
.ht-era .ht-col-text,
.ht-era .ht-node {
    transition: opacity .7s ease, transform .7s cubic-bezier(.25,.46,.45,.94);
}

.ht-era.ht-visible .ht-col-photo,
.ht-era.ht-visible .ht-col-text  { opacity: 1; transform: none; }
.ht-era.ht-visible .ht-node      { opacity: 1; transform: none; }

.ht-era.ht-visible .ht-col-text  { transition-delay: .12s; }
.ht-era.ht-visible .ht-node      { transition-delay: .06s; }

/* ── Left era: photo left, text right ── */
.ht-left .ht-col-photo { grid-column: 1; grid-row: 1; text-align: right; }
.ht-left .ht-node      { grid-column: 2; grid-row: 1; }
.ht-left .ht-col-text  { grid-column: 3; grid-row: 1; text-align: left; }

/* ── Right era: text left, photo right ── */
.ht-right .ht-col-text  { grid-column: 1; grid-row: 1; text-align: right; }
.ht-right .ht-node      { grid-column: 2; grid-row: 1; }
.ht-right .ht-col-photo { grid-column: 3; grid-row: 1; text-align: left; }

/* ── Node (year marker on spine) ── */
.ht-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.ht-node-pulse {
    position: absolute;
    width: calc(var(--ht-node-size) + 24px);
    height: calc(var(--ht-node-size) + 24px);
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,.25);
    animation: ht-pulse 3s ease-in-out infinite;
}

@keyframes ht-pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%       { opacity: .2; transform: scale(1.15); }
}

.ht-node-ring {
    width: var(--ht-node-size);
    height: var(--ht-node-size);
    border-radius: 50%;
    border: 2px solid var(--ht-gold);
    background: var(--ht-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(201,168,76,.08), 0 0 20px rgba(201,168,76,.2);
}

.ht-node-dot {
    position: absolute;
    width: var(--ht-node-size);
    height: var(--ht-node-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(201,168,76,.2) 0%, transparent 70%);
    color: var(--ht-gold);
    font-size: .85rem;
    z-index: 2;
}

.ht-node-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--ht-gold);
    text-align: center;
    white-space: nowrap;
}

/* ── Photo column ── */
.ht-col-photo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ht-left  .ht-col-photo { align-items: flex-end; }
.ht-right .ht-col-photo { align-items: flex-start; }

.ht-photo-main {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--ht-border);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.ht-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.ht-photo-main:hover img { transform: scale(1.04); }

.ht-photo-year-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ht-border);
    color: var(--ht-gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 3px;
}

/* Thumbnails row */
.ht-photo-thumbs {
    display: flex;
    gap: 8px;
    max-width: 420px;
    width: 100%;
}

.ht-left  .ht-photo-thumbs { justify-content: flex-end; }
.ht-right .ht-photo-thumbs { justify-content: flex-start; }

.ht-thumb {
    flex: 1;
    aspect-ratio: 4/3;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--ht-border);
    max-width: 200px;
}

.ht-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.ht-thumb:hover img { transform: scale(1.06); }

/* Placeholder photo */
.ht-photo-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3;
    border-radius: 6px;
    border: 1px dashed var(--ht-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ht-muted);
    background: var(--ht-card-bg);
    font-size: .8rem;
    letter-spacing: .1em;
}

.ht-photo-placeholder i { font-size: 2.5rem; color: var(--ht-gold-dark); }

/* ── Text column ── */
.ht-col-text {
    display: flex;
    flex-direction: column;
    max-width: 420px;
}

.ht-left  .ht-col-text { align-items: flex-start; }
.ht-right .ht-col-text { align-items: flex-end; }

.ht-milestone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ht-gold);
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid var(--ht-border);
    border-radius: 2px;
    background: rgba(201,168,76,.06);
}

.ht-milestone i { font-size: .68rem; }

.ht-era-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    letter-spacing: .01em;
    margin-bottom: 16px;
}

.ht-era-desc {
    font-size: .88rem;
    line-height: 1.85;
    color: var(--ht-muted);
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 380px;
}

.ht-right .ht-era-desc { text-align: right; }

.ht-era-year-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    color: rgba(201,168,76,.07);
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    margin-top: auto;
}

/* ── Bottom deco ── */
.ht-bottom-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 0 0;
}

.ht-bottom-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--ht-border));
}

.ht-bottom-deco .ht-bottom-line:last-child {
    background: linear-gradient(to left, transparent, var(--ht-border));
}

.ht-bottom-diamond {
    width: 8px;
    height: 8px;
    border: 1px solid var(--ht-gold);
    transform: rotate(45deg);
    background: rgba(201,168,76,.15);
}

/* ══════════════════════════════════════════
   RESPONSIVE — TIMELINE
══════════════════════════════════════════ */
@media (max-width: 1000px) {
    .ht-era {
        grid-template-columns: 1fr var(--ht-node-size) 1fr;
        gap: 0 32px;
        padding: 40px 0;
    }
    .ht-photo-main { max-width: 340px; }
    .ht-thumb      { max-width: 160px; }
    .ht-col-text   { max-width: 340px; }
}

@media (max-width: 768px) {
    /* Stack: photo → node → text */
    .ht-era {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        gap: 20px;
        padding: 40px 0;
    }

    /* Remove spine — replaced by top border on node */
    .ht-spine { display: none; }

    .ht-node { flex-direction: row; justify-content: center; gap: 12px; }
    .ht-node-pulse { display: none; }
    .ht-node-year  { font-size: .8rem; }

    .ht-col-photo,
    .ht-col-text {
        width: 100%;
        max-width: 480px;
        align-items: center !important;
        text-align: center !important;
    }

    .ht-photo-main { max-width: 100%; }
    .ht-photo-thumbs { justify-content: center !important; }
    .ht-thumb { max-width: 160px; }
    .ht-era-desc { text-align: center !important; }
    .ht-era-year-big { display: none; }

    /* Reset hidden states for mobile */
    .ht-hidden .ht-col-photo,
    .ht-hidden .ht-col-text,
    .ht-hidden.ht-right .ht-col-photo,
    .ht-hidden.ht-right .ht-col-text {
        transform: translateY(30px);
    }

    .ht-nav-btn { padding: 14px 16px; font-size: .65rem; letter-spacing: .12em; }
    .ht-title   { font-size: 2rem; }
    .ht-header  { flex-direction: column; gap: 16px; padding: 56px 0 36px; }
    .ht-header-line { width: 60px; height: 1px; }
    .ht-bg-text { font-size: 30vw; }
}

@media (max-width: 480px) {
    .ht-nav-btn { padding: 12px 10px; font-size: .58rem; letter-spacing: .06em; }
    .ht-thumb   { max-width: 130px; }
}
