/* ==========================================
   PORTFOLIO v3 - Distinctive Design
   Fonts: Outfit (display), Space Grotesk (body), JetBrains Mono (code)
   ========================================== */

:root {
    --bg: #111113;
    --bg-white: #19191d;
    --bg-warm: #1e1e24;
    --ink: #e8e6e3;
    --ink-2: #a09d98;
    --ink-3: #6b6862;
    --ink-4: #3d3b38;
    --border: #2a2a2f;
    --accent: #c9a35f;
    --accent-light: rgba(201,163,95,0.08);
    --orange: #e07a3a;
    --orange-light: rgba(224,122,58,0.1);
    --green: #5bb98c;
    --green-light: rgba(91,185,140,0.1);
    --purple: #9b8ce8;
    --purple-light: rgba(155,140,232,0.1);
    --red: #e06060;
    --red-light: rgba(224,96,96,0.1);
    --blue: #6ca4dc;
    --blue-light: rgba(108,164,220,0.1);
    --teal: #5bb8b0;
    --teal-light: rgba(91,184,176,0.1);
    --amber: #d4a94e;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 28px; }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: 60px;
    background: rgba(17,17,19,0.9); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-name {
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
    color: var(--ink); text-decoration: none; letter-spacing: -0.3px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    font-size: 0.82rem; color: var(--ink-3); text-decoration: none;
    font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-contact {
    padding: 6px 16px !important; background: var(--accent) !important;
    color: #111 !important; border-radius: 6px; font-size: 0.8rem !important;
    transition: all 0.2s !important; font-weight: 600 !important;
}
.nav-contact:hover { opacity: 0.85 !important; }

/* === Hero === */
.hero { padding: 120px 0 60px; background: var(--bg); position: relative; overflow: hidden; }
#particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.hero-inner {
    max-width: 960px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    position: relative; z-index: 1;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 600; color: var(--green);
    margin-bottom: 20px; letter-spacing: 0.3px;
}
.pulse {
    width: 8px; height: 8px; background: var(--green); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
    font-family: var(--font-display); font-size: 3.2rem; font-weight: 800;
    line-height: 1.1; letter-spacing: -2px; margin-bottom: 18px;
}
.hero-accent {
    background: linear-gradient(135deg, var(--accent), #e8c87a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite alternate;
}
@keyframes shimmer {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.25); }
}
.hero-desc {
    font-size: 1rem; color: var(--ink-2); line-height: 1.75;
    margin-bottom: 28px; max-width: 440px;
}
.hero-links { display: flex; gap: 16px; }
.hero-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: 8px;
    color: var(--ink-2); text-decoration: none; font-size: 0.82rem;
    font-weight: 500; transition: all 0.2s;
}
.hero-link:hover { border-color: var(--ink-3); color: var(--ink); background: var(--bg-warm); }

