/* Editorial transition: restrained, typographic heritage section. */
.als-legacy{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 22% 50%,#22313c 0%,#101e2b 53%,#0c1823 100%);border-block:1px solid #c5a57236;color:#f5f1e9;padding-block:clamp(3.8rem,7vw,7rem)}
html[dir=rtl] .als-legacy{background:radial-gradient(ellipse at 78% 50%,#22313c 0%,#101e2b 53%,#0c1823 100%)}
.als-legacy-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2.3rem,6vw,6rem);align-items:center;position:relative}
.als-legacy-grid:before,.als-legacy-grid:after{content:"";position:absolute;inset-inline:0;height:1px;background:linear-gradient(90deg,transparent,#c5a5728c 25%,#c5a57242 75%,transparent);pointer-events:none}
.als-legacy-grid:before{inset-block-start:-1.6rem}.als-legacy-grid:after{inset-block-end:-1.6rem}
.als-legacy-date{text-align:center;min-width:0;position:relative;padding-block:1.2rem}
.als-legacy-date:before{content:"";position:absolute;inset:0 5%;border:1px solid #c5a57220;pointer-events:none;clip-path:polygon(0 0,24% 0,24% 1%,1% 1%,1% 99%,24% 99%,24% 100%,0 100%,0 0,100% 0,100% 100%,76% 100%,76% 99%,99% 99%,99% 1%,76% 1%,76% 0)}
.als-legacy-label{font:600 .7rem/1.6 system-ui,sans-serif;letter-spacing:.2em;color:#c5a572;margin:0 0 1.1rem;text-transform:uppercase}
.als-legacy-year{font:400 clamp(5.8rem,11vw,10.5rem)/.95 Georgia,'Times New Roman',serif;letter-spacing:-.065em;color:#c5a572;margin-block:.25rem .9rem;padding-inline-end:.065em;white-space:nowrap;font-variant-numeric:lining-nums}
.als-legacy-caption{display:flex;gap:.65rem;align-items:center;justify-content:center;font-size:.7rem;letter-spacing:.19em;color:#d5c5a9;white-space:nowrap}
.als-legacy-caption span{height:1px;width:2rem;background:#c5a57280}
.als-legacy-content{border-inline-start:1px solid #c5a57252;padding-inline-start:clamp(1.8rem,4vw,4rem);min-width:0}
.als-home .als-legacy h2{font-size:clamp(2rem,3.5vw,3.5rem);line-height:1.15;letter-spacing:-.025em}
.als-legacy h2 span{display:block;color:#c5a572;margin-block-start:.22em}
.als-legacy-description{font-size:clamp(.97rem,1.25vw,1.08rem);line-height:1.85;color:#d0d5d9;max-width:38rem;margin:1.3rem 0 1.5rem}
.als-legacy-link{display:inline-flex;gap:1.4rem;align-items:center;min-height:44px;text-decoration:none;color:#c5a572;border-block-end:1px solid #c5a57266;font-size:.95rem;transition:color .25s,border-color .25s}
.als-legacy-link span{transition:transform .3s}.als-legacy-link:hover,.als-legacy-link:focus-visible{color:#f5f1e9;border-color:#c5a572}.als-legacy-link:hover span{transform:translateX(4px)}html[dir=rtl] .als-legacy-link:hover span{transform:translateX(-4px)}
html[dir=rtl] .als-legacy-label,html[dir=rtl] .als-legacy-caption{letter-spacing:0}html[dir=rtl] .als-home .als-legacy h2{font-family:Tahoma,'Segoe UI',sans-serif;letter-spacing:0;line-height:1.45;font-weight:400;font-size:clamp(1.8rem,3vw,2.9rem)}
@media(max-width:700px){.als-legacy{padding-block:3.3rem;background:radial-gradient(ellipse at 50% 15%,#22313c,#101e2b 60%,#0c1823)}html[dir=rtl] .als-legacy{background:radial-gradient(ellipse at 50% 15%,#22313c,#101e2b 60%,#0c1823)}.als-legacy-grid{grid-template-columns:1fr;gap:1.8rem}.als-legacy-date{padding-block:.6rem 1rem}.als-legacy-year{font-size:clamp(5.5rem,23vw,8rem)}.als-legacy-content{border-inline-start:0;border-block-start:1px solid #c5a57252;padding-inline-start:0;padding-block-start:1.5rem}.als-home .als-legacy h2{font-size:clamp(1.9rem,7.6vw,2.75rem)}.als-legacy-description{margin-block:1rem .8rem}.als-legacy-label{margin-block-end:.7rem}.als-legacy-grid:before,.als-legacy-grid:after{inset-inline:0}}
@media(prefers-reduced-motion:no-preference){.als-legacy.is-revealed [data-legacy-reveal]{animation:als-legacy-rise .9s cubic-bezier(.2,.7,.2,1) both}.als-legacy.is-revealed .als-legacy-content{animation-delay:.17s}.als-legacy.is-revealed .als-legacy-grid:before,.als-legacy.is-revealed .als-legacy-grid:after{animation:als-legacy-rule 1.1s ease-out both}@keyframes als-legacy-rise{from{opacity:.25;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes als-legacy-rule{from{transform:scaleX(.15);opacity:.3}to{transform:scaleX(1);opacity:1}}}
@media(prefers-reduced-motion:reduce){.als-legacy *, .als-legacy *::before,.als-legacy *::after{animation:none!important;transition:none!important}}

/* The founder portrait and founding year share the existing heritage section. */
.als-founder-heritage .als-legacy-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
    column-gap: clamp(2rem, 5.6vw, 5.5rem);
    row-gap: clamp(1.15rem, 2.1vw, 1.9rem);
}
.als-legacy-founder {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: center;
    inline-size: min(100%, 25.5rem);
    min-inline-size: 0;
    margin: 0;
    border: 1px solid #c5a57290;
    background: linear-gradient(155deg, #1d303d, #0d1924);
    box-shadow: 0 14px 42px #060d1670;
}
.als-legacy-founder-photo {
    position: relative;
    margin: .55rem .55rem 0;
    aspect-ratio: 4 / 5;
    background: #1d303d;
    overflow: hidden;
}
.als-legacy-founder-photo img {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}
.als-legacy-founder-photo::after {
    content: "";
    position: absolute;
    inset: .4rem;
    border: 1px solid #f0d7a48f;
    pointer-events: none;
}
.als-legacy-founder figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .35rem .55rem;
    margin: 0;
    padding: .78rem .6rem .86rem;
    color: #dfc595;
    font: 500 .88rem/1.5 system-ui, sans-serif;
    text-align: center;
}
.als-legacy-founder-name {
    color: #f5f1e9;
    font: 400 1.28rem/1.35 Georgia, serif;
}
[dir="rtl"] .als-legacy-founder-name { font: 600 1.11rem/1.55 Tahoma, 'Segoe UI', sans-serif; }

.als-founder-heritage .als-legacy-date {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    padding: 0;
    text-align: start;
}
.als-founder-heritage .als-legacy-date::before { content: none; }
.als-founder-heritage .als-legacy-date > .als-legacy-label { margin-block-end: .28rem; }
.als-legacy-founding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(.75rem, 2.5vw, 2rem);
    row-gap: .2rem;
}
.als-founder-heritage .als-legacy-year {
    flex: none;
    margin: 0;
    font-size: clamp(4.4rem, 8vw, 7.35rem);
}
.als-founder-heritage .als-legacy-caption {
    justify-content: start;
    white-space: normal;
}
.als-founder-heritage .als-legacy-caption span:last-child { display: none; }
.als-founder-heritage .als-legacy-caption span { flex: none; inline-size: 1.4rem; }

.als-founder-heritage .als-legacy-content {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    padding: clamp(.95rem, 1.9vw, 1.6rem) 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #c5a57252;
}
@media (max-width: 700px) {
    .als-founder-heritage .als-legacy-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.5rem;
    }
    .als-legacy-founder {
        grid-row: auto;
        inline-size: min(100%, 19rem);
    }
    .als-founder-heritage :is(.als-legacy-date, .als-legacy-content) {
        grid-column: 1;
        grid-row: auto;
    }
    .als-founder-heritage .als-legacy-year { font-size: clamp(4rem, 17vw, 6rem); }
}
@media (prefers-reduced-motion: no-preference) {
    .als-founder-heritage.is-revealed .als-legacy-founder {
        animation: als-founder-entrance .78s .09s cubic-bezier(.2,.7,.2,1) both;
    }
    @keyframes als-founder-entrance {
        from { opacity: .45; transform: translateY(.75rem); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Founder heritage: scoped editorial scroll entrance, mirrored in RTL.
   Content stays visible without JS or when reduced motion is requested. */
@media (prefers-reduced-motion: no-preference) {
    .als-founder-heritage { --als-founder-enter-x: -42px; --als-founder-copy-x: 42px; }
    html[dir="rtl"] .als-founder-heritage { --als-founder-enter-x: 42px; --als-founder-copy-x: -42px; }
    .als-founder-heritage .als-legacy-founder { --als-heritage-x: var(--als-founder-enter-x); --als-heritage-delay: 0ms; }
    .als-founder-heritage .als-legacy-date { --als-heritage-x: var(--als-founder-copy-x); --als-heritage-delay: 100ms; }
    .als-founder-heritage .als-legacy-content { --als-heritage-x: var(--als-founder-copy-x); --als-heritage-delay: 230ms; }
    .als-founder-heritage .als-heritage-pending {
        opacity: 0; transform: translate3d(var(--als-heritage-x), 10px, 0);
        animation: none !important;
    }
    .als-founder-heritage.is-revealed .als-heritage-arrived {
        animation: als-heritage-editorial-enter 1050ms var(--als-heritage-delay) cubic-bezier(.18,.72,.22,1) both;
    }
    .als-founder-heritage .als-legacy-founder.als-heritage-arrived .als-legacy-founder-photo img {
        animation: als-heritage-portrait-settle 1550ms cubic-bezier(.18,.72,.22,1) both;
    }
    .als-founder-heritage .als-legacy-founder.als-heritage-arrived .als-legacy-founder-photo::after {
        animation: als-heritage-frame-light 1500ms 180ms ease-out both;
    }
    @keyframes als-heritage-editorial-enter {
        from { opacity: 0; transform: translate3d(var(--als-heritage-x), 10px, 0); }
        to { opacity: 1; transform: translate3d(0,0,0); }
    }
    @keyframes als-heritage-portrait-settle {
        from { transform: scale(1.035); }
        to { transform: scale(1); }
    }
    @keyframes als-heritage-frame-light {
        0% { opacity: .35; box-shadow: inset 0 0 0 transparent; }
        38% { opacity: 1; box-shadow: inset 0 0 12px #c5a57238; }
        100% { opacity: 1; box-shadow: inset 0 0 0 transparent; }
    }
    @media (max-width: 700px) {
        .als-founder-heritage, html[dir="rtl"] .als-founder-heritage {
            --als-founder-enter-x: 0px; --als-founder-copy-x: 0px;
        }
        .als-founder-heritage :is(.als-legacy-founder,.als-legacy-date,.als-legacy-content) { --als-heritage-delay: 0ms; }
        .als-founder-heritage .als-heritage-pending { transform: translateY(10px); }
        .als-founder-heritage.is-revealed .als-heritage-arrived { animation-duration: 850ms; }
    }
}

.als-founder-heritage:focus-within .als-heritage-arrived { animation: none !important; opacity: 1; transform: none; }
