/* =========================================================
   Ravei & Co. — Luxury Dark + Gold Theme
   ========================================================= */

:root {
    --black:      #0b0b0d;
    --charcoal:   #141418;
    --charcoal-2: #1b1b21;
    --ink:        #08080a;
    --gold:       #c9a14a;
    --gold-light: #e6c878;
    --gold-soft:  rgba(201, 161, 74, 0.15);
    --cream:      #f5f1e8;
    --text:       #d7d4cc;
    --text-dim:   #97948c;
    --line:       rgba(201, 161, 74, 0.22);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

    --maxw: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 15px 38px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s ease;
    border: 1px solid var(--gold);
}
.btn--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--ink);
}
.btn--gold:hover { box-shadow: 0 10px 30px rgba(201,161,74,0.35); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--gold-light); }
.btn--ghost:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
    padding: 22px 0;
}
.nav.scrolled {
    background: rgba(11,11,13,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.nav__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1; }
.nav__logo-img { height: 46px; width: auto; display: block; transition: height 0.4s ease; }
.nav.scrolled .nav__logo-img { height: 38px; }
.nav__logo-text { display: flex; flex-direction: column; }
.nav__logo-mark { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--cream); letter-spacing: 0.04em; }
.nav__logo-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 4px; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
    font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text); transition: color 0.3s; font-weight: 400;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__cta {
    border: 1px solid var(--gold); padding: 9px 22px; color: var(--gold-light) !important;
}
.nav__cta:hover { background: var(--gold-soft); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2px; background: var(--gold-light); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 120px 24px 80px; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(circle at 50% 32%, rgba(201,161,74,0.16), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(201,161,74,0.08), transparent 45%),
        linear-gradient(180deg, var(--ink), var(--charcoal) 60%, var(--black));
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,161,74,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,161,74,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, black, transparent 70%);
}
.hero__content { position: relative; z-index: 1; max-width: 820px; }
.hero__eyebrow { color: var(--gold); letter-spacing: 0.4em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 26px; }
.hero__title {
    font-family: var(--serif); font-weight: 600; color: var(--cream);
    font-size: clamp(3.5rem, 11vw, 8rem); line-height: 0.95; letter-spacing: 0.02em;
}
.hero__title .amp { color: var(--gold); font-style: italic; font-weight: 500; }
.hero__tagline {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3.2vw, 2.1rem);
    color: var(--gold-light); margin-top: 18px;
}
.hero__sub { color: var(--text-dim); max-width: 560px; margin: 22px auto 0; font-size: 1.02rem; }
.hero__actions { margin-top: 42px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1;
    width: 26px; height: 44px; border: 1px solid var(--line); border-radius: 14px;
}
.hero__scroll::before {
    content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--gold); border-radius: 2px;
    animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0%,100% { opacity: 0; top: 8px; } 50% { opacity: 1; top: 20px; } }

/* ---------- Section base ---------- */
.section { padding: 110px 0; position: relative; }
.section--dark { background: var(--charcoal); }
.section--legacy { background: var(--black); }
.section--jewelry { background: var(--ink); }
.section--commitment { background: var(--charcoal-2); text-align: center; }
.section--shows { background: var(--black); }
.section--contact { background: linear-gradient(180deg, var(--charcoal), var(--ink)); text-align: center; }

.section__eyebrow { color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 16px; }
.section__title {
    font-family: var(--serif); font-weight: 600; color: var(--cream);
    font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; margin-bottom: 18px; letter-spacing: 0.01em;
}
.section__lead { color: var(--text-dim); max-width: 620px; font-size: 1.05rem; margin-bottom: 50px; }
.section--commitment .section__lead, .section--contact .section__lead { margin-left: auto; margin-right: auto; }

/* gold divider under titles */
.section__eyebrow::before {
    content: ""; display: inline-block; width: 28px; height: 1px;
    background: var(--gold); vertical-align: middle; margin-right: 12px;
}

/* ---------- Legacy ---------- */
.legacy__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.legacy__text p { margin-bottom: 18px; color: var(--text); font-size: 1.05rem; }
.legacy__text strong { color: var(--cream); font-weight: 500; }
.legacy__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--charcoal); padding: 34px 20px; text-align: center; }
.stat__num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold-light); font-weight: 600; }
.stat__num sup { font-size: 1.1rem; }
.stat__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--line);
    padding: 38px 32px; transition: all 0.4s ease; position: relative;
}
.card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0);
    transform-origin: left; transition: transform 0.4s ease;
}
.card:hover { background: rgba(201,161,74,0.05); transform: translateY(-6px); }
.card:hover::before { transform: scaleX(1); }
.card__title { font-family: var(--serif); font-size: 1.55rem; color: var(--cream); margin-bottom: 18px; font-weight: 600; }
.card__list { list-style: none; }
.card__list li { padding: 7px 0 7px 22px; position: relative; color: var(--text); font-size: 0.98rem; }
.card__list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 10px; }
.card__list strong { color: var(--gold-light); font-weight: 500; }
.card--feature { text-align: center; }
.card--feature .card__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.card--feature p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Layouts (fancy color) ---------- */
.layouts { margin-top: 60px; padding: 44px; border: 1px solid var(--line); background: rgba(201,161,74,0.03); text-align: center; }
.layouts__title { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); margin-bottom: 12px; }
.layouts__desc { color: var(--text-dim); max-width: 640px; margin: 0 auto 26px; }
.layouts__desc strong { color: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
    padding: 10px 26px; border: 1px solid var(--gold); color: var(--gold-light);
    font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.3s;
}
.chip:hover { background: var(--gold); color: var(--ink); }