/* Terminal */
.terminal {
    background: #0c0c0e; border-radius: 12px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: perspective(800px) rotateY(-2deg) rotateX(1deg) translateY(0); }
    50% { transform: perspective(800px) rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}
.terminal-dots {
    display: flex; gap: 7px; padding: 14px 16px;
    background: #08080a; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dots span {
    width: 11px; height: 11px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #f38ba8; }
.terminal-dots span:nth-child(2) { background: #f9e2af; }
.terminal-dots span:nth-child(3) { background: #a6e3a1; }
.terminal-body { padding: 18px 20px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 2; }
.term-line { color: #cdd6f4; white-space: nowrap; }
.term-line.dim { opacity: 0.4; }
.term-line.out { color: #89b4fa; padding-left: 18px; }
.term-prompt { color: #a6e3a1; margin-right: 8px; }
.term-comment { color: #6c7086; }
.term-ok { color: #a6e3a1; font-size: 0.72rem; padding: 1px 8px; background: rgba(166,227,161,0.1); border-radius: 3px; }
.term-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
code { font-family: var(--font-mono); font-size: 0.82em; background: var(--bg-warm); padding: 2px 6px; border-radius: 4px; color: var(--accent); }

/* === Services Strip === */
.services-strip {
    padding: 20px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); background: var(--bg);
    overflow: hidden;
}
.strip-inner {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    max-width: 960px; margin: 0 auto; padding: 0 28px;
}
.service-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 100px;
    font-size: 0.72rem; font-weight: 600; color: var(--ink-2);
    transition: all 0.3s ease; animation: fadeInUp 0.5s ease both;
    letter-spacing: 0.3px;
}
.service-pill:nth-child(1) { animation-delay: 0.1s; }
.service-pill:nth-child(2) { animation-delay: 0.15s; }
.service-pill:nth-child(3) { animation-delay: 0.2s; }
.service-pill:nth-child(4) { animation-delay: 0.25s; }
.service-pill:nth-child(5) { animation-delay: 0.3s; }
.service-pill:nth-child(6) { animation-delay: 0.35s; }
.service-pill:nth-child(7) { animation-delay: 0.4s; }
.service-pill:nth-child(8) { animation-delay: 0.45s; }
.service-pill:nth-child(9) { animation-delay: 0.5s; }
.service-pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(201,163,95,0.15); }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; }
.pill-orange { background: var(--orange); }
.pill-blue { background: var(--blue); }
.pill-green { background: var(--green); }
.pill-purple { background: var(--purple); }
.pill-teal { background: var(--teal); }
.pill-red { background: var(--red); }
.pill-amber { background: var(--amber); }

/* === Section Headings === */
.overline {
    display: block; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--accent); margin-bottom: 12px;
    font-family: var(--font-mono);
}
.sec-heading {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800; line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px;
}
.heading-dot { color: var(--accent); opacity: 0.8; }

/* === Projects === */
.projects { padding: 80px 0; }
.projects > .container > .sec-heading { margin-bottom: 48px; }

.project {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: 14px; margin-bottom: 28px;
    transition: all 0.3s;
}
.project:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.3); border-color: #3a3a40; }

.project-header {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 28px; border-bottom: 1px solid var(--border);
}
.project-num {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
    color: var(--ink-4); min-width: 28px;
}
.project-meta { flex: 1; }
.project-meta h3 {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.3px; line-height: 1.3;
}
.project-type { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.project-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
    padding: 3px 10px; border-radius: 5px; font-size: 0.65rem;
    font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    font-family: var(--font-mono);
}
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-red { background: var(--red-light); color: var(--red); }

.project-body { padding: 24px 28px; }
.project-body > p { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.75; }

/* ==========================================================
   ARCHITECTURE DIAGRAMS - Modern Glass Design
   ========================================================== */

/* ── Architecture Container ── */
.arch-box {
    background: linear-gradient(145deg, #16161a, #111113);
    border: none;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
/* Gradient border */
.arch-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(108,164,220,0.4),
        rgba(155,140,232,0.15),
        rgba(201,163,95,0.3)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* Dot grid pattern */
.arch-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(108,164,220,0.06) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}

/* ── Architecture Label ── */
.arch-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--blue);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.arch-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(108,164,220,0.3), transparent);
}

/* ── Layout ── */
.arch-diagram { position: relative; z-index: 1; }
.arch-pipeline {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap;
}
.arch-row {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap;
}

/* ── Nodes ── */
.arch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(25,25,29,0.85);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}
.arch-step:hover {
    border-color: rgba(108,164,220,0.3);
    box-shadow: 0 0 24px rgba(108,164,220,0.1);
    transform: translateY(-3px);
}
.step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--ink-3);
    transition: all 0.35s ease;
}
.arch-step:hover .step-icon {
    background: rgba(108,164,220,0.1);
    box-shadow: 0 0 12px rgba(108,164,220,0.1);
}
.arch-step.step-aws {
    border-color: rgba(108,164,220,0.15);
    background: linear-gradient(135deg, rgba(108,164,220,0.06), rgba(155,140,232,0.03));
}
.arch-step.step-aws .step-icon {
    background: linear-gradient(135deg, rgba(108,164,220,0.22), rgba(155,140,232,0.14));
    color: var(--blue);
    box-shadow: 0 0 18px rgba(108,164,220,0.15);
}
.arch-step.step-aws:hover {
    border-color: rgba(108,164,220,0.35);
    box-shadow: 0 4px 28px rgba(108,164,220,0.12);
}
.arch-step.step-aws:hover .step-icon {
    box-shadow: 0 0 24px rgba(108,164,220,0.25);
}
.arch-step span {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-2);
}
.arch-step small {
    font-size: 0.58rem;
    color: var(--ink-3);
    font-family: var(--font-mono);
    margin-top: -4px;
    letter-spacing: 0.2px;
}
.arch-step.mini {
    padding: 10px 14px;
    min-width: 76px;
}
.arch-step.mini span { font-size: 0.66rem; }
.arch-step.mini .step-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}
.arch-step-split { display: flex; flex-direction: column; gap: 8px; }

