/* ════════════════════════════════════════════════════════════
   CV NGÔ PHÚC — LUXURY MANAGER THEME
   cv-style.css · postlain.com/ngo-phuc-cv-futuristic/
   Aesthetic: Dark Obsidian × Gold × Refined Editorial
════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    /* Palette */
    --obsidian:      #080a0f;
    --surface-0:     #0c0f16;
    --surface-1:     #111520;
    --surface-2:     #171c2a;
    --surface-3:     #1e2535;

    --gold:          #c9a84c;
    --gold-light:    #e8c97e;
    --gold-dim:      #7d6530;
    --gold-glow:     rgba(201, 168, 76, 0.18);
    --gold-border:   rgba(201, 168, 76, 0.22);

    --text-primary:  #f0ebe0;
    --text-secondary:#9ea8b8;
    --text-muted:    #5c6578;
    --text-dim:      #3a4155;

    --accent-cool:   #4a90d9;
    --green:         #5ccc8a;

    /* Typography */
    --f-serif:       'Cormorant Garamond', Georgia, serif;
    --f-sans:        'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --f-mono:        'DM Mono', 'Courier New', monospace;

    /* Layout */
    --container:     1120px;
    --sec-gap:       120px;
    --radius:        10px;
    --radius-lg:     18px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--obsidian);
    color: var(--text-primary);
    font-family: var(--f-sans);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── AMBIENT NOISE ─────────────────────────────────────── */
.cv-noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ─── AMBIENT ORBS ──────────────────────────────────────── */
.cv-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: .18;
}
.cv-orb-1 { width: 600px; height: 600px; background: var(--gold);        top: -200px; left: -200px; }
.cv-orb-2 { width: 500px; height: 500px; background: var(--accent-cool); bottom: -100px; right: -100px; opacity: .1; }
.cv-orb-3 { width: 400px; height: 400px; background: var(--gold);        top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: .06; }

/* ─── SCROLL PROGRESS ───────────────────────────────────── */
#cv-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
    z-index: 9999;
    pointer-events: none;
    transition: width .1s linear;
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
#cv-cursor {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform .1s, background .2s;
}
#cv-cursor-ring {
    position: fixed;
    width: 28px; height: 28px;
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform .06s linear, width .25s, height .25s, border-color .25s;
}
#cv-cursor-ring.enlarged {
    width: 44px; height: 44px;
    border-color: rgba(201,168,76,.5);
}

/* ─── CONTAINER ─────────────────────────────────────────── */
.cv-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ─── GLASS CARD ─────────────────────────────────────────── */
.glass-card {
    background: rgba(17, 21, 32, 0.72);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color .3s, transform .3s;
}
.glass-card:hover {
    border-color: rgba(201,168,76,.42);
}

/* ─── SIDE NAV ───────────────────────────────────────────── */
.cv-sidenav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    list-style: none;
}
.cv-sidenav ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.sn-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    cursor: pointer;
    position: relative;
}
.sn-pip {
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    border: 1px solid rgba(201,168,76,.2);
    transition: all .3s;
}
.sn-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--f-sans);
    font-size: 11px;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--surface-2);
    border: 1px solid var(--gold-border);
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.sn-dot:hover::after { opacity: 1; }
.sn-dot.active .sn-pip,
.sn-dot:hover .sn-pip {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201,168,76,.5);
    transform: scale(1.4);
}

/* ─── SECTION BASE ───────────────────────────────────────── */
.cv-section  { padding: var(--sec-gap) 0; position: relative; z-index: 2; }
.cv-alt      { background: rgba(11,14,21,0.5); }

/* Section header */
.sec-hd {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 64px;
    overflow: hidden;
}
.sec-idx {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--gold-dim);
    letter-spacing: .12em;
    flex-shrink: 0;
    padding-top: 4px;
}
.sec-hd h2 {
    font-family: var(--f-serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.sec-hd h2 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}
.sec-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-border), transparent);
    margin-left: 4px;
    transform-origin: left;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 1s ease, opacity .6s ease;
}
.sec-rule.drawn { transform: scaleX(1); opacity: 1; }

/* ─── REVEAL ANIMATION ───────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
[data-reveal="up"]   { transform: translateY(32px); }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.cv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    z-index: 2;
}

/* Decorative horizontal lines */
.cv-hero::before,
.cv-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
    pointer-events: none;
}
.cv-hero::before { top: 0; }
.cv-hero::after  { bottom: 0; }

.hero-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 72px;
    align-items: center;
}

