/* ============================================================
   V2 THEME — "Obsidian"
   Pure-black, graphics-forward portfolio theme.
   Active only when NewUi=true; all selectors namespaced .v2-*
   ============================================================ */

/* Palette — warm, low-strain on pure black.
   Declared on :root so NavV2/FooterV2 (outside .v2-root) resolve them too. */
:root {
    --v2-bg:        #0A0A0B;
    --v2-surface:   #121214;
    --v2-surface-2: #19191C;
    --v2-border:    rgba(255, 255, 255, 0.08);
    --v2-border-2:  rgba(255, 255, 255, 0.14);
    --v2-text:      #E9E7E2;
    --v2-muted:     #9B9BA3;

    /* Accent tokens — overridden by body.theme-* for theming */
    --v2-amber:          #FFB454;
    --v2-mint:           #6EE7B7;
    --v2-amber-dim:      rgba(255, 180, 84, 0.12);
    --v2-glow:           rgba(255, 180, 84, 0.08);

    /* Aurora wash colors */
    --v2-aurora-1: rgba(255, 180, 84,  0.045);
    --v2-aurora-2: rgba(110, 231, 183, 0.035);
    --v2-aurora-3: rgba(96,  165, 250, 0.020);

    /* Decorative orb colors */
    --v2-orb-a: rgba(255, 180, 84,  0.15);
    --v2-orb-b: rgba(110, 231, 183, 0.10);
}

.v2-root {
    background: var(--v2-bg);
    color: var(--v2-text);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Soft aurora wash over the whole page */
.v2-root::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(640px 420px at 88% 8%,  var(--v2-aurora-1), transparent 70%),
        radial-gradient(720px 520px at 8%  92%, var(--v2-aurora-2), transparent 70%),
        radial-gradient(500px 380px at 50% 50%, var(--v2-aurora-3), transparent 70%);
    pointer-events: none;
}

/* ── Shared layout ───────────────────────────────────────── */
.v2-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.v2-section {
    padding: clamp(4rem, 9vw, 7rem) 0;
    position: relative;
}
.v2-section-alt {
    background: var(--v2-surface);
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
}

.v2-section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    position: relative;
}

/* Blueprint plus-mark in the head corner */
.v2-section-head::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0.2rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 180, 84, 0.35);
    pointer-events: none;
}

.v2-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--v2-amber);
    margin-bottom: 0.9rem;
}
.v2-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--v2-amber);
    opacity: 0.6;
}

.v2-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--v2-text);
}
.v2-title em {
    font-style: italic;
    font-weight: 600;
    color: var(--v2-amber);
}

.v2-para {
    color: var(--v2-muted);
    font-size: 1rem;
    line-height: 1.8;
}
.v2-para + .v2-para { margin-top: 1rem; }
.v2-para strong { color: var(--v2-text); font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────────── */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.78rem 1.9rem;
    border-radius: 10px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.v2-btn:active { transform: scale(0.97); }

.v2-btn-solid {
    background: var(--v2-amber);
    color: #131313;
    box-shadow: 0 4px 24px rgba(255, 180, 84, 0.25);
}
.v2-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 180, 84, 0.4);
}

.v2-btn-line {
    border: 1px solid var(--v2-border-2);
    color: var(--v2-text);
    background: transparent;
}
.v2-btn-line:hover {
    border-color: var(--v2-amber);
    background: var(--v2-amber-dim);
    transform: translateY(-2px);
}

.v2-btn-wide { width: 100%; }
.v2-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Chips & tags ────────────────────────────────────────── */
.v2-chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.v2-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--v2-muted);
    background: var(--v2-surface-2);
    border: 1px solid var(--v2-border);
    transition: color 0.18s ease, border-color 0.18s ease;
    cursor: default;
}
.v2-chip:hover { color: var(--v2-text); border-color: var(--v2-border-2); }
.v2-chip-sm { padding: 0.2rem 0.65rem; font-size: 0.72rem; }
.v2-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.v2-tag {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v2-muted);
    border: 1px solid var(--v2-border);
}
.v2-tag-amber { color: var(--v2-amber); border-color: rgba(255,180,84,0.4); background: var(--v2-amber-dim); }
.v2-tag-mint  { color: var(--v2-mint);  border-color: rgba(110,231,183,0.35); background: rgba(110,231,183,0.08); }

/* ════════════════════════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════════════════════════ */
@keyframes v2FadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes v2Drift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, 24px); }
}
@keyframes v2RingsSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes v2MarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes v2Pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
@keyframes v2ScrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    45%  { transform: scaleY(1); transform-origin: top; }
    55%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.v2-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(68px + 3rem) 0 4rem;
}

/* Fine grid lines */
.v2-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 25%, transparent 80%);
    pointer-events: none;
}

/* Orbs */
.v2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}
.v2-orb-amber {
    width: 540px; height: 540px;
    top: -160px; right: -120px;
    background: radial-gradient(circle, var(--v2-orb-a), transparent 65%);
    animation: v2Drift 14s ease-in-out infinite;
}
.v2-orb-mint {
    width: 420px; height: 420px;
    bottom: -120px; left: -100px;
    background: radial-gradient(circle, var(--v2-orb-b), transparent 65%);
    animation: v2Drift 18s ease-in-out infinite reverse;
}

