
/* =========================================
   SRN LOGISTICS ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â GLOBAL DESIGN SYSTEM
========================================= */

:root {
    --color-black: #080a0c;
    --color-black-soft: #111315;
    --color-gold: #d7b45f;
    --color-gold-light: #edcf86;
    --color-white: #f7f5f0;
    --color-muted: #c0c0c0;
    --color-text-dark: #151719;
    --color-text-muted: #686868;
    --color-border: rgba(215, 180, 95, 0.5);

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;

    --container-width: 1360px;
}

/* =========================================
   RESET AND BASE STYLES
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-width: 320px;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 5px;
}

img {
    display: block;
    max-width: 100%;
}

button {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 94px;
    background: rgba(8, 10, 12, 0.98);
    border-bottom: 1px solid rgba(215, 180, 95, 0.18);
}

.nav-container {
    width: min(1460px, 92%);
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* BRAND AND LOGO PLACEHOLDER */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

/*
   Empty area reserved for the official logo.
   The logo image can be added later without
   redesigning the navigation.
*/

.logo-placeholder {
    display: block;
    width: 72px;
    height: 62px;
    flex: 0 0 72px;
    background: transparent;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.brand-name {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-description {
    color: var(--color-white);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    line-height: 1.3;
}

.brand-tagline {
    color: var(--color-gold);
    font-size: 8px;
    letter-spacing: 3px;
    line-height: 1.4;
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.1vw, 34px);
}

.nav-link {
    position: relative;
    padding: 12px 0;
    color: #e3e3e3;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;

    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-light);
}

.nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;

    height: 2px;
    background: var(--color-gold);

    content: "";
}

/* HEADER CALL TO ACTION */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;

    padding: 15px 20px;
    border: 1px solid var(--color-gold);

    color: var(--color-gold-light);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.header-cta span {
    font-size: 20px;
    line-height: 1;
}

.header-cta:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 10px;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: var(--color-gold-light);
}

/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(690px, calc(100svh - 94px));
    min-height: 620px;
    overflow: hidden;
    background: var(--color-black);
}

/* BACKGROUND IMAGE LAYERS */

.hero-backgrounds {
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-color: var(--color-black);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0;
    transform: scale(1.035);

    transition:
        opacity 1.2s ease-in-out,
        transform 7.5s linear;
}

.hero-background.active {
    opacity: 1;
    transform: scale(1);
}

/*
   Temporary remote image sources.
   We will replace these with the generated
   images stored in assets/images/.
*/

/* =========================================
   HOMEPAGE BACKGROUND IMAGES
   Four slides: Gold, Jewellery, Gemstones, Cargo
========================================= */

/* =========================================
   SRN LOGISTICS â€” HOMEPAGE BACKGROUND IMAGES
========================================= */

.hero-background-gold {
    background-image: url("assets/images/01-precious-metals.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-background-jewellery {
    background-image: url("assets/images/02-jewellery.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-background-gemstones {
    background-image: url("assets/images/03-precious-stones.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-background-cargo {
    background-image: url("assets/images/04-global-cargo.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* DARK GRADIENT FOR TEXT READABILITY */

.hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 6, 9, 0.98) 0%,
            rgba(4, 6, 9, 0.94) 22%,
            rgba(4, 6, 9, 0.76) 41%,
            rgba(4, 6, 9, 0.24) 67%,
            rgba(4, 6, 9, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 6, 9, 0.66) 0%,
            transparent 30%,
            transparent 80%,
            rgba(4, 6, 9, 0.12) 100%
        );
}

/* HERO CONTENT */

.hero-container {
    display: flex;
    align-items: center;

    width: min(1270px, 78%);
    height: 100%;
    margin: 0 auto;

    padding: 48px 0 100px;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}

.hero-eyebrow {
    margin-bottom: 23px;

    color: var(--color-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1.8;
    text-transform: uppercase;
}

.hero-title {
    max-width: 600px;

    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(46px, 4.3vw, 70px);
    font-weight: 400;
    line-height: 1.055;
    letter-spacing: -1.5px;
}

.hero-title span {
    color: var(--color-gold-light);
}

.hero-description {
    max-width: 520px;
    margin-top: 23px;

    color: #cecece;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
}

/* HERO BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    min-height: 58px;
    padding: 0 24px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.button span {
    font-size: 21px;
    line-height: 1;
}

.button-primary {
    border: 1px solid var(--color-gold);
    background: var(--color-gold);
    color: #15120b;
}

.button-primary:hover {
    border-color: var(--color-gold-light);
    background: var(--color-gold-light);
}

.button-outline {
    border: 1px solid var(--color-gold);
    background: rgba(8, 10, 12, 0.2);
    color: var(--color-white);
}

.button-outline:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* =========================================
   CAROUSEL ARROWS
========================================= */

.carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 47%;

    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(5, 7, 9, 0.5);
    color: var(--color-white);

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.carousel-arrow:hover {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: var(--color-black);
}

.carousel-previous {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* =========================================
   CAROUSEL INDICATORS
========================================= */

.carousel-indicators {
    position: absolute;
    z-index: 5;
    bottom: 102px;
    left: 50%;

    display: flex;
    align-items: center;
    gap: 11px;

    transform: translateX(-50%);
}

.carousel-indicator {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.carousel-indicator.active {
    background: var(--color-gold);
    transform: scale(1.15);
}

.carousel-counter {
    position: absolute;
    z-index: 5;
    right: max(6%, calc((100% - 1460px) / 2));
    bottom: 100px;

    display: flex;
    gap: 9px;

    color: #e5e5e5;
    font-size: 12px;
    letter-spacing: 2px;
}

.carousel-counter #currentSlide {
    color: var(--color-gold-light);
}

/* =========================================
   CATEGORY STRIP
========================================= */

.category-strip {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;

    min-height: 75px;
    padding: 0 max(4.5%, calc((100% - 1460px) / 2));

    border-top: 1px solid var(--color-border);
    background: rgba(4, 6, 8, 0.88);
    backdrop-filter: blur(8px);
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-height: 26px;
    padding: 0 12px;

    color: #f0f0f0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.7px;
    text-align: center;

    transition: color 0.25s ease;
}

.category-link + .category-link {
    border-left: 1px solid rgba(215, 180, 95, 0.45);
}

.category-link:hover {
    color: var(--color-gold-light);
}

.category-number {
    color: var(--color-gold);
    font-size: 10px;
    letter-spacing: 1px;
}

/* =========================================
   EXPERTISE SECTION
========================================= */

.expertise-section {
    padding: 24px 0 26px;
    background: var(--color-white);
    color: var(--color-text-dark);
}

.section-container {
    width: min(var(--container-width), 86%);
    margin: 0 auto;
}


/* EXPERTISE INTRO */

.expertise-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 72px;
    row-gap: 24px;
    margin-bottom: 28px;
}

.section-heading-content {
    min-width: 0;
    max-width: 460px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;

    color: #99732b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-eyebrow::before {
    width: 36px;
    height: 1px;
    flex-shrink: 0;

    background: #b58a36;
    content: "";
}

.section-heading-content h2 {
    max-width: 450px;
    margin: 0;

    color: #141619;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.section-description {
    max-width: 540px;
    margin: 0;
    padding: 0;

    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.9;
}

/* The heading link is no longer used */
.section-link {
    display: none !important;
}

/* Responsive heading layout */

@media (max-width: 760px) {
    .expertise-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 24px;
    }

    .section-heading-content h2 {
        font-size: clamp(32px, 8vw, 40px);
    }

    .section-description {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.8;
    }
}

/* =========================================
   EXPERTISE CARDS — PREMIUM INTERACTIVE DESIGN
========================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.expertise-card {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: flex-end;

    min-width: 0;
    height: clamp(160px, 22vh, 200px);
    min-height: 0;
    overflow: hidden;

    background: #191b1d;
    color: var(--color-white);
    text-decoration: none;

    border: 1px solid rgba(215, 180, 95, 0.18);

    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

/* Image layer */

.expertise-image {
    position: absolute;
    z-index: -2;
    inset: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Existing image sources */

.image-precious-metals {
    background-image: url("https://images.unsplash.com/photo-1610375461246-83df859d849d?auto=format&fit=crop&w=900&q=80");
}

.image-jewellery {
    background-image: url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=900&q=80");
}

.image-gemstones {
    background-image: url("https://images.unsplash.com/photo-1611652022419-a9419f74343d?auto=format&fit=crop&w=900&q=80");
}

.image-merchandise {
    background-image: url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=900&q=80");
}

/* Dark gradient for text readability */

.expertise-card-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(7, 9, 11, 0.03) 0%,
        rgba(7, 9, 11, 0.16) 38%,
        rgba(7, 9, 11, 0.78) 72%,
        rgba(7, 9, 11, 0.98) 100%
    );

    transition: background 0.5s ease;
}

/* Card content */

.expertise-card-content {
    position: relative;
    width: 100%;
    padding: 17px 16px 15px;

    border-top: 1px solid rgba(215, 180, 95, 0.48);

    transform: translateY(0);
    transition:
        padding 0.4s ease,
        border-color 0.4s ease;
}

/* Small category label */

.expertise-card-number {
    display: block;
    margin-bottom: 9px;

    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-transform: uppercase;

    opacity: 0.9;
}

/* Category title */

.expertise-card-content h3 {
    margin: 0 0 5px;

    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.25;

    transition: color 0.3s ease;
}

/* Short category description */

.expertise-card-subtitle {
    margin: 0;

    color: #d6d6d6;
    font-family: var(--font-body);
    font-size: 10px;
    line-height: 1.6;
}

/* Details hidden until interaction */

.expertise-card-detail {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;
    max-height: 0;
    overflow: hidden;

    transition:
        grid-template-rows 0.45s ease,
        opacity 0.35s ease,
        max-height 0.45s ease,
        margin-top 0.35s ease;
}

.expertise-card-detail > p {
    min-height: 0;
    margin: 0;

    color: #dedede;
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.65;
}

.expertise-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    margin-top: 13px;
    padding-top: 10px;

    border-top: 1px solid rgba(215, 180, 95, 0.35);

    color: var(--color-gold-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.expertise-card-action b {
    font-size: 17px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

/* Hover and keyboard-focus effects */

.expertise-card:hover,
.expertise-card:focus-visible {
    z-index: 2;

    border-color: rgba(215, 180, 95, 0.85);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);

    outline: none;
}

.expertise-card:hover .expertise-image,
.expertise-card:focus-visible .expertise-image {
    transform: scale(1.09);
}

.expertise-card:hover .expertise-card-overlay,
.expertise-card:focus-visible .expertise-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(7, 9, 11, 0.30) 0%,
        rgba(7, 9, 11, 0.60) 32%,
        rgba(7, 9, 11, 0.94) 70%,
        rgba(7, 9, 11, 0.99) 100%
    );
}

