/* ================================================================
   A&J Jewelers — Shared Stylesheet (Cinematic Rebuild)
   Fonts: Playfair Display (serif) + Inter (sans)
   Palette: Deep Black / Warm Gold / Cream-Ivory
   ================================================================ */

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

:root {
  --gold:          #C9A84C;
  --gold-light:    #DEC070;
  --gold-pale:     rgba(201,168,76,0.12);
  --gold-line:     rgba(201,168,76,0.3);
  --bg:            #080808;
  --bg-elevated:   #0e0e0e;
  --bg-card:       #111111;
  --surface:       #161616;
  --cream:         #F5F0E8;
  --ivory:         #EDE8DC;
  --text:          #F5F0E8;
  --text-muted:    rgba(245,240,232,0.65);
  --white:         #FFFFFF;
  --border:        rgba(201,168,76,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ── PAGE FADE IN ── */
body {
  animation: pageFadeIn 0.8s ease-out;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── CURSOR GLOW (global) ── */
.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,168,76,.2);
}
.nav.light-bg {
  background: rgba(8,8,8,.97);
  box-shadow: 0 1px 0 rgba(201,168,76,.2);
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--white); letter-spacing: .08em; line-height: 1;
}
.nav-logo-sub {
  font-size: .52rem; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; }
.nav-links a {
  font-size: .56rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 400;
  color: rgba(255,255,255,.75); transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.nav-cta {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 500; color: var(--bg) !important;
  background: var(--gold); padding: 10px 22px; border-radius: 1px;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--white); transition: all .3s;
}
.mobile-overlay {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 800; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-overlay a {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--white); transition: color .2s;
}
.mobile-overlay a:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--bg);
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500;
  padding: 16px 32px; border-radius: 1px;
  transition: background .2s, transform .2s;
  cursor: pointer; border: none;
  position: relative; overflow: visible;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,.5); color: var(--gold-light);
  font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 400;
  padding: 14px 28px; border-radius: 1px;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--gold); border-color: var(--gold); color: var(--bg);
}
.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--white);
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 400;
  padding: 16px 32px; border-radius: 1px;
  transition: background .2s; border: 1px solid rgba(201,168,76,.15);
}
.btn-dark:hover { background: var(--bg-card); }

/* ── PARTICLE EFFECT (for all CTAs) ── */
.particle {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

/* ── SECTION HELPERS ── */
.section-label {
  font-size: .58rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 400; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.section-label.centered { justify-content: center; }
.section-label.centered::before { display: none; }
.section-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--cream); line-height: 1.05;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-title.light { color: var(--white); }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 60px;
}
.section-link {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); border-bottom: 1px solid rgba(245,240,232,.3);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.section-link:hover { color: var(--gold); border-color: var(--gold); }
.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

/* ── KINETIC MARQUEE ── */
.kinetic-marquee {
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.marquee-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.marquee-content {
  display: flex;
  align-items: center;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(245,240,232,0.12);
  -webkit-text-stroke: 1px rgba(201,168,76,0.25);
}
.marquee-item .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 32px;
  opacity: 0.4;
}

/* ── ODOMETER ── */
.odometer {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  overflow: hidden;
  height: 1.15em;
  display: flex;
  justify-content: center;
}
.odo-digit {
  display: inline-block;
  overflow: hidden;
  height: 1.15em;
  position: relative;
}
.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.5s cubic-bezier(.16,1,.3,1);
}
.odo-strip span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
}
.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--gold-light);
  vertical-align: top;
}

/* ── TICKER ── */
.ticker {
  background: var(--gold); overflow: hidden;
  height: 40px; display: flex; align-items: center;
}
.ticker-inner {
  display: flex; gap: 60px; white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}
.ticker-item {
  font-size: .58rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--bg);
  font-weight: 500; display: flex; align-items: center; gap: 20px; flex-shrink: 0;
}
.ticker-diamond {
  width: 5px; height: 5px; background: var(--bg);
  transform: rotate(45deg); opacity: .5;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FOOTER ── */
.footer { background: var(--bg-elevated); padding: 80px 48px 0; border-top: 1px solid var(--border); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 500; color: var(--white);
  letter-spacing: .06em; margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: .52rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-tagline {
  font-size: .68rem; color: rgba(245,240,232,.55);
  line-height: 1.8; max-width: 240px; margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 16px; }
.footer-social {
  width: 36px; height: 36px; border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s; cursor: pointer;
}
.footer-social:hover { border-color: var(--gold); background: rgba(201,168,76,.1); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(245,240,232,.5); }
.footer-col-title {
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .72rem; color: rgba(245,240,232,.55);
  transition: color .2s; font-weight: 300;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  font-size: .7rem; color: rgba(245,240,232,.55);
  margin-bottom: 10px; display: flex; gap: 10px;
  align-items: flex-start; font-weight: 300;
}
.footer-contact-item strong { color: rgba(245,240,232,.7); font-weight: 400; flex-shrink: 0; }
.footer-bottom {
  padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center;
}
.footer-copy { font-size: .62rem; color: rgba(245,240,232,.4); letter-spacing: .06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: .62rem; color: rgba(245,240,232,.4);
  letter-spacing: .06em; transition: color .2s;
}
.footer-legal a:hover { color: rgba(245,240,232,.65); }

/* ── STAR ── */
.star { width: 12px; height: 12px; fill: var(--gold); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); }

/* ── PAGE HERO BANNER (inner pages) ── */
.page-hero {
  padding-top: 76px;
  min-height: 52vh;
  background: var(--bg);
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #080808 0%, #12100c 50%, #080808 100%);
}
.page-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.06) 0%, transparent 60%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 60px 48px 72px;
}
.page-hero-eyebrow {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.page-hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); font-weight: 300; line-height: 1.02;
  margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-size: .88rem; color: rgba(245,240,232,.6);
  max-width: 440px; line-height: 1.8; font-weight: 300;
}
.page-hero-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.4), transparent);
}