/* Dotted texture */
.v2-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 75%);
    pointer-events: none;
}

/* Concentric rings — slow rotation */
.v2-rings {
    position: absolute;
    width: clamp(380px, 48vw, 640px);
    height: auto;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.9;
    animation: v2RingsSpin 90s linear infinite;
}

/* Giant backdrop word */
.v2-hero-backdrop {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Archivo', sans-serif;
    font-size: clamp(5rem, 16vw, 14rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.v2-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.v2-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    min-width: 0;
}

/* Staggered entrance */
.v2-hero-meta    { animation: v2FadeUp 0.6s ease 0.05s both; }
.v2-hero-name    { animation: v2FadeUp 0.7s ease 0.15s both; }
.v2-hero-role    { animation: v2FadeUp 0.6s ease 0.3s  both; }
.v2-hero-actions { animation: v2FadeUp 0.6s ease 0.45s both; }
.v2-hero-stats   { animation: v2FadeUp 0.6s ease 0.6s  both; }
.v2-building     { animation: v2FadeUp 0.6s ease 0.75s both; }
.v2-hero-right   { animation: v2FadeUp 0.8s ease 0.5s  both; }

.v2-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.v2-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.95rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-mint);
    border: 1px solid rgba(110, 231, 183, 0.3);
    background: rgba(110, 231, 183, 0.06);
}
.v2-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--v2-mint);
    box-shadow: 0 0 8px rgba(110, 231, 183, 0.8);
    flex-shrink: 0;
    animation: v2Pulse 2.2s ease-in-out infinite;
}

/* Scroll hint */
.v2-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--v2-muted);
    z-index: 3;
    transition: color 0.2s ease;
}
.v2-scroll-hint:hover { color: var(--v2-amber); }
.v2-scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, var(--v2-amber), transparent);
    animation: v2ScrollLine 2.2s ease-in-out infinite;
}

.v2-hero-loc {
    font-size: 0.8rem;
    color: var(--v2-muted);
    letter-spacing: 0.06em;
}

.v2-hero-name {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(3.2rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--v2-text);
}
.v2-hero-name em {
    font-style: italic;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--v2-amber);
}

.v2-hero-role {
    max-width: 560px;
    color: var(--v2-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}
.v2-hero-role strong { color: var(--v2-amber); font-weight: 600; }

.v2-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.v2-hero-socials {
    display: flex;
    gap: 0.4rem;
    margin-left: 0.5rem;
}
.v2-hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--v2-border);
    color: var(--v2-muted);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.v2-hero-socials a:hover {
    color: var(--v2-amber);
    border-color: rgba(255,180,84,0.4);
    background: var(--v2-amber-dim);
}

.v2-hero-stats {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    width: fit-content;
    overflow: hidden;
}
.v2-stat {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.75rem;
    border-right: 1px solid var(--v2-border);
}
.v2-stat:last-child { border-right: none; }
.v2-stat-n {
    font-family: 'Archivo', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--v2-amber);
    line-height: 1.1;
}
.v2-stat-l {
    font-size: 0.7rem;
    color: var(--v2-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

.v2-building {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.v2-building-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--v2-muted);
}

/* ════════════════════════════════════════════════════════════
   ABOUT — bento grid
   ════════════════════════════════════════════════════════════ */
.v2-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.v2-bento-card {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.v2-bento-card:hover {
    border-color: var(--v2-border-2);
    transform: translateY(-3px);
}

.v2-bento-wide  { grid-column: span 2; grid-row: span 2; justify-content: center; gap: 1rem; }
.v2-bento-list  { grid-column: span 2; }
.v2-bento-accent {
    background: linear-gradient(150deg, rgba(255,180,84,0.1), var(--v2-surface) 70%);
    border-color: rgba(255,180,84,0.25);
}

.v2-bento-icon {
    width: 26px; height: 26px;
    color: var(--v2-amber);
    margin-bottom: 0.4rem;
}
.v2-bento-big {
    font-family: 'Archivo', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--v2-text);
}
.v2-bento-sub {
    font-size: 0.82rem;
    color: var(--v2-muted);
    line-height: 1.4;
}

.v2-bento-photo {
    padding: 0;
    overflow: hidden;
    min-height: 180px;
    position: relative;
}
.v2-bento-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2) contrast(1.05);
    transition: filter 0.3s ease, transform 0.4s ease;
}
.v2-bento-photo:hover img {
    filter: grayscale(0) contrast(1.1);
    transform: scale(1.04);
}
.v2-bento-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px var(--v2-border-2);
    pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   SKILLS — grouped chips
   ════════════════════════════════════════════════════════════ */
.v2-skill-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.v2-skill-group {
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
    transition: border-color 0.2s ease;
}
.v2-skill-group:hover { border-color: var(--v2-border-2); }

.v2-skill-group-head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.v2-skill-group-num {
    font-family: 'Archivo', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--v2-amber);
    opacity: 0.8;
}
.v2-skill-group-name {
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--v2-text);
}

