/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
    --orange:        #F97316;
    --orange-dk:     #EA580C;
    --orange-semi:   rgba(249, 115, 22, 0.14);
    --orange-border: rgba(249, 115, 22, 0.30);
    --orange-pale:   #FFF7ED;

    --dark:          #0D0D0D;
    --dark-2:        #181818;
    --dark-3:        #242424;

    --grey:          #6B7280;
    --grey-lt:       #9CA3AF;
    --border:        #E5E7EB;

    --white:         #FFFFFF;
    --off-white:     #F9F9F9;

    --ff-head:       'Space Grotesk', sans-serif;
    --ff-body:       'Inter', sans-serif;
    --ff-mono:       'JetBrains Mono', monospace;

    --nav-h:         72px;
    --max-w:         1160px;
    --radius:        12px;
    --radius-lg:     20px;
    --ease:          0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.text-orange { color: var(--orange); }

/* Scroll-triggered fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY COMPONENTS
═══════════════════════════════════════════════ */
.eyebrow {
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--orange);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eyebrow--light { color: rgba(249, 115, 22, 0.85); }

.section-heading {
    font-family: var(--ff-head);
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--dark);
    margin-bottom: 20px;
}
.section-heading--light { color: #ffffff; }

.section-desc {
    font-size: 1.05rem;
    color: var(--grey);
    line-height: 1.7;
    margin-top: 8px;
    max-width: 480px;
}

.section-intro { margin-bottom: 64px; }
.section-intro--center { text-align: center; }
.section-intro--center .section-desc { margin-left: auto; margin-right: auto; }

.body-text {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--orange);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid var(--orange);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-primary:hover {
    background: var(--orange-dk);
    border-color: var(--orange-dk);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.25);
    transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--orange);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 100px;
    transition: background var(--ease), transform var(--ease);
}
.btn-pill:hover {
    background: var(--orange-dk);
    transform: translateY(-1px);
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--orange);
    letter-spacing: 0.01em;
    transition: opacity var(--ease);
}
.btn-text-link:hover { opacity: 0.75; }

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    transition: background var(--ease), backdrop-filter var(--ease), box-shadow var(--ease);
}
.navbar.scrolled {
    background: rgba(13, 13, 13, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-family: var(--ff-mono);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    margin-right: auto;
}
.logo-brace { color: var(--orange); }

.nav-links {
    display: flex;
    gap: 38px;
}

.nav-link {
    font-family: var(--ff-head);
    font-weight: 500;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.60);
    letter-spacing: 0.01em;
    transition: color var(--ease);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: right var(--ease);
}
.nav-link:hover,
.nav-link.active {
    color: #fff;
}
.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}

/* Hamburger */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    width: 32px;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
    display: none;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.98);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 12px 24px 24px;
}
.nav-drawer.open { display: flex; }

.drawer-link {
    padding: 15px 0;
    font-family: var(--ff-head);
    font-weight: 500;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.70);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color var(--ease);
}
.drawer-link:hover { color: var(--orange); }
.drawer-link--cta {
    color: var(--orange);
    font-weight: 600;
    border-bottom: none;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* — Background layers — */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hb-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Animated bar chart silhouette (right side) */
.hb-bars {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42%;
    height: 72%;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 5% 0 0;
}
.hb-bars span {
    flex: 1;
    height: var(--h);
    background: linear-gradient(to top, rgba(249,115,22,0.22), rgba(249,115,22,0.03));
    border-radius: 4px 4px 0 0;
    border-top: 1.5px solid rgba(249,115,22,0.45);
    animation: barRise 0.9s var(--d) cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes barRise {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    to   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

/* Subtle line chart overlay */
.hb-line-chart {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 40%;
    opacity: 0.6;
}
.hb-line-chart svg { width: 100%; height: 100%; }

/* — Hero content — */
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-w);
    padding: 80px 24px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: var(--orange-semi);
    border: 1px solid var(--orange-border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-family: var(--ff-head);
    font-weight: 500;
    color: var(--orange);
    letter-spacing: 0.03em;
    margin-bottom: 36px;
    animation: fadeUp 0.9s 0.15s ease both;
}

.pill-dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.75); }
}

