@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Outfit:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --primary: #050505;
    --secondary: #FFFFFF;
    --accent: #C5A059;
    /* More refined gold */
    --accent-dim: rgba(197, 160, 89, 0.2);
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.5);
    --bg-alt: #0a0a0a;
    --section-padding: 15rem;
    --container-width: 1600px;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    /* Hide default cursor */
}

/* Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader .loader-content {
    text-align: center;
}

#preloader .loader-line {
    width: 200px;
    height: 1px;
    background-color: var(--accent-dim);
    position: relative;
    overflow: hidden;
}

#preloader .loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography */
h1,
h2,
h3,
h4,
.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 650px;
}

.italic {
    font-style: italic;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
    gap: 2rem;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.nav-brand:hover {
    opacity: 1;
    letter-spacing: 0.45em;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

nav ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: var(--transition-smooth);
    position: relative;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

nav ul a:hover {
    color: var(--text-main);
}

nav ul a:hover::after {
    width: 100%;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-dim);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.cursor.active {
    transform: scale(3);
    background-color: transparent;
    border: 1px solid var(--accent);
}

.cursor-follower.active {
    transform: scale(1.5);
    background-color: var(--accent-dim);
    border-color: transparent;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(8, 8, 8, 0.4) 0%,
            transparent 50%,
            rgba(8, 8, 8, 1) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 12vw, 12rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.9;
    mix-blend-mode: difference;
}

.hero-content .subtitle {
    font-size: 0.8rem;
    max-width: 600px;
    margin: 2rem auto 0;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    color: var(--accent);
    margin-bottom: 2rem;
}

/* Companies Strip */
.companies-strip {
    background-color: var(--primary);
    padding: 8rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.companies-strip h4 {
    font-size: 0.7rem;
    letter-spacing: 0.8em;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
    text-transform: uppercase;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.logo-grid:hover {
    opacity: 0.8;
}

.logo-grid img {
    height: 35px;
    width: auto;
    filter: invert(1) brightness(2);
    transition: var(--transition-smooth);
}

/* Sections */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 2rem;
}

/* Editorial Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 12rem;
    align-items: center;
}

.story-image-wrap {
    position: relative;
    padding-bottom: 70%;
    overflow: hidden;
}

.story-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: var(--transition-smooth);
}

.story-image-wrap:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.story-content h2 {
    margin-top: 2rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

/* Holdings Card System */
.holdings-container {
    padding-top: 8rem;
}

.holding-item {
    display: grid;
    grid-template-areas: "image info";
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    margin-bottom: 20rem;
    align-items: center;
}

.holding-item:last-child {
    margin-bottom: 0;
}

.holding-item:nth-child(even) {
    grid-template-areas: "info image";
    grid-template-columns: 1fr 1.2fr;
}

.holding-image {
    grid-area: image;
    position: relative;
    overflow: hidden;
    height: 600px;
    background: #111;
}

.holding-info {
    grid-area: info;
}



.holding-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) grayscale(0.5);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
}

.holding-item:hover .holding-image img {
    transform: scale(1.1);
    filter: brightness(1) grayscale(0);
}

.holding-info h3 {
    font-size: 3.5rem;
    letter-spacing: -0.01em;
    margin: 1.5rem 0 2rem;
}

.holding-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Philosophy Section */
.philosophy {
    background: #000;
    text-align: center;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy h2 {
    font-style: italic;
}

/* Contact / Call to Action */
.cta-section {
    padding-bottom: 15rem;
}

.cta-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.btn-contact {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.5rem 4rem;
    background: var(--text-main);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-contact:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 2.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive */
@media (max-width: 1100px) {

    .story-grid,
    .holding-item,
    .holding-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .holding-info {
        order: 2 !important;
    }

    .holding-image {
        order: 1 !important;
        height: 400px;
    }

    h1 {
        font-size: 5rem;
    }

    header {
        padding: 2rem 0;
    }

    nav ul {
        display: none;
    }
}