/* ============================================
   F1 PORTFOLIO — STYLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800;1,900&family=Barlow:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
    --red:          #E10600;
    --red-dark:     #9e0400;
    --red-glow:     rgba(225,6,0,0.25);
    --red-subtle:   rgba(225,6,0,0.08);

    --black:        #000000;
    --bg:           #0c0c0c;
    --surface:      #111111;
    --card:         #161616;
    --card-hover:   #1c1c1c;

    --white:        #ffffff;
    --silver:       #c8c8c8;
    --silver-dim:   #787878;
    --muted:        #444444;

    --border:       rgba(255,255,255,0.07);
    --border-red:   rgba(225,6,0,0.45);

    --font-d:       'Barlow Condensed', sans-serif;
    --font-b:       'Barlow', sans-serif;
    --font-m:       'JetBrains Mono', monospace;

    --ease:         cubic-bezier(0.22,1,0.36,1);

    /* Carbon fiber */
    --carbon: repeating-linear-gradient(
                  45deg,
                  rgba(255,255,255,0.022) 0px,
                  rgba(255,255,255,0.022) 1px,
                  transparent 1px, transparent 8px
              ),
              repeating-linear-gradient(
                  -45deg,
                  rgba(255,255,255,0.022) 0px,
                  rgba(255,255,255,0.022) 1px,
                  transparent 1px, transparent 8px
              );
}

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px;scrollbar-width:thin;scrollbar-color:var(--red) var(--black)}
html::-webkit-scrollbar{width:4px}
html::-webkit-scrollbar-track{background:var(--black)}
html::-webkit-scrollbar-thumb{background:var(--red)}
body{font-family:var(--font-b);background:var(--bg);color:var(--white);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
::selection{background:var(--red);color:#fff}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{display:block;max-width:100%}

/* ══════════════════════════════════════════
   START LIGHTS
   ══════════════════════════════════════════ */
#start-lights {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition: opacity 0.6s ease;
}
#start-lights.fade-out { opacity: 0; pointer-events: none; }
#start-lights.hidden { display: none; }

.sl-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.sl-gantry {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.sl-pod {
    width: 72px;
    height: 90px;
    background: #0e0e0e;
    border: 2px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sl-pod::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid #1a1a1a;
}

.sl-light {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0e0e0e;
    border: 3px solid #1a1a1a;
    display: block;
    transition: background 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.sl-light.on {
    background: var(--red);
    border-color: #ff2200;
    box-shadow: 0 0 28px rgba(225,6,0,0.9), 0 0 60px rgba(225,6,0,0.4), inset 0 0 10px rgba(255,100,50,0.3);
}

.sl-label {
    font-family: var(--font-d);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--silver-dim);
    text-transform: uppercase;
}

.sl-label.go {
    color: var(--red);
    letter-spacing: 0.6em;
    font-size: 1.4rem;
    text-shadow: 0 0 30px rgba(225,6,0,0.7);
}

/* ══════════════════════════════════════════
   RACE TELEMETRY BAR
   ══════════════════════════════════════════ */
#race-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 28px;
    background: var(--black);
    border-bottom: 1px solid rgba(225,6,0,0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
}

.rb-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    padding: 0 1.5rem;
    width: 100%;
}

.rb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.rb-label {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.rb-value {
    font-family: var(--font-m);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rb-sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.1);
}

.rb-item.rb-status {
    margin-left: auto;
    gap: 0.4rem;
}

.rb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: dotPulse 2s infinite;
    display: inline-block;
}