/* Avatar */
.hero-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.av-frame {
    position: relative;
    width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.av-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    animation: ring-pulse 4s ease-in-out infinite;
}
.av-ring-1 { width: 210px; height: 210px; animation-delay: 0s; }
.av-ring-2 { width: 230px; height: 230px; animation-delay: 1.5s; opacity: .5; }
@keyframes ring-pulse {
    0%, 100% { opacity: .4; transform: scale(1); }
    50%       { opacity: .1; transform: scale(1.04); }
}
.av-photo {
    width: 172px; height: 172px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-dim);
    box-shadow: 0 0 40px rgba(201,168,76,.2), inset 0 0 0 2px var(--surface-2);
    position: relative; z-index: 2;
    filter: sepia(.08) contrast(1.05);
}
.av-initials {
    display: none;
    width: 172px; height: 172px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--gold-dim);
    font-family: var(--f-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    align-items: center; justify-content: center;
    position: relative; z-index: 2;
}
.av-online {
    position: absolute;
    bottom: 18px; right: 18px;
    width: 12px; height: 12px;
    background: var(--green);
    border-radius: 50%;
    border: 2px solid var(--obsidian);
    z-index: 3;
    animation: blink-dot 2.4s ease-in-out infinite;
}
@keyframes blink-dot {
    0%,100% { box-shadow: 0 0 6px var(--green); opacity: 1; }
    50%      { box-shadow: none; opacity: .5; }
}

/* Contact pills */
.hero-pills { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.h-pill {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: var(--surface-1);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    padding: 7px 12px;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.h-pill:hover { color: var(--gold); border-color: rgba(201,168,76,.5); }
.h-pill svg { color: var(--gold-dim); flex-shrink: 0; }

/* Hero right */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--gold-dim);
    margin-bottom: 20px;
}
.eyebrow-bar {
    display: block;
    width: 32px; height: 1px;
    background: var(--gold-dim);
}

.hero-name {
    font-family: var(--f-serif);
    font-size: clamp(60px, 8vw, 100px);
    line-height: .92;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.hn-thin {
    display: block;
    font-weight: 300;
    color: var(--text-secondary);
    font-size: .65em;
    letter-spacing: .02em;
}
.hn-bold {
    display: block;
    font-weight: 600;
    color: var(--gold);
    text-shadow: 0 0 60px rgba(201,168,76,.25);
}

.hero-role-type {
    font-family: var(--f-mono);
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 24px;
}
.type-caret {
    color: var(--gold);
    animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 36px;
}
.hero-bio em  { color: var(--gold-light); font-style: italic; }
.hero-bio strong { color: var(--text-primary); font-weight: 500; }

/* Stats row */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: var(--surface-1);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    width: fit-content;
}
.hs-item { text-align: center; }
.hs-num {
    font-family: var(--f-serif);
    font-size: 44px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}
.hs-suf { font-family: var(--f-serif); font-size: 28px; color: var(--gold); }
.hs-lbl {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
}
.hs-divider { width: 1px; height: 44px; background: var(--gold-border); }

/* CTA */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    padding: 13px 32px;
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: var(--obsidian);
    font-family: var(--f-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    display: inline-flex; align-items: center;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
    padding: 13px 28px;
    background: transparent;
    color: var(--gold);
    font-family: var(--f-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .06em;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, color .2s;
    display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2;
}
.hero-scroll span {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .22em;
    color: var(--text-dim);
}
.hs-track {
    width: 1px; height: 44px;
    background: var(--text-dim);
    position: relative;
    overflow: hidden;
}
.hs-thumb {
    position: absolute; top: -100%;
    width: 100%; height: 100%;
    background: var(--gold);
    animation: scroll-thumb 2s ease-in-out infinite;
}
@keyframes scroll-thumb {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ════════════════════════════════════════════════════════════
   IDENTITY
════════════════════════════════════════════════════════════ */
.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.card-eyebrow {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 20px;
}

/* Info card */
.id-info-card { padding: 28px 24px; }
.id-info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.id-info-list li { display: flex; flex-direction: column; gap: 1px; }
.id-info-list span {
    font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-dim); font-family: var(--f-mono);
}
.id-info-list b { font-size: 13px; color: var(--text-primary); font-weight: 400; }
.id-info-list a { color: var(--gold-light); }
.avail-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 6px;
    animation: blink-dot 2.4s ease-in-out infinite;
}
.id-info-list .avail-dot + * { color: var(--green); font-size: 13px; font-weight: 400; }

