:root {
      --black: #0a0a0c; --night: #101015; --carbon: #18181e; --graphite: #222230;
      --steel: #3a3a4a; --muted: #7a7a8e; --silver: #b0b0be; --light: #d8d8e2;
      --white: #f0f0f4; --accent: #d4842a; --accent-bright: #e8983e; --accent-dim: #a06418;
      --accent-glow: rgba(212, 132, 42, 0.08);
      --font-heading: 'Space Grotesk', system-ui, sans-serif;
      --font-body: 'IBM Plex Sans', system-ui, sans-serif;
      --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
      --max-w: 1140px; --header-h: 64px; --radius: 6px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; color-scheme: dark only; background: #0a0a0c; }
    body { font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.7; color: #d8d8e2; background: #0a0a0c !important; overflow-x: hidden; }
    a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
    a:hover { color: var(--white); }
    .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

    .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(10,10,12,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.05); }
    .header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
    .logo:hover { color: var(--white); }
    .logo-icon { width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
    .logo-icon::after { content: ''; width: 16px; height: 2px; background: var(--accent); transform: rotate(-45deg); }
    .main-nav { display: flex; gap: 32px; align-items: center; }
    .nav-link { font-size: 14px; font-weight: 500; color: var(--silver); }
    .nav-link:hover { color: var(--white); }
    .nav-cta { font-size: 13px; font-weight: 600; color: var(--black); background: var(--accent); padding: 8px 20px; border-radius: var(--radius); }
    .nav-cta:hover { background: var(--accent-bright); color: var(--black); }

    .hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 80px) 24px 100px; position: relative; }
    .hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 70%, var(--accent-glow) 0%, transparent 50%), radial-gradient(ellipse at 70% 30%, rgba(212,132,42,0.03) 0%, transparent 40%); pointer-events: none; }
    .hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
    .hero-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); background: rgba(212,132,42,0.08); border: 1px solid rgba(212,132,42,0.15); padding: 6px 14px; border-radius: 20px; margin-bottom: 32px; opacity: 0; animation: fadeUp 0.6s ease forwards 0.1s; }
    .hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
    .hero h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; line-height: 1.1; color: var(--white); max-width: 18ch; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.7s ease forwards 0.25s; }
    .hero h1 .accent { color: var(--accent-bright); }
    .hero-sub { font-size: 18px; color: var(--silver); max-width: 52ch; line-height: 1.65; margin-bottom: 40px; opacity: 0; animation: fadeUp 0.7s ease forwards 0.4s; }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.7s ease forwards 0.55s; }
    .btn-primary { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--black); background: var(--accent); padding: 14px 28px; border-radius: var(--radius); transition: all 0.25s; }
    .btn-primary:hover { background: var(--accent-bright); color: var(--black); transform: translateY(-1px); }
    .btn-outline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--light); border: 1px solid var(--steel); padding: 14px 28px; border-radius: var(--radius); transition: all 0.25s; }
    .btn-outline:hover { border-color: var(--silver); color: var(--white); }
    .hero-line { position: absolute; right: 8%; top: 15%; width: 1px; height: 70%; background: linear-gradient(to bottom, transparent, var(--accent-dim) 30%, var(--accent) 50%, var(--accent-dim) 70%, transparent); opacity: 0.15; animation: pulse 5s ease-in-out infinite; }

    .section { padding: 100px 24px; }
    .section.alt { background: var(--night); }
    .section-header { margin-bottom: 56px; }
    .section-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
    .section-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; color: var(--white); max-width: 24ch; }
    .section-desc { font-size: 17px; color: var(--silver); max-width: 56ch; margin-top: 16px; line-height: 1.65; }

    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
    .service-card { background: var(--night); padding: 36px 32px; transition: background 0.3s; position: relative; }
    .service-card:hover { background: var(--carbon); }
    .service-card::after { content: ''; position: absolute; bottom: 0; left: 32px; right: 32px; height: 1px; background: linear-gradient(to right, var(--accent-dim), transparent); opacity: 0; transition: opacity 0.3s; }
    .service-card:hover::after { opacity: 1; }
    .service-icon { width: 40px; height: 40px; border: 1px solid var(--steel); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 18px; color: var(--accent); transition: border-color 0.3s; }
    .service-card:hover .service-icon { border-color: var(--accent-dim); }
    .service-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
    .service-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
    .service-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); margin-top: 20px; transition: gap 0.2s; }
    .service-link:hover { gap: 10px; color: var(--accent-bright); }

    /* Industries */
    .industries { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
    .industry-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--silver); background: var(--carbon); border: 1px solid var(--graphite); padding: 8px 16px; border-radius: 20px; }

    .about-preview { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
    .trust-bar { display: grid; gap: 1px; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
    .trust-item { background: var(--black); padding: 28px 24px; text-align: center; }
    .trust-value { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--accent-bright); margin-bottom: 4px; }
    .trust-label { font-size: 13px; color: var(--muted); }
    .about-text h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
    .about-text p { color: var(--silver); margin-bottom: 16px; line-height: 1.7; }

    .page-header { padding: calc(var(--header-h) + 64px) 24px 48px; border-bottom: 1px solid var(--graphite); }
    .page-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.1; }
    .page-subtitle { font-size: 17px; color: var(--silver); max-width: 56ch; margin-top: 12px; }

    .about-body { max-width: 64ch; }
    .about-body p { color: var(--silver); margin-bottom: 16px; }
    .about-body h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--white); margin-top: 48px; margin-bottom: 16px; }

    .value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--graphite); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
    .value-card { background: var(--night); padding: 32px 28px; }
    .value-card h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
    .value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
    .contact-text p { color: var(--silver); margin-bottom: 24px; max-width: 44ch; }
    .contact-method { margin-bottom: 28px; }
    .contact-method-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
    .contact-method-value a { font-size: 17px; color: var(--white); border-bottom: 1px solid var(--graphite); padding-bottom: 2px; transition: border-color 0.2s; }
    .contact-method-value a:hover { border-color: var(--accent); color: var(--accent-bright); }

    .site-footer { border-top: 1px solid var(--graphite); padding: 48px 24px; }
    .footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 32px; }
    .footer-brand { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--muted); }
    .footer-tagline { font-size: 13px; color: var(--steel); margin-top: 4px; font-style: italic; }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { font-size: 13px; color: var(--muted); }
    .footer-links a:hover { color: var(--accent-bright); }
    .footer-legal { font-size: 12px; color: var(--steel); width: 100%; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--graphite); }

    .page-divider { width: 100%; max-width: var(--max-w); margin: 0 auto; border: none; border-top: 2px dashed var(--graphite); }
    .page-divider-label { text-align: center; padding: 48px 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); }

    @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes pulse { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.3; } }

    @media (max-width: 768px) {
      .main-nav { display: none; }
      .services-grid { grid-template-columns: 1fr; }
      .about-preview { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .value-grid { grid-template-columns: 1fr; }
    }
/* Prose (markdown content) */
.prose { max-width: 64ch; }
.prose p { color: var(--silver); margin-bottom: 16px; }
.prose h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--white); margin-top: 48px; margin-bottom: 16px; }
.prose h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--white); margin-top: 32px; margin-bottom: 12px; }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 24px; }
.prose li { margin-bottom: 6px; color: var(--silver); }
.prose strong { font-weight: 600; color: var(--light); }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--carbon); padding: 2px 6px; border-radius: 3px; border: 1px solid var(--graphite); }

/* Blog list */
.blog-list { max-width: 720px; }
.blog-post { padding: 32px 0; border-bottom: 1px solid var(--graphite); }
.blog-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-title { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.blog-title a { color: var(--white); }
.blog-title a:hover { color: var(--accent-bright); }
.blog-excerpt { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); position: absolute; left: 0; transition: 0.3s; }
.nav-toggle span:first-child { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:last-child { top: 16px; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--graphite); padding: 24px; gap: 16px; z-index: 99; }
}
