/* ============================================
   OVERWRITE v2 — DARK GOLD / ANIMATED EDITION
   ============================================ */

/* ── FONTS ───────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── VARIABLES ───────────────────────────── */
:root {
  --gold:      #c9952a;
  --gold-l:    #e8b84b;
  --gold-pale: #f5e6c0;
  --gold-dim:  rgba(201,149,42,0.18);
  --gb:        rgba(201,149,42,0.22);
  --gbh:       rgba(201,149,42,0.55);

  --bg:   #07060a;
  --bg2:  #0e0c14;
  --bg3:  #131020;
  --tx:   #f0ead8;
  --txd:  rgba(240,234,216,0.55);
  --txm:  rgba(240,234,216,0.28);
  --bd:   rgba(201,149,42,0.12);

  /* legacy maps */
  --card:           #0e0c14;
  --text:           #f0ead8;
  --muted:          rgba(240,234,216,0.5);
  --accent:         #c9952a;
  --accent-glow:    rgba(201,149,42,0.28);
  --shadow-sm:      0 12px 30px rgba(0,0,0,0.45);
  --shadow-hover:   0 22px 40px -10px rgba(201,149,42,0.2);
  --transition-default: all 0.4s cubic-bezier(0.2,0.9,0.4,1.1);
}

/* ── FONTS APPLIED ───────────────────────── */
body {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--bg) !important;
  color: var(--tx) !important;
  overflow-x: hidden;
}

h1, h2, h3, .hero h1, .section h2, .card h3 {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.04em !important;
}

/* ── ANIMATED BACKGROUND ─────────────────── */
/* Living gradient mesh behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%,  rgba(201,149,42,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%,  rgba(108,44,180,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #07060a 0%, #0b0916 100%);
    /* remove all animations */
  /* animation: bgShift 20s ease-in-out infinite alternate; */
}

@keyframes bgShift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 50%; }
  50%  { background-position: 40% 20%, 60% 80%, 50% 50%; }
  100% { background-position: 80% 40%, 20% 60%, 50% 50%; }
}

/* Floating orb 1 — warm gold */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle 380px at 15vw 25vh,  rgba(201,149,42,0.13) 0%, transparent 70%),
    radial-gradient(circle 300px at 85vw 70vh,  rgba(160,80,220,0.10) 0%, transparent 70%),
    radial-gradient(circle 260px at 60vw 15vh,  rgba(201,149,42,0.08) 0%, transparent 65%);
    /* remove all animations */
  /* animation: orbDrift 18s ease-in-out infinite alternate; */
  pointer-events: none;
}

@keyframes orbDrift {
  0%   { transform: translate(0,    0);    }
  33%  { transform: translate(40px, -30px); }
  66%  { transform: translate(-20px, 50px); }
  100% { transform: translate(60px, 20px); }
}

/* Grain overlay for texture */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grainShift 0.8s steps(2) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, -1%); }
  50%  { transform: translate(1%, 2%); }
  75%  { transform: translate(2%, -2%); }
  100% { transform: translate(-1%, 1%); }
}

/* ── HERO ────────────────────────────────── */
.hero h1 {
  font-size: clamp(64px, 9vw, 110px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  background: linear-gradient(120deg, var(--tx) 0%, var(--gold-l) 40%, var(--tx) 100%) !important;
  background-size: 200% auto !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero p {
  color: var(--txd) !important;
  font-size: 1.15rem !important;
  font-weight: 300 !important;
}

/* hero entrance — drop + blur wipe */
.hero-entrance {
  animation: heroIn 1.1s cubic-bezier(0.16,1,0.3,1) forwards !important;
}

@keyframes heroIn {
  0%   { opacity: 0; transform: scale(0.96) translateY(30px); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1)    translateY(0);     filter: blur(0);  }
}

/* ── SECTION REVEAL — more dramatic ─────── */
.reveal-section {
  opacity: 0 !important;
  transform: translateY(48px) scale(0.98) !important;
  transition:
    opacity   0.9s cubic-bezier(0.16,1,0.3,1),
    transform 0.9s cubic-bezier(0.16,1,0.3,1),
    filter    0.9s cubic-bezier(0.16,1,0.3,1) !important;
  filter: blur(4px) !important;
  will-change: opacity, transform, filter;
}

.reveal-section.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) !important;
}