/* Heading stack */
.hero-heading {
    display: flex;
    flex-direction: column;
    font-family: var(--ff-head);
    line-height: 1.04;
    margin-bottom: 28px;
    animation: fadeUp 0.9s 0.28s ease both;
}
.hh-eyebrow {
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    font-family: var(--ff-mono);
    font-weight: 400;
    color: rgba(255,255,255,0.40);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hh-name {
    font-size: clamp(3.2rem, 7.5vw, 6.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.035em;
}
.hh-role {
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 700;
    color: rgba(255,255,255,0.20);
    letter-spacing: -0.03em;
}
.hh-role em {
    font-style: normal;
    color: var(--orange);
}

/* Sub-headline */
.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    color: rgba(255,255,255,0.50);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 44px;
    animation: fadeUp 0.9s 0.42s ease both;
}
.hero-sub strong {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
}

/* CTAs */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeUp 0.9s 0.56s ease both;
}

/* KPI row */
.hero-kpis {
    display: flex;
    align-items: center;
    gap: 36px;
    animation: fadeUp 0.9s 0.68s ease both;
}
.kpi { display: flex; flex-direction: column; gap: 5px; }
.kpi-value {
    display: flex;
    align-items: baseline;
    gap: 1px;
}
.kpi-n {
    font-family: var(--ff-head);
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.kpi-unit {
    font-family: var(--ff-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--orange);
    line-height: 1;
}
.kpi-label {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.36);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--ff-head);
}
.kpi-sep {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.10);
    flex-shrink: 0;
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.28);
    font-size: 0.7rem;
    font-family: var(--ff-head);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: fadeUp 0.9s 0.9s ease both;
}
.scroll-track {
    width: 1px;
    height: 52px;
    background: rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: var(--orange);
    border-radius: 2px;
    animation: scrollThumb 2.2s ease-in-out infinite;
}
@keyframes scrollThumb {
    0%   { top: -40%; }
    100% { top: 140%; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about {
    padding: 128px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 88px;
    align-items: start;
}

/* Domain expertise cards */
.about-domains {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 32px 0;
}

.domain-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.domain-card:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(249,115,22,0.08);
    transform: translateX(5px);
}
.domain-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.domain-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.domain-text strong {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}
.domain-text span {
    font-size: 0.81rem;
    color: var(--grey-lt);
    line-height: 1.4;
}

.about-ctas {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Right visual column */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.av-photo-wrap { position: relative; }

.av-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 420px;
    background: linear-gradient(145deg, var(--dark-3) 0%, var(--dark-2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.08);
    overflow: hidden;
}
.av-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.av-placeholder-icon { font-size: 2.5rem; }
.av-placeholder-text {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.35);
}
.av-placeholder-sub {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.18);
}

.av-accent-block {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100px;
    height: 100px;
    background: var(--orange);
    border-radius: var(--radius);
    z-index: -1;
}

/* Info cards */
.av-info-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.av-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.av-card--dark {
    background: var(--dark);
    border-color: transparent;
}
.av-card--orange {
    background: var(--orange-pale);
    border-color: rgba(249,115,22,0.18);
}

.av-card-label {
    font-size: 0.70rem;
    font-family: var(--ff-mono);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--grey-lt);
}
.av-card--dark .av-card-label { color: rgba(255,255,255,0.35); }
.av-card--orange .av-card-label { color: rgba(234,88,12,0.65); }

.av-card-value {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.av-card--dark .av-card-value  { color: #fff; }
.av-card--orange .av-card-value { color: var(--orange-dk); }

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════ */
.skills {
    padding: 128px 0;
    background: var(--dark);
}

/* Bento grid */
.skills-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.sb-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--ease), transform var(--ease);
}
.sb-card:hover {
    border-color: rgba(249,115,22,0.28);
    transform: translateY(-2px);
}
.sb-card--wide { grid-column: span 2; }
.sb-card--stat {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}
.sb-card--orange {
    background: var(--orange);
    border-color: transparent;
}
.sb-card--orange:hover { border-color: transparent; }

.sb-title {
    font-family: var(--ff-head);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.40);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.sb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 100px;
    font-size: 0.80rem;
    font-family: var(--ff-head);
    font-weight: 500;
    color: rgba(255,255,255,0.58);
    transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.stag:hover {
    background: var(--orange-semi);
    border-color: var(--orange-border);
    color: var(--orange);
}
.stag--hi {
    background: var(--orange-semi);
    border-color: var(--orange-border);
    color: var(--orange);
}

.sb-stat { text-align: center; }
.sb-stat-n {
    display: block;
    font-family: var(--ff-head);
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}
.sb-card--orange .sb-stat-n { color: #fff; }
.sb-stat-lbl {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.42);
    font-family: var(--ff-head);
    line-height: 1.5;
    max-width: 120px;
    margin: 0 auto;
}
.sb-card--orange .sb-stat-lbl { color: rgba(255,255,255,0.78); }

