*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg:          #1a1a2e;
      --surface:     #16213e;
      --surface2:    #1c2a4a;
      --gold:        #c9a227;
      --gold-light:  #d4b84a;
      --gold-dim:    rgba(201,162,39,0.12);
      --gold-border: rgba(201,162,39,0.22);
      --text:        #eaeaea;
      --muted:       #8a8aaa;
      --mono:        'JetBrains Mono', monospace;
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      font-family: 'Inter', sans-serif;
      background: transparent;
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.65;
    }

    h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }

    /* ── LAYOUT ── */
    .container {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 2.5rem;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 200;
      background: rgba(26,26,46,0.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--gold-border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1080px;
      margin: 0 auto;
      padding: 1rem 2.5rem;
    }

    .nav-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--gold);
      letter-spacing: 0.12em;
      text-decoration: none;
    }

    .nav-links {
      display: flex;
      gap: 2.25rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--gold); }

    /* ── HERO CANVAS (fixed background) ── */
    #hero-canvas {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .hero-vignette {
      position: fixed;
      inset: 0;
      background: radial-gradient(ellipse at center, transparent 40%, rgba(26,26,46,0.6) 100%);
      pointer-events: none;
      z-index: 1;
    }

    /* ── HERO ── */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
      z-index: 2;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 680px;
      padding: 2rem;
    }

    .hero-eyebrow {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--gold);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      opacity: 0.75;
    }

    .hero-title {
      font-size: clamp(2.8rem, 7vw, 4.8rem);
      font-weight: 700;
      line-height: 1.06;
      letter-spacing: -0.025em;
      margin-bottom: 1.1rem;
      text-shadow: 0 0 80px rgba(201,162,39,0.18);
    }

    .gold { color: var(--gold); }

    .hero-sub {
      font-size: 1.05rem;
      color: var(--muted);
      margin-bottom: 2.75rem;
    }

    .hero-buttons {
      display: flex;
      gap: 0.9rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .scroll-cue {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      color: var(--muted);
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-family: var(--mono);
      opacity: 0.4;
      animation: cue 2.2s ease-in-out infinite;
    }

    .scroll-cue svg { opacity: 0.6; }

    @keyframes cue {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50%       { transform: translateX(-50%) translateY(7px); }
    }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.35em;
      padding: 0.78rem 1.5rem;
      border-radius: 3px;
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
      transition: all 0.22s;
      cursor: pointer;
      border: 1px solid var(--gold);
      font-family: 'Inter', sans-serif;
      letter-spacing: 0.01em;
    }

    .btn-primary {
      background: var(--gold);
      color: var(--bg);
    }
    .btn-primary:hover {
      background: var(--gold-light);
      border-color: var(--gold-light);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(201,162,39,0.25);
    }

    .btn-ghost {
      background: transparent;
      color: var(--gold);
    }
    .btn-ghost:hover {
      background: var(--gold-dim);
      transform: translateY(-2px);
    }

    /* ── SECTION WRAPPERS ── */
    .section { padding: 7rem 0; }
    .section-alt { background: rgba(18, 18, 36, 0.72); }

    .section-divider {
      height: 1px;
      background: linear-gradient(to right, transparent, var(--gold-border), transparent);
    }

    /* ── SERVICE GRID ── */
    .service-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4.5rem;
      align-items: center;
    }

    .service-grid.flip .service-figure { order: -1; }

    .service-label {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-family: var(--mono);
      font-size: 0.68rem;
      letter-spacing: 0.18em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 0.85rem;
      opacity: 0.85;
    }

    .service-label::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--gold);
      flex-shrink: 0;
      opacity: 0.5;
    }

    .service-num {
      color: var(--muted);
      opacity: 0.55;
    }

    .service-title {
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: -0.015em;
      margin-bottom: 0.85rem;
    }

    .service-hook {
      font-size: 0.975rem;
      color: var(--muted);
      font-style: italic;
      margin-bottom: 1.65rem;
      line-height: 1.55;
    }

    .service-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      margin-bottom: 2rem;
    }

    .service-bullets li {
      display: flex;
      gap: 0.7rem;
      align-items: flex-start;
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.55;
    }

    .service-bullets li::before {
      content: '→';
      color: var(--gold);
      flex-shrink: 0;
      margin-top: 0.05em;
      opacity: 0.8;
    }

    .bullet-term {
      color: var(--text);
      font-weight: 500;
    }

    .service-footer {
      font-size: 0.82rem;
      color: var(--muted);
      margin-bottom: 2rem;
      opacity: 0.7;
    }

    /* ── SERVICE FIGURES ── */
    .service-figure {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .fig-frame {
      width: 100%;
      max-width: 400px;
      background: var(--surface);
      border: 1px solid var(--gold-border);
      border-radius: 7px;
      overflow: hidden;
      box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    }

    .section-alt .fig-frame { background: var(--surface2); }

    .fig-bar {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.85rem;
      border-bottom: 1px solid var(--gold-border);
      background: rgba(201,162,39,0.04);
    }

    .fig-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      opacity: 0.75;
    }
    .fig-dot.r { background: #ff5f57; }
    .fig-dot.y { background: #febc2e; }
    .fig-dot.g { background: #28c840; }

    .fig-label {
      font-family: var(--mono);
      font-size: 0.62rem;
      color: var(--muted);
      margin-left: 0.3rem;
      opacity: 0.7;
    }

    .fig-body { padding: 1.25rem 1.25rem 1rem; }

    /* ── ABOUT ── */
    .about-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 5rem;
      align-items: start;
    }

    .about-text h2 {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      margin-bottom: 1.5rem;
      line-height: 1.15;
      letter-spacing: -0.015em;
    }

    .about-quote {
      font-size: 1.08rem;
      color: var(--text);
      line-height: 1.65;
      margin-bottom: 1.5rem;
      padding-left: 1.1rem;
      border-left: 2px solid var(--gold);
    }

    .about-text p {
      color: var(--muted);
      margin-bottom: 1rem;
      line-height: 1.75;
      font-size: 0.92rem;
    }

    .about-text p strong { color: var(--text); }

    .social-row {
      display: flex;
      gap: 0.65rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    .social-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.45rem 0.9rem;
      border: 1px solid var(--gold-border);
      border-radius: 3px;
      color: var(--muted);
      text-decoration: none;
      font-size: 0.82rem;
      transition: all 0.2s;
    }
    .social-btn:hover { border-color: var(--gold); color: var(--gold); }

    .stat-stack {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .stat-card {
      background: rgba(201,162,39,0.04);
      border: 1px solid var(--gold-border);
      border-radius: 5px;
      padding: 1.2rem 1.5rem;
      transition: border-color 0.2s;
    }
    .stat-card:hover { border-color: rgba(201,162,39,0.5); }

    .stat-value {
      font-family: var(--mono);
      font-size: 2.1rem;
      font-weight: 500;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 0.35rem;
    }

    .stat-desc {
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.4;
    }

    /* ── FOOTER ── */
    footer {
      background: rgba(18, 18, 36, 0.82);
      color: #a0a8c0; /* Muted text color */
      border-top: 1px solid var(--gold-border);
      padding: 4rem 0 2.25rem;
      margin-top: 4rem;
      font-size: 0.9rem;
    }
    
    footer .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-brand-name {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--gold);
      letter-spacing: 0.12em;
      display: inline-block;
      margin-bottom: 0.5rem;
      text-decoration: none;
      letter-spacing: 1px;
    }

    .footer-tagline {
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 0.8rem;
      letter-spacing: 0.01em;
    }

    .footer-contact {
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--muted);
      opacity: 0.7;
    }

    .footer-col h4 {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.1rem;
      font-family: var(--mono);
      opacity: 0.7;
    }

    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

    .footer-col ul a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.2s;
    }
    .footer-col ul a:hover { color: var(--gold); }

    .footer-bottom {
      padding-top: 1.75rem;
      border-top: 1px solid rgba(255,255,255,0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-copy {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--muted);
      opacity: 0.55;
    }

    .footer-copy strong { color: var(--gold); opacity: 1; }

    /* ── SCROLL FADE ── */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .reveal.in { opacity: 1; transform: none; }
    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }

    /* ── RESPONSIVE ── */
    @media (max-width: 800px) {
      .service-grid,
      .service-grid.flip,
      .about-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .service-grid.flip .service-figure { order: unset; }
      .service-figure,
      .stat-stack { display: none; }
      .nav-links { display: none; }
      .hero-title { font-size: 2.4rem; }
    }

/* Additional canvas styles for service sections */
    .service-figure {
      position: relative;
      overflow: hidden;
    }
    
    .service-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }
    
    /* Main content wrapper to enable scrolling */
    .main-content {
      position: relative;
      z-index: 2;
      background: var(--bg);
    }
    
    .fig-content {
      position: relative;
      z-index: 1;
    }