/* ════════════════════════════════════════════════════════════
   EXPERIENCE — editorial rows
   ════════════════════════════════════════════════════════════ */
.v2-exp-list { display: flex; flex-direction: column; position: relative; }

/* Vertical accent rail aligned with the gap between the "when" and body columns */
.v2-exp-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(200px + 2.25rem);
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--v2-border-2) 6%, var(--v2-border-2) 94%, transparent);
    pointer-events: none;
}

.v2-exp-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2.25rem 1.25rem;
    border-top: 1px solid var(--v2-border);
    border-radius: 4px;
    position: relative;
    transition: background 0.2s ease;
}
.v2-exp-row:last-child { border-bottom: 1px solid var(--v2-border); }
.v2-exp-row:hover { background: rgba(255,255,255,0.018); }

.v2-exp-row::before {
    content: '';
    position: absolute;
    left: calc(200px + 2.25rem - 4px);
    top: 2.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v2-border-2);
    box-shadow: 0 0 0 3px var(--v2-bg);
}
.v2-exp-row:first-child::before {
    background: var(--v2-amber);
    box-shadow: 0 0 0 3px var(--v2-bg), 0 0 8px var(--v2-amber);
}

.v2-exp-when {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.v2-exp-duration {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--v2-muted);
    letter-spacing: 0.04em;
}
.v2-exp-now {
    padding: 0.12rem 0.6rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--v2-mint);
    border: 1px solid rgba(110,231,183,0.35);
    background: rgba(110,231,183,0.07);
}

.v2-exp-role {
    font-family: 'Archivo', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 0.2rem;
}
.v2-exp-org {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--v2-amber);
    margin-bottom: 1rem;
}
.v2-exp-org span { color: var(--v2-muted); font-weight: 400; }

.v2-exp-points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}
.v2-exp-points li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: var(--v2-muted);
    line-height: 1.6;
}
.v2-exp-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--v2-amber);
    opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   PROJECTS
   ════════════════════════════════════════════════════════════ */
.v2-proj-featured {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-proj-featured:hover {
    border-color: rgba(255,180,84,0.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.v2-proj-featured-text {
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.v2-proj-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.v2-proj-featured-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    font-weight: 800;
    color: var(--v2-text);
    line-height: 1.2;
}
.v2-proj-org { font-size: 0.82rem; font-weight: 600; color: var(--v2-amber); }

.v2-proj-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--v2-amber);
    margin-top: auto;
    transition: gap 0.2s ease;
}
.v2-proj-featured:hover .v2-proj-cta,
.v2-proj-card:hover .v2-proj-cta { gap: 11px; }

.v2-proj-featured-visual {
    min-height: 300px;
    background: var(--v2-surface-2);
    position: relative;
}
.v2-proj-featured-visual img,
.v2-proj-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-proj-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 70% 30%, rgba(255,180,84,0.1), transparent 55%),
        var(--v2-surface-2);
}
.v2-proj-placeholder .material-icons {
    font-size: 3.5rem;
    color: rgba(255,180,84,0.5);
}

.v2-proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.v2-proj-card {
    display: flex;
    flex-direction: column;
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-proj-card:hover {
    border-color: rgba(255,180,84,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.v2-proj-card-visual {
    height: 180px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.v2-proj-demo-badge {
    position: absolute;
    top: 10px; left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(0,0,0,0.75);
    color: #fff;
    backdrop-filter: blur(6px);
}
.v2-proj-demo-badge .material-icons { font-size: 0.9rem; color: var(--v2-amber); }

.v2-proj-card-body {
    padding: 1.25rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}
.v2-proj-card-title {
    font-family: 'Archivo', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--v2-text);
    line-height: 1.3;
}
.v2-proj-card-desc {
    font-size: 0.83rem;
    color: var(--v2-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v2-proj-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.4rem;
}
.v2-proj-gh {
    color: var(--v2-muted);
    display: flex;
    transition: color 0.18s ease;
}
.v2-proj-gh:hover { color: var(--v2-text); }

/* ════════════════════════════════════════════════════════════
   ANALYTICS
   ════════════════════════════════════════════════════════════ */
.v2-zone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.v2-zone-card {
    display: block;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.v2-zone-card:hover {
    border-color: rgba(255,180,84,0.35);
    transform: translateY(-3px);
}

.v2-zone-period {
    font-size: 0.65rem;
    color: var(--v2-muted);
    margin: -0.7rem 0 0.9rem;
    letter-spacing: 0.04em;
}

.v2-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.v2-zone-domain {
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--v2-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v2-zone-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--v2-mint);
    flex-shrink: 0;
}

.v2-zone-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.v2-zone-metrics > div,
.v2-gh-grid > div { display: flex; flex-direction: column; }

.v2-zone-n {
    font-family: 'Archivo', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--v2-text);
    line-height: 1.15;
}
.v2-zone-n small { font-size: 0.7rem; color: var(--v2-muted); margin-left: 1px; }
.v2-zone-l {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--v2-muted);
    margin-top: 2px;
}

.v2-chart-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.5rem 1.75rem 1rem;
    margin-bottom: 2rem;
}
.v2-chart-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.v2-chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--v2-text);
}
.v2-chart-sub {
    font-size: 0.7rem;
    color: var(--v2-muted);
}