/* Stagger cards — slide from bottom + fade */
.stagger-card {
  opacity: 0 !important;
  transform: translateY(40px) rotateX(6deg) !important;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1) !important;
  transform-origin: bottom center;
}

.stagger-card.revealed {
  opacity: 1 !important;
  transform: translateY(0) rotateX(0deg) !important;
}

/* ── NAV ─────────────────────────────────── */
.nav-links {
  background: rgba(7,6,10,0.82) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid var(--bd) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}

.nav a {
  color: var(--txd) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em !important;
  transition: all 0.2s !important;
}

.nav a:hover {
  color: var(--gold) !important;
  transform: translateY(-2px) !important;
}

.nav a.nav-cta:hover {
  color: white !important;
}

/* ── CARDS ───────────────────────────────── */
.card {
  background: linear-gradient(145deg, var(--bg2), var(--bg3)) !important;
  border: 1px solid var(--bd) !important;
  box-shadow: var(--shadow-sm) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16,1,0.3,1) !important;
}

/* card shimmer sweep on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(201,149,42,0.07) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  border-color: rgba(201,149,42,0.35) !important;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(201,149,42,0.12) !important;
  transform: translateY(-10px) !important;
}

.card h3 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.6rem !important;
  letter-spacing: 0.05em !important;
  color: var(--gold) !important;
  font-weight: 400 !important;
}

.card h3 i {
  color: var(--gold) !important;
  margin-right: 8px;
}

.card p {
  color: var(--txd) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* ── SECTION HEADINGS ────────────────────── */
.section h2 {
  font-size: clamp(40px, 5vw, 58px) !important;
  color: var(--tx) !important;
  font-weight: 400 !important;
  position: relative;
  display: inline-block;
}

/* animated underline bar */
.section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s;
}

.section.revealed h2::after,
.rs-1.revealed h2::after {
  width: 100%;
}

.section > p, .section p {
  color: var(--txd) !important;
  font-size: 1.05rem !important;
}

/* ── BIO ─────────────────────────────────── */
.bio h2 { color: var(--gold) !important; }
.bio p  { color: var(--txd) !important; }
.bio img {
  border: 1px solid var(--bd) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}
.bio img:hover {
  border-color: var(--gold-dim) !important;
}

/* ── CTA BUTTON ──────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-l)) !important;
  color: #07060a !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 400 !important;
  border: none !important;
  background-blend-mode: normal !important;
  position: relative;
  overflow: hidden;
}

/* cta ripple shine */
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: ctaShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShine {
  0%   { left: -60%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

.cta:hover {
  background: linear-gradient(135deg, var(--gold-l), var(--gold-pale)) !important;
  box-shadow: 0 12px 36px rgba(201,149,42,0.5) !important;
  transform: translateY(-3px) scale(1.03) !important;
}

@keyframes softPulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,149,42,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(201,149,42,0);   }
  100% { box-shadow: 0 0 0 0   rgba(201,149,42,0);    }
}

/* ── CTA BANNER SECTION ──────────────────── */
.section[style*="background: linear-gradient"] {
  background: linear-gradient(145deg, var(--bg2), var(--bg3)) !important;
  border: 1px solid var(--bd) !important;
  border-radius: 32px !important;
}

.section[style*="background: linear-gradient"] h2 {
  color: var(--gold) !important;
}

.section[style*="background: linear-gradient"] p {
  color: var(--txd) !important;
}

div[style*="background: linear-gradient(145deg, #ffffff, #f5f3ff)"] {
  background: linear-gradient(145deg, var(--bg2), var(--bg3)) !important;
}

/* ── GLOW TEXT ───────────────────────────── */
.glow-text {
  background: linear-gradient(120deg, var(--gold), var(--gold-l)) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  font-weight: 700 !important;
  /* pulsing glow on the element */
  animation: glowPulse 2.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0  6px rgba(201,149,42,0.3)); }
  50%       { filter: drop-shadow(0 0 16px rgba(201,149,42,0.7)); }
}