/* ═══════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════ */
.projects {
    padding: 128px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Base project card */
.pcard {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.pcard:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 36px rgba(249,115,22,0.09);
    transform: translateY(-4px);
}

/* Featured card — dark, spans full width */
.pcard--featured {
    grid-column: span 2;
    background: var(--dark);
    border-color: rgba(255,255,255,0.07);
}
.pcard--featured:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 48px rgba(249,115,22,0.14);
}

/* Slim bonus card */
.pcard--slim { background: var(--white); }

/* Card internals */
.pcard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pcard-num {
    font-family: var(--ff-mono);
    font-size: 0.76rem;
    color: var(--grey-lt);
}
.pcard--featured .pcard-num { color: rgba(255,255,255,0.25); }

.pcard-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-family: var(--ff-head);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pcard-badge--orange {
    background: var(--orange-semi);
    color: var(--orange);
    border: 1px solid var(--orange-border);
}
.pcard-badge--grey {
    background: rgba(107,114,128,0.10);
    color: var(--grey);
    border: 1px solid rgba(107,114,128,0.20);
}

.pcard-title {
    font-family: var(--ff-head);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
    color: var(--dark);
}
.pcard--featured .pcard-title {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.pcard-desc {
    font-size: 0.90rem;
    color: var(--grey);
    line-height: 1.72;
}
.pcard--featured .pcard-desc { color: rgba(255,255,255,0.50); }

/* Bullet highlights */
.pcard-bullets {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pcard-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.50);
}
.pcard-bullets li::before {
    content: '→';
    color: var(--orange);
    flex-shrink: 0;
    font-size: 0.78rem;
    margin-top: 2px;
}
.pcard-bullets--dark li { color: var(--grey); }

/* Tool tags */
.pcard-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.ptag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--orange-semi);
    color: var(--orange);
    border: 1px solid rgba(249,115,22,0.20);
    border-radius: 6px;
    font-size: 0.76rem;
    font-family: var(--ff-mono);
    font-weight: 500;
}
.pcard:not(.pcard--featured) .ptag {
    background: rgba(249,115,22,0.06);
    color: var(--orange-dk);
    border-color: rgba(249,115,22,0.14);
}

/* Links */
.pcard-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.plink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.86rem;
    transition: color var(--ease), opacity var(--ease);
}
.plink--gh {
    color: var(--orange);
    border-bottom: 1px solid rgba(249,115,22,0.35);
    padding-bottom: 1px;
}
.plink--gh:hover {
    color: var(--orange-dk);
    border-color: var(--orange-dk);
}
.plink-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact {
    padding: 128px 0;
    background: var(--dark);
}

.contact-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.contact-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
    margin: 18px auto 52px;
    max-width: 460px;
}

.contact-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.clink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 10px;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.90rem;
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.70);
    transition: border-color var(--ease), color var(--ease), background var(--ease), transform var(--ease);
}
.clink:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-semi);
    transform: translateY(-2px);
}
.clink--primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.clink--primary:hover {
    background: var(--orange-dk);
    border-color: var(--orange-dk);
    color: #fff;
}
.clink-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
    padding: 26px 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-logo {
    font-family: var(--ff-mono);
    font-size: 0.95rem;
    color: var(--orange);
    font-weight: 500;
}
.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}
.footer-top {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
    font-family: var(--ff-head);
    font-weight: 500;
    transition: color var(--ease);
}
.footer-top:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-visual {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .av-photo-wrap { flex: 1; min-width: 200px; }
    .av-info-cards { flex: 1; min-width: 200px; }

    .skills-bento {
        grid-template-columns: 1fr 1fr;
    }
    .sb-card--wide { grid-column: span 2; }

    .projects-grid { grid-template-columns: 1fr; }
    .pcard--featured { grid-column: span 1; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links,
    .nav-resume { display: none; }
    .nav-burger  { display: flex; }

    .hero-content { text-align: center; padding: 56px 24px; }
    .hero-sub      { margin: 0 auto 40px; }
    .hero-actions  { justify-content: center; }
    .hero-kpis     { justify-content: center; }
    .hb-bars,
    .hb-line-chart { display: none; }

    .about  { padding: 88px 0; }
    .skills { padding: 88px 0; }
    .projects { padding: 88px 0; }
    .contact  { padding: 88px 0; }

    .skills-bento { grid-template-columns: 1fr; }
    .sb-card--wide { grid-column: span 1; }

    .about-visual { flex-direction: column; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-kpis {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .kpi-sep { display: none; }

    .contact-links { flex-direction: column; align-items: stretch; }
    .clink { justify-content: center; }

    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
