:root {
    --bg: #0a0a0a; --bg2: #111111; --bg3: #161616;
    --gold: #c9a84c; --gold2: #e8c96a;
    --white: #f0ede8; --muted: #a0a0a0; --border: #222222;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { max-width: 100%; overflow-x: hidden; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--white); font-family: 'DM Sans', sans-serif; font-weight: 300; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 16px 60px; background: rgba(10,10,10,0.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
  nav.scrolled { background: rgba(10,10,10,0.98); }
  .nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: var(--white); text-decoration: none; }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 40px; list-style: none; }
  .nav-links a { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .nav-links a:hover { color: var(--white); }
  /* DROPDOWN */
  .nav-dropdown { position: relative; }
  .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
  .nav-arrow { font-size: 10px; transition: transform 0.2s; display: inline-block; }
  .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 24px;
    background: rgba(10,10,10,0.98);
    border: 1px solid var(--border);
    min-width: 220px;
    list-style: none;
    padding: 0;
    z-index: 200;
  }
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
  }
  .nav-dropdown.active .nav-arrow { transform: rotate(180deg); }
  .nav-dropdown.active .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu li { border-bottom: 1px solid #1e1e1e; }
  .nav-dropdown-menu li:last-child { border-bottom: none; }
  .nav-dropdown-menu li a {
    display: block;
    padding: 11px 20px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }
  .nav-dropdown-menu li a:hover { color: var(--gold); background: rgba(201,168,76,0.05); }
  .nav-cta { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; background: var(--gold); color: #0a0a0a; padding: 12px 24px; text-decoration: none; transition: background 0.2s; }
  .nav-cta:hover { background: var(--gold2); }

  /* HAMBURGER */
  .nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MOBILE MENU */
  .mobile-menu { display: none; position: fixed; top: 55px; left: 0; right: 0; background: rgba(10,10,10,0.98); border-bottom: 1px solid var(--border); z-index: 99; padding: 16px 0 24px; transform: translateY(-10px); opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
  .mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu ul { list-style: none; }
  .mobile-menu > ul > li, .mobile-menu > ul > li > a { display: block; padding: 14px 28px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; cursor: pointer; transition: color 0.2s; text-align: center; }
  .mobile-menu > ul > li { padding: 0; }
  .mobile-menu > ul > li > a { padding: 14px 28px; display: block; }
  .mobile-dropdown-toggle { padding: 14px 28px !important; text-align: center; }
  .mobile-menu > ul > li:hover, .mobile-menu > ul > li > a:hover { color: var(--white); }
  .mobile-dropdown-menu { list-style: none; display: none; background: var(--bg2); }
  .mobile-dropdown-menu.open { display: block; }
  .mobile-dropdown-menu li a { display: block; padding: 11px 28px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; text-align: center; transition: color 0.2s; }
  .mobile-dropdown-menu li a:hover { color: var(--gold); }
  .mobile-cta { display: inline-block !important; margin: 8px 28px 0 !important; padding: 12px 24px !important; background: var(--gold) !important; color: #0a0a0a !important; font-family: 'DM Mono', monospace; font-size: 11px !important; letter-spacing: 2px !important; text-transform: uppercase !important; text-decoration: none !important; }
  .mobile-cta:hover { background: var(--gold2) !important; }

  /* TAG WEIGHT */
  .section-tag, .hero-tag, .pillar-tag { font-weight: 600; }

  /* SECTION TAG GOLD BARS — both sides sitewide */
  .section-tag::before, .section-tag::after { content: ''; width: 32px; height: 1px; background: var(--gold); }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* FOOTER */
  footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 32px 60px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px; color: var(--white); }
  .footer-logo span { color: var(--gold); }
  .footer-copy { font-family: 'DM Mono', monospace; font-size: 11px; color: #444; letter-spacing: 1px; }
  footer a { font-family: 'DM Mono', monospace; font-size: 11px; color: #444; text-decoration: none; }
  footer a:hover { color: var(--gold); }

  /* FLOATING MOBILE CTA */
  .mobile-floating-cta { display: none; }

  @media (max-width: 768px) {
    .mobile-floating-cta {
      display: block;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 98;
      background: var(--gold);
      color: var(--bg);
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 600;
      padding: 14px 36px;
      text-decoration: none;
      white-space: nowrap;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      transition: background 0.2s;
    }
    .mobile-floating-cta:hover { background: var(--gold2); }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-menu { display: block; }
    nav { padding: 16px 20px; }

    /* Center all text and titles on mobile */
    h1, h2, h3, p, .section-tag, .hero-tag, .hero-sub, .pillar-tag, .pillar-title,
    .offering-name, .offering-card p, .item-card h3, .item-card p,
    .cta-strip, .cta-strip h2, .cta-strip p,
    .intro-text p, .intro-text h2 { text-align: center; }
    .section-tag, .hero-tag, .pillar-tag, .hero-stat-row, .hero-actions { justify-content: center; }
    .section-tag, .hero-tag, .pillar-tag { font-weight: 600; }
    footer { padding: 24px 20px; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

    /* Exclude Brian Tracy attribution */
    .hero-quote-attr { text-align: right; }

    .service-hero { padding: 120px 20px 60px; text-align: center; }
    .service-hero .section-tag { justify-content: center; }
    .offerings-section { padding: 60px 20px; }
    .cta-strip { padding: 60px 20px; }

    /* $100 bill repeating on mobile */
    .hero-money { display: none; }
    #home::before, .service-hero-wrap::before, .page-hero::before, #deck-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url('../images/hundred.webp');
      background-repeat: repeat-y;
      background-size: 100% auto;
      background-position: top center;
      opacity: 0.04;
      pointer-events: none;
      mix-blend-mode: lighten;
      filter: grayscale(1) sepia(0.3);
    }
  }
