:root {
    --bg: #080810;
    --surface: #0f0f18;
    --surface-2: #16161f;
    --text-main: #e8e8f0;
    --text-dim: #7a7a8c;
    --text-mid: #b0b0c0;
    --accent: #00c8f0;
    --accent-dim: rgba(0, 200, 240, 0.12);
    --gold: #c8a96e;
    --gold-dim: rgba(200, 169, 110, 0.12);
    --border: rgba(255,255,255,0.07);
    --border-accent: rgba(0, 200, 240, 0.3);
    --font-display: 'Syne', sans-serif;
    --font-serif: 'Fraunces', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-dispay);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

.ambient {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,240,0.04) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 1; }

/* ---- HEADER ---- */
header {
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(8, 8, 16, 0.92);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.logo-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo { font-family: var(--font-mono); font-weight: 500; font-size: 1rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.logo-sub { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 2.5rem; }
nav a { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
nav a:hover { color: var(--text-main); }

/* ---- BUTTONS ---- */
.btn { display: inline-block; background: transparent; color: var(--accent); padding: 0.6rem 1.4rem; text-decoration: none; font-weight: 500; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--border-accent); border-radius: 2px; transition: all 0.2s; cursor: pointer; }
.btn:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.btn-primary:hover { background: #00e0ff; opacity: 1; }

/* ---- HERO ---- */
.hero { min-height: 88vh; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; padding: 6rem 0; position: relative; }
.hero-left { display: flex; flex-direction: column; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); display: inline-block; }

h1 { font-family: var(--font-serif) ; font-size: 4rem; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h1 em { font-family: var(--font-mono); font-size: 3.5rem; font-style:normal; font-weight: 450; color: var(--accent); }

.hero-body { font-size: 1.1rem; font-weight: 400; color: var(--text-mid); max-width: 480px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; }

/* ---- CREDENTIAL CARD ---- */
.hero-right { display: flex; justify-content: flex-end; align-items: center; }
.credential-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; width: 100%; max-width: 420px; position: relative; overflow: hidden; }
.credential-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

.credential-photo { width: 80px; height: 80px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border-accent); margin-bottom: 1.25rem; overflow: hidden; }
.credential-photo img { width: 100%; height: 100%; object-fit: cover; }

.credential-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.credential-title { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; }

.credential-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.credential-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; color: var(--text-mid); line-height: 1.4; }
.credential-item .ci-icon { font-family: var(--font-mono); color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }

.award-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold-dim); border: 1px solid rgba(200,169,110,0.25); border-radius: 2px; padding: 0.4rem 0.75rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--gold); text-transform: uppercase; }

/* ---- METRICS ---- */
.metrics { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.metric { padding: 0 2rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.4rem; }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: none; }
.metric-num { font-size: 2.4rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.03em; line-height: 1; }
.metric-num span { color: var(--accent); }
.metric-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }

/* ---- SECTIONS ---- */
section { padding: 6rem 0; }
.section-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); max-width: 60px; }

h2 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; }
h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--accent); }
.section-intro { font-size: 1.05rem; color: var(--text-mid); max-width: 600px; line-height: 1.7; margin-bottom: 3.5rem; }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; position: relative; overflow: hidden; transition: 0.3s; }
.service-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.service-num { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.15em; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card ul { list-style: none; }
.service-card li { margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-dim); display: flex; gap: 0.6rem; }
.service-card li::before { content: "›"; color: var(--accent); font-family: var(--font-mono); }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.about-left p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; }
.about-item { border: 1px solid var(--border); border-radius: 3px; padding: 1.25rem 1.5rem; display: flex; gap: 1rem; margin-bottom: 1rem; }
.about-item-icon { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); }
.about-item-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.about-item-text p { font-size: 0.8rem; color: var(--text-dim); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.contact-detail { display: flex; gap: 1rem; font-family: var(--font-mono); font-size: 0.8rem; }
.cd-label { color: var(--text-dim); min-width: 80px; }
.cd-value a { color: var(--accent); text-decoration: none; }

form { display: flex; flex-direction: column; gap: 1.25rem; }
label { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--text-dim); }
input, select, textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); padding: 0.85rem 1rem; color: var(--text-main); font-size: 0.9rem; border-radius: 2px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* ---- FOOTER ---- */
footer { padding: 2rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
footer strong { color: var(--accent); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    h1 { font-size: 2.8rem; }
    .hero { grid-template-columns: 1fr; padding: 4rem 0; }
    .hero-right { justify-content: flex-start; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    nav { display: none; }
}