/* ── Connectors (Animated Flow) ── */
.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 48px;
    position: relative;
}
.connector-line {
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, rgba(58,58,64,0.5), rgba(108,164,220,0.35));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108,164,220,0.9), transparent);
    animation: connectorFlow 2.5s ease-in-out infinite;
}
@keyframes connectorFlow {
    0% { left: -60%; }
    100% { left: 120%; }
}
.connector-line.connector-event {
    background: linear-gradient(90deg, rgba(224,122,58,0.25), rgba(224,122,58,0.45));
}
.connector-line.connector-event::after {
    background: linear-gradient(90deg, transparent, rgba(224,122,58,0.9), transparent);
}
.connector-line.connector-private {
    background: linear-gradient(90deg, rgba(91,185,140,0.25), rgba(91,185,140,0.45));
}
.connector-line.connector-private::after {
    background: linear-gradient(90deg, transparent, rgba(91,185,140,0.9), transparent);
}
.connector-arrow {
    width: 0; height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid rgba(108,164,220,0.45);
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 4px rgba(108,164,220,0.3));
}
.connector-label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--ink-3);
    position: absolute;
    top: 14px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ── Zones (Cloud Boundaries) ── */
.arch-zone {
    border: 1.5px solid rgba(108,164,220,0.18);
    border-radius: 16px;
    padding: 18px 22px;
    position: relative;
    background: rgba(108,164,220,0.02);
    box-shadow:
        0 0 28px rgba(108,164,220,0.04),
        inset 0 0 24px rgba(108,164,220,0.02);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}
.arch-zone:hover {
    border-color: rgba(108,164,220,0.28);
    box-shadow:
        0 0 36px rgba(108,164,220,0.06),
        inset 0 0 28px rgba(108,164,220,0.03);
}
.zone-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 14px;
    text-align: center;
    opacity: 0.85;
    text-shadow: 0 0 18px rgba(108,164,220,0.35);
}
.zone-label-sm {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ink-3);
    margin-bottom: 8px;
    text-align: center;
}
.arch-zone-row {
    display: flex; align-items: center; gap: 6px;
}
.arch-zone-inner {
    border: 1px solid rgba(108,164,220,0.1);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    background: rgba(108,164,220,0.02);
    transition: border-color 0.3s ease;
}
.arch-zone-inner:hover {
    border-color: rgba(108,164,220,0.2);
}
.arch-connector-sm {
    color: var(--blue);
    font-size: 0.9rem;
    padding: 0 4px;
    opacity: 0.45;
    text-shadow: 0 0 8px rgba(108,164,220,0.3);
}

/* ── Architecture Note ── */
.arch-note {
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ink-3);
    text-align: center;
    line-height: 1.65;
    padding: 14px 18px;
    border-top: 1px solid rgba(108,164,220,0.1);
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

/* ── Resource Grid (Terraform) ── */
.arch-resource-grid {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.resource-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--ink-2);
    padding: 8px 14px;
    background: rgba(25,25,29,0.7);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 9px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}
.resource-item:hover {
    border-color: rgba(108,164,220,0.25);
    box-shadow: 0 0 16px rgba(108,164,220,0.08);
    transform: translateY(-2px);
    color: var(--ink);
}
.resource-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.resource-blue { background: var(--blue); box-shadow: 0 0 8px rgba(108,164,220,0.5); }
.resource-orange { background: var(--orange); box-shadow: 0 0 8px rgba(224,122,58,0.5); }
.resource-green { background: var(--green); box-shadow: 0 0 8px rgba(91,185,140,0.5); }
.resource-purple { background: var(--purple); box-shadow: 0 0 8px rgba(155,140,232,0.5); }
.resource-red { background: var(--red); box-shadow: 0 0 8px rgba(224,96,96,0.5); }

/* ==========================================================
   TECHNOLOGY DECISION CARDS
   ========================================================== */