/* ---------- Jewelry ---------- */
.jewelry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.jewelry__heading { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); margin-bottom: 24px; font-weight: 600; }
.ticklist { list-style: none; }
.ticklist li { padding: 12px 0 12px 32px; position: relative; border-bottom: 1px solid rgba(201,161,74,0.1); font-size: 1.02rem; color: var(--text); }
.ticklist li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.metals { display: flex; flex-wrap: wrap; gap: 14px; }
.metal {
    padding: 14px 24px; border: 1px solid var(--line); background: rgba(255,255,255,0.02);
    color: var(--gold-light); font-size: 0.9rem; letter-spacing: 0.08em; transition: all 0.3s;
}
.metal:hover { border-color: var(--gold); background: var(--gold-soft); }

/* ---------- Gallery ---------- */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.gallery__filter {
    background: transparent; border: 1px solid var(--line); color: var(--text);
    padding: 10px 22px; font-family: var(--sans); font-size: 0.76rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.gallery__filter:hover { color: var(--gold-light); border-color: var(--gold); }
.gallery__filter.is-active { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink); border-color: var(--gold); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
    border: 1px solid var(--line); background: var(--charcoal-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
    content: "⤢"; position: absolute; bottom: 10px; right: 12px; color: var(--cream);
    font-size: 1rem; opacity: 0; transition: opacity 0.3s; text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.gallery__item:hover::after { opacity: 0.9; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    align-items: center; justify-content: center;
    background: rgba(8,8,10,0.94); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox__img {
    max-width: 88vw; max-height: 82vh; object-fit: contain;
    border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox__caption {
    position: absolute; bottom: 26px; left: 0; width: 100%; text-align: center;
    color: var(--gold-light); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.82rem;
}
.lightbox__close {
    position: absolute; top: 22px; right: 28px; background: none; border: none;
    color: var(--cream); font-size: 2.6rem; line-height: 1; cursor: pointer; transition: color 0.3s;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(201,161,74,0.1); border: 1px solid var(--line); color: var(--gold-light);
    width: 52px; height: 52px; font-size: 1.8rem; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: var(--gold); color: var(--ink); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ---------- Commitment ---------- */
.commitment__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.5vw, 3rem); color: var(--gold-light); margin-bottom: 24px; line-height: 1.2; }
.values { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 36px; }
.value { padding: 14px 28px; border: 1px solid var(--line); color: var(--cream); font-size: 0.9rem; letter-spacing: 0.06em; transition: all 0.3s; }
.value:hover { border-color: var(--gold); background: var(--gold-soft); }
.commitment__close { color: var(--text-dim); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Trade Shows ---------- */
.shows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.show {
    padding: 32px 24px; text-align: center; border: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.35rem; color: var(--cream);
    background: rgba(255,255,255,0.02); transition: all 0.4s; letter-spacing: 0.02em;
}
.show:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-light); transform: translateY(-4px); }

/* ---------- Testimonials ---------- */
.quote { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 36px 32px; position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 5rem; color: var(--gold-soft); position: absolute; top: -6px; left: 16px; line-height: 1; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--text); position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.contact__details { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.contact__detail { color: var(--gold-light); font-size: 1rem; letter-spacing: 0.06em; transition: color 0.3s; }
.contact__detail:hover { color: var(--cream); }
.contact__sep { color: var(--text-dim); }
.contact__note { color: var(--text-dim); letter-spacing: 0.1em; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer__logo { font-family: var(--serif); font-size: 1.8rem; color: var(--cream); display: block; }
.footer__tag { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); transition: color 0.3s; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__copy { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .legacy__grid, .jewelry__grid { grid-template-columns: 1fr; gap: 40px; }
    .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .shows { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .nav__links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 78%;
        background: var(--charcoal); flex-direction: column; justify-content: center;
        gap: 30px; transition: right 0.4s ease; border-left: 1px solid var(--line);
    }
    .nav__links.open { right: 0; }
    .nav__toggle { display: flex; z-index: 101; }
    .nav__logo-sub { display: none; }
    .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section { padding: 80px 0; }
    .cards--3 { grid-template-columns: 1fr; }
    .cards--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card--feature { padding: 26px 16px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .shows { grid-template-columns: 1fr; }
    .legacy__stats { grid-template-columns: 1fr 1fr; }
}
