/* ═══════════════════════════════════════
   ARit — shared.css
   Tokens · Reset · Cursor · Nav · Footer
   · Scroll reveal · Utility classes
   ═══════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:       #0D1B35;
  --navy-mid:   #1B2B4B;
  --navy-lt:    #2E4A7A;
  --gold:       #C9963A;
  --gold-lt:    #E8B85A;
  --gold-pale:  #F5DFA0;
  --white:      #FFFFFF;
  --text:       #E0E4EF;
  --muted:      #7A8BAA;
  --faint:      #3D5070;
  --border:     rgba(201,150,58,0.15);
  --radius:     16px;
  --shadow-card: 0 24px 56px rgba(0,0,0,0.45);
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html  { scroll-behavior: smooth; }
body  {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── NOISE TEXTURE ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.6;
}

/* ── CUSTOM CURSOR ── */
.cursor,
.cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor      { width: 8px; height: 8px; background: var(--gold); top: 0; left: 0; }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(201,150,58,0.5);
  top: 0; left: 0; z-index: 9998;
  transition: width 0.2s, height 0.2s;
}
body:has(a:hover)      .cursor-ring,
body:has(button:hover) .cursor-ring { width: 48px; height: 48px; border-color: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(13,27,53,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 16px; color: var(--navy-mid);
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; color: var(--white);
}
.nav-logo-text span { color: var(--gold-lt); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  text-decoration: none; font-size: 13px;
  color: var(--muted); transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--white); }

.nav-back {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 13px;
  color: var(--muted); transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy-mid); font-size: 13px; font-weight: 700;
  padding: 9px 22px; border-radius: 30px;
  text-decoration: none; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  padding: 44px 64px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  position: relative; z-index: 1;
}
.f-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.f-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 13px; color: var(--navy-mid);
}
.f-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: var(--white);
}
.f-name span { color: var(--gold-lt); }
.f-links { display: flex; gap: 28px; }
.f-links a {
  font-size: 12px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.f-links a:hover { color: var(--white); }
.f-copy { font-size: 12px; color: var(--faint); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }

/* ── SHARED SECTION STYLES ── */
section { padding: 110px 64px; position: relative; z-index: 1; }
.container { max-width: 1140px; margin: 0 auto; }

.sec-ey {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-ey::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.sec-ey-center { justify-content: center; }
.sec-ey-center::before  { display: none; }
.sec-ey-center::after   { content: ''; width: 22px; height: 1px; background: var(--gold); }

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 400; color: var(--white);
  line-height: 1.1; margin-bottom: 16px;
}
.sec-title strong { font-weight: 700; color: var(--gold-lt); }
.sec-sub { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.sec-sub-center { max-width: 520px; margin: 0 auto; text-align: center; }

/* ── SHARED BUTTONS ── */
.btn-lg {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  padding: 13px 28px; border-radius: 50px;
  text-decoration: none; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy-mid);
  box-shadow: 0 8px 24px rgba(201,150,58,0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,150,58,0.38); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── SHARED ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes blink    { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
@keyframes float    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
@keyframes ringPulse{ 0%,100%{transform:scale(1);opacity:.8;} 50%{transform:scale(1.06);opacity:.3;} }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav, nav.scrolled { padding: 14px 20px; }
  .nav-links { display: none; }
  section { padding: 72px 20px; }
  footer { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
}
