:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4D06F;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;

    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 4rem;
    --gap-xl: 8rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 10%, #1c1c1c 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, #181818 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #0f0f0f 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

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

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

.btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-text {
    padding: 0;
    color: var(--accent-gold);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--accent-gold-light);
    transform: translateX(5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    background: linear-gradient(to right, var(--text-primary) 0%, var(--accent-gold) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    transition: all 0.5s ease;
    text-decoration: none;
}

.logo-subtext {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-top: 5px;
    font-weight: 400;
    font-family: var(--font-body);
    /* Ensure subtext doesn't inherit the shine animation in a weird way */
    -webkit-text-fill-color: var(--accent-gold);
    background: none;
    animation: none !important;
}

.logo:hover {
    color: transparent;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    opacity: 0.8;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 12vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    filter: brightness(0.6);
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 4rem;
}

.hero-title {
    margin-bottom: 1rem;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero .btn {
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-primary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Narrative */
.narrative {
    padding: var(--gap-xl) 0;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.narrative-image figure {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.narrative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.narrative-image:hover img {
    transform: scale(1.05);
}

/* Showcase */
.showcase {
    padding: var(--gap-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-item {
    position: relative;
    group: pointer;
}

.catalog-item.span-2 {
    grid-column: span 2;
}

.item-media {
    overflow: hidden;
    aspect-ratio: 1;
    /* Square by default */
    background: #111;
    margin-bottom: 1rem;
    position: relative;
}

.catalog-item.span-2 .item-media {
    aspect-ratio: 16/9;
}

.item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-item:hover .item-media img {
    transform: scale(1.03);
}

.item-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.item-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Bespoke */
.bespoke-highlight {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: var(--gap-xl) 0;
}

.bespoke-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bespoke-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.bespoke-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

/* Craftsmanship */
.craftsmanship {
    padding: var(--gap-xl) 0;
    background: var(--surface-color);
    position: relative;
    /* Ensure it sits on top of fixed bg */
    z-index: 1;
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.craft-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* Store */
.store-banner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Contact */
.contact {
    padding: var(--gap-xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap-lg);
    margin-bottom: var(--gap-lg);
}

.contact-info address {
    font-style: normal;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links i {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.social-links i:hover {
    color: var(--accent-gold);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

input,
select,
textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
}

select option {
    background-color: var(--surface-color);
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.full-width {
    width: 100%;
}

.map-embed {
    filter: grayscale(1) invert(0.9);
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 1rem;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .narrative-grid,
    .craft-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .catalog-item.span-2 {
        grid-column: auto;
    }

    h1 {
        font-size: 3rem;
    }

    .narrative-image figure {
        height: 400px;
    }

    .bespoke-highlight {
        height: 60vh;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle Gold Border */
    padding: 4rem;
    max-width: 800px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-body {
    text-align: center;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.modal-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
}