:root {
    --silver-light: #ffffff;
    --silver-mid: #d9d9d9;
    --silver-dark: #8d8d8d;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: radial-gradient(circle at top, #333 0%, #222 35%, #171717 100%);
    color: white;
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    perspective: 2500px;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    animation: floatLogo 8s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.headline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .02em;
    margin: 0;
    line-height: 1.15;
    transform-style: preserve-3d;
    transform-origin: center center;
    position: relative;
    backface-visibility: visible;
}

.headline::before {
    content: "";
    position: absolute;
    inset: -20px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transform: translateX(-150%);
    animation: metallicSweep 7s linear infinite;
}

@keyframes metallicSweep {
    from { transform: translateX(-150%); }
    to { transform: translateX(250%); }
}

.letter {
    display: inline-block;
    position: relative;
    opacity: 0;
    font-size: clamp(2.6rem, 8vw, 6rem);
    font-weight: 800;
    color: #ffffff;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    text-shadow: 0 2px 0 #bdbdbd, 0 4px 10px rgba(0,0,0,.7);
    transition: transform 1.4s cubic-bezier(.22, .9, .25, 1), opacity 1.4s ease;
}

.space {
    width: .4em;
}

/* Core entry animation */
.letter.animate {
    opacity: 1;
    transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg) scale(1) !important;
}

.headline.finalized .letter {
    color: #d9d9d9;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ececec 15%,
        #a0a0a0 40%,
        #fefefe 52%,
        #8a8a8a 75%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 1px rgba(255,255,255,.15)) drop-shadow(0 10px 25px rgba(0,0,0,.5));
}

.letter::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--texture);
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
    transition: opacity .6s ease, background-image .6s ease;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Horizontal 360 Spin Loop */
.logo-flip {
    animation: luxuryFlip 3s cubic-bezier(.25, .9, .2, 1) infinite;
}

@keyframes luxuryFlip {
    0% { transform: rotateX(0deg); }
    30% { transform: rotateX(0deg); }
    70% { transform: rotateX(360deg); }
    100% { transform: rotateX(360deg); }
}

.subheading {
    margin-top: 1.5rem;
    color: #bdbdbd;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 14px 34px;
    text-decoration: none;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-button:hover {
    border-color: rgba(255,255,255,0.6);
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}

.contact-section {
    text-align: center;
    max-width: 900px;
    margin: auto;
    padding: 4rem 2rem 6rem;
    color: #aaa;
}

@supports not (-webkit-background-clip: text) {
    .headline.finalized .letter {
        color: #d9d9d9 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
}