.v2-analytics-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
}

.v2-panel {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
}
.v2-panel-title {
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 1.1rem;
}
.v2-panel-title small { font-weight: 400; color: var(--v2-muted); font-size: 0.7rem; }

.v2-country-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 0;
}
.v2-country-flag { font-size: 1rem; flex-shrink: 0; }
.v2-country-name {
    font-size: 0.83rem;
    color: var(--v2-text);
    width: 110px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v2-country-bar {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
}
.v2-country-bar span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--v2-amber), rgba(255,180,84,0.4));
}
.v2-country-pct {
    font-size: 0.75rem;
    color: var(--v2-muted);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

.v2-gh-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
    margin-bottom: 1.25rem;
}

/* ════════════════════════════════════════════════════════════
   RESUME band
   ════════════════════════════════════════════════════════════ */
.v2-resume-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,180,84,0.09), transparent 50%),
        var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 20px;
    padding: clamp(1.75rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe accent on the right edge */
.v2-resume-band::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: -50px;
    width: 220px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 180, 84, 0.07) 0 2px,
        transparent 2px 16px
    );
    pointer-events: none;
}
.v2-resume-band > * { position: relative; z-index: 1; }
.v2-resume-text .v2-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.v2-resume-text .v2-para  { margin-top: 0.5rem; }
.v2-resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.v2-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.v2-contact-info { display: flex; flex-direction: column; }

.v2-contact-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0.75rem;
    border-top: 1px solid var(--v2-border);
    color: inherit;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background 0.18s ease;
    border-radius: 4px;
}
.v2-contact-line:last-child { border-bottom: 1px solid var(--v2-border); }
.v2-contact-line:hover { background: rgba(255,255,255,0.02); }
.v2-contact-line-static { cursor: default; }

.v2-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--v2-muted);
    width: 76px;
    flex-shrink: 0;
}
.v2-contact-value {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--v2-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v2-contact-ic {
    font-size: 1rem !important;
    color: var(--v2-muted);
    transition: color 0.18s ease, transform 0.18s ease;
}
.v2-contact-line:hover .v2-contact-ic {
    color: var(--v2-amber);
    transform: translate(2px, -2px);
}

/* Form */
.v2-contact-form {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.v2-form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.v2-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}
.v2-form-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--v2-muted);
}

.v2-input {
    width: 100%;
    padding: 0.7rem 0.95rem;
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    color: var(--v2-text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.v2-input:focus {
    border-color: rgba(255,180,84,0.55);
    box-shadow: 0 0 0 3px rgba(255,180,84,0.1);
}
.v2-input::placeholder { color: var(--v2-muted); opacity: 0.55; }
.v2-input.invalid, .v2-input.modified.invalid { border-color: rgba(248,113,113,0.55); }

.v2-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.v2-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B9BA3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.3rem;
    cursor: pointer;
}
.v2-select option { background: var(--v2-surface); color: var(--v2-text); }

.v2-form-error { font-size: 0.74rem; color: #F87171; }

.v2-form-result {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
}
.v2-form-ok {
    color: var(--v2-mint);
    background: rgba(110,231,183,0.07);
    border: 1px solid rgba(110,231,183,0.3);
}
.v2-form-err {
    color: #F87171;
    background: rgba(248,113,113,0.07);
    border: 1px solid rgba(248,113,113,0.3);
}
.v2-form-err a { color: var(--v2-amber); text-decoration: underline; }
.v2-form-result .material-icons { font-size: 1.2rem; }

.v2-spinner {
    width: 15px; height: 15px;
    border: 2px solid rgba(0,0,0,0.25);
    border-top-color: #131313;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   TECH MARQUEE
   ════════════════════════════════════════════════════════════ */
.v2-marquee {
    overflow: hidden;
    padding: 1.4rem 0;
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
    background: var(--v2-surface);
    position: relative;
    /* Slight tilt for editorial energy */
    transform: rotate(-1.2deg) scale(1.04);
    margin: 1.25rem 0;
}
.v2-marquee::before,
.v2-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 110px;
    z-index: 2;
    pointer-events: none;
}
.v2-marquee::before { left: 0;  background: linear-gradient(to right, var(--v2-surface), transparent); }
.v2-marquee::after  { right: 0; background: linear-gradient(to left,  var(--v2-surface), transparent); }

.v2-marquee-track {
    display: flex;
    width: max-content;
    animation: v2MarqueeScroll 38s linear infinite;
}
.v2-marquee-item {
    display: inline-flex;
    align-items: center;
    font-family: 'Archivo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v2-muted);
    white-space: nowrap;
}
.v2-marquee-sep {
    margin: 0 1.5rem;
    color: var(--v2-amber);
    font-size: 0.6rem;
    opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   MICRO-INTERACTIONS & GRAPHICS
   ════════════════════════════════════════════════════════════ */

/* Mouse-tracking amber spotlight (coords set by app.js) */
.v2-spot { position: relative; }
.v2-spot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        380px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 180, 84, 0.08),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}
.v2-spot:hover::after { opacity: 1; }

/* Amber top line slides in on card hover */
.v2-bento-card::before,
.v2-proj-card::before,
.v2-zone-card::before,
.v2-skill-group::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--v2-amber), rgba(255,180,84,0.15));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 2px;
    z-index: 2;
}
.v2-bento-card, .v2-proj-card, .v2-zone-card, .v2-skill-group {
    position: relative;
    overflow: hidden;
}
.v2-bento-card:hover::before,
.v2-proj-card:hover::before,
.v2-zone-card:hover::before,
.v2-skill-group:hover::before { transform: scaleX(1); }