.decisions { margin-bottom: 28px; }
.decisions-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 18px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}
.decisions-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201,163,95,0.35), transparent);
}
.decision {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(25,25,29,0.85), rgba(17,17,19,0.92));
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.decision::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(201,163,95,0.03), transparent 60%);
    pointer-events: none;
}
.decision:hover {
    border-color: rgba(201,163,95,0.15);
    border-left-color: var(--accent);
    box-shadow: 0 4px 28px rgba(201,163,95,0.08);
    transform: translateX(6px);
}
.decision strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    position: relative;
}
.decision p {
    font-size: 0.78rem;
    color: var(--ink-3);
    line-height: 1.7;
    margin: 0;
    position: relative;
}

/* Learnings */
.learnings { display: flex; flex-direction: column; gap: 8px; }
.learning {
    font-size: 0.82rem; color: var(--ink-2); padding-left: 16px;
    position: relative; line-height: 1.6;
}
.learning::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 5px; height: 5px; border-radius: 50%;
    border: 1.5px solid var(--accent);
}

.project-footer {
    display: flex; gap: 12px; padding: 16px 28px;
    border-top: 1px solid var(--border);
}
.proj-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.78rem; font-weight: 500; color: var(--ink-3);
    text-decoration: none; transition: color 0.2s;
}
.proj-link:hover { color: var(--ink); }
.proj-link.live { color: var(--green); }
.proj-link.live:hover { color: #087a3f; }
.live-dot {
    width: 7px; height: 7px; background: var(--green); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* === About === */
.about { padding: 80px 0; background: var(--bg-warm); border-top: 1px solid var(--border); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about-left p { color: var(--ink-2); font-size: 0.92rem; margin-top: 16px; line-height: 1.8; }

.about-photo {
    margin-bottom: 28px;
}
.about-photo img {
    width: 160px; height: 160px; border-radius: 50%;
    object-fit: cover; object-position: center top;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(201,163,95,0.1);
    animation: glowPulse 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.about-photo img:hover { transform: scale(1.05); }
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(201,163,95,0.1), 0 0 20px rgba(201,163,95,0.05); }
    50% { box-shadow: 0 0 0 8px rgba(201,163,95,0.15), 0 0 30px rgba(201,163,95,0.1); }
}

.skill-block { margin-bottom: 28px; }
.skill-block h4 {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-3);
    margin-bottom: 12px;
}
.skill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-list span {
    padding: 5px 12px; background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; font-size: 0.76rem; color: var(--ink-2);
    font-weight: 500; transition: all 0.2s;
}
.skill-list span:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,163,95,0.06); }

/* === Contact === */
.contact { padding: 80px 0; }
.contact-inner { max-width: 600px; }
.contact-inner p { color: var(--ink-2); font-size: 0.92rem; margin-bottom: 28px; }
.contact-row { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 22px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: 10px;
    text-decoration: none; color: var(--ink-2); transition: all 0.2s;
    flex: 1; min-width: 240px;
}
.contact-card:hover { border-color: var(--ink-3); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.contact-card svg { color: var(--ink-3); flex-shrink: 0; }
.contact-card strong { display: block; color: var(--ink); font-size: 0.85rem; }
.contact-card span { font-size: 0.78rem; color: var(--ink-3); }

/* === Footer === */
.footer {
    padding: 28px 0; border-top: 1px solid var(--border);
    font-size: 0.75rem; color: var(--ink-4);
}

/* === Scroll animations === */
.project, .about-left, .about-right, .skill-block, .contact-inner {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.project:nth-child(2) { transition-delay: 0.1s; }
.project:nth-child(3) { transition-delay: 0.2s; }
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* === Responsive === */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .hero-right { display: none; }
    .about-layout { grid-template-columns: 1fr; gap: 36px; }
    .project-header { flex-wrap: wrap; }
    .project-badges { width: 100%; margin-top: 8px; }
    .arch-pipeline { flex-direction: column; }
    .arch-row { flex-direction: column; gap: 10px; }
    .arch-zone-row { flex-direction: column; gap: 10px; }
    .arch-connector { width: auto; height: 28px; transform: rotate(90deg); }
    .arch-box { padding: 24px 18px; }
    .arch-step { min-width: 80px; padding: 12px 16px; }
    .contact-row { flex-direction: column; }
    .nav-name { font-size: 0.85rem; }
    .nav-links { gap: 16px; }
}
