/* SYS footer — photo + scrolling marquee behind the mountain, redesigned content (sft-*) on top.
   Layering: marquee (z1) < mountain art (z2) < content (z5). */

.sys-footer {
    --sft-text: #e4ebe0;
    --sft-muted: #a9b8a6;
    --sft-gold: #e8c27a;
    --sft-gold-hover: #f2d59c;
    --sft-line: rgba(228, 235, 224, .12);
    --sft-leaf: #7fa36a;
    --sft-deep: #0f2a18;
    --sft-bar: #0a1f11;
    --sft-pad: clamp(20px, 5vw, 64px);
    --sft-runway: 6rem;

    /* Art box: footernew.webp is 1915x1054 (aspect 1.817). Bottom-anchored, sized to the image's
       own aspect (55.04vw) so nothing is cropped, keeping headroom for the marquee above the peak. */
    --art-headroom-max: 9rem;
    --art-headroom-min: 2.5rem;

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    width: 100%;
    min-height: calc(55.04vw + 6rem);
    background-color: #ffffff;
    overflow-x: hidden;
    font-family: var(--font-sans, 'Readex Pro', system-ui, sans-serif);
    color: var(--sft-text);
}

.sys-footer *,
.sys-footer *::before,
.sys-footer *::after {
    box-sizing: border-box;
}

/* ---------- Marquee (behind the mountain) ---------- */
.sys-footer-marquee {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 5.5rem;
    overflow: hidden;
    pointer-events: none;
}

.sys-footer-marquee-text {
    color: rgba(55, 65, 81, 0.199);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

/* ---------- Mountain photo ---------- */
.sys-footer-art {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: clamp(calc(100% - var(--art-headroom-max)), 55.04vw, calc(100% - var(--art-headroom-min)));
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.sys-footer-art-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* ---------- Content wrapper (gradient overlay for contrast) ---------- */
.sft-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: var(--sft-runway);
    background: linear-gradient(
        180deg,
        rgba(15, 42, 24, 0) 0,
        rgba(15, 42, 24, 0.123) calc(var(--sft-runway) * .6),
        rgba(15, 42, 24, 0.479) var(--sft-runway),
        rgba(15, 42, 24, 0.37) 100%
    );
}

.sft-content > .sft-inner {
    background: none;
}

.sft-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--sft-pad);
    padding-right: var(--sft-pad);
}

.sft-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sys-footer a,
.sys-footer button,
.sys-footer summary {
    -webkit-tap-highlight-color: transparent;
}

.sys-footer a:focus-visible,
.sys-footer button:focus-visible,
.sys-footer summary:focus-visible {
    outline: 2px solid #e8c27a;
    outline-offset: 3px;
}

:where(.sys-footer) a {
    color: inherit;
    text-decoration: none;
}

.sys-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- 1. CTA row ---------- */
.sft-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 40px 0 44px;
    border-bottom: 1px solid var(--sft-line);
}

.sft-cta__script {
    margin: 0 0 4px;
    font-family: var(--font-sirivennela, 'Sirivennela', cursive);
    font-size: 32px;
    line-height: 1.2;
    color: var(--sft-gold);
}

.sft-cta__title {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--sft-text);
}

.sft-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.sft-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sft-btn--primary {
    background: var(--sft-gold);
    color: var(--sft-deep);
}

.sft-btn--primary:hover {
    background: var(--sft-gold-hover);
    transform: translateY(-1px);
}

.sft-btn--outline {
    border-color: rgba(228, 235, 224, .45);
    color: var(--sft-text);
    background: transparent;
}

.sft-btn--outline:hover {
    border-color: var(--sft-gold);
    color: var(--sft-gold);
}

/* ---------- 2. Columns ---------- */
.sft-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.15fr 1.3fr;
    gap: 40px;
    padding: 52px 0;
}

.sft-h {
    display: block;
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sft-gold);
}

.sft-touch .sft-h {
    margin-bottom: 20px;
}

/* Brand */
.sft-brand__logo {
    display: inline-block;
}

.sft-brand__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 210px;
    max-height: 76px;
    object-fit: contain;
}

.sft-brand__desc {
    max-width: 34ch;
    margin: 18px 0 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sft-muted);
}

.sft-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px !important;
}

.sft-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(228, 235, 224, .35);
    color: var(--sft-text);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.sft-social a:hover {
    background: var(--sft-gold);
    border-color: var(--sft-gold);
    color: var(--sft-deep);
}

.sft-social svg {
    width: 18px;
    height: 18px;
}

/* Accordion (details) */
.sft-acc {
    display: block;
}

.sft-acc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: default;
}

.sft-acc__summary::-webkit-details-marker {
    display: none;
}

.sft-acc__chev {
    display: none;
    width: 20px;
    height: 20px;
    color: var(--sft-gold);
    transition: transform .25s ease;
}

.sft-acc__body {
    padding-top: 20px;
}

/* Explore links */
.sft-links li + li {
    margin-top: 6px;
}