/* Project image zoom on hover */
.v2-proj-card-visual img,
.v2-proj-featured-visual img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.v2-proj-card:hover .v2-proj-card-visual img,
.v2-proj-featured:hover .v2-proj-featured-visual img {
    transform: scale(1.05);
}

/* Section alt — dotted texture */
.v2-section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 85%);
    pointer-events: none;
}
.v2-section-alt > .v2-container { position: relative; z-index: 1; }

/* Clips decorative orbs/dots so they don't bleed into neighboring sections */
.v2-section-clip { overflow: hidden; }
.v2-section-clip > .v2-container { position: relative; z-index: 1; }

.v2-orb-contact {
    width: 460px; height: 460px;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--v2-orb-a), transparent 70%);
    opacity: 0.7;
    animation: v2Drift 16s ease-in-out infinite;
}

/* Title em — highlighter stroke behind the word (no z-index tricks) */
.v2-title em {
    white-space: nowrap;
    background: linear-gradient(to top, rgba(255, 180, 84, 0.2) 36%, transparent 36%);
    padding: 0 0.06em;
    border-radius: 2px;
}

/* Chip lift */
.v2-chip:hover { transform: translateY(-1px); }
.v2-chip { transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }

/* ════════════════════════════════════════════════════════════
   CODE TERMINAL — animated typing graphic
   ════════════════════════════════════════════════════════════ */
.v2-hero-right {
    position: relative;
    min-width: 0;
}

.v2-terminal {
    background: #0D0D10;
    border: 1px solid var(--v2-border-2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 180, 84, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.v2-terminal-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--v2-border);
}
.v2-term-dot { width: 11px; height: 11px; border-radius: 50%; }
.v2-terminal-title {
    margin-left: 0.6rem;
    font-size: 0.72rem;
    color: var(--v2-muted);
    letter-spacing: 0.04em;
}

.v2-terminal-body {
    margin: 0;
    padding: 1.3rem 1.4rem 1.5rem;
    font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.9;
    color: #D6D3CD;
    overflow-x: auto;
    white-space: pre;
}

/* Each line types in with a staggered delay (--d) */
.v2-code-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: v2TypeLine 0.55s steps(28, end) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes v2TypeLine {
    from { max-width: 0; }
    to   { max-width: 100%; }
}

.v2-term-cursor {
    display: inline-block;
    width: 8px;
    height: 1.05em;
    background: var(--v2-amber);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: v2Pulse 0.9s step-end infinite;
}

/* Syntax colors */
.tk-kw { color: #C792EA; }   /* keywords  */
.tk-ty { color: #FFB454; }   /* types     */
.tk-st { color: #9ECE6A; }   /* strings   */
.tk-nu { color: #FF9E64; }   /* numbers   */
.tk-cm { color: #5C6370; font-style: italic; }  /* comments */

/* Floating tech badges around the terminal */
.v2-float-badge {
    position: absolute;
    padding: 0.4rem 0.95rem;
    border-radius: 10px;
    font-family: 'Archivo', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--v2-text);
    background: var(--v2-surface-2);
    border: 1px solid var(--v2-border-2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: none;
}
.v2-float-1 { top: -16px; right: 8%;   color: var(--v2-amber); animation: v2Drift 7s  ease-in-out infinite; }
.v2-float-2 { bottom: -14px; left: 4%; color: var(--v2-mint);  animation: v2Drift 9s  ease-in-out infinite reverse; }
.v2-float-3 { top: 38%; right: -18px;  color: #60A5FA;         animation: v2Drift 11s ease-in-out infinite; }

/* ════════════════════════════════════════════════════════════
   V2 NAV
   ════════════════════════════════════════════════════════════ */
.v2-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.78);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid var(--v2-border);
}

.v2-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    height: 64px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.v2-nav-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.v2-nav-brand-mark {
    font-family: 'Archivo', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--v2-text);
}
.v2-nav-brand-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--v2-amber);
    animation: v2Pulse 2.4s ease-in-out infinite;
}

.v2-nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    justify-content: center;
}
.v2-nav-link {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 0.4rem 0.7rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--v2-muted);
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
}
.v2-nav-num {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--v2-amber);
    opacity: 0.7;
}
.v2-nav-link:hover {
    color: var(--v2-text);
    background: rgba(255, 255, 255, 0.04);
}
.v2-nav-link.is-active { color: var(--v2-text); }
.v2-nav-link.is-active .v2-nav-num { opacity: 1; }

.v2-nav-cta {
    padding: 0.5rem 1.3rem !important;
    font-size: 0.84rem !important;
    flex-shrink: 0;
}