@keyframes dotPulse {
    0%,100%{opacity:1}
    50%{opacity:0.4}
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 60px;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

#main-nav.scrolled {
    background: rgba(0,0,0,0.96);
    border-bottom-color: var(--border-red);
    backdrop-filter: blur(12px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-num {
    font-family: var(--font-d);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--red);
    padding-left: 0.8rem;
}

.logo-name {
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--white);
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--silver-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links { display: flex; gap: 0; }

.nav-link {
    font-family: var(--font-d);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver-dim);
    padding: 0 1.2rem;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1.2rem; right: 1.2rem;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Nav actions (CV download button) */
.nav-actions { display: flex; align-items: center; gap: 0.8rem; margin-left: 0.5rem; }

.nav-download-btn {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(225,6,0,0.45);
    padding: 0.28rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
    background: rgba(225,6,0,0.07);
    white-space: nowrap;
}
.nav-download-btn:hover {
    background: rgba(225,6,0,0.18);
    border-color: var(--red);
    box-shadow: 0 0 16px rgba(225,6,0,0.2);
}

/* Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

.mobile-menu{
    position:fixed;inset:0;
    background:rgba(0,0,0,0.98);
    z-index:998;
    display:flex;align-items:center;justify-content:center;
    opacity:0;visibility:hidden;transition:all 0.4s var(--ease);
}
.mobile-menu.active{opacity:1;visibility:visible}
.mobile-nav-links{display:flex;flex-direction:column;align-items:center;gap:2rem}
.mobile-link{
    font-family:var(--font-d);font-size:2.8rem;font-weight:900;
    text-transform:uppercase;letter-spacing:0.08em;
    color:var(--silver-dim);transition:color 0.2s;
}
.mobile-link:hover{color:var(--red)}

/* ══════════════════════════════════════════
   SECTION BASE
   ══════════════════════════════════════════ */
.section{position:relative;z-index:2;min-height:100vh;display:flex;align-items:center}

.section-container{
    max-width:1200px;
    margin:0 auto;
    padding:110px 2rem;
    width:100%
}

.section-header{margin-bottom:4rem}

.sector-label {
    font-family: var(--font-m);
    font-size: 0.7rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-d);
    font-size: clamp(3rem,6vw,5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--white);
}

.section-title em {
    font-style: italic;
    color: var(--red);
}

.section-rule {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin-top: 1.2rem;
    position: relative;
}
.section-rule::after {
    content: '';
    position: absolute;
    right: -18px; top: 0;
    width: 10px; height: 4px;
    background: var(--silver-dim);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero-section {
    padding-top: 60px; /* nav height */
    background: var(--black);
    overflow: hidden;
}

/* Particles inside hero only */
#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#cursor-glow {
    position: fixed;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225,6,0,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%,-50%);
}

/* GIANT ghosted driver number */
.hero-driver-num {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-d);
    font-size: 45vw;
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px rgba(225,6,0,0.12);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    letter-spacing: -0.05em;
}

/* Speed streaks */
.speed-streaks {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.streak {
    position: absolute;
    left: -10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(225,6,0,0.5), transparent);
    animation: streakAnim 3s ease-in-out infinite;
}

.s1 { top: 20%; width: 40%; animation-delay: 0s;    animation-duration: 2.8s; opacity: 0.35; }
.s2 { top: 35%; width: 55%; animation-delay: 0.4s;  animation-duration: 3.2s; opacity: 0.2; }
.s3 { top: 50%; width: 35%; animation-delay: 0.8s;  animation-duration: 2.5s; opacity: 0.3; }
.s4 { top: 65%; width: 48%; animation-delay: 1.2s;  animation-duration: 3.5s; opacity: 0.18; }
.s5 { top: 80%; width: 30%; animation-delay: 1.6s;  animation-duration: 2.9s; opacity: 0.25; }

@keyframes streakAnim {
    0%   { left: -60%; opacity: 0; }
    10%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* HERO CONTENT */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-code {
    font-family: var(--font-m);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.code-dim { color: var(--muted); }
.code-tag { color: var(--red); }

/* F1 LOWER THIRD NAME PLATE */
.name-plate {
    display: flex;
    align-items: stretch;
    margin-bottom: 1.8rem;
    position: relative;
}

.name-plate-bar {
    width: 6px;
    background: var(--red);
    flex-shrink: 0;
    position: relative;
}

.name-plate-bar::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 6px; height: 8px;
    background: var(--red-dark);
}

.name-plate-content {
    background: rgba(225,6,0,0.08);
    border: 1px solid rgba(225,6,0,0.3);
    border-left: none;
    padding: 0.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.name-plate-first {
    font-family: var(--font-d);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.01em;
}

.name-plate-last {
    font-family: var(--font-d);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--silver);
    text-transform: uppercase;
    line-height: 1.3;
}

/* Typewriter role line */
.hero-role {
    font-family: var(--font-m);
    font-size: 0.95rem;
    color: var(--silver-dim);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--red);
    margin-left: 6px; /* align with name plate bar */
}

.role-bracket { color: var(--red); }
.typewriter   { color: var(--white); }
.cursor-blink {
    color: var(--red);
    animation: blink 1s infinite;
}
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

