/* ═══════════════════════════════════════════════════════════════════════
   MURAT BULUŞ — CORPORATE GLOBAL PORTFOLIO
   Design System: Precision Engineering Aesthetic
   Palette: Deep Navy · Gold Accent · Platinum
   ═══════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
    /* Color: Deep Navy Base */
    --color-bg:         #080c14;
    --color-surface:    #0d1220;
    --color-surface-2:  #111827;
    --color-surface-3:  #1a2236;
    --color-border:     rgba(255,255,255,0.07);
    --color-border-2:   rgba(255,255,255,0.12);

    /* Color: Gold Accent */
    --color-gold:       #c9a96e;
    --color-gold-light: #e2c48a;
    --color-gold-dim:   rgba(201,169,110,0.15);
    --color-gold-glow:  rgba(201,169,110,0.25);

    /* Color: Text */
    --color-text-1:     #f0f4ff;
    --color-text-2:     #8b96b0;
    --color-text-3:     #4a5568;

    /* Gradients */
    --grad-gold:        linear-gradient(135deg, #c9a96e 0%, #e8d5a3 50%, #c9a96e 100%);
    --grad-surface:     linear-gradient(135deg, #0d1220 0%, #111827 100%);

    /* Typography */
    --font-display:     'Space Grotesk', -apple-system, sans-serif;
    --font-body:        'Inter', -apple-system, sans-serif;
    --font-mono:        'Space Mono', 'Courier New', monospace;

    /* Spacing */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2.5rem;
    --space-xl:   4rem;
    --space-2xl:  7rem;

    /* Layout */
    --max-width: 1200px;
    --nav-h:     72px;

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    /* Transitions */
    --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration: 0.35s;

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
    --shadow-gold:  0 0 40px rgba(201,169,110,0.15);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── CUSTOM CURSOR ─────────────────────────────────────────────────────── */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201,169,110,0.4);
    transition: all 0.12s var(--ease);
}

body:not(:hover) .cursor,
body:not(:hover) .cursor-follower { opacity: 0; }

/* ── BACKGROUND ─────────────────────────────────────────────────────────── */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,169,110,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,110,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.bg-glow.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
    top: -10%;
    left: 60%;
    animation: glow-drift 18s ease-in-out infinite;
}

.bg-glow.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,100,200,0.05) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: glow-drift 24s ease-in-out infinite reverse;
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(40px, -30px); }
    66%       { transform: translate(-20px, 20px); }
}

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────────────────── */
.mono-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.8;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-1);
    letter-spacing: -0.02em;
}

.section-heading em {
    font-style: normal;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 clamp(1.5rem, 5%, 3.5rem);
    background: rgba(8, 12, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.site-header.scrolled .navbar {
    background: rgba(8, 12, 20, 0.88);
    border-color: var(--color-border-2);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity var(--duration) var(--ease);
}

.nav-logo:hover { opacity: 0.8; }

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-bg);
    background: var(--grad-gold);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.logo-sep {
    color: var(--color-text-3);
    font-size: 1rem;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-1);
    letter-spacing: -0.01em;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-2);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: color var(--duration) var(--ease),
                background var(--duration) var(--ease);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-1);
    background: rgba(255,255,255,0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: var(--color-gold-dim);
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: all var(--duration) var(--ease);
}

.nav-cta:hover {
    background: var(--color-gold-glow);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    transition: background var(--duration) var(--ease);
}

.hamburger:hover { background: rgba(255,255,255,0.06); }

.ham-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-text-2);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Scroll Progress */
.scroll-progress {
    height: 2px;
    background: var(--grad-gold);
    width: 0%;
    transition: width 0.1s linear;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    background: rgba(255,255,255,0.08);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--grad-gold);
    color: var(--color-bg);
    box-shadow: 0 4px 24px rgba(201,169,110,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,169,110,0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-2);
    border: 1px solid var(--color-border-2);
}

.btn-ghost:hover {
    color: var(--color-text-1);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}

.btn-full { width: 100%; justify-content: center; }

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
.section {
    position: relative;
    z-index: 1;
    padding: var(--space-2xl) 0;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5%, 3.5rem);
}