/* Burger */
.v2-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}
.v2-nav-burger span {
    display: block;
    width: 21px; height: 2px;
    border-radius: 2px;
    background: var(--v2-text);
    transition: transform 0.3s ease, opacity 0.18s ease;
}
.v2-nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-nav-burger.is-open span:nth-child(2) { opacity: 0; }
.v2-nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.v2-nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--v2-border);
}
.v2-nav-mobile.is-open { max-height: 520px; }
.v2-nav-mobile ul {
    display: flex;
    flex-direction: column;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
}
.v2-nav-mobile a:not(.v2-btn) {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: var(--v2-muted);
    border-bottom: 1px solid var(--v2-border);
    transition: color 0.18s ease;
}
.v2-nav-mobile a:not(.v2-btn):hover { color: var(--v2-amber); }
.v2-nav-mobile-cta { padding-top: 1.25rem; display: flex; }
.v2-nav-mobile-cta .v2-btn { flex: 1; }

/* Progress bar amber under v2 */
.scroll-progress.v2-progress {
    background: linear-gradient(90deg, #FFB454, #6EE7B7);
}

/* ════════════════════════════════════════════════════════════
   V2 FOOTER
   ════════════════════════════════════════════════════════════ */
.v2-footer {
    position: relative;
    background: #070708;
    border-top: 1px solid var(--v2-border);
    overflow: hidden;
    color: var(--v2-text);
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.v2-footer-watermark {
    position: absolute;
    bottom: -0.18em;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Archivo', sans-serif;
    font-size: clamp(6rem, 19vw, 17rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.v2-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
}

.v2-footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.v2-footer-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0.5rem 0 1.25rem;
}

.v2-footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Archivo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--v2-amber);
    border-bottom: 2px solid rgba(255, 180, 84, 0.35);
    padding-bottom: 3px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}
.v2-footer-mail:hover { gap: 14px; border-color: var(--v2-amber); }

.v2-footer-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); }
.v2-footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.v2-footer-col-head {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--v2-muted);
    margin-bottom: 0.4rem;
}
.v2-footer-col a {
    font-size: 0.9rem;
    color: var(--v2-muted);
    transition: color 0.18s ease, transform 0.18s ease;
    width: fit-content;
}
.v2-footer-col a:hover { color: var(--v2-amber); transform: translateX(3px); }

.v2-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--v2-border);
    font-size: 0.8rem;
    color: var(--v2-muted);
}
.v2-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--v2-mint);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   FEATURED PROJECT — rotating glow border
   ════════════════════════════════════════════════════════════ */
.v2-proj-featured {
    isolation: isolate;
}
.v2-proj-featured::before {
    content: '';
    position: absolute;
    inset: -120%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 300deg,
        rgba(255, 180, 84, 0.55) 340deg,
        transparent 360deg
    );
    animation: spin 5s linear infinite;
    z-index: -2;
}
.v2-proj-featured > * { position: relative; z-index: 1; }
/* inner mask to keep only a 1px glowing edge */
.v2-proj-featured::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--v2-bg);
    border-radius: 17px;
    z-index: 0;
}

/* Fix: headings inside v2 always use v2 text color */
.v2-root h1, .v2-root h2, .v2-root h3, .v2-root h4 { color: var(--v2-text); }

/* ════════════════════════════════════════════════════════════
   GITHUB CONTRIBUTION GRAPH
   ════════════════════════════════════════════════════════════ */
.v2-contrib-wrap {
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.v2-contrib-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.v2-contrib-total {
    font-size: 0.88rem;
    color: var(--v2-muted);
}
.v2-contrib-total strong {
    font-family: 'Archivo', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--v2-amber);
}

.v2-contrib-legend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--v2-muted);
}

.v2-contrib-months {
    display: grid;
    grid-template-columns: repeat(53, 11px);
    column-gap: 2px;
    margin-bottom: 4px;
    min-width: max-content;
}
.v2-contrib-month {
    font-size: 0.62rem;
    color: var(--v2-muted);
    white-space: nowrap;
    letter-spacing: 0.04em;
    overflow: visible;
}

.v2-contrib-grid {
    display: flex;
    gap: 2px;
    min-width: max-content;
}

.v2-contrib-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-contrib-cell {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    flex-shrink: 0;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    cursor: default;
    position: relative;
}
.v2-contrib-cell:hover {
    transform: scale(1.4);
    box-shadow: 0 0 6px rgba(255, 180, 84, 0.5);
    z-index: 5;
}

.v2-contrib-cell[data-level="0"] { background: rgba(255, 255, 255, 0.05); }
.v2-contrib-cell[data-level="1"] { background: rgba(255, 180, 84, 0.22); }
.v2-contrib-cell[data-level="2"] { background: rgba(255, 180, 84, 0.48); }
.v2-contrib-cell[data-level="3"] { background: rgba(255, 180, 84, 0.74); }
.v2-contrib-cell[data-level="4"] { background: rgba(255, 180, 84, 1.0); }

.v2-contrib-loading { padding: 1rem 0; }

