/* ===== JULES STUDIO — Shared Styles ===== */
/* jewlzstudio.ca | Wine country meets underground art scene */

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

:root {
    --wine: #5C1A2A;
    --wine-deep: #3A0F1B;
    --cream: #F5F0E8;
    --ivory: #FFFDF7;
    --charcoal: #1A1A1A;
    --charcoal-light: #252525;
    --gold: #C9A96E;
    --gold-muted: #B8956A;
    --warm-gray: #8A7F75;
    --soft-blush: #E8D5C4;

    /* Sub-brand accents */
    --ember: #C2623A;
    --ember-glow: rgba(194, 98, 58, 0.15);
    --midnight: #6B5B8A;
    --midnight-glow: rgba(107, 91, 138, 0.15);
    --earth: #8B7355;
    --earth-glow: rgba(139, 115, 85, 0.15);
    --sage: #6B7F5E;
    --sage-glow: rgba(107, 127, 94, 0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.4rem;
    color: var(--cream);
    letter-spacing: 0.05em;
}

.nav-logo em {
    font-style: italic;
    color: var(--gold);
}

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

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s ease;
    position: relative;
}

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

.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::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO (Homepage) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: radial-gradient(ellipse at 30% 20%, rgba(92, 26, 42, 0.4) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
                var(--charcoal);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 100px,
        rgba(201, 169, 110, 0.03) 100px, rgba(201, 169, 110, 0.03) 101px
    );
    pointer-events: none;
}

.hero-eyebrow {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--warm-gray);
    max-width: 520px;
    line-height: 1.8;
    margin-top: 2rem;
}

.hero-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin-top: 4rem;
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.page-hero--fire {
    background: radial-gradient(ellipse at 40% 30%, var(--ember-glow) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
                var(--charcoal);
}

.page-hero--hermit {
    background: radial-gradient(ellipse at 40% 30%, var(--midnight-glow) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
                var(--charcoal);
}

.page-hero--coasters {
    background: radial-gradient(ellipse at 40% 30%, var(--earth-glow) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
                var(--charcoal);
}

.page-hero--culinary {
    background: radial-gradient(ellipse at 40% 30%, var(--sage-glow) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
                var(--charcoal);
}

.page-hero-label {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    color: var(--cream);
    max-width: 800px;
}

.page-hero-title em {
    font-style: italic;
    color: var(--gold);
}

.page-hero-desc {
    font-weight: 300;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.8;
    margin-top: 2rem;
}

/* ===== SECTION LAYOUTS ===== */
.section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section--wide {
    max-width: 1200px;
}

.section--narrow {
    max-width: 720px;
}

.section--full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section-label {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-body {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.8;
    max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* ===== MANIFESTO ===== */
.manifesto {
    padding: 8rem 2rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.7;
    color: var(--cream);
    opacity: 0.9;
}

.manifesto-text strong {
    color: var(--gold);
    font-weight: 400;
}

/* ===== BRANCHES GRID (Homepage) ===== */
.branches {
    padding: 4rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.branch-card {
    background: var(--charcoal);
    padding: 3.5rem 3rem;
    position: relative;
    transition: background 0.4s ease;
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    background: var(--charcoal-light);
}

.branch-card--fire:hover { background: rgba(194, 98, 58, 0.08); }
.branch-card--hermit:hover { background: rgba(107, 91, 138, 0.08); }
.branch-card--coasters:hover { background: rgba(139, 115, 85, 0.08); }
.branch-card--culinary:hover { background: rgba(107, 127, 94, 0.08); }

.branch-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.branch-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.branch-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
}

.branch-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.7;
    flex: 1;
}

.branch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 2rem;
    transition: gap 0.3s ease;
}

.branch-link:hover { gap: 0.8rem; }

.branch-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.branch-link:hover svg { transform: translateX(3px); }

/* ===== OFFERINGS GRID (Sub-pages) ===== */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.offering-card {
    background: var(--charcoal);
    padding: 3rem 2.5rem;
    transition: background 0.4s ease;
}

.offering-card:hover {
    background: var(--charcoal-light);
}

.offering-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.offering-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 1rem;
}

.offering-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ===== SPLIT SECTION ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-content {
    border-left: 1px solid rgba(201, 169, 110, 0.25);
    padding-left: 3rem;
}

.split-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===== FEATURE BLOCK ===== */
.feature-block {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.feature-block--wine {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--wine-deep) 50%, var(--charcoal) 100%);
}

.feature-block--ember {
    background: linear-gradient(180deg, var(--charcoal) 0%, rgba(194, 98, 58, 0.12) 50%, var(--charcoal) 100%);
}

.feature-block--midnight {
    background: linear-gradient(180deg, var(--charcoal) 0%, rgba(107, 91, 138, 0.12) 50%, var(--charcoal) 100%);
}

.feature-block--earth {
    background: linear-gradient(180deg, var(--charcoal) 0%, rgba(139, 115, 85, 0.12) 50%, var(--charcoal) 100%);
}

.feature-block--sage {
    background: linear-gradient(180deg, var(--charcoal) 0%, rgba(107, 127, 94, 0.12) 50%, var(--charcoal) 100%);
}

.feature-inner {
    max-width: 750px;
    margin: 0 auto;
}

.feature-headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.25;
    color: var(--cream);
    margin-bottom: 2rem;
}

.feature-headline em {
    font-style: italic;
    color: var(--gold);
}

.feature-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--soft-blush);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STAT ROW ===== */
.stat-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.stat-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    min-width: 120px;
    text-align: right;
    flex-shrink: 0;
}

.stat-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ===== DETAIL LIST ===== */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    counter-reset: detail;
}

.detail-item {
    counter-increment: detail;
    padding-left: 2rem;
    position: relative;
}

.detail-item::before {
    content: counter(detail, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    color: var(--gold);
    opacity: 0.5;
}

.detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.detail-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ===== QUOTE / CLOSING ===== */
.closing {
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(92, 26, 42, 0.3) 0%, transparent 70%),
                var(--charcoal);
}

.closing-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--cream);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.85;
}

.closing-dash {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 2.5rem auto 1.5rem;
}

.closing-attr {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-muted);
}

/* ===== LOCATION BANNER ===== */
.location-banner {
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.location-label {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.location-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--cream);
    opacity: 0.8;
}

.location-sub {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--warm-gray);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* ===== CTA BLOCK ===== */
.cta-block {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-body {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-email {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 169, 110, 0.4);
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
}

.cta-email:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.5;
}

.footer-location {
    font-size: 0.7rem;
    color: var(--warm-gray);
    opacity: 0.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

.footer-links a {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

/* ===== DIVIDER ===== */
.divider {
    width: 40px;
    height: 1px;
    background: rgba(201, 169, 110, 0.3);
    margin: 0 auto;
}

/* ===== 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: 968px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }

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

    .split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split--reverse { direction: ltr; }

    .split-content {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(201, 169, 110, 0.25);
        padding-top: 2rem;
    }

    .stat-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-label {
        text-align: left;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .nav-toggle {
        display: block;
    }

    .branch-card {
        padding: 2.5rem 2rem;
    }

    .offering-card {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        gap: 1.5rem;
    }
}
