:root {
    --landing-bg: #0d1016;
    --landing-bg-soft: #171b22;
    --landing-sand: #d9bf8f;
    --landing-gold: #c9974f;
    --landing-copper: #9d6431;
    --landing-ink: #f3eee6;
    --landing-muted: rgba(243, 238, 230, 0.72);
    --landing-line: rgba(217, 191, 143, 0.16);
    --landing-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(201, 151, 79, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(157, 100, 49, 0.18), transparent 32%),
        linear-gradient(145deg, #090b10 0%, #121720 45%, #0c1016 100%);
    color: var(--landing-ink);
    overflow: hidden;
}

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

.preloader {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    gap: 1rem;
    background:
        radial-gradient(circle at center, rgba(201, 151, 79, 0.12), transparent 28%),
        linear-gradient(160deg, rgba(6, 8, 12, 0.98), rgba(16, 20, 28, 0.96));
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-core {
    position: relative;
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
}

.preloader-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(217, 191, 143, 0.26);
    border-radius: 50%;
    animation: pulseRing 1.8s ease-in-out infinite;
}

.preloader-ring-delayed {
    inset: 14px;
    animation-delay: 0.35s;
}

.preloader-logo-wrap {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 191, 143, 0.2), rgba(217, 191, 143, 0.04));
    box-shadow: 0 0 30px rgba(201, 151, 79, 0.15);
}

.preloader-logo {
    width: 54px;
}

.preloader-text {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 238, 230, 0.72);
}

.gateway-shell {
    position: relative;
    min-height: 100vh;
    padding: 28px clamp(20px, 4vw, 52px) 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

body.is-loaded .gateway-shell {
    opacity: 1;
    transform: scale(1);
}

.gateway-noise,
.gateway-orb,
.gateway-grid-lines,
.mouse-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 191, 143, 0.15), transparent 70%);
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gateway-noise {
    opacity: 0.06;
    background-image:
        linear-gradient(transparent 0, rgba(255, 255, 255, 0.06) 50%, transparent 100%),
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 0.5px, transparent 0.5px);
    background-size: 100% 100%, 5px 5px;
    mix-blend-mode: soft-light;
}

.gateway-orb {
    filter: blur(26px);
    opacity: 0.55;
}

.gateway-orb-left {
    inset: auto auto 12% 4%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(201, 151, 79, 0.34), transparent 66%);
    animation: floatOrb 9s ease-in-out infinite;
}

.gateway-orb-right {
    inset: 6% 6% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(127, 88, 46, 0.24), transparent 68%);
    animation: floatOrb 11s ease-in-out infinite reverse;
}

.gateway-grid-lines {
    background-image:
        linear-gradient(rgba(217, 191, 143, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 191, 143, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
}

.gateway-topbar,
.gateway-hero,
.gateway-footer {
    position: relative;
    z-index: 1;
}

.gateway-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gateway-brand {
    width: clamp(92px, 10vw, 128px);
}

.gateway-brand-logo {
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.gateway-tag {
    padding: 10px 16px;
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--landing-muted);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
}

.gateway-hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

.gateway-copy {
    max-width: 820px;
    text-align: center;
}

.gateway-kicker {
    display: inline-flex;
    margin-bottom: 1.1rem;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(217, 191, 143, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--landing-sand);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gateway-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gateway-description {
    max-width: 580px;
    margin: 1rem auto 0;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.65;
    color: var(--landing-muted);
}

.gateway-cards {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
    perspective: 1600px;
}

.gateway-card {
    position: relative;
    display: flex;
    min-height: 420px;
    padding: 1.2rem;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--landing-shadow);
    transform-style: preserve-3d;
    transform: rotateX(var(--card-rotate-x, 0deg)) rotateY(var(--card-rotate-y, 0deg)) translateY(0);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.gateway-card:hover {
    border-color: rgba(217, 191, 143, 0.28);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.gateway-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    transform: translateZ(40px);
}

.gateway-card-glow,
.gateway-card-media,
.gateway-card-content {
    position: absolute;
    inset: 0;
}

.gateway-card-glow {
    inset: -40%;
    background: radial-gradient(circle at 50% 50%, rgba(217, 191, 143, 0.18), transparent 42%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.gateway-card:hover .gateway-card-glow {
    opacity: 1;
}

.gateway-card-media {
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.gateway-card-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.95rem;
    padding: clamp(22px, 3vw, 32px);
    background: linear-gradient(180deg, transparent 20%, rgba(8, 10, 16, 0.78) 72%, rgba(8, 10, 16, 0.96) 100%);
    transform: translateZ(42px);
}

.gateway-card-eyebrow,
.gateway-card-meta {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gateway-card-eyebrow {
    color: var(--landing-sand);
}

.gateway-card-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    font-weight: 600;
}

.gateway-card-text {
    max-width: 24rem;
    font-size: 0.92rem;
    color: rgba(243, 238, 230, 0.75);
    line-height: 1.6;
}

.gateway-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    margin-top: 0.5rem;
    color: #fff;
}

.gateway-card-meta::after {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
    transition: transform 0.24s ease;
}

.gateway-card:hover .gateway-card-meta::after {
    transform: translateX(8px);
}

.gateway-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--landing-line);
}

.gateway-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gateway-footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 1rem;
}

.gateway-footer-dot {
    width: 3px;
    height: 3px;
    background-color: var(--landing-line);
    border-radius: 50%;
    opacity: 0.8;
}

.gateway-footer-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--landing-muted);
}