/* Visitor counter inline highlight */
.v2-analytics-total {
    font-family: 'Archivo', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--v2-amber);
}

/* GitHub stats strip */
.v2-gh-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.v2-gh-strip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.1rem 0.75rem;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v2-gh-strip-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--v2-amber), rgba(255,180,84,0.15));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.v2-gh-strip-card:hover {
    border-color: rgba(255, 180, 84, 0.35);
    transform: translateY(-2px);
}
.v2-gh-strip-card:hover::before { transform: scaleX(1); }
.v2-gh-strip-card .v2-zone-n { font-size: 1.3rem; color: var(--v2-amber); }
.v2-gh-strip-card .v2-zone-l { font-size: 0.64rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .v2-marquee-track,
    .v2-orb-amber,
    .v2-orb-mint,
    .v2-scroll-line,
    .v2-status-dot,
    .v2-float-badge,
    .v2-code-line,
    .v2-term-cursor,
    .v2-proj-featured::before { animation: none !important; }
    .v2-code-line { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .v2-proj-grid    { grid-template-columns: repeat(2, 1fr); }
    .v2-zone-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .v2-nav-links { display: none; }
    .v2-nav-cta   { display: none; }
    .v2-nav-burger { display: flex; margin-left: auto; }
}

@media (max-width: 860px) {
    .v2-gh-strip { grid-template-columns: repeat(3, 1fr); }
    .v2-contrib-months { display: none; }

    .v2-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .v2-hero { padding-bottom: 5.5rem; }
    .v2-float-badge { display: none; }
    .v2-terminal-body { font-size: 0.72rem; }

    .v2-footer-top { flex-direction: column; }

    .v2-bento { grid-template-columns: 1fr 1fr; }
    .v2-bento-wide, .v2-bento-list { grid-column: span 2; }

    .v2-skill-groups   { grid-template-columns: 1fr; }
    .v2-analytics-row  { grid-template-columns: 1fr; }
    .v2-contact-grid   { grid-template-columns: 1fr; gap: 2rem; }

    .v2-exp-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.75rem 0.75rem;
    }
    .v2-exp-when { flex-direction: row; align-items: center; }
    .v2-exp-list::before,
    .v2-exp-row::before { display: none; }

    .v2-proj-featured { grid-template-columns: 1fr; }
    .v2-proj-featured-visual { min-height: 220px; order: -1; }
}

@media (max-width: 560px) {
    .v2-gh-strip  { grid-template-columns: repeat(2, 1fr); }
    .v2-proj-grid { grid-template-columns: 1fr; }
    .v2-zone-grid { grid-template-columns: 1fr; }
    .v2-form-two  { grid-template-columns: 1fr; }

    .v2-hero-stats { width: 100%; }
    .v2-stat { padding: 0.85rem 1.1rem; flex: 1; }
    .v2-stat-n { font-size: 1.3rem; }

    .v2-hero-actions .v2-btn { flex: 1; }
    .v2-hero-socials { margin-left: 0; }

    .v2-resume-actions { width: 100%; }
    .v2-resume-actions .v2-btn { flex: 1; }
}

/* ============================================================
   Cursor spotlight (V2 hero)
   ============================================================ */

.v2-cursor-spot {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: radial-gradient(
        700px circle at var(--sx, 50%) var(--sy, 50%),
        var(--v2-glow) 0%,
        transparent 60%
    );
    z-index: 0;
}

/* ============================================================
   Tech Radar — V2 (amber palette)
   ============================================================ */

.v2-radar-wrap {
    margin-top: 4rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
}

.v2-radar-header {
    margin-bottom: 2rem;
}

.v2-radar-sub {
    font-size: 0.8rem;
    color: var(--v2-muted);
    margin: 0.35rem 0 0;
    letter-spacing: 0.03em;
}

.v2-radar-chart {
    max-width: 480px;
    margin: 0 auto;
}

.v2-radar-chart svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.v2-radar-ring {
    fill: none;
    stroke: rgba(255,255,255,0.07);
    stroke-width: 1;
}

.v2-radar-ring-outer {
    stroke: rgba(255,255,255,0.12);
}

.v2-radar-axis {
    stroke: rgba(255,255,255,0.06);
    stroke-width: 1;
}