/* ── ICONS ───────────────────────────────── */
.fa-solid, .fa-regular, .fas, .far { color: var(--gold); }
.card h3 i { margin-right: 8px; }

/* ── HERO IMAGES ─────────────────────────── */
.hero img, .bio img, .section img {
  border: 1px solid var(--bd) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5) !important;
}

.hero img:hover, .bio img:hover {
  border-color: var(--gold-dim) !important;
}

/* ── FLOAT ELEMENT extra glow shadow ─────── */
.float-element {
  filter: drop-shadow(0 8px 20px rgba(201,149,42,0.12));
}

/* ── FIREFLY COLOR ───────────────────────── */
.firefly::after {
  --accent: #c9952a !important;
  background: #c9952a !important;
  box-shadow: 0 0 0vw 0vw #c9952a !important;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  border-top: 1px solid var(--bd) !important;
  color: var(--txm) !important;
}

footer a { color: var(--txd) !important; }
footer a:hover { color: var(--gold) !important; }

/* ── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar            { background: var(--bg) !important; width: 8px; }
::-webkit-scrollbar-thumb      { background: var(--gold-dim) !important; border-radius: 10px !important; }
::-webkit-scrollbar-thumb:hover{ background: var(--gbh) !important; }

/* ── SELECTION ───────────────────────────── */
::selection {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
}

/* ── INLINE STYLE OVERRIDES ──────────────── */
[style*="#ffffff"],
[style*="white"],
[style*="#f8f8fa"],
[style*="#f5f3ff"] {
  background-color: transparent !important;
}

h1, h2, h3, h4, p, span, a, li { color: inherit; }

/* ── SUBTLE PARALLAX DEPTH LINES ─────────── */
/* Decorative diagonal line accent across hero */
.hero {
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 120px,
      rgba(201,149,42,0.018) 120px,
      rgba(201,149,42,0.018) 121px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── CONTAINER / SECTION BACKGROUNDS ─────── */
.container, .section, footer { background: transparent !important; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
  .hero h1 { font-size: 56px !important; }
  .section h2 { font-size: 40px !important; }
}
/* overwrite nav  CL*/
/* ── NAV RESET ───────────────────────────── */
.nav {
  position: fixed !important;
  top: 1rem; left: 0; right: 0;
  z-index: 999;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  transition: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  /* transition: padding 0.4s cubic-bezier(0.16,1,0.3,1),
              background 0.4s ease,
              backdrop-filter 0.4s ease,
              border-bottom 0.4s ease; */
}

/* scrolled state — shrinks & gains glass bg */
@media screen and (min-width: 640px){
  .nav.scrolled .nav-inner {
  padding: 10px 32px;
  background: rgba(7,6,10,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,149,42,0.12);
  border-radius: 20rem;
}
}

/* entrance animation */
.nav {
  animation: navDrop 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

@keyframes navDrop {
  0%   { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── LOGO ────────────────────────────────── */
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  cursor: default;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-logo:hover::after { transform: scaleX(1); }

/* ── LINKS ───────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--txd) !important;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}

.nav-link:hover {
  color: var(--tx) !important;
  background: rgba(201,149,42,0.07);
}

.nav-link:hover::after { transform: scaleX(1); }

/* stagger link entrance */
.nav-link:nth-child(1) { animation: linkFade 0.6s 0.4s both; }
.nav-link:nth-child(2) { animation: linkFade 0.6s 0.52s both; }
.nav-link:nth-child(3) { animation: linkFade 0.6s 0.64s both; }

@keyframes linkFade {
  0%   { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── CTA PILL ────────────────────────────── */
.nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #07060a !important;
  text-decoration: none;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  border-radius: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: linkFade 0.6s 0.76s both;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,149,42,0.45);
}

/* ── BURGER (mobile) ─────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--tx);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease;
}

/* burger → X */
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-burger { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px !important;
    background: rgba(7,6,10,0.96) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,149,42,0.12) !important;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link, .nav-cta {
    text-align: center;
    padding: 12px !important;
  }
}