/* Bio card */
.id-bio-card { padding: 28px 28px; }
.id-bio-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}
.id-bio-card p:last-child { margin-bottom: 0; }
.id-bio-card strong { color: var(--text-primary); font-weight: 500; }
.id-bio-card em     { color: var(--gold-light); font-style: italic; }

/* Trait card */
.id-trait-card { padding: 28px 24px; }
.trait-rows { display: flex; flex-direction: column; gap: 14px; }
.tr-item {}
.tr-head {
    display: flex; justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.tr-head span:last-child { font-family: var(--f-mono); color: var(--gold-dim); }
.tr-bar {
    height: 3px;
    background: var(--surface-3);
    border-radius: 100px;
    overflow: hidden;
}
.tr-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
    border-radius: 100px;
    transition: width 1.6s cubic-bezier(.22,1,.36,1);
}

/* ════════════════════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════════════════════ */
.tl-track {
    position: relative;
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.tl-track::before {
    content: '';
    position: absolute;
    left: 10px; top: 12px; bottom: 12px;
    width: 1px;
    background: linear-gradient(var(--gold-border), transparent 90%);
}

.tl-card {
    position: relative;
    padding: 32px;
    transition: border-color .3s, transform .3s;
}
.tl-card:hover { transform: translateX(4px); }
.tl-card.tl-featured {
    border-color: rgba(201,168,76,.38);
    background: rgba(201,168,76,.04);
}

.tl-node {
    position: absolute;
    left: -30px; top: 38px;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.tl-node span {
    display: block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 2px solid var(--obsidian);
    transition: background .3s, box-shadow .3s;
}
.tl-featured .tl-node span,
.tl-card:hover .tl-node span {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(201,168,76,.6);
}

.tl-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.tl-period {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--gold-dim);
    letter-spacing: .08em;
}
.tl-badge-live {
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--green);
    background: rgba(92,204,138,.1);
    border: 1px solid rgba(92,204,138,.3);
    border-radius: 4px;
    padding: 2px 8px;
    margin-left: 10px;
}
.tl-logo-text {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: .12em;
}
.tl-card h3 {
    font-family: var(--f-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.tl-org {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 14px;
}
.tl-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}
.tl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.tl-list li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.65;
}
.tl-list li::before {
    content: '—';
    position: absolute; left: 0;
    color: var(--gold-dim);
    font-size: 11px;
    top: 2px;
}
.tl-chips {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.tl-chips span {
    font-family: var(--f-mono);
    font-size: 10px;
    padding: 3px 10px;
    background: var(--surface-3);
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    color: var(--gold-dim);
    letter-spacing: .06em;
}

/* ════════════════════════════════════════════════════════════
   SKILLS
════════════════════════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.skill-panel { padding: 28px; }
.sp-title {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--gold);
    letter-spacing: .12em;
    margin-bottom: 24px;
}
.sp-icon { font-size: 10px; opacity: .7; }

.sp-bars { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.sb-top {
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--text-secondary);
    margin-bottom: 6px;
}
.sb-top em { font-style: normal; font-family: var(--f-mono); color: var(--gold-dim); }
.sb-track { height: 3px; background: var(--surface-3); border-radius: 100px; overflow: hidden; }
.sb-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
    border-radius: 100px;
    transition: width 1.6s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.sb-fill::after {
    content: '';
    position: absolute;
    right: -1px; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    background: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--gold);
}

/* Soft skill hex grid */
.sp-soft { grid-column: 1 / -1; }
.soft-hex-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.shg-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shg-ring {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2);
    position: relative;
    transition: border-color .3s;
}
.shg-ring:hover { border-color: var(--gold); }
.shg-num {
    font-family: var(--f-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    line-height: 1;
}
.shg-num sub { font-size: 11px; }
.shg-item p {
    font-size: 11px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   EDUCATION
════════════════════════════════════════════════════════════ */
.edu-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.edu-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.edu-self { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.03); }
.ec-year {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--gold-dim);
    min-width: 50px;
    line-height: 1.4;
    padding-top: 2px;
}
.ec-year-gold { color: var(--gold); }
.ec-content h3 {
    font-family: var(--f-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.ec-school { font-size: 12px; color: var(--gold); margin-bottom: 10px; }
.ec-desc   { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.ec-tag {
    display: inline-block;
    font-size: 10px;
    font-family: var(--f-mono);
    background: rgba(74,144,217,.1);
    border: 1px solid rgba(74,144,217,.25);
    color: var(--accent-cool);
    padding: 1px 7px;
    border-radius: 3px;
    margin-left: 6px;
}
.ec-node {
    position: absolute;
    top: 28px; left: -1px;
    width: 3px; height: 40px;
    background: var(--gold-dim);
    border-radius: 0 2px 2px 0;
}
.ec-node-gold { background: var(--gold); box-shadow: 2px 0 8px rgba(201,168,76,.4); }

/* ════════════════════════════════════════════════════════════
   STRENGTHS
════════════════════════════════════════════════════════════ */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.str-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s;
}
.str-card:hover { transform: translateY(-4px); }
.str-icon {
    width: 48px; height: 48px;
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.str-icon svg { width: 24px; height: 24px; }
.str-card h3 {
    font-family: var(--f-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
}
.str-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; flex: 1; }
.str-badge {
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--gold-dim);
    background: rgba(201,168,76,.06);
    border: 1px solid var(--gold-border);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: .08em;
    align-self: flex-start;
}

/* ════════════════════════════════════════════════════════════
   PHILOSOPHY
════════════════════════════════════════════════════════════ */
.philo-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}
.philo-quote-wrap {
    padding: 48px;
    position: relative;
}
.philo-bq {
    font-family: var(--f-serif);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}
.philo-bq::before {
    content: '\201C';
    font-size: 80px;
    color: var(--gold);
    opacity: .15;
    position: absolute;
    top: 16px; left: 24px;
    font-family: var(--f-serif);
    line-height: 1;
}
.philo-quote-wrap cite {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--gold);
}
.philo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pc-card { padding: 24px; }
.pc-n {
    font-family: var(--f-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--gold);
    opacity: .12;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}