.sft-links a {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    font-size: 14.5px;
    color: var(--sft-muted);
    transition: color .2s ease;
}

.sft-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--sft-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}

.sft-links a:hover {
    color: var(--sft-text);
}

.sft-links a:hover::after {
    transform: scaleX(1);
}

/* Experiences */
.sft-leaf li {
    position: relative;
    padding: 5px 0 5px 18px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--sft-muted);
}

.sft-leaf li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 0 6px 0 6px;
    background: var(--sft-leaf);
}

.sft-gold-link {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--sft-gold);
    transition: color .2s ease;
}

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

/* Get in touch */
.sft-address {
    font-style: normal;
}

.sft-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--sft-muted);
}

.sft-row + .sft-row {
    margin-top: 16px;
}

.sft-row > svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--sft-gold);
}

.sft-row__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sft-row__body a:not(.sft-gold-link) {
    padding: 2px 0;
    color: var(--sft-text);
    transition: color .2s ease;
}

.sft-row__body a:not(.sft-gold-link):hover {
    color: var(--sft-gold-hover);
}

/* ---------- 3. Bottom bar ---------- */
.sft-bottom {
    background: var(--sft-bar);
}

.sft-bottom__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 18px 0;
}

.sft-bottom__row + .sft-bottom__row {
    border-top: 1px solid var(--sft-line);
}

.sft-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
}

.sft-legal a {
    display: inline-block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--sft-muted);
    transition: color .2s ease;
}

.sft-legal a:hover {
    color: var(--sft-gold);
}

.sft-bottom__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.sft-lang {
    display: inline-flex;
    padding: 3px;
    border: 1px solid rgba(228, 235, 224, .25);
    border-radius: 999px;
}

.sft-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sft-muted);
    transition: background-color .2s ease, color .2s ease;
}

.sft-lang a:hover {
    color: var(--sft-text);
}

.sft-lang a[aria-current="true"] {
    background: var(--sft-gold);
    color: var(--sft-deep);
}

.sft-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(228, 235, 224, .25);
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--sft-text);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.sft-top svg {
    width: 16px;
    height: 16px;
}

.sft-top:hover {
    border-color: var(--sft-gold);
    color: var(--sft-gold);
}

.sft-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--sft-muted);
}

.sft-copy__logo {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.sft-copy__logo img {
    display: block;
    height: 18px;
    width: auto;
}

.sft-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--sft-muted);
}

.sft-pay > svg {
    width: 16px;
    height: 16px;
    color: var(--sft-gold);
}

.sft-pay img {
    display: block;
    height: 24px;
    width: auto;
}

/* ---------- Tablet: 2 x 2 ---------- */
@media (max-width: 1023px) {
    .sys-footer {
        --art-headroom-max: 7rem;
    }

    .sft-cols {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
        padding: 44px 0;
    }
}

/* ---------- Tablet + desktop: reserve a sky/peak zone above the content ---------- */
@media (min-width: 768px) {
    .sys-footer {
        --art-headroom-max: 4rem;
        padding-top: 13rem;
    }

    .sys-footer-marquee {
        padding-top: 4.5rem;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .sys-footer {
        --sft-runway: 5rem;
        --art-headroom-max: 6rem;
        min-height: 0;
        padding-top: 7.5rem;
    }

    .sys-footer-marquee {
        padding-top: 2.25rem;
    }

    .sft-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 0 36px;
    }

    .sft-cta__script {
        font-size: 28px;
    }

    .sft-cta__actions {
        flex-direction: column;
    }

    .sft-btn {
        width: 100%;
    }

    .sft-cols {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 32px 0 24px;
    }

    .sft-brand {
        text-align: center;
        padding-bottom: 32px;
    }

    .sft-brand__logo img {
        margin: 0 auto;
        max-width: 190px;
        max-height: 68px;
    }

    .sft-brand__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .sft-social {
        justify-content: center;
    }

    .sft-social a {
        width: 44px;
        height: 44px;
    }

    .sft-acc {
        border-top: 1px solid var(--sft-line);
    }

    .sft-acc__summary {
        min-height: 56px;
        cursor: pointer;
    }

    .sft-acc__chev {
        display: block;
    }

    .sft-acc[open] .sft-acc__chev {
        transform: rotate(180deg);
    }

    .sft-acc__body {
        padding: 0 0 20px;
    }

    .sft-links a,
    .sft-gold-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .sft-touch {
        border-top: 1px solid var(--sft-line);
        padding-top: 24px;
    }

    .sft-row__body a:not(.sft-gold-link) {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0;
    }

    .sft-bottom__row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sft-legal ul {
        justify-content: center;
    }

    .sft-legal a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0;
    }

    .sft-bottom__tools,
    .sft-copy,
    .sft-pay {
        justify-content: center;
    }

    .sft-lang a {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sys-footer *,
    .sys-footer *::before,
    .sys-footer *::after {
        transition: none !important;
    }
}