/* ── TILT CARD (cursor reactive) ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.3s;
  will-change: transform;
}
.tilt-card .spotlight-inner {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt-card:hover .spotlight-inner { opacity: 1; }

/* ── SPOTLIGHT BORDER (cards) ── */
.spot-border {
  position: relative; overflow: hidden;
}
.spot-border::before {
  content: '';
  position: absolute; inset: -1px;
  background: radial-gradient(circle 200px at var(--mx,50%) var(--my,50%), rgba(201,168,76,.12), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.spot-border:hover::before { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }
  .footer { padding: 60px 24px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .page-hero-content { padding: 48px 24px 56px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 2.6rem; }
}

/* ── GLOBAL HOMEPAGE FOOTER (shared across all pages) ── */
.aj-footer{
  background:#14090a!important;
  color:#fff0e7!important;
  padding:80px clamp(24px,5vw,72px) 70px!important;
  border-top:1px solid rgba(216,182,95,.16)!important;
}
.aj-footer .aj-wrap{
  width:min(1480px,calc(100% - 24px))!important;
  margin:0 auto!important;
}
.aj-footer .footer-grid{
  display:grid!important;
  grid-template-columns:1.25fr repeat(4,1fr)!important;
  gap:48px!important;
  align-items:start!important;
}
.aj-footer .footer-grid > :first-child{padding-right:64px!important;}
.aj-footer .footer-logo{
  display:inline-block!important;
  font-family:'Playfair Display',serif!important;
  font-size:4rem!important;
  line-height:.8!important;
  color:#fff0e7!important;
  letter-spacing:-.08em!important;
  text-decoration:none!important;
  margin:0!important;
  font-weight:400!important;
}
.aj-footer .footer-logo span{color:#d8b65f!important;}
.aj-footer .footer-logo small{
  display:inline!important;
  font-family:Inter,sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.15em!important;
  font-weight:600!important;
  text-transform:uppercase!important;
}
.aj-footer p{
  max-width:360px!important;
  margin:20px 0 0!important;
  font-family:Inter,sans-serif!important;
  font-size:15px!important;
  line-height:1.6!important;
  font-weight:400!important;
  color:rgba(255,240,231,.72)!important;
}
.aj-footer em{
  display:block!important;
  margin-top:24px!important;
  color:#d8b65f!important;
  font-family:'Playfair Display',serif!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-style:italic!important;
  font-weight:400!important;
}
.aj-footer .footer-trust{
  margin-top:18px!important;
  display:inline-block!important;
  border:1px solid rgba(216,182,95,.28)!important;
  border-radius:999px!important;
  padding:9px 12px!important;
  color:#d8b65f!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.aj-footer h4{
  font-family:Inter,sans-serif!important;
  color:#d8b65f!important;
  text-transform:uppercase!important;
  letter-spacing:.15em!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  margin:0 0 16px!important;
}
.aj-footer nav a,.aj-footer nav span{
  display:block!important;
  color:rgba(255,240,231,.72)!important;
  margin:10px 0!important;
  font-family:Inter,sans-serif!important;
  font-size:16px!important;
  line-height:1.8!important;
  font-weight:400!important;
  text-decoration:none!important;
}
.aj-footer nav a:hover{color:#d8b65f!important;}
.aj-footer .social-row{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:18px!important;
}
.aj-footer .social-row span{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  font-size:10px!important;
  line-height:1!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:999px!important;
  padding:8px 10px!important;
  color:rgba(255,240,231,.68)!important;
}
.aj-footer .footer-bottom{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin-top:48px!important;
  padding-top:24px!important;
  padding-bottom:0!important;
  border-top:1px solid rgba(216,182,95,.16)!important;
  font-size:13px!important;
  color:rgba(255,240,231,.55)!important;
}
.aj-footer .footer-copy{font-size:13px!important;color:rgba(255,240,231,.55)!important;letter-spacing:0!important;}
.aj-footer .footer-legal{display:inline!important;color:rgba(255,240,231,.55)!important;}
.aj-footer .footer-legal a{color:rgba(255,240,231,.65)!important;text-decoration:none!important;margin:0 4px!important;font-size:13px!important;letter-spacing:0!important;}
.aj-footer .footer-legal a:hover{color:#d8b65f!important;}
@media (max-width:1000px){
  .aj-footer .footer-grid{grid-template-columns:1fr!important;gap:34px!important;}
  .aj-footer .footer-grid > :first-child{padding-right:0!important;}
}
@media (max-width:640px){
  .aj-footer{padding:80px 24px calc(120px + env(safe-area-inset-bottom,0px))!important;}
  .aj-footer .aj-wrap{width:calc(100% - 12px)!important;}
  .aj-footer .footer-grid{gap:28px!important;}
  .aj-footer .footer-logo{font-size:3.2rem!important;}
  .aj-footer .footer-bottom{display:block!important;}
  .aj-footer .footer-legal{display:block!important;margin-top:12px!important;}
}