.hero-description {
    font-size: 1rem;
    color: rgba(200,200,200,0.75);
    line-height: 1.85;
    max-width: 500px;
    margin-bottom: 2rem;
    padding-left: 9px;
}
.hero-description strong { color: var(--white); }

/* CTA Buttons */
.hero-cta { display: flex; gap: 1rem; margin-bottom: 2.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* angular parallelogram */
    clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 0 30px rgba(225,6,0,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(225,6,0,0.65);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
    border-color: var(--red);
    background: rgba(225,6,0,0.07);
    transform: translateY(-2px);
}
.btn-cv {
    background: rgba(225,6,0,0.08);
    color: var(--red);
    border: 1px solid rgba(225,6,0,0.4);
}
.btn-cv:hover {
    background: rgba(225,6,0,0.18);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(225,6,0,0.25);
}

/* TIMING TOWER */
.timing-tower {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-left: 2px solid var(--border-red);
    padding-left: 0;
}

.tt-row {
    display: flex;
    align-items: center;
    gap: 0;
    height: 36px;
    overflow: hidden;
}

.tt-pos {
    font-family: var(--font-d);
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--red);
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225,6,0,0.12);
    border: 1px solid rgba(225,6,0,0.3);
    border-right: none;
    flex-shrink: 0;
    letter-spacing: 0;
}