.expertise-card:hover .expertise-card-content,
.expertise-card:focus-visible .expertise-card-content {
    border-top-color: var(--color-gold);
}

.expertise-card:hover .expertise-card-content h3,
.expertise-card:focus-visible .expertise-card-content h3 {
    color: var(--color-gold-light);
}

.expertise-card:hover .expertise-card-detail,
.expertise-card:focus-visible .expertise-card-detail {
    grid-template-rows: 1fr;
    max-height: 180px;
    margin-top: 10px;
    opacity: 1;
}

.expertise-card:hover .expertise-card-action b,
.expertise-card:focus-visible .expertise-card-action b {
    transform: translate(2px, -2px);
}

/* Keep focus visible for keyboard users */

.expertise-card:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 4px;
}

/* Tablet layout */

@media (max-width: 1150px) {
    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .expertise-card {
        height: clamp(190px, 27vh, 240px);
    }

    .expertise-card-content h3 {
        font-size: 20px;
    }
}

/* Mobile and touch-friendly layout */

@media (max-width: 760px) {
    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .expertise-card {
        height: auto;
        min-height: 220px;
    }

    .expertise-card-content {
        padding: 14px 11px;
    }

    .expertise-card-content h3 {
        font-size: 17px;
    }

    .expertise-card-number {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    /* Show details on touchscreens without requiring hover */
    .expertise-card-detail {
        grid-template-rows: 1fr;
        max-height: none;
        margin-top: 10px;
        opacity: 1;
    }

    .expertise-card-detail > p {
        font-size: 10px;
        line-height: 1.55;
    }

    .expertise-card-action {
        font-size: 8px;
    }
}

/* Very narrow phones */

@media (max-width: 390px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        min-height: 230px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .expertise-card,
    .expertise-image,
    .expertise-card-overlay,
    .expertise-card-content,
    .expertise-card-detail,
    .expertise-card-action b {
        transition: none !important;
    }
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 28px 7%;
    background: var(--color-black);
    color: #bcbcbc;
    font-size: 11px;
    line-height: 1.8;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand p {
    color: var(--color-gold-light);
    font-size: 13px;
    letter-spacing: 2px;
}

.footer-brand span {
    color: #999;
    font-size: 8px;
    letter-spacing: 2px;
}

.footer-description {
    color: #bcbcbc;
}

.footer-copyright {
    color: #8f8f8f;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1150px) {
    .nav-container {
        width: 94%;
        gap: 14px;
    }

    .brand {
        gap: 8px;
    }

    .logo-placeholder {
        width: 48px;
        flex-basis: 48px;
    }

    .brand-name {
        font-size: 29px;
    }

    .brand-description {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .brand-tagline {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .main-navigation {
        gap: 15px;
    }

    .nav-link {
        font-size: 10px;
    }

    .header-cta {
        padding: 12px;
        font-size: 11px;
    }

    .hero-container {
        width: 78%;
    }

    .expertise-heading {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .section-link {
        justify-self: start;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 760px) {
    .site-header {
        height: 78px;
    }

    .nav-container {
        width: 90%;
    }

    .brand {
        gap: 8px;
    }

    .logo-placeholder {
        width: 42px;
        height: 48px;
        flex-basis: 42px;
    }

    .brand-name {
        font-size: 27px;
    }

    .brand-description {
        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .brand-tagline {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Mobile navigation dropdown */

    .main-navigation {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px 5% 20px;

        background: #0a0c0e;
        border-bottom: 1px solid var(--color-border);
    }

    .main-navigation.is-open {
        display: flex;
    }


/* Premium navigation hover effect */

.nav-link {
    position: relative;
    padding: 12px 0;
    color: #e3e3e3;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* Remove the active underline completely */
.nav-link.active::after {
    display: none;
    content: none;
}

/* Gentle zoom on hover */
.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-gold-light);
    transform: scale(1.08);
}

/* Keep the active link clean, without an underline */
.nav-link.active {
    color: #e3e3e3;
}


    /* Mobile hero */

    .hero-section {
        height: auto;
        min-height: max(740px, calc(100svh - 78px));
    }

    .hero-background {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 6, 9, 0.94) 0%,
                rgba(4, 6, 9, 0.72) 65%,
                rgba(4, 6, 9, 0.48) 100%
            ),
            linear-gradient(
                0deg,
                rgba(4, 6, 9, 0.96) 0%,
                transparent 55%
            );
    }

    .hero-container {
        width: 84%;
        min-height: 630px;
        padding: 55px 0 150px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-eyebrow {
        margin-bottom: 19px;
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .hero-title {
        font-size: clamp(40px, 10vw, 58px);
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-description {
        margin-top: 19px;
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-actions {
        align-items: flex-start;
        gap: 10px;
        margin-top: 25px;
    }

    .button {
        min-height: 52px;
        gap: 11px;
        padding: 0 15px;
        font-size: 11px;
    }

    /* Mobile arrows */

    .carousel-arrow {
        top: 39%;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .carousel-previous {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 112px;
        gap: 9px;
    }

    .carousel-counter {
        right: 8%;
        bottom: 110px;
        font-size: 10px;
    }

    /* Two-row category strip */

    .category-strip {
        min-height: 92px;
        padding: 10px 4%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-link {
        min-height: 34px;
        gap: 7px;
        padding: 5px;

        font-size: 8px;
        letter-spacing: 0.9px;
    }

    .category-number {
        font-size: 9px;
    }

    .category-link:nth-child(3) {
        border-left: none;
    }

    .category-link:nth-child(n + 3) {
        border-top: 1px solid rgba(215, 180, 95, 0.25);
    }

    /* Mobile expertise section */

    .expertise-section {
        padding: 48px 0;
    }

    .section-container {
        width: 88%;
    }

    .expertise-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }

    .section-heading-content h2 {
        font-size: 36px;
    }

    .section-description {
        font-size: 12px;
    }

    .section-link {
        font-size: 12px;
    }

    .expertise-grid {
        gap: 10px;
    }

    .expertise-card {
        min-height: 190px;
    }

    .expertise-card-content {
        padding: 14px 11px;
    }

    .expertise-card-content h3 {
        font-size: 16px;
    }

    .expertise-card-content p {
        font-size: 10px;
    }

    .expertise-card-content > span {
        top: 14px;
        right: 11px;
    }

    .site-footer {
        padding: 24px 6%;
    }

    .footer-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }
}

/* =========================================
   SMALL MOBILE SCREENS
========================================= */

@media (max-width: 390px) {
    .brand {
        gap: 6px;
    }

    .logo-placeholder {
        width: 34px;
        flex-basis: 34px;
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-description {
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        justify-content: space-between;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        min-height: 225px;
    }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   HOMEPAGE REFINEMENTS ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â OCTOBER 2026
   Overrides for the approved design feedback
========================================= */

/* Keep the desktop hero within the visible browser viewport. */
@media (min-width: 761px) {
    .hero-section {
        height: calc(100svh - 94px);
        min-height: 560px;
        max-height: 900px;
    }

    .hero-container {
        padding-top: 34px;
        padding-bottom: 88px;
    }

    .hero-title {
        font-size: clamp(44px, 4.1vw, 66px);
    }
}

/* Remove visible carousel arrows, dots, and slide counter.
   The automatic background rotation remains enabled in script.js. */
.carousel-arrow,
.carousel-indicators,
.carousel-counter {
    display: none !important;
}

/* Make the category strip translucent so the hero image is visible. */
.category-strip {
    background: rgba(4, 6, 8, 0.42);
    border-top: 1px solid rgba(215, 180, 95, 0.62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.category-link + .category-link {
    border-left-color: rgba(215, 180, 95, 0.36);
}

/* Make the hero background a little more visible on the right. */
.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 6, 9, 0.97) 0%,
            rgba(4, 6, 9, 0.89) 23%,
            rgba(4, 6, 9, 0.63) 43%,
            rgba(4, 6, 9, 0.17) 72%,
            rgba(4, 6, 9, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 6, 9, 0.46) 0%,
            transparent 30%,
            transparent 82%,
            rgba(4, 6, 9, 0.10) 100%
        );
}

/* Prevent the hero from becoming too tall on shorter desktop screens. */
@media (min-width: 761px) and (max-height: 760px) {
    .site-header {
        height: 82px;
    }

    .hero-section {
        height: calc(100svh - 82px);
        min-height: 500px;
    }

    .hero-container {
        padding-top: 24px;
        padding-bottom: 78px;
    }

    .hero-eyebrow {
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(42px, 4vw, 58px);
        line-height: 1.03;
    }

    .hero-description {
        margin-top: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .button {
        min-height: 50px;
    }
}

/* Mobile layout: retain enough space for readable hero content. */
@media (max-width: 760px) {
    .hero-section {
        height: auto;
        min-height: max(700px, calc(100svh - 78px));
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 6, 9, 0.94) 0%,
                rgba(4, 6, 9, 0.72) 65%,
                rgba(4, 6, 9, 0.48) 100%
            ),
            linear-gradient(
                0deg,
                rgba(4, 6, 9, 0.82) 0%,
                transparent 60%
            );
    }

    .category-strip {
        background: rgba(4, 6, 8, 0.52);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

/* =========================================
   FINAL NAVIGATION OVERRIDES
   No underline; subtle zoom on hover/focus.
   These rules apply on desktop and mobile.
========================================= */

.main-navigation .nav-link {
    display: inline-block;
    text-decoration: none !important;
    border-bottom: 0 !important;
    transform: scale(1);
    transform-origin: center;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.main-navigation .nav-link::before,
.main-navigation .nav-link::after,
.main-navigation .nav-link.active::before,
.main-navigation .nav-link.active::after {
    display: none !important;
    content: none !important;
}

.main-navigation .nav-link,
.main-navigation .nav-link.active {
    color: #e3e3e3;
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link:focus-visible {
    color: var(--color-gold-light);
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .main-navigation .nav-link {
        transition: none;
    }
}

/* Consistent hover effects for both hero buttons */
.hero-section .hero-content .hero-buttons a {
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
    transform-origin: center;
}

.hero-section .hero-content .hero-buttons a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 85, 0.18);
}

.hero-section .hero-content .hero-buttons a:active {
    transform: scale(0.98);
}

/* =========================================
   FINAL HERO BUTTON FIX
   Contact button is transparent until hover.
========================================= */

.hero-section .hero-content .hero-actions .button-primary {
    background: transparent !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-gold) !important;
    box-shadow: none;
    transform: scale(1);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-section .hero-content .hero-actions .button-primary:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
    border-color: var(--color-gold-light) !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 85, 0.18);
}

.hero-section .hero-content .hero-actions .button-primary:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .hero-section .hero-content .hero-actions .button-primary {
        transition: none;
    }
}


/* =========================================
   SRN LOGISTICS â€” PAGE 2: ABOUT SRN
   Premium Editorial Layout
========================================= */


/* =========================================
   ABOUT PAGE — PREMIUM BASE
========================================= */

.about-page {
    background: #080a0c;
    color: #f4f1eb;
    font-family: "DM Sans", sans-serif;
}

.about-page main {
    overflow: hidden;
}

.about-page .site-header {
    position: relative;
    z-index: 100;
}

/* =========================================
   EDITORIAL HERO
========================================= */

.about-editorial {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: clamp(65px, 7vw, 100px) 6%;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(190, 145, 65, 0.09),
            transparent 42%
        ),
        #080a0c;
    border-bottom: 1px solid rgba(211, 174, 91, 0.3);
}

.about-editorial-container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(38px, 6vw, 90px);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.about-editorial-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 20px 0;
}

.about-eyebrow {
    margin: 0 0 24px;
    color: #d4b15e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    line-height: 1.8;
    text-transform: uppercase;
}

.about-title {
    margin: 0;
    color: #f7f4ef;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.13;
    text-wrap: balance;
}

.about-title span {
    color: #dfbd6d;
}

.about-introduction {
    max-width: 460px;
    margin: 26px 0 22px;
    color: #b9b9b9;
    font-size: 14px;
    line-height: 1.95;
}

.about-location {
    margin: 0 0 30px;
    color: #d2d0ca;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.8;
}

/* =========================================
   EDITORIAL IMAGE
========================================= */

.about-editorial-visual {
    position: relative;
    min-width: 0;
    height: clamp(420px, 42vw, 590px);
    overflow: hidden;
    background: #171717;
    border: 1px solid rgba(212, 177, 94, 0.35);
    isolation: isolate;
}

.about-company-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.78) contrast(1.06);
    transition:
        transform 700ms ease,
        filter 700ms ease;
}

.about-editorial-visual:hover .about-company-image {
    transform: scale(1.035);
    filter: brightness(0.9) contrast(1.04);
}

.about-editorial-visual::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        transparent 35%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

.about-image-caption {
    position: absolute;
    right: 24px;
    bottom: 27px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-caption-line {
    width: 32px;
    height: 1px;
    flex-shrink: 0;
    background: #d4b15e;
}

.about-image-caption p {
    margin: 0 0 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.about-image-caption span {
    color: #d6bd83;
    font-size: 9px;
    letter-spacing: 2px;
}

.about-image-index {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0dfb6;
    font-size: 10px;
    letter-spacing: 2px;
}

.about-index-divider {
    width: 25px;
    height: 1px;
    background: #d4b15e;
}

/* =========================================
   ABOUT PAGE BUTTONS
========================================= */

.about-page .button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 23px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition:
        transform 250ms ease,
        background-color 250ms ease,
        color 250ms ease,
        border-color 250ms ease;
}

.about-page .button span {
    font-size: 19px;
    transition: transform 250ms ease;
}

.about-page .button:hover span {
    transform: translateX(4px);
}

.about-page .button-primary {
    color: #111;
    background: #d8b75f;
    border: 1px solid #d8b75f;
}

.about-page .button-primary:hover {
    color: #080a0c;
    background: #edce83;
    border-color: #edce83;
    transform: translateY(-2px);
}

.about-page .button:focus-visible {
    outline: 2px solid #edce83;
    outline-offset: 4px;
}

/* =========================================
   COMPANY STORY
========================================= */

.about-story {
    padding: clamp(85px, 9vw, 120px) 6%;
    background: #f2f0e9;
    color: #171717;
}

.about-story-container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 7vw, 110px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-story .about-eyebrow {
    color: #98742c;
}

.about-story-heading h2,
.about-values-heading h2,
.about-contact h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.22;
    text-wrap: balance;
}

.about-story-copy p {
    margin: 0 0 22px;
    color: #55534e;
    font-size: 14px;
    line-height: 2;
}

.about-story-copy p:last-child {
    margin-bottom: 0;
}

/* =========================================
   VALUES SECTION
========================================= */

.about-values {
    padding: clamp(80px, 8vw, 110px) 6%;
    background: #0d0f10;
    color: #f4f1eb;
}

.about-values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-values-heading {
    margin-bottom: 48px;
}

.about-values-heading h2 {
    font-size: clamp(36px, 4.3vw, 56px);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(212, 177, 94, 0.38);
    border-bottom: 1px solid rgba(212, 177, 94, 0.38);
}

.about-value {
    min-width: 0;
    padding: 32px 28px 36px 0;
}

.about-value + .about-value {
    padding-left: 28px;
    border-left: 1px solid rgba(212, 177, 94, 0.25);
}

.about-value-number {
    color: #d4b15e;
    font-size: 10px;
    letter-spacing: 2px;
}

.about-value h3 {
    margin: 24px 0 14px;
    color: #f4f1eb;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}

.about-value p {
    margin: 0;
    color: #aaa9a4;
    font-size: 12px;
    line-height: 1.95;
}

/* =========================================
   CONTACT CALL TO ACTION
========================================= */

.about-contact {
    padding: clamp(65px, 7vw, 90px) 6%;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(212, 177, 94, 0.1),
            transparent 35%
        ),
        #171715;
    border-top: 1px solid rgba(212, 177, 94, 0.25);
}

.about-contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-contact .about-eyebrow {
    margin-bottom: 18px;
}

.about-contact h2 {
    color: #f4f1eb;
    font-size: clamp(36px, 4.2vw, 56px);
}

.about-contact-container > div > p:last-child {
    max-width: 540px;
    margin: 18px 0 0;
    color: #b8b6af;
    font-size: 13px;
    line-height: 1.9;
}

.about-contact-container > .button {
    flex-shrink: 0;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1000px) {
    .about-editorial {
        min-height: 0;
        padding: 70px 5%;
    }

    .about-editorial-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .about-title {
        font-size: clamp(40px, 5vw, 58px);
        letter-spacing: -1.5px;
    }

    .about-introduction {
        font-size: 13px;
    }

    .about-editorial-visual {
        height: 460px;
    }

    .about-story,
    .about-values {
        padding-right: 5%;
        padding-left: 5%;
    }

    .about-story-container {
        gap: 40px;
    }

    .about-value {
        padding-right: 20px;
    }

    .about-value + .about-value {
        padding-left: 20px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 760px) {
    .about-editorial {
        padding: 48px 6% 58px;
    }

    .about-editorial-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .about-editorial-content {
        padding: 8px 0 0;
    }

    .about-eyebrow {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 2.8px;
    }

    .about-title {
        font-size: clamp(41px, 9.5vw, 58px);
        letter-spacing: -1.2px;
        line-height: 1.14;
    }

    .about-introduction {
        margin: 21px 0;
        font-size: 13px;
        line-height: 1.9;
    }

    .about-location {
        margin-bottom: 25px;
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .about-editorial-visual {
        height: clamp(300px, 82vw, 400px);
    }

    .about-image-caption {
        right: 18px;
        bottom: 20px;
        left: 18px;
        gap: 10px;
    }

    .about-image-caption p {
        font-size: 10px;
    }

    .about-image-caption span {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .about-image-index {
        top: 17px;
        right: 17px;
    }

    .about-story {
        padding: 68px 6%;
    }

    .about-story-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .about-story-heading h2,
    .about-values-heading h2 {
        font-size: clamp(34px, 8vw, 42px);
    }

    .about-story-copy p {
        font-size: 13px;
        line-height: 1.9;
    }

    .about-values {
        padding: 68px 6%;
    }

    .about-values-heading {
        margin-bottom: 32px;
    }

    .about-values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-value,
    .about-value + .about-value {
        padding: 25px 0;
        border-left: none;
    }

    .about-value + .about-value {
        border-top: 1px solid rgba(212, 177, 94, 0.25);
    }

    .about-value h3 {
        margin: 17px 0 10px;
        font-size: 23px;
    }

    .about-value p {
        font-size: 12px;
    }

    .about-contact {
        padding: 60px 6%;
    }

    .about-contact-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .about-contact h2 {
        font-size: clamp(35px, 8vw, 43px);
    }

    .about-contact-container > .button {
        width: 100%;
    }
}

/* =========================================
   SMALL MOBILE SCREENS
========================================= */

@media (max-width: 380px) {
    .about-title {
        font-size: 38px;
    }

    .about-editorial-visual {
        height: 290px;
    }

    .about-page .button {
        width: 100%;
        gap: 12px;
        padding: 13px 15px;
    }

    .about-image-caption {
        right: 13px;
        left: 13px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =========================================
   HOMEPAGE â€” SCREEN 2 LAYOUT
   Let Expertise + Footer use a full viewport
========================================= */

@media (min-width: 761px) {
    .expertise-section {
        min-height: calc(100svh - 72px);
        padding: clamp(28px, 4vh, 48px) 0;
        display: flex;
        align-items: center;
    }

    .expertise-section .section-container {
        width: min(var(--container-width), 86%);
        margin: 0 auto;
    }

    .expertise-heading {
        grid-template-columns: 1.05fr 1fr auto;
        align-items: end;
        gap: clamp(24px, 3vw, 48px);
        margin-bottom: clamp(24px, 3.2vh, 38px);
    }

    .section-eyebrow {
        margin-bottom: 12px;
    }

    .section-heading-content h2 {
        font-size: clamp(36px, 3.2vw, 50px);
        line-height: 1.12;
    }

    .section-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .expertise-grid {
        gap: clamp(12px, 1.2vw, 18px);
    }

    .expertise-card {
        height: clamp(220px, 29vh, 300px);
        min-height: 220px;
    }

    .expertise-card-content {
        padding: 18px 16px;
    }

    .expertise-card-content h3 {
        font-size: clamp(18px, 1.5vw, 23px);
    }

    .expertise-card-content p {
        font-size: 11px;
        line-height: 1.65;
    }

    .expertise-card-content > span {
        display: none !important;
    }

    .site-footer {
        min-height: 72px;
        padding: 14px 7%;
        display: flex;
        align-items: center;
    }

    .footer-container {
        width: 100%;
        gap: 16px;
    }
}

/* Short desktop/laptop viewports: keep the section and footer in proportion. */
@media (min-width: 761px) and (max-height: 800px) {
    .expertise-section {
        min-height: calc(100svh - 64px);
        padding: 20px 0;
    }

    .expertise-heading {
        margin-bottom: 18px;
    }

    .section-heading-content h2 {
        font-size: clamp(32px, 2.7vw, 42px);
    }

    .expertise-card {
        height: clamp(180px, 25vh, 220px);
        min-height: 180px;
    }

    .site-footer {
        min-height: 64px;
        padding: 10px 7%;
    }
}

/* Keep natural scrolling and readable cards on mobile. */
@media (max-width: 760px) {
    .expertise-section {
        min-height: 0;
        display: block;
        padding: 42px 0;
    }

    .expertise-card {
        height: auto;
        min-height: 190px;
    }

    .site-footer {
        min-height: 0;
        padding: 24px 6%;
    }
}


/* =========================================
   PREMIUM EXPERTISE CARDS â€” HOVER DETAILS
========================================= */

.expertise-section {
    background: #f5f2eb;
}

.expertise-heading {
    align-items: end;
    column-gap: clamp(24px, 3vw, 52px);
}

.expertise-grid {
    align-items: stretch;
    gap: clamp(12px, 1.25vw, 20px);
}

.expertise-card {
    min-height: 0;
    border: 1px solid rgba(30, 30, 30, 0.12);
    box-shadow: 0 8px 24px rgba(12, 14, 16, 0.07);
    isolation: isolate;
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.expertise-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg,
        rgba(6, 8, 10, 0.02) 0%,
        rgba(6, 8, 10, 0.08) 35%,
        rgba(6, 8, 10, 0.88) 100%);
    opacity: 0.92;
    transition: opacity 350ms ease;
}

.expertise-card:hover,
.expertise-card:focus-visible {
    z-index: 2;
    transform: translateY(-6px);
    border-color: rgba(181, 138, 54, 0.85);
    box-shadow: 0 18px 38px rgba(12, 14, 16, 0.18);
}

.expertise-card:focus-visible {
    outline: 2px solid #b58a36;
    outline-offset: 4px;
}

.expertise-card-image,
.expertise-image {
    transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 350ms ease;
}

.expertise-card:hover .expertise-image,
.expertise-card:focus-visible .expertise-image {
    transform: scale(1.075);
    filter: saturate(1.08);
}

.expertise-card-overlay {
    background: linear-gradient(180deg,
        rgba(7, 9, 11, 0.02) 0%,
        rgba(7, 9, 11, 0.15) 32%,
        rgba(7, 9, 11, 0.96) 100%);
    transition: background 350ms ease;
}

.expertise-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(16px, 1.5vw, 23px);
    border-top: 1px solid rgba(215, 180, 95, 0.7);
    transform: translateY(0);
    transition: padding 350ms ease;
}

.expertise-card-number {
    display: block;
    margin-bottom: 8px;
    color: #e4c477;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.expertise-card-content h3 {
    margin-bottom: 5px;
    font-size: clamp(18px, 1.45vw, 23px);
    line-height: 1.2;
}

.expertise-card-subtitle {
    color: #dedbd4;
    font-size: 11px;
    line-height: 1.5;
}

.expertise-card-detail {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition:
        max-height 450ms ease,
        margin-top 350ms ease,
        opacity 300ms ease,
        transform 350ms ease;
}

.expertise-card-detail p {
    color: #e2e0db;
    font-size: 11px;
    line-height: 1.65;
}

.expertise-card-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #e5c778;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.expertise-card-action b {
    font-size: 15px;
    font-weight: 400;
    transition: transform 250ms ease;
}

.expertise-card:hover .expertise-card-detail,
.expertise-card:focus-visible .expertise-card-detail {
    max-height: 220px;
    margin-top: 13px;
    opacity: 1;
    transform: translateY(0);
}

.expertise-card:hover .expertise-card-action b,
.expertise-card:focus-visible .expertise-card-action b {
    transform: translate(2px, -2px);
}

@media (min-width: 761px) {
    .expertise-card {
        height: clamp(245px, 31vh, 330px);
    }

    .expertise-card:hover .expertise-card-content,
    .expertise-card:focus-visible .expertise-card-content {
        padding-bottom: clamp(18px, 1.8vw, 28px);
    }
}

@media (max-width: 1100px) and (min-width: 761px) {
    .expertise-card-content {
        padding: 15px 13px;
    }

    .expertise-card-content h3 {
        font-size: 18px;
    }

    .expertise-card-detail p {
        font-size: 10px;
    }
}

/* Touch devices do not have hover, so keep explanations visible. */
@media (hover: none), (max-width: 760px) {
    .expertise-card-detail {
        max-height: none;
        margin-top: 12px;
        overflow: visible;
        opacity: 1;
        transform: none;
    }

    .expertise-card {
        height: auto;
        min-height: 250px;
    }

    .expertise-card-content {
        padding: 18px 15px;
    }

    .expertise-card-content h3 {
        font-size: 19px;
    }

    .expertise-card-detail p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expertise-card,
    .expertise-image,
    .expertise-card-overlay,
    .expertise-card-detail,
    .expertise-card-action b {
        transition: none !important;
    }
}


/* =========================================
   SRN LOGISTICS Ã¢â‚¬â€ LEGACY & LEADERSHIP
========================================= */

.legacy-page {
    --legacy-gold: #d4b15e;
    --legacy-gold-light: #e8cd8d;
    --legacy-dark: #080a0c;
    --legacy-panel: #111416;
    --legacy-ivory: #f3f0e8;
    --legacy-muted: #aaa9a4;

    background: var(--legacy-dark);
    color: var(--legacy-ivory);
    font-family: "DM Sans", sans-serif;
}

.legacy-page main {
    overflow: hidden;
}

.legacy-page section {
    position: relative;
}

.legacy-page .legacy-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--legacy-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.8;
    text-transform: uppercase;
}

.legacy-page .legacy-eyebrow::before {
    width: 30px;
    height: 1px;
    flex-shrink: 0;
    background: var(--legacy-gold);
    content: "";
}

/* =========================================
   HERO
========================================= */
.legacy-hero {
    display: flex;
    min-height: 0;
    height: calc(100vh - 225px);
    height: calc(100svh - 225px);
    flex-direction: column;
    justify-content: center;
    padding: 22px 7% 0;
    box-sizing: border-box;

    background:
        radial-gradient(
            ellipse at 82% 30%,
            rgba(190, 145, 65, 0.12),
            transparent 36%
        ),
        linear-gradient(110deg, #080a0c 35%, #111311 100%);

    border-bottom: 1px solid rgba(212, 177, 94, 0.24);
}
.legacy-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    flex: 1;
    min-height: 0;
    margin: 0 auto;
    padding-bottom: 12px;
    box-sizing: border-box;
}

.legacy-hero-copy {
    max-width: 820px;
}

.legacy-title {
    max-width: 850px;
    margin: 0;
    color: #f6f3ed;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5.4vw, 76px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.12;
    text-wrap: balance;
}

.legacy-title span {
    display: block;
    margin-top: 7px;
    color: var(--legacy-gold-light);
}

.legacy-intro {
    max-width: 660px;
    margin: 27px 0 30px;
    color: #b9b9b5;
    font-size: 14px;
    line-height: 2;
}

.legacy-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 22px;
    color: #101010;
    background: var(--legacy-gold);
    border: 1px solid var(--legacy-gold);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 250ms ease,
        border-color 250ms ease,
        transform 250ms ease;
}

.legacy-button span {
    font-size: 18px;
    transition: transform 250ms ease;
}

.legacy-button:hover {
    background: var(--legacy-gold-light);
    border-color: var(--legacy-gold-light);
    transform: translateY(-2px);
}

.legacy-button:hover span {
    transform: translate(3px, 2px);
}

.legacy-button:focus-visible {
    outline: 2px solid var(--legacy-gold-light);
    outline-offset: 4px;
}

.legacy-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px 0 10px 25px;
    border-left: 1px solid rgba(212, 177, 94, 0.65);
}

.legacy-hero-milestone {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.legacy-hero-milestone > span {
    padding-top: 5px;
    color: var(--legacy-gold);
    font-size: 9px;
    letter-spacing: 1px;
}

.legacy-hero-milestone strong {
    display: block;
    color: #f2e5c5;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    font-weight: 400;
}

.legacy-hero-milestone p {
    margin: 5px 0 0;
    color: #a8a7a2;
    font-size: 11px;
    line-height: 1.6;
}

.legacy-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 58px;
    border-top: 1px solid rgba(212, 177, 94, 0.2);
    color: #d3c9b1;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    flex-shrink: 0;
min-height: 48px;
}

.legacy-bottom-line {
    width: 35px;
    height: 1px;
    background: rgba(212, 177, 94, 0.6);
}

/* =========================================
   SHARED SECTION LAYOUT
========================================= */

.legacy-section-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.legacy-section-heading {
    max-width: 650px;
    margin-bottom: 60px;
}

.legacy-section-heading h2,
.legacy-principles-heading h2,
.legacy-contact h2 {
    margin: 0;
    color: #f4f1eb;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 4.4vw, 58px);
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.2;
    text-wrap: balance;
}

.legacy-section-heading h2 span,
.legacy-principles-heading h2 span,
.legacy-contact h2 span {
    color: var(--legacy-gold-light);
}

.legacy-section-heading > p:last-child {
    max-width: 570px;
    margin: 20px 0 0;
    color: #777771;
    font-size: 13px;
    line-height: 1.9;
}

/* =========================================
   TIMELINE
========================================= */

.legacy-timeline {
    padding: 95px 7% 105px;
    background: var(--legacy-ivory);
    color: #171717;
}

.legacy-timeline .legacy-section-heading {
    max-width: 600px;
    margin-bottom: 65px;
}

.legacy-timeline .legacy-eyebrow {
    color: #98742c;
}

.legacy-timeline .legacy-section-heading h2 {
    color: #171717;
}

.legacy-timeline .legacy-section-heading h2 span {
    color: #98742c;
}

.legacy-timeline .legacy-section-heading > p:last-child {
    color: #68665f;
}

.legacy-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(152, 116, 44, 0.5);
}

.legacy-timeline-item {
    position: relative;
    min-width: 0;
    padding: 33px 30px 0 0;
}

.legacy-timeline-item + .legacy-timeline-item {
    padding-left: 30px;
    border-left: 1px solid rgba(152, 116, 44, 0.18);
}

.legacy-timeline-marker {
    position: absolute;
    top: -7px;
    left: 0;
    display: grid;
    width: 14px;
    height: 14px;
    place-items: center;
    border: 1px solid #a9843e;
    border-radius: 50%;
    background: var(--legacy-ivory);
    color: #98742c;
    font-size: 5px;
}

.legacy-timeline-item + .legacy-timeline-item
.legacy-timeline-marker {
    left: 30px;
}

.legacy-timeline-year {
    margin: 0 0 13px;
    color: #98742c;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
}

.legacy-timeline-item h3 {
    margin: 0 0 12px;
    color: #191919;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
}

.legacy-timeline-item > p:last-child {
    margin: 0;
    color: #68665f;
    font-size: 12px;
    line-height: 1.95;
}

/* =========================================
   FAMILY TREE / LEADERSHIP
========================================= */

.legacy-leadership {
    padding: 100px 6% 90px;
    background:
        radial-gradient(
            ellipse at 85% 30%,
            rgba(212, 177, 94, 0.055),
            transparent 35%
        ),
        #0a0c0e;
}

.legacy-leadership-heading {
    max-width: 750px;
    margin: 0 auto 65px;
    text-align: center;
}

.legacy-leadership-heading .legacy-eyebrow {
    justify-content: center;
}

.legacy-leadership-heading .legacy-eyebrow::before {
    display: none;
}

.legacy-leadership-heading > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.legacy-tree {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

/* Founder profile */

.legacy-profile {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #141719, #0f1113);
    border: 1px solid rgba(212, 177, 94, 0.34);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    transition:
        border-color 300ms ease,
        transform 300ms ease;
}

.legacy-profile:hover {
    border-color: rgba(212, 177, 94, 0.75);
    transform: translateY(-3px);
}

.legacy-founder {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
}

.legacy-profile-portrait {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 100%;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(212, 177, 94, 0.13),
            transparent 50%
        ),
        #171a1b;
}

.legacy-founder-portrait {
    min-height: 320px;
    border-right: 1px solid rgba(212, 177, 94, 0.25);
}

.legacy-son-portrait {
    min-height: 205px;
    border-bottom: 1px solid rgba(212, 177, 94, 0.25);
}

.legacy-portrait-placeholder {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 1px solid rgba(212, 177, 94, 0.55);
    border-radius: 50%;
    background: linear-gradient(145deg, #222522, #111314);
    box-shadow: 0 0 0 10px rgba(212, 177, 94, 0.035);
}

.legacy-portrait-placeholder span {
    color: var(--legacy-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 1px;
}

.legacy-son .legacy-portrait-placeholder {
    width: 88px;
    height: 88px;
}

.legacy-son .legacy-portrait-placeholder span {
    font-size: 27px;
}

.legacy-portrait-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #c7b27e;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.legacy-profile-content {
    min-width: 0;
    padding: 30px;
}

.legacy-profile-role {
    margin: 0 0 13px;
    color: var(--legacy-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.8;
}

.legacy-profile-role span {
    padding: 0 5px;
}

.legacy-profile-content h3 {
    margin: 0;
    color: #f4f1eb;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.legacy-profile-summary {
    margin: 9px 0 16px;
    color: #d6c69e;
    font-size: 12px;
    line-height: 1.7;
}

.legacy-profile-description {
    margin: 0;
    color: #b1b1ad;
    font-size: 14px;
    line-height: 1.9;
}

.legacy-contribution {
    margin-top: 24px;
    padding-top: 19px;
    border-top: 1px solid rgba(212, 177, 94, 0.2);
}

.legacy-contribution-label {
    margin: 0 0 13px;
    color: var(--legacy-gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.8;
}

.legacy-contribution ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legacy-contribution li {
    position: relative;
    padding-left: 17px;
    color: #c0bfba;
    font-size: 11px;
    line-height: 1.8;
}

.legacy-contribution li::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--legacy-gold);
    content: "";
    transform: rotate(45deg);
}

/* Gold family-tree connectors */

.legacy-tree-connector {
    position: relative;
    height: 105px;
    max-width: 740px;
    margin: 0 auto;
}

.legacy-tree-stem {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(212, 177, 94, 0.8),
        rgba(212, 177, 94, 0.65)
    );
}

.legacy-tree-branch {
    position: absolute;
    top: 50%;
    right: 25%;
    left: 25%;
    height: 1px;
    background: rgba(212, 177, 94, 0.7);
}

.legacy-tree-drop {
    position: absolute;
    top: 50%;
    width: 1px;
    height: 50%;
    background: rgba(212, 177, 94, 0.7);
}

.legacy-tree-drop-left {
    left: 25%;
}

.legacy-tree-drop-right {
    right: 25%;
}

.legacy-sons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 26px;
}

.legacy-son {
    display: flex;
    flex-direction: column;
}

.legacy-son .legacy-profile-content {
    flex: 1;
    padding: 27px;
}

.legacy-son .legacy-profile-content h3 {
    font-size: clamp(26px, 2.5vw, 32px);
}

.legacy-tree-note {
    max-width: 650px;
    margin: 40px auto 0;
    color: #898983;
    font-size: 11px;
    line-height: 1.9;
    text-align: center;
}

/* =========================================
   GUIDING PRINCIPLES
========================================= */

.legacy-principles {
    padding: 85px 7% 95px;
    background: var(--legacy-ivory);
    color: #171717;
}

.legacy-principles-heading {
    margin-bottom: 45px;
}

.legacy-principles-heading .legacy-eyebrow {
    color: #98742c;
}

.legacy-principles-heading h2 {
    color: #171717;
}

.legacy-principles-heading h2 span {
    color: #98742c;
}

.legacy-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(152, 116, 44, 0.45);
    border-bottom: 1px solid rgba(152, 116, 44, 0.45);
}