.section-label {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
    max-width: 100px;
}

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="150"] { transition-delay: 150ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    padding-top: var(--nav-h);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: clamp(1.5rem, 5%, 3.5rem);
    padding-right: clamp(1.5rem, 5%, 3.5rem);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--color-gold);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    width: fit-content;
    animation: slideDown 0.7s var(--ease) both;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(201,169,110,0.5); }
    50%       { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(201,169,110,0); }
}

/* Headline */
.hero-headline { display: flex; flex-direction: column; gap: 0.75rem; }

.headline-eyebrow {
    animation: slideDown 0.7s var(--ease) 0.1s both;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    animation: slideUp 0.8s var(--ease) 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.name-first {
    display: block;
    color: var(--color-text-1);
}

.name-last {
    display: block;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--color-text-2);
    font-weight: 400;
    min-height: 1.75rem;
    animation: fadeIn 0.7s ease 0.4s both;
    display: flex;
    align-items: center;
    gap: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#typed-text { color: var(--color-gold-light); font-weight: 500; }

.type-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--color-gold);
    border-radius: 1px;
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    animation: slideUp 0.8s var(--ease) 0.5s both;
    flex-wrap: wrap;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1.25rem;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-lbl {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-3);
}

.stat-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--color-border-2);
    flex-shrink: 0;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s var(--ease) 0.65s both;
}

/* Scroll Hint */
.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    animation: fadeIn 1s ease 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50%       { opacity: 1; transform: scaleY(1.1); }
}

.scroll-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-3);
    writing-mode: horizontal-tb;
}

/* Deco */
.hero-deco {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}

.deco-circuit {
    width: 380px;
    height: 380px;
    color: var(--color-gold);
    animation: spin-slow 40s linear infinite;
    opacity: 0.5;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.deco-numbers {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 40px;
}

.deco-numbers span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    opacity: 0;
    animation: float-in 0.6s var(--ease) forwards;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: var(--radius-sm);
    background: rgba(201,169,110,0.05);
}

.deco-numbers span:nth-child(1) { animation-delay: 0.8s;  }
.deco-numbers span:nth-child(2) { animation-delay: 1.0s; }
.deco-numbers span:nth-child(3) { animation-delay: 1.2s; }
.deco-numbers span:nth-child(4) { animation-delay: 1.4s; }
.deco-numbers span:nth-child(5) { animation-delay: 1.6s; }
.deco-numbers span:nth-child(6) { animation-delay: 1.8s; }

@keyframes float-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 0.7; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.about-section {
    border-top: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
    align-items: start;
    margin-top: var(--space-lg);
}

.about-text-col { display: flex; flex-direction: column; gap: var(--space-md); }

.about-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-2);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--color-border-2);
    border-radius: 100px;
    color: var(--color-text-2);
    transition: all var(--duration) var(--ease);
}

.tag:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-gold-dim);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
}