.v2-radar-fill {
    fill: var(--v2-amber-dim);
    stroke: var(--v2-amber);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.v2-radar-dot {
    fill: var(--v2-amber);
    stroke: var(--v2-amber-dim);
    stroke-width: 5;
}

.v2-radar-label {
    fill: var(--v2-text);
    font-size: 9px;
    font-family: var(--v2-font);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v2-radar-pct {
    fill: rgba(255,255,255,0.22);
    font-size: 7px;
    font-family: var(--v2-font);
}

.v2-radar-score {
    fill: var(--v2-amber);
    font-size: 7.5px;
    font-family: var(--v2-font);
    font-weight: 700;
}

@media (max-width: 600px) {
    .v2-radar-wrap { padding: 1.5rem 1rem 1.5rem; }
    .v2-radar-chart { max-width: 100%; }
}

/* ============================================================
   V2 THEME OVERRIDES
   Mirrors the classic-UI theme palette — just re-tokens the
   accent colour family so every component picks it up via var().
   Same "Theme" config key drives both UIs.
   ============================================================ */

/* ── BLACK ───────────────────────────────────────────────── */
body.theme-black {
    --v2-bg:        #000000;
    --v2-surface:   #080809;
    --v2-surface-2: #101012;
    /* keep amber accent — only background gets darker */
}

/* ── COLORFUL (emerald / sky / pink) ────────────────────── */
body.theme-colorful {
    --v2-amber:      #34D399;
    --v2-mint:       #60A5FA;
    --v2-amber-dim:  rgba(52, 211, 153, 0.12);
    --v2-glow:       rgba(52, 211, 153, 0.08);
    --v2-aurora-1:   rgba(52, 211, 153, 0.045);
    --v2-aurora-2:   rgba(96, 165, 250, 0.035);
    --v2-aurora-3:   rgba(244, 114, 182, 0.020);
    --v2-orb-a:      rgba(52, 211, 153, 0.15);
    --v2-orb-b:      rgba(96, 165, 250, 0.10);
}

/* ── ORANGE ──────────────────────────────────────────────── */
body.theme-orange {
    --v2-amber:      #F97316;
    --v2-mint:       #FBBF24;
    --v2-amber-dim:  rgba(249, 115, 22, 0.12);
    --v2-glow:       rgba(249, 115, 22, 0.08);
    --v2-aurora-1:   rgba(249, 115, 22, 0.045);
    --v2-aurora-2:   rgba(251, 191, 36, 0.035);
    --v2-aurora-3:   rgba(52, 211, 153, 0.020);
    --v2-orb-a:      rgba(249, 115, 22, 0.15);
    --v2-orb-b:      rgba(251, 191, 36, 0.10);
}

/* ── RED ─────────────────────────────────────────────────── */
body.theme-red {
    --v2-amber:      #EF4444;
    --v2-mint:       #FB7185;
    --v2-amber-dim:  rgba(239, 68, 68, 0.12);
    --v2-glow:       rgba(239, 68, 68, 0.08);
    --v2-aurora-1:   rgba(239, 68, 68, 0.045);
    --v2-aurora-2:   rgba(251, 113, 133, 0.035);
    --v2-aurora-3:   rgba(251, 191, 36, 0.020);
    --v2-orb-a:      rgba(239, 68, 68, 0.15);
    --v2-orb-b:      rgba(251, 113, 133, 0.10);
}

/* ── GREEN ───────────────────────────────────────────────── */
body.theme-green {
    --v2-amber:      #22C55E;
    --v2-mint:       #A3E635;
    --v2-amber-dim:  rgba(34, 197, 94, 0.12);
    --v2-glow:       rgba(34, 197, 94, 0.08);
    --v2-aurora-1:   rgba(34, 197, 94, 0.045);
    --v2-aurora-2:   rgba(163, 230, 53, 0.035);
    --v2-aurora-3:   rgba(96, 165, 250, 0.020);
    --v2-orb-a:      rgba(34, 197, 94, 0.15);
    --v2-orb-b:      rgba(163, 230, 53, 0.10);
}

/* ── BLUE ────────────────────────────────────────────────── */
body.theme-blue {
    --v2-amber:      #3B82F6;
    --v2-mint:       #38BDF8;
    --v2-amber-dim:  rgba(59, 130, 246, 0.12);
    --v2-glow:       rgba(59, 130, 246, 0.08);
    --v2-aurora-1:   rgba(59, 130, 246, 0.045);
    --v2-aurora-2:   rgba(56, 189, 248, 0.035);
    --v2-aurora-3:   rgba(52, 211, 153, 0.020);
    --v2-orb-a:      rgba(59, 130, 246, 0.15);
    --v2-orb-b:      rgba(56, 189, 248, 0.10);
}

/* ── TEAL ────────────────────────────────────────────────── */
body.theme-teal {
    --v2-amber:      #14B8A6;
    --v2-mint:       #2DD4BF;
    --v2-amber-dim:  rgba(20, 184, 166, 0.12);
    --v2-glow:       rgba(20, 184, 166, 0.08);
    --v2-aurora-1:   rgba(20, 184, 166, 0.045);
    --v2-aurora-2:   rgba(45, 212, 191, 0.035);
    --v2-aurora-3:   rgba(251, 191, 36, 0.020);
    --v2-orb-a:      rgba(20, 184, 166, 0.15);
    --v2-orb-b:      rgba(45, 212, 191, 0.10);
}

/* ── ROSE ────────────────────────────────────────────────── */
body.theme-rose {
    --v2-amber:      #F43F5E;
    --v2-mint:       #E879F9;
    --v2-amber-dim:  rgba(244, 63, 94, 0.12);
    --v2-glow:       rgba(244, 63, 94, 0.08);
    --v2-aurora-1:   rgba(244, 63, 94, 0.045);
    --v2-aurora-2:   rgba(232, 121, 249, 0.035);
    --v2-aurora-3:   rgba(251, 191, 36, 0.020);
    --v2-orb-a:      rgba(244, 63, 94, 0.15);
    --v2-orb-b:      rgba(232, 121, 249, 0.10);
}
