/* ─── SHARED STYLES — Studio Luminant ─── */
/* Single source of truth for variables, nav, footer, cursor, animations, and responsive rules */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: #A8872F;
  --obsidian: #0C0C0E;
  --deep: #111114;
  --surface: #18181D;
  --surface-2: #1F1F26;
  --border: rgba(201,168,76,0.18);
  --text-primary: #F0EAD6;
  --text-secondary: #B0A89E;
  --text-muted: #A09890;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--obsidian);
  color: var(--text-primary);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201,168,76,0.15);
}

@media (pointer: fine) {
  body { cursor: none; }
}

/* ─── CUSTOM CURSOR ─────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.08s ease;
  display: none;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  display: none;
}
.cursor-ring.hover { width: 56px; height: 56px; opacity: 0.6; }

@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ─── NOISE TEXTURE ─────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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; z-index: 1; opacity: 0.4;
}

/* ─── NAV ───────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(12,12,14,0.9);
  backdrop-filter: blur(12px);
  border-color: var(--border);
  padding: 18px 60px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 25px; width: auto; display: block; transition: opacity 0.3s ease, height 0.4s ease; }
.nav-logo:hover .nav-logo-img { opacity: 0.8; }
nav.scrolled .nav-logo-img { height: 19px; }
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
  margin: 0 auto; padding: 0 24px;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.3s; white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--obsidian);
  background: var(--gold); padding: 10px 24px;
  text-decoration: none; transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }
.nav-lang {
  color: var(--gold-dim); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none; transition: color 0.3s;
}
.nav-lang:hover { color: var(--gold); }

/* ─── SECTION BASE ──────────────────── */
section { position: relative; z-index: 2; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 400; margin-bottom: 32px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--obsidian); background: var(--gold);
  padding: 14px 32px; text-decoration: none;
  transition: background 0.3s, gap 0.3s;
}
.btn-primary:hover { background: var(--gold-light); gap: 20px; }
.btn-primary svg { width: 14px; height: 14px; }

/* ─── FOOTER ────────────────────────── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 100px 0 48px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 80px; margin-bottom: 80px;
}
.footer-brand .logo {
  font-size: 16px; letter-spacing: 0.24em;
  color: var(--text-primary); text-transform: uppercase;
  text-decoration: none; display: block; margin-bottom: 20px;
}
.footer-brand .logo span { color: var(--gold); }
.footer-tagline { font-size: 12px; line-height: 1.75; color: var(--text-muted); font-weight: 300; max-width: 280px; }
.footer-col-title { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-location-eyebrow { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 8px; }
.footer-location-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--text-primary); margin-bottom: 8px; }
.footer-location-note { font-size: 11px; color: var(--text-muted); font-weight: 300; }
.footer-cta-block a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--obsidian); background: var(--gold);
  padding: 14px 28px; text-decoration: none; transition: background 0.3s;
}
.footer-cta-block a:hover { background: var(--gold-light); }
.footer-cta-block p { font-size: 11px; color: var(--text-muted); margin-top: 14px; font-weight: 300; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: 11px; color: var(--text-muted); font-weight: 300; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-logo-img { height: 52px; width: auto; display: block; margin-bottom: 16px; opacity: 0.9; }

/* ─── SCROLL REVEAL ─────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── ANIMATIONS ────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SKIP LINK ────────────────────── */
/* ─── BETA BANNER ──────────────────── */
.beta-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-secondary);
  position: relative; z-index: 10001;
}
.beta-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 18px; cursor: pointer; padding: 0 4px;
  line-height: 1; transition: color 0.2s;
}
.beta-close:hover { color: var(--gold); }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--gold); color: var(--obsidian);
  padding: 8px 16px; font-size: 13px; font-weight: 400;
  z-index: 10000; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ─── HEADING TYPOGRAPHY ───────────── */
h1, h2, h3 { text-wrap: balance; }

/* ─── FOCUS INDICATORS ──────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─── REDUCED MOTION ──────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── HAMBURGER MENU ──────────────── */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); position: relative;
  transition: background 0.2s;
}
.nav-hamburger span::before,
.nav-hamburger span::after {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transition: transform 0.3s ease;
}
.nav-hamburger span::before { top: -7px; }
.nav-hamburger span::after { top: 7px; }
.nav-hamburger[aria-expanded="true"] span { background: transparent; }
.nav-hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,12,14,0.97);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: 'Jost', sans-serif; font-size: 20px;
  font-weight: 400; letter-spacing: 0.12em;
  color: var(--text-primary); text-decoration: none;
  padding: 12px 24px; min-height: 48px;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
.nav-mobile-menu .nav-mobile-lang {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

/* ─── RESPONSIVE (shared elements) ──── */
@media (max-width: 1100px) {
  nav { padding: 24px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .nav-links { gap: 20px; padding: 0 12px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.14em; }
  .nav-cta { font-size: 10px; padding: 9px 16px; letter-spacing: 0.18em; }
  .nav-lang { display: none; }
}
@media (max-width: 900px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-lang { display: none; }
  .section-inner { padding: 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .footer-inner { padding: 0 32px; }
  .footer-links a { min-height: 48px; display: flex; align-items: center; padding: 12px 8px; }
  .footer-cta-block a { min-height: 48px; display: inline-flex; align-items: center; }
}
