/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --orange:    #cb6021;
    --orange-dk: #a84d18;
    --dark:      #1a1a1a;
    --mid:       #555;
    --light:     #f9f6f2;
    --border:    #e4ddd5;
    --white:     #ffffff;
    --font-serif: 'Cinzel', serif;
    --font-sans:  'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }

.header-promo {
    background: var(--dark);
    color: #ccc;
    font-size: 11px;
    letter-spacing: .1em;
    text-align: center;
    padding: 7px 0;
}

.header-main {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex-shrink: 0;
}
.logo-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: .12em;
    color: var(--dark);
}
.logo-sub {
    font-family: var(--font-sans);
    font-style: italic;
    font-weight: 300;
    font-size: 13px;
    color: var(--orange);
    letter-spacing: .06em;
}

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--dark);
    transition: color .2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--orange); }

.header-icons { display: flex; gap: 16px; }
.header-icons a { color: var(--dark); transition: color .2s; }
.header-icons a:hover { color: var(--orange); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1209 0%, #3d2a10 40%, #6b3d18 70%, #8b5420 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(203,96,33,.18) 0%, transparent 70%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
}
.hero-eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,.75);
    max-width: 420px;
    margin-bottom: 36px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 300;
    cursor: pointer;
    transition: all .25s;
    border: none;
    font-family: var(--font-sans);
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover { background: var(--orange-dk); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.08);
}
.btn-dark {
    background: var(--dark);
    color: var(--white);
}
.btn-dark:hover { background: #333; }

/* ── Section Titles ──────────────────────────────────────── */
.section-label {
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 14px;
}
.section-desc {
    color: var(--mid);
    font-size: 14px;
    max-width: 520px;
    line-height: 1.8;
}

section { padding: 80px 0; }

/* ── Featured Rings ──────────────────────────────────────── */
.featured { background: var(--light); }
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}
.featured-header .view-all {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    border-bottom: 1px solid var(--orange);
    padding-bottom: 2px;
}
.rings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ring-card {
    background: var(--white);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.ring-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.ring-card-img {
    aspect-ratio: 1;
    background: #f0ebe4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.ring-card-img svg {
    width: 80px;
    height: 80px;
    opacity: .25;
}
.ring-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.ring-card-info { padding: 20px; }
.ring-card-name {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}
.ring-card-meta {
    font-size: 12px;
    color: var(--mid);
    margin-bottom: 12px;
}
.ring-card-price { font-size: 14px; color: var(--orange); font-weight: 300; }

/* ── Collections ─────────────────────────────────────────── */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 320px;
    gap: 16px;
    margin-top: 48px;
}
.coll-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.coll-tile:first-child {
    grid-row: 1 / 3;
}
.coll-bg {
    position: absolute;
    inset: 0;
    transition: transform .5s;
}
.coll-tile:hover .coll-bg { transform: scale(1.04); }
.coll-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
    color: var(--white);
}
.coll-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.coll-name { font-family: var(--font-serif); font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.coll-link {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.5);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: border-color .2s;
}
.coll-tile:hover .coll-link { border-color: var(--white); }

