/* ===================================================
   THE ARCHIVE — Main Landing Page Styles
   =================================================== */

/* ---- Body ---- */
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* ---- Navigation ---- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(10, 10, 11, 0.95);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo .sigil {
    font-size: 1.2rem;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--gold-light);
}

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

.nav-cta {
    background: transparent !important;
    border: 1px solid var(--gold-muted) !important;
    color: var(--gold-light) !important;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em !important;
    cursor: pointer;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold-faint) !important;
    border-color: var(--gold-light) !important;
}

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

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(184, 149, 46, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(184, 149, 46, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-ornament {
    font-size: 0.75rem;
    color: var(--gold-muted);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.hero-ornament .line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-muted));
}

.hero-ornament .line:last-child {
    background: linear-gradient(90deg, var(--gold-muted), transparent);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-muted), var(--gold));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 149, 46, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    border-color: var(--gold-muted);
    color: var(--gold-light);
    background: var(--gold-faint);
}

/* ---- Hero Decorations ---- */
.hero-symbol {
    position: absolute;
    bottom: 3rem;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ---- Section Styles ---- */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 300;
}

.divider {
    width: 60px;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

/* ---- Proof Bar ---- */
.proof-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
    min-width: 140px;
}

.proof-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold-light);
    font-weight: 600;
}

.proof-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ---- Products Grid ---- */
.products-section {
    background: var(--bg-secondary);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.product-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    filter: grayscale(30%);
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.product-price .original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0;
    margin-top: 0.2rem;
    font-weight: 400;
}

.product-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0;
    height: 36px;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
}

.product-btn:hover {
    background: var(--gold-faint);
    border-color: var(--gold-muted);
    color: var(--gold-light);
}

.product-btn-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.product-btn-read {
    background: linear-gradient(135deg, var(--gold-muted), var(--gold)) !important;
    color: var(--bg-primary) !important;
    font-weight: 600;
}

.product-btn-read:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.product-btn-acquire {
    background: transparent;
    border: 1px solid var(--border) !important;
}

/* ---- Featured ---- */
.featured-section {
    max-width: 1100px;
    margin: 0 auto;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.featured-visual {
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    min-height: 400px;
}

.featured-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(184, 149, 46, 0.06) 0%, transparent 70%);
}

.featured-emblem {
    font-size: 5rem;
    position: relative;
    z-index: 1;
    filter: grayscale(20%);
}

.featured-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--border);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.featured-ring:nth-child(2) {
    width: 260px;
    height: 260px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 45s;
    opacity: 0.4;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-faint);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    width: fit-content;
    font-weight: 500;
}

.featured-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-content p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.featured-list {
    list-style: none;
    margin: 1.5rem 0;
}

.featured-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

.featured-list .check {
    color: var(--gold-muted);
    font-size: 0.8rem;
}

.featured-price-block {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 1.5rem 0;
}

.featured-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold-light);
    font-weight: 600;
}

.featured-original {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
}

/* ---- Testimonials ---- */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--gold-muted);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--gold-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

/* ---- Philosophy ---- */
.philosophy-section {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 8rem 2rem;
}

.philosophy-section .icon-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    opacity: 0.4;
}

.philosophy-section blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.philosophy-section .attr {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ---- CTA ---- */
.cta-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta-inner p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.email-form {
    display: flex;
    gap: 0;
    max-width: 460px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-right: none;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.email-form input::placeholder {
    color: var(--text-muted);
}

.email-form input:focus {
    border-color: var(--gold-muted);
}

.email-form button {
    background: linear-gradient(135deg, var(--gold-muted), var(--gold));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    white-space: nowrap;
}

.email-form button:hover {
    filter: brightness(1.1);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ---- Footer ---- */
footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.3s;
    font-weight: 300;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---- Ambient Particles ---- */
.ambient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold-muted);
    border-radius: 50%;
    opacity: 0;
    animation: drift 8s ease-in-out infinite;
}

@keyframes drift {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

/* ---- Fade-in Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 11, 0.98);
        padding: 2rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .menu-toggle {
        display: block;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-visual {
        min-height: 250px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input {
        border-right: 1px solid var(--border);
    }

    section {
        padding: 4rem 1.5rem;
    }

    .proof-bar {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}