.legacy-principle {
    min-width: 0;
    padding: 27px 22px 30px 0;
}

.legacy-principle + .legacy-principle {
    padding-left: 22px;
    border-left: 1px solid rgba(152, 116, 44, 0.22);
}

.legacy-principle-number {
    color: #98742c;
    font-size: 10px;
    letter-spacing: 2px;
}

.legacy-principle h3 {
    margin: 19px 0 10px;
    color: #171717;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
}

.legacy-principle p {
    margin: 0;
    color: #66645e;
    font-size: 11px;
    line-height: 1.9;
}

/* =========================================
   CONTACT CTA
========================================= */

.legacy-contact {
    padding: 80px 7%;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(212, 177, 94, 0.1),
            transparent 35%
        ),
        #121413;
    border-top: 1px solid rgba(212, 177, 94, 0.24);
}

.legacy-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.legacy-contact h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.legacy-contact-inner > div > p:last-child {
    max-width: 550px;
    margin: 18px 0 0;
    color: #aaa9a4;
    font-size: 13px;
    line-height: 1.9;
}

.legacy-contact .legacy-button {
    flex-shrink: 0;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    .legacy-hero {
        padding-right: 5%;
        padding-left: 5%;
    }

    .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 35px;
    }

    .legacy-title {
        font-size: clamp(42px, 5.5vw, 60px);
    }

    .legacy-timeline,
    .legacy-principles {
        padding-right: 5%;
        padding-left: 5%;
    }

    .legacy-leadership {
        padding-right: 4%;
        padding-left: 4%;
    }

    .legacy-founder {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .legacy-profile-content {
        padding: 25px;
    }

    .legacy-son .legacy-profile-content {
        padding: 22px;
    }

    .legacy-sons-grid {
        gap: 18px;
    }

    .legacy-tree-connector {
        max-width: 72%;
    }

    .legacy-principle {
        padding-right: 16px;
    }

    .legacy-principle + .legacy-principle {
        padding-left: 16px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
    .legacy-hero {
        min-height: auto;
        padding: 55px 6% 0;
    }

    .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        padding-bottom: 40px;
    }

    .legacy-title {
        font-size: clamp(40px, 9vw, 58px);
        letter-spacing: -1.2px;
    }

    .legacy-intro {
        margin: 22px 0 25px;
        font-size: 13px;
        line-height: 1.9;
    }

    .legacy-hero-aside {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 22px 0 0;
        border-top: 1px solid rgba(212, 177, 94, 0.4);
        border-left: none;
    }

    .legacy-hero-milestone {
        flex-direction: column;
        gap: 7px;
    }

    .legacy-hero-milestone strong {
        font-size: 22px;
    }

    .legacy-hero-milestone p {
        font-size: 10px;
    }

    .legacy-hero-bottom {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 0;
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .legacy-bottom-line {
        width: 17px;
    }

    .legacy-timeline,
    .legacy-principles {
        padding: 65px 6%;
    }

    .legacy-section-heading {
        margin-bottom: 40px;
    }

    .legacy-section-heading h2,
    .legacy-principles-heading h2 {
        font-size: clamp(34px, 8vw, 44px);
    }

    .legacy-timeline-grid {
        grid-template-columns: minmax(0, 1fr);
        border-top: none;
        border-left: 1px solid rgba(152, 116, 44, 0.45);
        margin-left: 7px;
    }

    .legacy-timeline-item,
    .legacy-timeline-item + .legacy-timeline-item {
        padding: 0 0 34px 25px;
        border-left: none;
    }

    .legacy-timeline-item:last-child {
        padding-bottom: 0;
    }

    .legacy-timeline-marker,
    .legacy-timeline-item + .legacy-timeline-item
    .legacy-timeline-marker {
        top: 3px;
        left: -7px;
    }

    .legacy-timeline-year {
        font-size: 27px;
    }

    .legacy-timeline-item h3 {
        font-size: 20px;
    }

    .legacy-leadership {
        padding: 70px 5%;
    }

    .legacy-leadership-heading {
        margin-bottom: 42px;
    }

    .legacy-tree {
        max-width: 520px;
    }

    .legacy-founder {
        grid-template-columns: minmax(0, 1fr);
    }

    .legacy-founder-portrait {
        min-height: 240px;
        border-right: none;
        border-bottom: 1px solid rgba(212, 177, 94, 0.25);
    }

    .legacy-founder .legacy-profile-content {
        padding: 25px;
    }

    .legacy-tree-connector {
        width: 50%;
        height: 58px;
    }

    .legacy-tree-stem {
        height: 50%;
    }

    .legacy-tree-branch {
        right: 0;
        left: 0;
    }

    .legacy-tree-drop {
        height: 50%;
    }

    .legacy-tree-drop-left {
        left: 0;
    }

    .legacy-tree-drop-right {
        right: 0;
    }

    .legacy-sons-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .legacy-son-portrait {
        min-height: 220px;
    }

    .legacy-son .legacy-profile-content {
        padding: 25px;
    }

    .legacy-profile-content h3,
    .legacy-son .legacy-profile-content h3 {
        font-size: 29px;
    }

    .legacy-tree-note {
        margin-top: 30px;
    }

    .legacy-principles-heading {
        margin-bottom: 32px;
    }

    .legacy-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-principle {
        padding: 23px 15px 25px 0;
    }

    .legacy-principle + .legacy-principle {
        padding-left: 15px;
    }

    .legacy-principle:nth-child(odd) {
        border-left: none;
        padding-left: 0;
    }

    .legacy-principle:nth-child(n + 3) {
        border-top: 1px solid rgba(152, 116, 44, 0.22);
    }

    .legacy-principle h3 {
        font-size: 19px;
    }

    .legacy-contact {
        padding: 60px 6%;
    }

    .legacy-contact-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .legacy-contact h2 {
        font-size: clamp(35px, 8vw, 43px);
    }

    .legacy-contact .legacy-button {
        width: 100%;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .legacy-title {
        font-size: 37px;
    }

    .legacy-hero-aside {
        gap: 8px;
    }

    .legacy-hero-milestone strong {
        font-size: 19px;
    }

    .legacy-hero-milestone p {
        font-size: 9px;
    }

    .legacy-hero-bottom {
        letter-spacing: 0.8px;
    }

    .legacy-profile-content,
    .legacy-founder .legacy-profile-content,
    .legacy-son .legacy-profile-content {
        padding: 21px;
    }

    .legacy-portrait-placeholder {
        width: 90px;
        height: 90px;
    }

    .legacy-portrait-placeholder span {
        font-size: 29px;
    }

    .legacy-principle h3 {
        font-size: 17px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .legacy-page *,
    .legacy-page *::before,
    .legacy-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   LEGACY HERO Ã¢â‚¬â€ MINIMAL HERITAGE VISUAL
========================================= */

.legacy-hero-visual.legacy-visual-minimal {
    position: relative;
    display: flex;
    min-height: 350px;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 25% 50%,
            rgba(212, 177, 94, 0.07),
            transparent 55%
        );
}

/* Subtle background line */

.legacy-visual-minimal::before {
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 8%;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(212, 177, 94, 0.32),
        transparent
    );
    content: "";
}

/* Oversized editorial year treatment */

.legacy-visual-year {
    position: absolute;
    top: 50%;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    color: rgba(226, 193, 117, 0.2);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(25px, 3vw, 40px);
    letter-spacing: 2px;
    transform: translateY(-50%);
    animation: legacy-year-reveal 1s ease both;
}

.legacy-year-rule {
    width: 55px;
    height: 1px;
    margin: 2px 0;
    background: linear-gradient(
        90deg,
        rgba(212, 177, 94, 0.75),
        rgba(212, 177, 94, 0.05)
    );
    transform-origin: left;
    animation: legacy-rule-reveal 1.2s ease both;
}

.legacy-year-rule:nth-of-type(2) {
    animation-delay: 180ms;
}

/* Keep the milestones readable */

.legacy-visual-minimal .legacy-hero-aside {
    position: relative;
    z-index: 2;
    display: flex;
    width: 53%;
    flex-direction: column;
    gap: 24px;
    margin-right: 3%;
    padding: 12px 0 12px 22px;
    border-left: 1px solid rgba(212, 177, 94, 0.45);
    background: linear-gradient(
        90deg,
        rgba(8, 10, 12, 0.2),
        transparent
    );
}

.legacy-visual-minimal .legacy-hero-milestone {
    gap: 12px;
    animation: legacy-milestone-reveal 650ms ease both;
}

.legacy-visual-minimal .legacy-hero-milestone:nth-child(2) {
    animation-delay: 120ms;
}

.legacy-visual-minimal .legacy-hero-milestone:nth-child(3) {
    animation-delay: 240ms;
}

.legacy-visual-minimal .legacy-hero-milestone strong {
    font-size: clamp(22px, 2.1vw, 28px);
}

.legacy-visual-minimal .legacy-hero-milestone p {
    font-size: 10px;
}

.legacy-visual-minimal .legacy-visual-caption {
    bottom: 12px;
    left: 5%;
    font-size: 8px;
    letter-spacing: 1.5px;
}

/* Restrained entrance animation Ã¢â‚¬â€ no continuous spinning */

@keyframes legacy-year-reveal {
    from {
        opacity: 0;
        transform: translate(-8px, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

@keyframes legacy-rule-reveal {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes legacy-milestone-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */

@media (max-width: 1000px) {
    .legacy-hero-visual.legacy-visual-minimal {
        min-height: 320px;
    }

    .legacy-visual-minimal .legacy-hero-aside {
        width: 57%;
        gap: 20px;
        padding-left: 14px;
    }

    .legacy-visual-year {
        left: 2%;
        font-size: 26px;
    }
}

@media (max-width: 760px) {
    .legacy-hero-visual.legacy-visual-minimal {
        min-height: 300px;
    }

    .legacy-visual-minimal .legacy-hero-aside {
        width: 53%;
        margin-right: 2%;
        gap: 17px;
    }

    .legacy-visual-year {
        left: 5%;
        font-size: 25px;
    }
}

@media (max-width: 380px) {
    .legacy-hero-visual.legacy-visual-minimal {
        min-height: 280px;
    }

    .legacy-visual-minimal .legacy-hero-aside {
        width: 57%;
        gap: 14px;
        padding-left: 10px;
    }

    .legacy-visual-minimal .legacy-hero-milestone strong {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-visual-year,
    .legacy-year-rule,
    .legacy-visual-minimal .legacy-hero-milestone {
        animation: none !important;
    }
}

/* FIX â€” KEEP THE ENTIRE BOTTOM STRIP VISIBLE */

@media (min-width: 761px) {
    .legacy-page .legacy-hero {
        height: calc(100svh - 130px) !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    .legacy-page .legacy-hero-inner {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }

    .legacy-page .legacy-hero-bottom {
        position: relative !important;
        bottom: auto !important;
        flex: 0 0 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        border-top: 1px solid rgba(212, 177, 94, 0.18) !important;
    }
}

@media (min-width: 761px) and (max-height: 800px) {
    .legacy-page .legacy-hero {
        height: calc(100svh - 110px) !important;
    }

    .legacy-page .legacy-hero-bottom {
        flex-basis: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding-bottom: 8px !important;
    }
}


/* =========================================
   LAPTOPS & SMALLER SCREENS
========================================= */

@media (max-width: 1000px) {
    .legacy-page .legacy-hero {
        height: auto;
        min-height: 620px;
        padding-top: 35px;
    }

    .legacy-page .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    }

    .legacy-page .legacy-hero-visual.legacy-visual-minimal {
        min-height: 380px;
        height: 100%;
    }

    .legacy-page .legacy-visual-year {
        font-size: clamp(30px, 3.5vw, 44px);
    }

    .legacy-page .legacy-visual-minimal .legacy-hero-aside {
        width: 52%;
        padding-left: 13px;
        gap: 20px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
    .legacy-page .legacy-hero {
        height: auto;
        min-height: 0;
        padding-top: 42px;
    }

    .legacy-page .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding-bottom: 25px;
    }

    .legacy-page .legacy-hero-visual.legacy-visual-minimal {
        min-height: 320px;
        height: 320px;
    }

    .legacy-page .legacy-visual-year {
        left: 3%;
        font-size: clamp(29px, 7vw, 40px);
    }

    .legacy-page .legacy-visual-minimal .legacy-hero-aside {
        width: 53%;
        margin-right: 2%;
        padding-left: 12px;
        gap: 17px;
    }

    .legacy-page .legacy-visual-minimal .legacy-hero-milestone strong {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-page .legacy-visual-year,
    .legacy-page .legacy-year-rule,
    .legacy-page .legacy-visual-minimal .legacy-hero-milestone {
        animation: none !important;
    }
}

/* =========================================
   LEGACY PAGE Ã¢â‚¬â€ FIT HERO TO VIEWPORT
========================================= */

@media (min-width: 1001px) {
    .legacy-page .legacy-hero {
        box-sizing: border-box;
        height: calc(100vh - 96px);
        height: calc(100svh - 96px);
        min-height: 0;
        padding-top: 18px;
        padding-bottom: 0;
    }

    .legacy-page .legacy-hero-inner {
        flex: 1;
        min-height: 0;
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        align-items: center;
        gap: 24px;
        padding-bottom: 13px;
    }

    .legacy-page .legacy-hero-copy {
        max-width: 100%;
    }

    .legacy-page .legacy-title {
        font-size: clamp(40px, 4.2vw, 62px);
        line-height: 1.1;
    }

    .legacy-page .legacy-intro {
        margin-top: 16px;
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.75;
    }

    .legacy-page .legacy-hero-visual.legacy-visual-minimal {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: 480px;
    }

    .legacy-page .legacy-visual-year {
        font-size: clamp(35px, 3.8vw, 54px);
    }

    .legacy-page .legacy-visual-minimal .legacy-hero-aside {
        width: 48%;
        gap: 20px;
        padding-left: 16px;
    }

    .legacy-page .legacy-visual-minimal .legacy-hero-milestone strong {
        font-size: clamp(23px, 2.1vw, 30px);
    }

    .legacy-page .legacy-hero-bottom {
        flex-shrink: 0;
        min-height: 48px;
    }
}

/* Short desktop screens */
@media (min-width: 1001px) and (max-height: 800px) {
    .legacy-page .legacy-hero {
        padding-top: 10px;
    }

    .legacy-page .legacy-title {
        font-size: clamp(38px, 3.8vw, 54px);
    }

    .legacy-page .legacy-intro {
        margin-top: 12px;
        margin-bottom: 14px;
        line-height: 1.6;
    }

    .legacy-page .legacy-hero-visual.legacy-visual-minimal {
        max-height: 390px;
    }

    .legacy-page .legacy-hero-bottom {
        min-height: 40px;
    }
}

/* =========================================
   MEET OUR TEAM â€” COMPACT LAYOUT
========================================= */

.legacy-team {
    padding: 64px 7% 72px;
    background: #0a0c0d;
    color: #f4f0e7;
    border-top: 1px solid rgba(212, 177, 94, 0.18);
}

.legacy-team-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.legacy-team-eyebrow {
    color: #d4b15e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.legacy-team-heading h2 {
    margin: 12px 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.legacy-team-heading h2 span {
    color: #d4b15e;
}

.legacy-team-heading > p {
    max-width: 280px;
    margin: 0 0 4px;
    color: #aaa69c;
    font-size: 12px;
    line-height: 1.7;
}

.legacy-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.legacy-team-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 177, 94, 0.24);
    background: #111313;
    transition:
        border-color 220ms ease,
        transform 220ms ease;
}

.legacy-team-card:hover {
    border-color: rgba(212, 177, 94, 0.7);
    transform: translateY(-3px);
}

.legacy-team-photo {
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
    background: #191b1b;
}

.legacy-team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.legacy-team-card:hover .legacy-team-photo img {
    transform: scale(1.035);
}

.legacy-team-info {
    padding: 13px 12px 15px;
}

.legacy-team-info h3 {
    margin: 0 0 6px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.legacy-team-info p {
    margin: 0 0 8px;
    color: #d4b15e;
    font-size: 11px;
    line-height: 1.5;
}

.legacy-team-info > span {
    color: #aaa69c;
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .legacy-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .legacy-team {
        padding: 48px 5% 52px;
    }

    .legacy-team-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .legacy-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .legacy-team-info {
        padding: 11px 10px 13px;
    }

    .legacy-team-info h3 {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-team-card,
    .legacy-team-photo img {
        transition: none !important;
    }
}


/* FINAL FIX Ã¢â‚¬â€ HERO MUST FILL THE ENTIRE VIEWPORT */

@media (min-width: 761px) {
    .legacy-page .legacy-hero {
        height: calc(100vh - 76px) !important;
        height: calc(100svh - 76px) !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box;
        padding-top: 18px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden;
    }

    .legacy-page .legacy-hero-inner {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }

    .legacy-page .legacy-hero-bottom {
        flex-shrink: 0;
        min-height: 42px !important;
        margin-bottom: 0 !important;
    }
}
/* Founder portrait inside the existing left panel */
.legacy-person-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.legacy-person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

/* =========================================
   LEGACY HERO â€” FOUNDER PHOTO DESIGN
========================================= */

.legacy-page .legacy-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 44px 6% 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
        radial-gradient(
            ellipse at 78% 28%,
            rgba(212, 177, 94, 0.09),
            transparent 42%
        ),
        #080a0c;
    border-bottom: none;
}

.legacy-page .legacy-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
    width: 100%;
    max-width: 1450px;
    flex: none !important;
    min-height: 0;
    margin: 0 auto;
    padding: 0 0 26px !important;
}

.legacy-page .legacy-hero-copy {
    max-width: 680px;
}

.legacy-page .legacy-title {
    font-size: clamp(38px, 4.2vw, 66px) !important;
    letter-spacing: -1.7px;
    line-height: 1.12;
}

.legacy-page .legacy-title span {
    margin-top: 5px;
}

.legacy-page .legacy-intro {
    max-width: 580px;
    margin: 22px 0 25px;
    font-size: 13px;
    line-height: 1.9;
}

/* Founder image frame */

.legacy-page .legacy-hero-visual {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: clamp(350px, 37vw, 510px);
    max-height: 510px;
    overflow: visible;
    border: none;
    background: transparent;
}

.legacy-page .legacy-hero-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(212, 177, 94, 0.45);
    background: #141615;
}

.legacy-page .legacy-hero-founder-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(0.88);
    transition: transform 600ms ease, filter 600ms ease;
}

.legacy-page .legacy-hero-image-frame:hover
.legacy-hero-founder-image {
    transform: scale(1.025);
    filter: brightness(1);
}

.legacy-page .legacy-hero-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(5, 7, 8, 0.18) 70%,
        rgba(5, 7, 8, 0.78) 100%
    );
}

.legacy-page .legacy-hero-founder-caption {
    position: absolute;
    right: 16px;
    bottom: 18px;
    left: 16px;
    padding: 15px 17px;
    border: 1px solid rgba(212, 177, 94, 0.75);
    background: rgba(8, 10, 12, 0.88);
    backdrop-filter: blur(8px);
}

.legacy-page .legacy-hero-founder-caption > span {
    display: block;
    color: #d4b15e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.legacy-page .legacy-hero-founder-caption p {
    margin: 7px 0 0;
    color: #e4dfd4;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
}

/* Heritage timeline */

.legacy-page .legacy-hero-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(70px, 0.85fr) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 0 32px;
}

.legacy-page .legacy-hero-timeline-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.legacy-page .legacy-hero-timeline-year {
    color: #e2c175;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.1;
}

.legacy-page .legacy-hero-timeline-label {
    margin-top: 9px;
    color: #d4b15e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.7;
}

.legacy-page .legacy-hero-timeline-item p {
    max-width: 245px;
    margin: 7px 0 0;
    color: #aaa9a4;
    font-size: 11px;
    line-height: 1.8;
}

.legacy-page .legacy-hero-timeline-track {
    position: relative;
    height: 1px;
    background: rgba(212, 177, 94, 0.65);
}

.legacy-page .legacy-hero-timeline-track span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border: 2px solid #d4b15e;
    border-radius: 50%;
    background: #080a0c;
    transform: translate(-50%, -50%);
}

/* Bottom values strip */

.legacy-page .legacy-hero-bottom {
    display: flex !important;
    flex: none !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    min-height: 45px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    border-top: 1px solid rgba(212, 177, 94, 0.2);
    color: #d3c9b1;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    .legacy-page .legacy-hero {
        padding: 38px 5% 0 !important;
    }

    .legacy-page .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 25px;
    }

    .legacy-page .legacy-title {
        font-size: clamp(36px, 4.8vw, 52px) !important;
    }

    .legacy-page .legacy-hero-visual {
        height: clamp(320px, 42vw, 420px);
    }

    .legacy-page .legacy-hero-timeline {
        max-width: 700px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
    .legacy-page .legacy-hero {
        padding: 38px 5% 0 !important;
    }

    .legacy-page .legacy-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
        padding-bottom: 25px !important;
    }

    .legacy-page .legacy-title {
        font-size: clamp(39px, 10vw, 54px) !important;
        letter-spacing: -1px;
    }

    .legacy-page .legacy-intro {
        margin: 19px 0 22px;
        font-size: 13px;
    }

    .legacy-page .legacy-hero-visual {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        max-height: 440px;
    }

    .legacy-page .legacy-hero-founder-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 12px 14px;
    }

    .legacy-page .legacy-hero-timeline {
        grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
        gap: 12px;
        padding: 10px 0 27px;
    }

    .legacy-page .legacy-hero-timeline-year {
        font-size: 30px;
    }

    .legacy-page .legacy-hero-timeline-label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .legacy-page .legacy-hero-timeline-item p {
        font-size: 10px;
    }

    .legacy-page .legacy-hero-bottom {
        gap: 10px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .legacy-page .legacy-bottom-line {
        width: 15px;
    }
}

