/* ============================================
   NEW SAINT — Styles
   Dark, minimal, luxury streetwear aesthetic
   ============================================ */

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

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-grey: #1a1a1a;
    --mid-grey: #2a2a2a;
    --light-grey: #888888;
    --off-white: #e8e8e8;
    --white: #f5f5f5;
    --accent: #c8102e;
    --pink: #e8a0b4;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================
   Loader
   ============================================ */

.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-logo span {
    font-style: italic;
    color: var(--light-grey);
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 4vw, 60px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    z-index: 1001;
}

.nav-logo span {
    font-style: italic;
    color: var(--light-grey);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.nav-links a:last-child {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-links a:last-child::after {
    display: none;
}

.nav-links a:last-child:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translateY(5.3px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translateY(-5.3px);
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

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

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--light-grey);
    animation: fadeUp 1s ease 0.5s both;
}

.hero-title {
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 24px;
    animation: fadeUp 1s ease 0.7s both;
}

.hero-title span {
    font-style: italic;
    color: var(--light-grey);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--off-white);
    margin-bottom: 40px;
    animation: fadeUp 1s ease 0.9s both;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeUp 1s ease 1.1s both;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s ease 1.3s both;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-grey);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--light-grey), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Marquee
   ============================================ */

.marquee {
    padding: 20px 0;
    border-top: 1px solid var(--mid-grey);
    border-bottom: 1px solid var(--mid-grey);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--light-grey);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   Editorial Split
   ============================================ */

.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

.split-left {
    position: relative;
    overflow: hidden;
}

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

.split-left:hover img {
    transform: scale(1.03);
}

.split-right {
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vw, 100px);
    background: var(--dark);
}

.split-content {
    max-width: 500px;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 20px;
}

.split-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}

.split-desc {
    font-size: 0.95rem;
    color: var(--light-grey);
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .editorial-split {
        grid-template-columns: 1fr;
    }
    .split-left {
        height: 60vh;
    }
}

/* ============================================
   Collection Grid
   ============================================ */

.collection {
    padding: clamp(80px, 10vw, 140px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    cursor: pointer;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--dark-grey);
    aspect-ratio: 3/4;
}

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

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-btn {
    padding: 12px 32px;
    background: var(--white);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    transform: scale(1.05);
}

.product-info {
    padding: 16px 0;
}

.product-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.product-info p {
    font-size: 0.78rem;
    color: var(--light-grey);
}

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ============================================
   Full Width Editorial
   ============================================ */

.full-editorial {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.full-editorial-img {
    position: absolute;
    inset: 0;
}

.full-editorial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.full-editorial-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
}

.full-editorial-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.full-editorial-content h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ============================================
   Lookbook Section
   ============================================ */

.lookbook {
    padding: clamp(80px, 10vw, 140px) 0;
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 16px;
}

.lookbook-item {
    position: relative;
    overflow: hidden;
}

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

.lookbook-item:hover img {
    transform: scale(1.05);
}

.lookbook-tall {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .lookbook-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}

@media (max-width: 480px) {
    .lookbook-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
    }
    .lookbook-tall {
        grid-row: span 1;
    }
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-left img {
    width: 100%;
    height: auto;
}

.about-right h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-right p {
    font-size: 0.95rem;
    color: var(--light-grey);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--mid-grey);
}

.value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.value-cross {
    font-size: 0.7rem;
    color: var(--light-grey);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Instagram CTA
   ============================================ */

.instagram-cta {
    padding: clamp(100px, 12vw, 180px) 0;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1rem;
    color: var(--light-grey);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    border-top: 1px solid var(--mid-grey);
    padding: 60px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.footer-logo span {
    font-style: italic;
    color: var(--light-grey);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--light-grey);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--light-grey);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--mid-grey);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--light-grey);
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.lookbook-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lookbook-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Custom Cursor (desktop only)
   ============================================ */

@media (pointer: fine) {
    .custom-cursor {
        position: fixed;
        width: 12px;
        height: 12px;
        border: 1.5px solid var(--white);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, margin 0.2s ease;
        margin-left: -6px;
        margin-top: -6px;
    }

    .custom-cursor.hovering {
        width: 40px;
        height: 40px;
        margin-left: -20px;
        margin-top: -20px;
        background: rgba(255,255,255,0.1);
    }
}

/* ============================================
   Selection
   ============================================ */

::selection {
    background: rgba(200, 16, 46, 0.4);
    color: var(--white);
}
