/* TWO NINE CRAFT 2.0 (v2) - Premium Styling */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-obsidian: #060505;
    --bg-peat: #0E0D0C;
    --bg-card: rgba(255, 255, 255, 0.015);

    --amber-primary: #D48C45;
    /* Rich Liquid Amber */
    --amber-hover: #B87330;
    --amber-glow: rgba(212, 140, 69, 0.1);
    --amber-light: #ECD5C0;

    --linen-light: #F7F5F0;
    /* Creamy Linen Text */
    --linen-muted: #9E9B96;
    /* Muted Granular */
    --linen-dark: #22201F;

    --border-light: rgba(247, 245, 240, 0.05);
    --border-amber: rgba(212, 140, 69, 0.15);

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Scrollbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--amber-primary) var(--bg-obsidian);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-obsidian);
    color: var(--linen-light);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Scrollbar styles for webkit */
body::-webkit-scrollbar {
    width: 6px;
}

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

body::-webkit-scrollbar-thumb {
    background: #1C1B1A;
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--amber-primary);
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--linen-light);
}

p {
    color: var(--linen-muted);
}

.text-accent {
    color: var(--amber-primary);
}

.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
}

.uppercase-track {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--amber-primary);
    font-family: var(--font-body);
}

/* Ambient glow accents */
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 140, 69, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 5.2rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.bg-peat {
    background-color: var(--bg-peat);
}

.bg-obsidian {
    background-color: var(--bg-obsidian);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.55rem 0; /* Even thinner bar */
    z-index: 1000;
    transition: var(--transition);
    background: #000000; /* Solid black */
    border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
    background: #000000; /* Solid black on scroll too */
    padding: 0.45rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--linen-light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-weight: 300;
    color: var(--amber-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.78rem; /* Increased slightly for legibility */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--linen-muted);
}

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

.nav-links .active-link {
    color: var(--amber-primary);
}

.nav-links .btn-nav {
    border: 1px solid var(--amber-primary);
    color: var(--amber-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links .btn-nav:hover {
    background: var(--amber-primary);
    color: var(--bg-obsidian);
    box-shadow: 0 4px 15px rgba(212, 140, 69, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--linen-light);
    transition: var(--transition);
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(14, 13, 12, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-light);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/v2_distillery_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 5, 5, 0.92) 0%, rgba(6, 5, 5, 0.78) 35%, rgba(6, 5, 5, 0.35) 60%, rgba(6, 5, 5, 0.05) 85%),
        linear-gradient(to top, rgba(6, 5, 5, 0.6) 0%, rgba(6, 5, 5, 0) 35%),
        linear-gradient(to bottom, rgba(6, 5, 5, 0.55) 0%, rgba(6, 5, 5, 0) 25%);
    z-index: 1;
} */

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -6rem;
    bottom: -8rem;
    left: -100vw;
    width: calc(58vw + 100vw);
    max-width: none;
    background: linear-gradient(to right, rgba(15, 13, 11, 0.55) 0%, rgba(15, 13, 11, 0.55) 63%, rgba(15, 13, 11, 0.4) 78%, rgba(15, 13, 11, 0) 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 81%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 81%, transparent 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.88rem, 5.4vw, 4.68rem); /* Scaled down 10% */
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: var(--linen-light);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.8); /* Stronger dropshadow for readability */
}

.hero-content p {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem); /* Scaled down 10% */
    font-weight: 300;
    margin-bottom: 2.2rem;
    max-width: 580px;
    color: var(--linen-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* Stronger dropshadow for readability */
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

/* Interactive Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--amber-primary);
    color: var(--bg-obsidian);
}

.btn-primary:hover {
    background-color: var(--amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 140, 69, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: rgba(247, 245, 240, 0.2);
    color: var(--linen-light);
}

.btn-outline:hover {
    border-color: var(--amber-primary);
    background: var(--amber-glow);
    color: var(--amber-primary);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Section Header (Editorial Style) */
.section-header {
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0.5rem;
}

/* The Manifesto Section */
.manifesto-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    line-height: 1.4;
    font-weight: 300;
    color: var(--linen-light);
}