/* Small mobile */

@media (max-width: 380px) {
    .legacy-page .legacy-hero-timeline {
        gap: 8px;
    }

    .legacy-page .legacy-hero-timeline-year {
        font-size: 26px;
    }

    .legacy-page .legacy-hero-founder-caption > span {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .legacy-page .legacy-hero-bottom {
        gap: 7px;
        font-size: 7px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .legacy-page .legacy-hero-founder-image {
        transition: none !important;
    }
}


/* =====================================
   MOVING PARTNER LOGO MARQUEE
=
/* =========================================
   SRN PARTNER LOGO MARQUEE
   Positioned inside the hero section
========================================= */

.hero-section {
    position: relative;
}

.logo-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 78px;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    overflow: hidden;

    /* 75% opaque background */
    background: transparent;

    z-index: 4;
}

/* Moving track */
.logo-marquee-track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    align-items: center;

    animation: logoMarquee 30s linear infinite;
}

/* Logo groups */
.logo-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 85px;
    padding-right: 85px;
}

/* Individual logos */
.logo-marquee-group img {
    display: block;
    width: 140px;
    height: 55px;
    object-fit: contain;
    opacity: 0.9;

    transition: opacity 0.3s ease;
}

.logo-marquee-group img:hover {
    opacity: 1;
}