.pc-card h4 {
    font-family: var(--f-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pc-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.ct-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    font-style: italic;
}
.ct-list { display: flex; flex-direction: column; gap: 12px; }
.ct-row {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    transition: border-color .2s, background .2s;
}
a.ct-row:hover { border-color: rgba(201,168,76,.5); background: rgba(201,168,76,.04); }
.ct-ico {
    width: 36px; height: 36px;
    background: var(--surface-2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.ct-row div:last-child { display: flex; flex-direction: column; gap: 2px; }
.ct-row span  { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-family: var(--f-mono); }
.ct-row strong { font-size: 13px; color: var(--text-primary); font-weight: 400; }



/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.cv-footer {
    padding: 36px 0;
    border-top: 1px solid var(--gold-border);
    position: relative; z-index: 2;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ft-brand { display: flex; align-items: center; gap: 14px; }
.ft-name {
    font-family: var(--f-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--gold);
}
.ft-sep-line { display: block; width: 1px; height: 16px; background: var(--gold-border); }
.ft-role { font-size: 12px; color: var(--text-dim); font-family: var(--f-mono); letter-spacing: .1em; }
.ft-copy { font-size: 12px; color: var(--text-dim); }

/* Back to top */
.cv-btt,
#cv-btt {
    position: fixed;
    bottom: 36px; right: 56px;
    width: 40px; height: 40px;
    background: var(--surface-1);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 50;
    opacity: 0; transform: translateY(12px);
    transition: all .3s;
}
#cv-btt.visible { opacity: 1; transform: translateY(0); }
#cv-btt:hover { background: var(--surface-2); border-color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .identity-grid { grid-template-columns: 1fr 1fr; }
    .id-trait-card  { grid-column: 1 / -1; }
    .soft-hex-grid  { grid-template-columns: repeat(3, 1fr); }
    .strengths-grid { grid-template-columns: 1fr 1fr; }
    .skills-grid    { grid-template-columns: 1fr 1fr; }
    .sp-soft        { grid-column: 1 / -1; }
    .philo-layout   { grid-template-columns: 1fr; }
    .cv-sidenav     { display: none; }
}

@media (max-width: 900px) {
    .hero-inner     { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-avatar-col { align-items: center; }
    .hero-pills     { align-items: center; }
    .hero-eyebrow   { justify-content: center; }
    .hero-stats-row { margin: 0 auto 36px; }
    .hero-actions   { justify-content: center; }
    .hero-bio       { margin: 0 auto 36px; }
    .edu-timeline   { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    :root { --sec-gap: 80px; }
    .identity-grid  { grid-template-columns: 1fr; }
    .skills-grid    { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: 1fr; }
    .philo-cards    { grid-template-columns: 1fr; }
    .soft-hex-grid  { grid-template-columns: repeat(2, 1fr); }
    .cf-row-2       { grid-template-columns: 1fr; }
    #cv-btt         { right: 20px; }
    .hero-name      { font-size: 56px; }
    .hero-stats-row { gap: 20px; padding: 16px 20px; flex-wrap: wrap; justify-content: center; }
    .hs-divider     { display: none; }
}