.gateway-footer-label {
    font-weight: 700;
    color: var(--landing-sand);
    opacity: 0.95;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.gateway-footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gateway-footer-link:hover {
    color: var(--landing-gold);
}

.gateway-footer-text {
    opacity: 0.9;
}

.gateway-footer-socials {
    display: flex;
    gap: 0.8rem;
}

.gateway-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--landing-ink);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gateway-social-icon:hover {
    background: var(--landing-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 151, 79, 0.2);
}

.gateway-copyright {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(243, 238, 230, 0.35);
}

@keyframes pulseRing {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -24px, 0);
    }
}

/* 1440px Responsiveness Optimization */
@media (min-width: 1360px) and (max-width: 1550px) {
    .gateway-shell {
        padding: 20px clamp(18px, 3vw, 38px) 20px;
        justify-content: space-around;
        height: 100vh;
        overflow: hidden;
    }

    .gateway-brand {
        width: clamp(80px, 8vw, 108px);
    }

    .gateway-tag {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .gateway-hero {
        gap: 1.2rem;
        padding: 0;
    }

    .gateway-copy {
        max-width: 700px;
    }

    .gateway-kicker {
        margin-bottom: 0.9rem;
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .gateway-title {
        font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    }
    
    .gateway-description {
        margin-top: 0.55rem;
        font-size: 0.82rem;
        line-height: 1.45;
        max-width: 470px;
    }

    .gateway-cards {
        width: min(900px, 82vw);
        gap: 16px;
    }
    
    .gateway-card {
        min-height: 290px;
        border-radius: 24px;
    }

    .gateway-card-content {
        padding: 18px;
        gap: 0.55rem;
    }

    .gateway-card-eyebrow,
    .gateway-card-meta {
        font-size: 0.68rem;
    }

    .gateway-card-title {
        font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    }

    .gateway-card-text {
        font-size: 0.78rem;
        line-height: 1.5;
        max-width: 19rem;
    }

    .gateway-card-meta {
        gap: 0.65rem;
        margin-top: 0.3rem;
    }

    .gateway-card-meta::after {
        width: 30px;
    }

    .gateway-footer {
        padding: 1.1rem 0;
    }

    .gateway-footer-container {
        max-width: 1100px;
        padding: 0 1.25rem;
    }

    .gateway-footer-row {
        column-gap: 1.2rem;
        row-gap: 0.8rem;
    }

    .gateway-footer-item {
        font-size: 0.68rem;
    }

    .gateway-footer-label {
        font-size: 0.64rem;
    }

    .gateway-social-icon {
        width: 24px;
        height: 24px;
    }

    .gateway-copyright {
        font-size: 0.66rem;
    }
}

@media (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .gateway-shell {
        min-height: auto;
        gap: 2.5rem;
    }

    .gateway-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .gateway-footer-row {
        gap: 1rem;
        justify-content: center;
    }

    .gateway-footer-dot {
        display: none;
    }

    .gateway-cards {
        grid-template-columns: 1fr;
    }

    .gateway-card {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .gateway-hero {
        padding-top: 1rem;
    }

    .gateway-tag {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gateway-footer {
        padding-bottom: 1rem;
    }

    .gateway-footer-row {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }

    .gateway-footer-item {
        justify-content: center;
        text-align: center;
    }

    .gateway-footer-item--location {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        column-gap: 0.45rem;
        width: min(100%, 18.5rem);
        text-align: left;
    }

    .gateway-footer-item--location .gateway-footer-label {
        padding-top: 0.05rem;
    }

    .gateway-footer-item--location .gateway-footer-text {
        min-width: 0;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
