  :root {
    --void: #080c18;
    --deep: #0d1224;
    --surface: #111832;
    --border: #1a2345;
    --text: #c8cdd8;
    --text-bright: #e4e8f0;
    --muted: #6b7394;
    --accent: #b060d0;
    --accent-dim: #b060d018;
    --accent-glow: #b060d040;
    --blue-hint: #3a5a9a;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--void);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  #stars {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* --- NAV --- */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 1.25rem 2.5rem;
    display: flex; justify-content: space-between; align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s;
  }
  nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(8, 12, 24, 0.88);
    backdrop-filter: blur(16px);
  }
  .nav-mark {
    font-family: var(--mono); font-size: 0.92rem; font-weight: 500;
    color: var(--text-bright); text-decoration: none; letter-spacing: 0.06em;
  }
  .nav-mark span { color: var(--accent); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 0.82rem; font-weight: 500; color: var(--muted);
    text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase;
    transition: color 0.25s;
  }
  .nav-links a:hover { color: var(--text-bright); }

  /* --- HERO --- */
  .hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 2.5rem 6rem; max-width: 900px;
  }
  .hero-label {
    font-family: var(--mono); font-size: 0.76rem; color: var(--accent);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
  }
  .hero h1 {
    font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.2rem);
    line-height: 1.15; letter-spacing: -0.02em; color: var(--text-bright);
    margin-bottom: 1.75rem; opacity: 0; animation: fadeUp 0.6s 0.35s forwards;
  }
  .hero p {
    font-size: 1.08rem; color: var(--muted); max-width: 560px; line-height: 1.75;
    opacity: 0; animation: fadeUp 0.6s 0.5s forwards;
  }
  .hero-contact {
    margin-top: 2.5rem; display: flex; gap: 1.25rem; align-items: center;
    opacity: 0; animation: fadeUp 0.6s 0.65s forwards;
  }
  .hero-contact a {
    font-family: var(--mono); font-size: 0.82rem; color: var(--text-bright);
    text-decoration: none; padding: 0.65rem 1.5rem;
    border: 1px solid var(--border); border-radius: 2px;
    transition: all 0.3s; letter-spacing: 0.02em;
  }
  .hero-contact a:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow); color: #fff;
  }
  .hero-contact span { font-size: 0.84rem; color: var(--muted); }

  /* --- SECTIONS --- */
  section { position: relative; z-index: 1; padding: 6rem 2.5rem; }
  .section-label {
    font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem;
  }
  section h2 {
    font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.015em; color: var(--text-bright); margin-bottom: 2rem;
  }
  .divider {
    position: relative; z-index: 1;
    height: 1px; background: var(--border); margin: 0 2.5rem;
  }

  /* --- INTERACTIVE SERVICE CARDS --- */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem; max-width: 1100px;
  }
  .service-card {
    position: relative;
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-dim), inset 0 0 30px var(--accent-dim);
  }
  .service-card canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .service-card:hover canvas { opacity: 1; }
  .service-card-content {
    position: relative; z-index: 2;
    padding: 2rem;
  }
  .service-card h3 {
    font-family: var(--serif); font-size: 1.15rem;
    color: var(--text-bright); margin-bottom: 0.75rem;
  }
  .service-card p {
    font-size: 0.9rem; color: var(--muted); line-height: 1.65;
  }
  .service-tag {
    display: inline-block; font-family: var(--mono); font-size: 0.68rem;
    color: var(--accent); background: var(--accent-dim);
    padding: 0.25rem 0.65rem; border-radius: 2px;
    margin-top: 1rem; letter-spacing: 0.04em;
  }

  /* --- WORK --- */
  .work-list { max-width: 800px; }
  .work-item {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 1.5rem 0; border-bottom: 1px solid var(--border);
    gap: 2rem; transition: border-color 0.2s;
  }
  .work-item:first-child { border-top: 1px solid var(--border); }
  .work-item:hover { border-color: var(--blue-hint); }
  .work-title {
    font-family: var(--serif); font-size: 1.12rem; color: var(--text-bright);
  }
  .work-desc {
    font-size: 0.88rem; color: var(--muted); margin-top: 0.35rem; line-height: 1.6;
  }
  .work-type {
    font-family: var(--mono); font-size: 0.73rem; color: var(--muted);
    white-space: nowrap; letter-spacing: 0.04em;
  }

  /* --- PROCESS --- */
  .process-steps { max-width: 700px; counter-reset: step; }
  .process-step {
    counter-increment: step;
    padding: 1.25rem 0 1.25rem 3.5rem;
    position: relative;
    border-left: 1px solid var(--border);
    margin-left: 1rem;
    transition: border-color 0.3s;
  }
  .process-step:hover { border-left-color: var(--accent); }
  .process-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--mono); font-size: 0.7rem; color: var(--accent);
    position: absolute; left: -1.5rem; top: 1.35rem;
    background: var(--void); padding: 0.2rem 0; width: 3rem; text-align: center;
  }
  .process-step h3 {
    font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
    color: var(--text-bright); margin-bottom: 0.4rem;
  }
  .process-step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

  /* --- POLICIES --- */
  .policies {
    background: var(--deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .policies-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem; max-width: 1100px;
  }
  .policy h3 {
    font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
    color: var(--text-bright); margin-bottom: 0.6rem;
  }
  .policy p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

  /* --- CONTACT --- */
  .contact { max-width: 600px; }
  .contact p { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.75; }
  .contact-methods { display: flex; flex-direction: column; gap: 0.65rem; }
  .contact-methods a {
    font-family: var(--mono); font-size: 0.86rem; color: var(--text-bright);
    text-decoration: none; transition: color 0.25s;
  }
  .contact-methods a:hover { color: var(--accent); }

  /* --- FOOTER --- */
  footer {
    position: relative; z-index: 1;
    padding: 3rem 2.5rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  footer p { font-size: 0.78rem; color: var(--muted); }
  footer .footer-links { display: flex; gap: 1.5rem; }
  footer .footer-links a {
    font-size: 0.78rem; color: var(--muted); text-decoration: none;
    transition: color 0.25s;
  }
  footer .footer-links a:hover { color: var(--text-bright); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.55s, transform 0.55s;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 640px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 0.76rem; }
    .hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero { min-height: 90vh; padding-top: 6rem; }
    .hero-contact { flex-direction: column; align-items: flex-start; }
    .work-item { flex-direction: column; gap: 0.3rem; }
    .divider { margin: 0 1.5rem; }
    footer { flex-direction: column; align-items: flex-start; }
    .service-card canvas { opacity: 0.5; }
  }