/* Collection background colors (placeholders until real images) */
.coll-tile:nth-child(1) .coll-bg { background: linear-gradient(135deg, #2c1810, #6b3d18); }
.coll-tile:nth-child(2) .coll-bg { background: linear-gradient(135deg, #1a2530, #2d4a5e); }
.coll-tile:nth-child(3) .coll-bg { background: linear-gradient(135deg, #1e2218, #3d4830); }

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--dark); color: var(--white); }
.services .section-title { color: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 56px;
}
.service-item { text-align: center; }
.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 1px solid rgba(203,96,33,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}
.service-icon svg { width: 24px; height: 24px; }
.service-name {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: .05em;
}
.service-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
    background: var(--orange);
    padding: 64px 0;
    text-align: center;
}
.cta-banner .section-title { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 32px; font-size: 14px; }
.btn-white {
    background: var(--white);
    color: var(--orange);
    font-weight: 400;
}
.btn-white:hover { background: #f0ebe4; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #111; color: rgba(255,255,255,.65); }
.footer-top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 16px; max-width: 260px; }
.footer-logo .logo-name { color: var(--white); font-size: 18px; }
.footer-col h4 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-col li, .footer-col a {
    font-size: 13px;
    line-height: 2;
    transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    padding: 20px 0;
    font-size: 12px;
    text-align: center;
}
.footer-bottom a { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   RING BUILDER PAGE
═══════════════════════════════════════════════════════════ */

.rb-hero {
    background: linear-gradient(135deg, #1a1209 0%, #3d2a10 100%);
    padding: 56px 0;
    text-align: center;
    color: var(--white);
}
.rb-hero .section-label { justify-content: center; display: block; }
.rb-hero .section-title { color: var(--white); margin: 0 auto 12px; }
.rb-hero p { color: rgba(255,255,255,.65); font-size: 14px; }

/* Progress steps */
.rb-progress {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    position: sticky;
    top: 73px;
    z-index: 50;
}
.rb-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.rb-step {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.rb-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--mid);
    transition: all .25s;
    flex-shrink: 0;
}
.rb-step-label {
    margin-left: 10px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mid);
    transition: color .25s;
}
.rb-divider {
    width: 80px;
    height: 1px;
    background: var(--border);
    margin: 0 24px;
}
.rb-step.active .rb-step-num {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}
.rb-step.active .rb-step-label { color: var(--dark); font-weight: 400; }
.rb-step.done .rb-step-num {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}
.rb-step.done .rb-step-label { color: var(--dark); }

/* Builder panels */
.rb-body { padding: 60px 0 80px; background: var(--light); }
.rb-panel { display: none; }
.rb-panel.active { display: block; }
.rb-panel-title { font-family: var(--font-serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.rb-panel-desc { color: var(--mid); font-size: 14px; margin-bottom: 40px; }

/* Step 1 — Style cards */
.style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.style-card {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}
.style-card:hover { border-color: var(--orange); }
.style-card.selected {
    border-color: var(--orange);
    background: #fdf8f5;
}
.style-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.style-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.style-icon svg { width: 36px; height: 36px; color: var(--orange); }
.style-card h3 { font-family: var(--font-serif); font-size: 15px; font-weight: 400; margin-bottom: 6px; }
.style-card p { font-size: 12px; color: var(--mid); line-height: 1.6; }

/* Step 2 — Diamond */
.diamond-section { margin-bottom: 40px; }
.diamond-section h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.shape-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.shape-card {
    border: 2px solid var(--border);
    background: var(--white);
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.shape-card:hover, .shape-card.selected {
    border-color: var(--orange);
    background: #fdf8f5;
}
.shape-card svg { width: 36px; height: 36px; margin: 0 auto 8px; color: #999; }
.shape-card.selected svg { color: var(--orange); }
.shape-card span { font-size: 11px; color: var(--mid); letter-spacing: .05em; }

/* Sliders */
.slider-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.slider-group label span { color: var(--orange); font-weight: 400; }
.slider-group input[type=range] {
    width: 100%;
    accent-color: var(--orange);
    cursor: pointer;
}
.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #aaa;
    margin-top: 4px;
}

/* Metal options */
.metal-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.metal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: all .2s;
    font-family: var(--font-sans);
}
.metal-btn:hover, .metal-btn.selected { border-color: var(--orange); }
.metal-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.1);
}
.swatch-wg { background: radial-gradient(circle at 35% 35%, #fff 0%, #d4d4d4 60%, #aaa 100%); }
.swatch-yg { background: radial-gradient(circle at 35% 35%, #ffe97a 0%, #d4aa30 60%, #a07d10 100%); }
.swatch-rg { background: radial-gradient(circle at 35% 35%, #ffcba4 0%, #cc7755 60%, #9e4e2a 100%); }
.swatch-pt { background: radial-gradient(circle at 35% 35%, #f5f5f5 0%, #c0c0c0 60%, #909090 100%); }

/* Step 3 — Review */
.rb-summary {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}
.rb-preview {
    background: var(--white);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}
.rb-preview svg { width: 120px; height: 120px; opacity: .2; margin-bottom: 16px; }
.rb-preview p { font-size: 13px; color: var(--mid); }
.rb-review-details { background: var(--white); padding: 36px; border: 1px solid var(--border); }
.rb-review-details h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.review-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0ebe4;
    font-size: 13px;
}
.review-row:last-of-type { border-bottom: none; }
.review-key { color: var(--mid); text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.review-val { font-weight: 400; color: var(--dark); }
.rb-inquiry { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.rb-inquiry h4 { font-family: var(--font-serif); font-size: 15px; margin-bottom: 16px; }
.form-row { margin-bottom: 14px; }
.form-row input, .form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
    background: var(--light);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--orange); }
.form-row textarea { resize: vertical; min-height: 90px; }

/* Nav bottom row */
.rb-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rings-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .style-grid { grid-template-columns: repeat(2, 1fr); }
    .shape-grid { grid-template-columns: repeat(3, 1fr); }
    .rb-summary { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .main-nav ul { gap: 20px; }
    .main-nav a { font-size: 10px; }
    .hero { height: 70vh; }
    .rings-grid { grid-template-columns: 1fr 1fr; }
    .collections-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .coll-tile:first-child { grid-row: auto; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .style-grid { grid-template-columns: 1fr; }
    .slider-row { grid-template-columns: 1fr; }
    .rb-steps { flex-wrap: wrap; gap: 16px; }
    .rb-divider { display: none; }
}