/* Pause animation on hover */
.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* Seamless animation */
@keyframes logoMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-marquee {
        bottom: 78px;
        height: 60px;
    }

    .logo-marquee-group {
        gap: 45px;
        padding-right: 45px;
    }

    .logo-marquee-group img {
        width: 90px;
        height: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track {
        animation: none;
    }
}

/* =========================================================
   FINAL TIMELINE POLISH â€” BSM / SRN ALIGNMENT + ANIMATION
   Appended as an override so the existing page styling stays intact.
========================================================= */

/* Align BSM content towards the centre connector */
.legacy-page .legacy-hero-timeline-item:first-child {
    align-items: flex-end;
    text-align: right;
}

.legacy-page .legacy-hero-timeline-item:first-child p {
    margin-left: auto;
}

/* Keep the SRN content left-aligned */
.legacy-page .legacy-hero-timeline-item:last-child {
    align-items: flex-start;
    text-align: left;
}

/* Subtle animated gold line */
.legacy-page .legacy-hero-timeline-track {
    overflow: visible;
    background: rgba(212, 177, 94, 0.22);
}

.legacy-page .legacy-hero-timeline-track::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(212, 177, 94, 0.35),
        #e2c175,
        rgba(212, 177, 94, 0.35)
    );
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    animation: legacy-timeline-draw 1.2s ease-out 250ms forwards;
}

/* Gentle centre-node reveal */
.legacy-page .legacy-hero-timeline-track span {
    animation: legacy-timeline-node 1.1s ease-out 900ms both;
}

/* Small entrance movement for both milestones */
.legacy-page .legacy-hero-timeline-item:first-child {
    animation: legacy-timeline-left 800ms ease-out both;
}

.legacy-page .legacy-hero-timeline-item:last-child {
    animation: legacy-timeline-right 800ms ease-out 150ms both;
}

@keyframes legacy-timeline-draw {
    to {
        transform: scaleX(1);
    }
}

@keyframes legacy-timeline-node {
    0% {
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(212, 177, 94, 0);
    }
    65% {
        opacity: 1;
        box-shadow: 0 0 0 7px rgba(212, 177, 94, 0.12);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(212, 177, 94, 0);
    }
}

@keyframes legacy-timeline-left {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes legacy-timeline-right {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .legacy-page .legacy-hero-timeline-item,
    .legacy-page .legacy-hero-timeline-track::before,
    .legacy-page .legacy-hero-timeline-track span {
        animation: none !important;
        transform: none !important;
    }

    .legacy-page .legacy-hero-timeline-track::before {
        opacity: 1;
    }
}