/* ============================================
   Noir Code — Base Styles (shared across pages)
   ============================================ */

/* Reset */
html, body { height: 100%; margin: 0; }
body { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

.app-wrapper {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0B0B0B;
}

/* Typography — Baskerville editorial */
.font-display { letter-spacing: -0.02em; }
.font-display-italic { font-style: italic; }

/* Grain — atmospheric texture overlay */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Gold hairline divider with diamond endcaps */
.rule-gold {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C2A46D55 30%, #C2A46D 50%, #C2A46D55 70%, transparent);
}
.rule-gold::before,
.rule-gold::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid #C2A46D;
  transform: translateY(-50%) rotate(45deg);
}
.rule-gold::before { left: calc(50% - 60px); }
.rule-gold::after  { left: calc(50% + 54px); }

/* Eyebrow label */
.eyebrow {
  font-family: Baskerville, 'Baskerville Old Face', Georgia, serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C2A46D;
}

/* Numbered editorial */
.num {
  font-family: Baskerville, serif;
  font-size: 0.75rem;
  color: #C2A46D;
  letter-spacing: 0.1em;
}

/* ============ Animations ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slowZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}
@keyframes drift {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.animate-fade-in-up { animation: fadeInUp 1.4s ease-out forwards; opacity: 0; }
.animate-fade-in    { animation: fadeIn 1.6s ease-out forwards; opacity: 0; }
.animate-slow-zoom  { animation: slowZoom 24s ease-out forwards; }
.animate-drift      { animation: drift 9s ease-in-out infinite; }

.delay-1  { animation-delay: 0.2s; }
.delay-2  { animation-delay: 0.4s; }
.delay-3  { animation-delay: 0.6s; }
.delay-4  { animation-delay: 0.8s; }
.delay-5  { animation-delay: 1.0s; }
.delay-6  { animation-delay: 1.2s; }
.delay-7  { animation-delay: 1.4s; }
.delay-8  { animation-delay: 1.6s; }
.delay-9  { animation-delay: 1.8s; }
.delay-10 { animation-delay: 2.0s; }

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

/* ============ Components ============ */

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(194,164,109,0.18);
  backdrop-filter: blur(10px);
  border-radius: 2px;
}

/* Gold underline link */
.gold-link { position: relative; }
.gold-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: #C2A46D;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}
.gold-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* CTA buttons — soft luxury border-radius */
.btn-primary {
  background: #C2A46D;
  color: #0B0B0B;
  padding: 0.9rem 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: transform 0.4s ease, box-shadow 0.5s ease, background 0.5s ease;
  box-shadow: 0 0 0 0 rgba(194,164,109,0.0);
}
.btn-primary:hover {
  background: #d8ba80;
  box-shadow: 0 8px 30px -8px rgba(194,164,109,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(237,228,211,0.2);
  color: rgba(237,228,211,0.85);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.5s ease;
}
.btn-ghost:hover {
  border-color: #C2A46D;
  color: #C2A46D;
}