.metric-card:hover {
    border-color: var(--color-border-2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.metric-card:hover::before { transform: scaleX(1); }

.metric-card--featured,
.metric-card.metric-accent {
    background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, rgba(201,169,110,0.03) 100%);
    border-color: rgba(201,169,110,0.25);
}

.metric-card.metric-accent::before { transform: scaleX(1); }

.metric-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.metric-plus {
    display: inline;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--color-text-3);
    line-height: 1.4;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.metric-icon {
    position: absolute;
    bottom: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.15;
}

/* ══════════════════════════════════════════════════════════════════════════
   SKILLS SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.skills-section { border-top: 1px solid var(--color-border); }

.skills-matrix {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--space-lg);
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.skill-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--duration) var(--ease);
}

.skill-item:hover {
    border-color: var(--color-border-2);
    background: var(--color-surface-2);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-dim);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: all var(--duration) var(--ease);
}

.skill-item:hover .skill-icon-wrap {
    background: var(--color-gold-glow);
    border-color: rgb(201,169,110,0.4);
}

.skill-info { flex: 1; }

.skill-info h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-1);
    margin-bottom: 0.2rem;
}

.skill-info p {
    font-size: 0.8rem;
    color: var(--color-text-3);
    font-family: var(--font-mono);
}

.skill-pct {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold);
    flex-shrink: 0;
}

.skill-bar {
    height: 4px;
    background: var(--color-surface-3);
    border-radius: 100px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-gold);
    border-radius: 100px;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-fill.animated { width: var(--w); }

/* ══════════════════════════════════════════════════════════════════════════
   EXPERTISE SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.expertise-section { border-top: 1px solid var(--color-border); }

.expertise-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: end;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-md);
}

.expertise-lead {
    font-size: 1rem;
    color: var(--color-text-2);
    line-height: 1.8;
    padding-bottom: 0.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.exp-card {
    position: relative;
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background var(--duration) var(--ease);
    cursor: default;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.exp-card:hover::before,
.exp-card:focus::before { opacity: 1; }

.exp-card:hover,
.exp-card:focus {
    background: var(--color-surface-2);
    outline: none;
}

.exp-card--featured {
    background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, var(--color-surface) 60%);
}

.exp-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-text-3);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.exp-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-dim);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: var(--color-gold);
    transition: all var(--duration) var(--ease);
}

.exp-card:hover .exp-icon,
.exp-card:focus .exp-icon {
    background: var(--color-gold-glow);
    transform: scale(1.05);
}

.exp-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-1);
    line-height: 1.3;
}

.exp-desc {
    font-size: 0.875rem;
    color: var(--color-text-2);
    line-height: 1.75;
    flex: 1;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.exp-tags span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(201,169,110,0.08);
    color: var(--color-gold);
    border: 1px solid rgba(201,169,110,0.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.contact-section { border-top: 1px solid var(--color-border); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-md);
    align-items: start;
}

.contact-left { display: flex; flex-direction: column; gap: var(--space-lg); }

.contact-sub {
    font-size: 1.05rem;
    color: var(--color-text-2);
    line-height: 1.7;
    margin-top: -1rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    color: inherit;
}

.channel-item:not(.no-link):hover {
    border-color: rgba(201,169,110,0.3);
    background: rgba(201,169,110,0.05);
    transform: translateX(4px);
}

.channel-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-dim);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.channel-info { flex: 1; }

.channel-label {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-3);
    margin-bottom: 0.2rem;
}

.channel-val {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-1);
}

.channel-arrow {
    color: var(--color-gold);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.channel-item:hover .channel-arrow { opacity: 1; }

/* Social Row */
.social-row {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-2);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-gold-dim);
}

.social-btn i { font-size: 1rem; }

/* Contact Form */
.contact-right {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-3);
}

.form-input {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.925rem;
    color: var(--color-text-1);
    transition: border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
    outline: none;
    resize: none;
}

.form-input::placeholder { color: var(--color-text-3); }

.form-input:focus {
    border-color: rgba(201,169,110,0.5);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}

.form-textarea { min-height: 130px; line-height: 1.6; }

.form-status {
    font-size: 0.875rem;
    text-align: center;
    min-height: 1.2rem;
    color: var(--color-gold);
    font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem clamp(1.5rem, 5%, 3.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-2);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-text-3);
    font-family: var(--font-mono);
}

.back-top {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-2);
    font-size: 0.85rem;
    transition: all var(--duration) var(--ease);
}

.back-top:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-gold-dim);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE — NAV OVERLAY
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-cta span { display: none; }
    .nav-cta { padding: 0.55rem 0.8rem; }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(8,12,20,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        z-index: 999;
        pointer-events: none;
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    }

    .nav-links.open {
        pointer-events: all;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 0.75rem 1.5rem;
        font-family: var(--font-display);
        font-weight: 600;
    }

    .nav-link.active::after { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: calc(var(--nav-h) + 3rem);
        padding-bottom: 4rem;
        gap: var(--space-lg);
    }

    .hero-deco {
        order: -1;
        height: 280px;
    }

    .deco-circuit { width: 260px; height: 260px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .expertise-header {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .skill-row {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    :root { --space-2xl: 4rem; }

    .hero-stats-row { gap: 0; }
    .stat-pill { padding: 0.5rem 0.75rem; }
    .stat-val { font-size: 1.25rem; }

    .expertise-grid { grid-template-columns: 1fr; }

    .metrics-grid { grid-template-columns: 1fr 1fr; }

    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }

    .social-row { justify-content: flex-start; flex-wrap: wrap; }

    .contact-right { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   REDUCE MOTION
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor,
    .cursor-follower { display: none !important; }
}