.tt-pos.c2 { color: #aaa; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.tt-pos.c3 { color: #888; background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); }

.tt-bar {
    width: 3px; height: 100%;
    background: var(--red);
    flex-shrink: 0;
}

.tt-row:nth-child(2) .tt-bar { background: var(--silver-dim); }
.tt-row:nth-child(3) .tt-bar { background: var(--muted); }

.tt-num {
    font-family: var(--font-d);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    width: 60px;
    text-align: right;
    padding-right: 0.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.tt-num::after { content: '+'; font-size: 1rem; color: var(--red); }

.tt-label {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: var(--silver-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-left: none;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    flex: 1;
}

/* ── PERFORMANCE CORE (MINIMALIST) ── */
.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.performance-core {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.pc-bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: corePulse 6s ease-in-out infinite alternate;
}

@keyframes corePulse {
    0% { transform: scale(0.8); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.pc-line {
    position: absolute;
    left: 50%;
    top: -50px;
    bottom: -50px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--red), transparent);
    opacity: 0.3;
    z-index: -1;
    transform: translateX(-50%);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; box-shadow: 0 0 15px var(--red); }
}

.pc-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pc-label {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--silver-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.pc-main {
    font-family: var(--font-d);
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 900;
    font-style: italic;
    color: var(--white);
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.pc-unit {
    font-size: 0.4em;
    color: var(--red);
    margin-left: 0.1em;
}

.pc-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
}

.pc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ps-label {
    font-family: var(--font-m);
    font-size: 0.55rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.ps-val {
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--silver);
    letter-spacing: 0.05em;
}

.pc-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 4rem;
    padding: 0.8rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pb-item {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--silver-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.1em;
}

.pb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.pb-dot.java { background: #f89820; box-shadow: 0 0 6px #f89820; }
.pb-dot.spring { background: #6db33f; box-shadow: 0 0 6px #6db33f; }
.pb-dot.sql { background: #f80000; box-shadow: 0 0 6px #f80000; }
.pb-dot.linux { background: #ffcc33; box-shadow: 0 0 6px #ffcc33; }
.tm-val { font-family: var(--font-m); font-size: 0.65rem; color: var(--silver); }

/* Delta Grid */
.delta-grid {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-top: 0.4rem;
}
.dg-bar {
    flex: 1;
    background: var(--muted);
    border-radius: 1px 1px 0 0;
}
.dg-bar.b2 { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.dg-value {
    margin-left: auto;
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

/* Flow Mod */
.flow-value {
    font-family: var(--font-d);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.fv-unit { font-size: 0.7rem; color: var(--silver-dim); }
.flow-dots { display: flex; gap: 4px; margin-top: 0.8rem; }
.flow-dots span {
    width: 4px; height: 4px; border-radius: 50%; background: var(--red);
    animation: flowPulse 1s infinite alternate;
}
.flow-dots span:nth-child(2) { animation-delay: 0.2s; }
.flow-dots span:nth-child(3) { animation-delay: 0.4s; }
.flow-dots span:nth-child(4) { animation-delay: 0.6s; }

@keyframes flowPulse { from { opacity: 0.2; transform: scale(0.8); } to { opacity: 1; transform: scale(1.2); } }

/* Footer Badges */
.td-footer {
    background: #080808;
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.td-badge {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--silver-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.1em;
}

.tb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.tb-dot.java { background: #f89820; box-shadow: 0 0 6px #f89820; }
.tb-dot.spring { background: #6db33f; box-shadow: 0 0 6px #6db33f; }
.tb-dot.sql { background: #f80000; box-shadow: 0 0 6px #f80000; }
.tb-dot.linux { background: #ffcc33; box-shadow: 0 0 6px #ffcc33; }

/* ── TECH GRID BOARD (hero right panel) ── */
.tech-grid-board {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    background-image: var(--carbon);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    position: relative;
    overflow: hidden;
}

.tgb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid var(--border);
    background: rgba(225,6,0,0.05);
}

.tgb-title {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.tgb-sub {
    font-family: var(--font-m);
    font-size: 0.56rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tgb-rows { display: flex; flex-direction: column; }

.tgb-row {
    display: flex;
    align-items: center;
    height: 54px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    cursor: default;
}

.tgb-row:hover { background: rgba(255,255,255,0.025); }
.tgb-row:last-child { border-bottom: none; }

.tgb-pos {
    font-family: var(--font-d);
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--muted);
    width: 44px;
    flex-shrink: 0;
    text-align: center;
    letter-spacing: 0.04em;
}

.row-p1 .tgb-pos { color: var(--red); }
.row-p2 .tgb-pos { color: var(--silver-dim); }
.row-p3 .tgb-pos { color: #c87941; }

.tgb-stripe {
    width: 3px;
    height: 100%;
    background: var(--muted);
    flex-shrink: 0;
    opacity: 0.3;
}

.row-p1 .tgb-stripe { background: var(--red); opacity: 1; box-shadow: 0 0 8px rgba(225,6,0,0.6); }
.row-p2 .tgb-stripe { background: var(--silver-dim); opacity: 1; }
.row-p3 .tgb-stripe { background: #c87941; opacity: 1; }

.tgb-info {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0 1rem;
    flex: 1;
    min-width: 0;
}

.tgb-tech {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tgb-desc {
    font-family: var(--font-m);
    font-size: 0.57rem;
    color: var(--silver-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tgb-exp {
    font-family: var(--font-m);
    font-size: 0.6rem;
    color: var(--muted);
    white-space: nowrap;
    padding-right: 1.2rem;
    flex-shrink: 0;
}

.tgb-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 1.2rem;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.25);
}

.tgb-stat { display: flex; flex-direction: column; gap: 0.1rem; }

.tgb-stat-val {
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tgb-available { color: #00e676 !important; }
.tgb-available .rb-dot { width: 6px; height: 6px; }

.tgb-stat-lbl {
    font-family: var(--font-m);
    font-size: 0.54rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tgb-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── HERO STATS ── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.stat { text-align: left; }

.stat-number {
    font-family: var(--font-d);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    display: block;
    letter-spacing: -0.02em;
}
.stat-number::after { content:'+'; font-size:1.2rem; }

.stat-label {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: var(--silver-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 0.15rem;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.1);
}

.driver-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--carbon), var(--card);
    border: 1px solid rgba(225,6,0,0.3);
    overflow: hidden;
}

/* Red diagonal stripe on card */
.driver-card-stripe {
    position: absolute;
    top: 0; left: 0;
    width: 8px;
    height: 100%;
    background: var(--red);
    z-index: 3;
}

.driver-card-number {
    position: absolute;
    top: -20px; right: -15px;
    font-family: var(--font-d);
    font-size: 10rem;
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px rgba(225,6,0,0.15);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

.driver-card-img-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.driver-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.1) saturate(0.85);
    display: block;
}

/* Bottom footer bar inside driver card */
.driver-card-footer {
    position: relative;
    z-index: 2;
    background: var(--black);
    border-top: 3px solid var(--red);
    padding: 0.7rem 1rem 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dcf-num {
    font-family: var(--font-d);
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
}

.dcf-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dcf-name {
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--white);
}

.dcf-team {
    font-family: var(--font-m);
    font-size: 0.62rem;
    color: var(--silver-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dcf-flag { font-size: 1.3rem; }

/* Floating badges */
.floating-badge {
    position: absolute;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 3px solid var(--red);
    padding: 0.45rem 1rem;
    font-family: var(--font-d);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    color: var(--white);
    animation: floatBadge 5s ease-in-out infinite;
    /* parallelogram */
    clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
}

.fb-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
    box-shadow: 0 0 8px rgba(225,6,0,0.8);
}

.badge-java   { top:5%;    right:-8%;  animation-delay:0s;   }
.badge-spring { top:42%;   right:-14%; animation-delay:1.3s; }
.badge-sql    { bottom:18%;right: 0%;  animation-delay:2.6s; }
.badge-linux  { top:25%;   left:-10%;  animation-delay:3.9s; }

@keyframes floatBadge {
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-10px)}
}

/* Scroll indicator */
.scroll-indicator{
    position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
    display:flex;flex-direction:column;align-items:center;gap:0.4rem;
    color:var(--muted);font-family:var(--font-d);font-size:0.65rem;
    letter-spacing:0.25em;text-transform:uppercase;z-index:2;
    animation:fadeInUp 1s ease 4s both;
}
.scroll-mouse{width:20px;height:34px;border:2px solid #333;border-radius:10px;position:relative}
.scroll-wheel{width:3px;height:6px;background:var(--red);border-radius:2px;position:absolute;top:5px;left:50%;transform:translateX(-50%);animation:scrollW 2s infinite}
@keyframes scrollW{0%{transform:translateX(-50%) translateY(0);opacity:1}100%{transform:translateX(-50%) translateY(11px);opacity:0}}

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
.about-section {
    background: var(--surface);
    background-image: var(--carbon);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text p {
    color: rgba(200,200,200,0.75);
    margin-bottom: 1.4rem;
    font-size: 1.02rem;
    line-height: 1.9;
}
.about-text strong { color: var(--white); font-weight: 600; }

/* Data readout cards */
.about-details { display: flex; flex-direction: column; gap: 2px; }

.detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 1.2rem;
    background: var(--card);
    border-left: 3px solid var(--red);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, transform 0.2s;
    position: relative;
}

.detail-card:hover {
    background: var(--card-hover);
    transform: translateX(6px);
}

.dc-label {
    font-family: var(--font-m);
    font-size: 0.62rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.dc-value {
    font-family: var(--font-b);
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

.dc-active {
    color: #00e676;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.dc-active .rb-dot { width: 6px; height: 6px; }

/* ══════════════════════════════════════════
   EXPERIENCE
   ══════════════════════════════════════════ */
.experience-section { background: var(--bg); }

.timeline { position: relative; padding-left: 3rem; }

.timeline-item { position: relative; margin-bottom: 4rem; }
.timeline-item:last-child { margin-bottom: 0; }

.tl-marker { position: absolute; left: -3rem; top: 0; display: flex; flex-direction: column; align-items: center; }

.tl-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 20px rgba(225,6,0,0.6);
    position: relative; z-index: 2;
}
.tl-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(225,6,0,0.25);
    animation: pulse 2s infinite;
}
@keyframes pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.8);opacity:0}}

.tl-line {
    width: 2px;
    height: calc(100% + 4rem);
    background: linear-gradient(to bottom, var(--red), transparent);
    position: absolute;
    top: 16px;
}

/* Timeline header */
.tl-header { margin-bottom: 1.5rem; }

.tl-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.5rem; }

.tl-period {
    font-family: var(--font-m);
    font-size: 0.72rem;
    color: var(--red);
    background: rgba(225,6,0,0.08);
    border: 1px solid rgba(225,6,0,0.3);
    padding: 0.2rem 0.7rem;
    letter-spacing: 0.05em;
}

.tl-fastest {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: #00e676;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tl-intern {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: var(--silver-dim);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tl-title {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.tl-company { font-size: 1rem; color: var(--silver-dim); }
.tl-dash { color: var(--muted); margin: 0 0.3rem; }
.tl-highlight { color: var(--silver); font-weight: 600; }
.tl-sector-info { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

/* Timeline body */
.tl-body {
    background: var(--card);
    background-image: var(--carbon);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 1.8rem;
    transition: border-color 0.25s;
}
.tl-body:hover { border-color: rgba(225,6,0,0.5); box-shadow: 0 4px 40px rgba(225,6,0,0.08); }

.tech-block { margin-bottom: 1.4rem; }

.tb-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.tb-icon { font-size: 1rem; }
.tb-header h4 {
    font-family: var(--font-d);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--silver);
}

.resp-list { padding-left: 0; }
.resp-list li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: rgba(200,200,200,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}
.resp-list li::before { content: '▸'; position: absolute; left:0; color: var(--red); }
.resp-list li strong { color: var(--white); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.tt {
    font-family: var(--font-m);
    font-size: 0.68rem;
    color: var(--silver-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.18rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s;
}
.tt:hover { color: var(--red); border-color: rgba(225,6,0,0.4); background: rgba(225,6,0,0.07); }

/* ══════════════════════════════════════════
   SKILLS
   ══════════════════════════════════════════ */
.skills-section {
    background: var(--surface);
    background-image: var(--carbon);
}

.skills-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

.skill-category {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 1.8rem;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.skill-category::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(225,6,0,0.07), transparent);
    pointer-events: none;
}
.skill-category:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(225,6,0,0.1); }

.sc-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; color: var(--red); }
.sc-header h3 {
    font-family: var(--font-d);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
}

.skill-items { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.skill-item {
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--white);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.45rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    color: var(--white);
    border-color: rgba(225,6,0,0.5);
    background: rgba(225,6,0,0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(225,6,0,0.2);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.skill-item:hover::before {
    left: 100%;
}

/* ── SKILL BARS ── */
.skill-bars { display: flex; flex-direction: column; gap: 1.1rem; }

.skill-row {}

.sr-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.sr-name {
    font-family: var(--font-m);
    font-size: 0.7rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sr-lvl {
    font-family: var(--font-m);
    font-size: 0.58rem;
    color: var(--silver-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.skill-bar {
    height: 3px;
    background: rgba(255,255,255,0.06);
    position: relative;
    overflow: visible;
    border-radius: 1px;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--red-dark), var(--red));
    transition: width 1.2s var(--ease);
    position: relative;
    border-radius: 1px;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px rgba(225,6,0,0.9);
}

/* ── SECTOR EXPERTISE (about section) ── */
.sector-expertise {
    margin-top: 2.8rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.se-label {
    font-family: var(--font-m);
    font-size: 0.62rem;
    color: var(--red);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.9rem;
}

.se-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.se-tag {
    font-family: var(--font-d);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--silver);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.32rem 0.9rem;
    background: rgba(255,255,255,0.03);
    clip-path: polygon(7px 0%,100% 0%,calc(100% - 7px) 100%,0% 100%);
    transition: all 0.2s;
    cursor: default;
}

.se-tag:hover {
    color: var(--red);
    border-color: rgba(225,6,0,0.4);
    background: rgba(225,6,0,0.07);
}

/* ══════════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════════ */
.education-section { background: var(--bg); }

.edu-card {
    position: relative;
    background: var(--card);
    background-image: var(--carbon);
    border: 1px solid var(--border);
    margin-bottom: 4rem;
    overflow: hidden;
    transition: all 0.25s;
}
.edu-card:hover { box-shadow: 0 8px 40px rgba(225,6,0,0.1); }

.edu-card-accent {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: var(--red);
}

.edu-card-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.5rem 2.5rem 3rem;
}

.edu-icon { font-size: 2.8rem; flex-shrink: 0; }

.edu-type {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.4rem;
}

.edu-body h3 {
    font-family: var(--font-d);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.edu-school { font-size: 0.95rem; color: var(--silver-dim); margin-bottom: 0.6rem; }

.edu-period {
    font-family: var(--font-m);
    font-size: 0.78rem;
    color: var(--red);
    background: rgba(225,6,0,0.08);
    border: 1px solid rgba(225,6,0,0.3);
    padding: 0.2rem 0.7rem;
    display: inline-block;
}

/* Strengths */
.strengths-header { margin-bottom: 1.5rem; }

.strengths-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

.strength-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 1.6rem 1.3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
}
.strength-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(225,6,0,0.1); }

.str-num {
    position: absolute;
    top: -8px; right: 0.8rem;
    font-family: var(--font-d);
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(225,6,0,0.12);
    line-height: 1;
    pointer-events: none;
}

.str-icon { font-size: 1.8rem; margin-bottom: 0.6rem; position: relative; z-index: 1; }

.strength-card h4 {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 0.4rem;
    position: relative; z-index: 1;
}

.strength-card p {
    font-size: 0.83rem;
    color: rgba(200,200,200,0.6);
    line-height: 1.6;
    position: relative; z-index: 1;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-section {
    background: var(--surface);
    background-image: var(--carbon);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--silver-dim);
    margin-bottom: 3rem;
    line-height: 1.9;
}

.contact-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; max-width: 1250px; margin: 0 auto; }

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
}
a.contact-card { cursor: pointer; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 8px 40px rgba(225,6,0,0.12); }

.cc-num {
    position: absolute;
    top: -12px; right: 0.8rem;
    font-family: var(--font-d);
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(225,6,0,0.1);
    line-height: 1;
    pointer-events: none;
}

.cc-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(225,6,0,0.35);
    color: var(--red);
    transition: all 0.25s;
    position: relative; z-index: 1;
}
.contact-card:hover .cc-icon { background: rgba(225,6,0,0.1); transform: scale(1.08); }

.cc-label {
    font-family: var(--font-m);
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative; z-index: 1;
}

.cc-value {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
    position: relative; z-index: 1;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer { position: relative; z-index: 2; background: var(--black); border-top: 1px solid rgba(255,255,255,0.05); }

/* Checkered flag strip */
.footer-flag {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #fff  0px,  #fff  8px,
        #000  8px,  #000 16px,
        #fff 16px,  #fff 24px,
        #000 24px,  #000 32px
    );
    opacity: 0.25;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left { display: flex; align-items: center; gap: 1rem; }

.footer-num {
    font-family: var(--font-d);
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--red);
}

.footer-name { display: flex; flex-direction: column; gap: 0.1rem; border-left: 2px solid var(--red); padding-left: 0.8rem; }
.footer-name strong { font-family: var(--font-d); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.1em; }
.footer-name span { font-family: var(--font-m); font-size: 0.6rem; color: var(--silver-dim); letter-spacing: 0.12em; text-transform: uppercase; }

.footer-copy { font-family: var(--font-m); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em; }

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2){transition-delay:0.08s}
.animate-on-scroll:nth-child(3){transition-delay:0.16s}
.animate-on-scroll:nth-child(4){transition-delay:0.24s}

@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media(max-width:1024px){
    .hero-content{grid-template-columns:1fr;gap:3rem;text-align:center}
    .hero-role,.hero-description,.hero-cta,.hero-stats{margin-left:auto;margin-right:auto}
    .hero-role{justify-content:center}
    .hero-cta{justify-content:center}
    .name-plate{justify-content:center}
    .hero-image{order:-1}
    .performance-core{transform: scale(0.85)}
    .pc-badges{gap: 1rem; padding: 0.8rem 1rem}
    .floating-badge{display:none}
    .about-grid{grid-template-columns:1fr;gap:2.5rem}
    .skills-grid{grid-template-columns:1fr}
    .strengths-grid{grid-template-columns:repeat(2,1fr)}
    .hero-stats{justify-content:center}
    .contact-cards{grid-template-columns:repeat(3,1fr)}
    .nav-download-btn{display:none}
}

@media(max-width:768px){
    .nav-links{display:none}
    .menu-toggle{display:flex}
    #main-nav{padding:0 1.5rem}
    .section-container{padding:80px 1.5rem}
    .timeline{padding-left:2rem}
    .tl-marker{left:-2rem}
    .contact-cards{grid-template-columns:repeat(2,1fr)}
    .strengths-grid{grid-template-columns:1fr}
    .edu-card-inner{flex-direction:column;text-align:center}
    .footer-content{flex-direction:column;gap:1rem;text-align:center}
    .rb-item:nth-child(n+4){display:none}
    .rb-item.rb-status{display:flex}
    .se-tags{gap:0.4rem}
}

@media(max-width:480px){
    .hero-cta{flex-direction:column;align-items:center}
    .btn{width:100%;justify-content:center}
    .name-plate-first{font-size:2.8rem}
    .sl-pod{width:52px;height:68px}
    .sl-light{width:34px;height:34px}
    .contact-cards{grid-template-columns:1fr}
}