.manifesto-detail {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .manifesto-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* The Spirit Curator (Interactive Section) */
.curator-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: stretch;
}

.curator-menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
}

.curator-tab {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.curator-tab:hover {
    border-color: rgba(212, 140, 69, 0.3);
    background: rgba(212, 140, 69, 0.02);
}

.curator-tab.active {
    border-color: var(--amber-primary);
    background: var(--amber-glow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.curator-tab h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--linen-muted);
    transition: var(--transition);
}

.curator-tab.active h4 {
    color: var(--amber-primary);
}

.curator-tab p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
    font-weight: 600;
    color: rgba(247, 245, 240, 0.3);
}

.curator-tab.active p {
    color: var(--linen-light);
}

/* Curator Display Screen */
.curator-screen {
    background: var(--bg-peat);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

/* Glass card design overlays */
.curator-screen::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 140, 69, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.curator-display-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.curator-display-content.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.curator-display-content h3 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.8rem;
    color: var(--amber-primary);
}

.curator-display-content .display-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--linen-muted);
    margin-bottom: 1.8rem;
}

.curator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.curator-copy {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.curator-specs {
    border-left: 1px solid var(--border-light);
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.spec-item {
    font-size: 0.85rem;
}

.spec-item span {
    display: block;
    color: var(--amber-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
}

@media (max-width: 992px) {
    .curator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .curator-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .curator-tab {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .curator-screen {
        padding: 2rem;
    }

    .curator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .curator-specs {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* The Alchemy Grid (Services) */
.alchemy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.alchemy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.alchemy-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--amber-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.alchemy-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-amber);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.alchemy-card:hover::before {
    transform: scaleX(1);
}

.alchemy-card .card-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--amber-primary);
    opacity: 0.4;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.alchemy-card h3 {
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--linen-light);
}

.alchemy-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .alchemy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* The Parlour (Conversational Contact Form) */
.parlour-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.parlour-details {
    padding-right: 2rem;
}

.parlour-details h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.parlour-details p {
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.quick-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.contact-pill {
    font-size: 0.85rem;
}

.contact-pill span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--amber-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-pill a {
    color: var(--linen-muted);
}

.contact-pill a:hover {
    color: var(--linen-light);
}

/* Conversational Form */
.conversational-form-wrapper {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 3rem;
}

.conversational-sentence {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    line-height: 1.8;
    font-weight: 300;
    color: var(--linen-light);
    margin-bottom: 2rem;
}

/* Custom interactive input elements */
.inline-input,
.inline-select {
    display: inline-block;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(247, 245, 240, 0.15);
    color: var(--amber-primary);
    font-family: var(--font-heading);
    font-size: inherit;
    font-weight: 300;
    padding: 0 0.4rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.inline-input {
    cursor: text;
    width: auto;
    min-width: 150px;
}

.inline-input:focus,
.inline-select:focus {
    border-bottom-color: var(--amber-primary);
    box-shadow: 0 4px 10px -5px rgba(212, 140, 69, 0.3);
}

.inline-select option {
    background-color: var(--bg-peat);
    color: var(--linen-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.5rem;
}

.conversational-form-wrapper button {
    margin-top: 1rem;
}

.status-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.status-box.success {
    display: block;
    background: rgba(46, 204, 113, 0.08);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

@media (max-width: 992px) {
    .parlour-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .parlour-details {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .conversational-form-wrapper {
        padding: 1.8rem;
    }

    .conversational-sentence {
        line-height: 2;
    }

    .inline-input {
        width: 100%;
        display: block;
        margin: 0.4rem 0;
    }

    .inline-select {
        margin: 0.4rem 0;
    }

    .quick-contact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer Section */
.footer {
    padding: 4rem 0 3rem;
    background-color: #040303;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--linen-light);
}

.footer-logo span {
    color: var(--amber-primary);
}

.footer-nav {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.footer-nav a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--linen-muted);
}

.footer-nav a:hover {
    color: var(--linen-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(247, 245, 240, 0.03);
    padding-top: 2rem;
    font-size: 0.75rem;
    color: rgba(247, 245, 240, 0.25);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

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

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